https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68951
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The ICE started with r229172. Before that it just properly diagnosed the undefined behavior: pr68951.c: In function ‘fn1’: pr68951.c:5:25: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] g_534[i + 2][i] ^= 3; ^ pr68951.c:4:5: note: within this loop for (i = 0; i < 4; i++) ^