https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108435
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|fortran |middle-end CC| |burnus at gcc dot gnu.org --- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #2) > Possibly dup of PR107424 or at least related to that. I don't think so. In any case, it shows also up for C if one uses the nested-functions extension: int main () { int i, j; void bar() { #pragma omp for simd collapse(2) for (i = 1; i <= 16; i++) for (j = 1; j <= 16; j++) /* Note: *no* non-rectangular loop nest. */ ; } bar (); return 0; } (I get an ICE since GCC 8 and none with GCC 7; thus, I might be a regression, but I have not checked in depth.)