https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72715
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to anlauf from comment #6) > Code is still rejected with current 10-trunk: > > 4 | do concurrent (i=1:3) > | 1 > Error: !$ACC LOOP cannot be a DO CONCURRENT loop at (1) In OpenMP up to 5.0 and TR8 (= draft 5.1), DO CONCURRENT is an unsupported Fortran 2008 feature ("unspecified behaviour", cf. "1.7 Normative References"). The reason is that DO CONCURRENT can become rather complex due to MASK etc., cf. PR 60127 comment 3 ) In OpenACC, 2.7 only supports Fortran 2003 (see "1.6. References"), which does not have "do concurrent". And while OpenACC 3.0 does support Fortran 2008, it also lists "DO CONCURRENT" as unspecified behaviour. Since r239845 (gomp-4_0-branch) and r268875 (for GCC 9 trunk), the ICE is gone and has been replaced by an error message. I believe the current implementation in GCC is fine – and as the ICE has been fixed, this PR can be closed as: FIXED.