------- Comment #2 from jakub at gcc dot gnu dot org 2007-09-17 08:18 ------- Pedantically this is not a bug. If an omp sentinel doesn't have the desired form, it should be handled as a normal comment. As the preceeding line doesn't end with &, then !$omp& is not a valid omp sentinel (as !$omp needs to be followed by a space) and thus it is the same as say ! $ omp & something That said, perhaps we could issue some diagnostics, because it is likely a user error rather than intent.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33439