https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94660
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING CC| |tkoenig at gcc dot gnu.org --- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- I just ran this through nagfor, and it agrees with gfortran. Nagfor is usually quite picky. xlf, on the other hand, agrees with you, so it does not seem to be straightforward, at least. This will take some further analysis.