[Bug fortran/33439] OpenMP: Incorrect error message for chunksize variable

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 17 08:18:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list