[Bug fortran/93826] [OpenMP][OpenACC] Collapsed loop – code silently ignored

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 22 08:03:04 GMT 2020


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

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #0)
>       do j = 1, 8
>         do k = 1, 8
>         end do
>         x = 5  ! <<< not translated but also not an error message
>       end do

Complications: BLOCK inside the j-do loop body (only one do loop, something
else; only var decl etc.); empty block(s) before/after the inner k do loop;
nonempty block.


More information about the Gcc-bugs mailing list