https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103813
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Component|c |middle-end --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The code is undefined for sure. here is reduced testcase which has less invalidness to it: struct a { int b; int c[]; } ; struct a d; int main() { d.c[0x10000000] || d.c[1]; }