fix Issue 12179 - [ICE](e2ir.c 1861) with array operation
Merge pull request #3427 from 9rnsr/fix12179

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