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

--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Committed patch: https://gcc.gnu.org/ml/gcc-patches/2020-02/msg01280.html

Before, only "collapse" was reported (for OpenACC + OpenMP), now the check is
also done for OpenACC's "tile" clause. — And for both collapse/tile: 'kernel
loop' wasn't checked wither.

The bug is marked "ice-on-valid-code" by the bug reporter. However, my reading
of the spec is that CYCLE outside of the innermost loop or an EXIT is not
permitted for neither the "collapse" nor the "tile" clause. The spec is
unfortunately not very explicit (beyond "tightly-nested loops") but I believe
it can be gathered from the semantics.

@G.Steinmetz: If you think that's a wrong reading of the spec and it is valid
code, I will re-check.

Reply via email to