https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68221
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- We could fold it to MEM[(short int *)&b.23] (without the array-ref). Does the same problem exist for variable indexed array? I'll have a look during stage3 - I believe the oracle should be have sanely here and thus there is likely a bug somewhere.