[Bug fortran/33445] openmp invalid multi-thread runtime result (-ffree-form only!)
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 17 07:40:00 GMT 2007
------- Comment #5 from burnus at gcc dot gnu dot org 2007-09-17 07:40 -------
How about giving a diagnostic as ifort does:
fortcom: Error: test2.f90, line 93: Syntax error, found '&' when expecting one
of: <LABEL> <END-OF-STATEMENT> ; BLOCK BLOCKDATA PROGRAM TYPE COMPLEX BYTE
CHARACTER ...
!$omp& default(shared)
-------^
or like SUNF95 does:
!$omp& default(shared)
^
"test2.f90", Line = 93, Column = 6: ERROR: Unexpected syntax: "OpenMP directive
keyword" was expected but found "&".
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|wrong-code |accepts-invalid
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33445
More information about the Gcc-bugs
mailing list