https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81691
--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Jakub said target2.f90 exposes a frontend bug (or OpenMP lowering bug, not sure): https://gcc.gnu.org/ml/gcc-patches/2016-11/msg02397.html This is not a target-specific issue, it should fail in a similar fashion on any non-shm accelerator target.