This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33445] openmp invalid multi-thread runtime result (-ffree-form only!)



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]