https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66756
--- Comment #12 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Correction... the patch does not work with a simple example such as program main !$OMP PARALLEL NUM_THREADS(4) print *,"Hello, world" !$OMP END PARALLEL end program main Some more digging to do...