This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/34506] New: gcc disallows comma between C/C++ OpenMP clauses
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Dec 2007 09:25:51 -0000
- Subject: [Bug c/34506] New: gcc disallows comma between C/C++ OpenMP clauses
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
OpenMP 2.5 in 2.1 has:
#pragma omp directive-name [clause[ [,] clause]...] new-line
and for Fortran
sentinel directive-name [clause[[,] clause]...]
While for Fortran the optional commas are accepted, the C/C++ parser rejects
them.
Working on a patch.
--
Summary: gcc disallows comma between C/C++ OpenMP clauses
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: openmp
Severity: normal
Priority: P3
Component: c
AssignedTo: jakub at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34506