[REG2.065] Issue 12179 - [ICE](e2ir.c 1861) with array operation

https://d.puremagic.com/issues/show_bug.cgi?id=12179

More better diagnostic message is welcome.