https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71745
--- Comment #1 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Just checked with recent trunk, same error. Dump looks interesting, the assignment statement is converted to an endless loop: { integer(kind=4) S.0; S.0 = 2147483645; while (1) { a[S.0 + -2147483645] = 2; S.0 = S.0 + 1; } L.1:; }