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

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Created attachment 47877
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47877&action=edit
Draft patch

The attached patch fixes the issue for "tile". (By doing what is done in
gfc_resolve_code for EXEC_DO.)

However: I do not understand why it is needed for 'tile' but not for
'collapse'. – At a glance, collapse vs. tile shouldn't make a difference but it
does. (Collapse exists  OpenMP; the patch handled is for both OpenACC and
OpenMP.)

Reply via email to