https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102621

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|12.0                        |---
            Summary|[12 Regression] ICE in      |ICE in
                   |convert_nonlocal_reference_ |convert_nonlocal_reference_
                   |op, at tree-nested.c:1166   |op, at tree-nested.c:1166
                   |since                       |since
                   |r12-1108-g9a5de4d5af1c10a8  |r12-1108-g9a5de4d5af1c10a8

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's not clear that only Fortran is affected but GCC 11 rejected the code with

t.f90:3:15:

    3 |    !$omp task affinity (iterator(j=1:8) : a(j))
      |               1
Error: Failed to match clause at (1)
t.f90:4:17:

    4 |    !$omp end task
      |                 1
Error: Unexpected !$OMP END TASK statement at (1)

so it's not a regression.

Reply via email to