This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35461] continuation line leads to OMP confusion
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Mar 2008 20:26:04 -0000
- Subject: [Bug fortran/35461] continuation line leads to OMP confusion
- References: <bug-35461-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2008-03-04 20:26 -------
I think this is invalid if I read "2.1.2 Free Source Form Directives" in
http://www.openmp.org/mp-documents/spec25.pdf correctly.
I think it should be:
!$OMP PARALLEL DO DEFAULT(PRIVATE) SHARED(I,&
!$OMP J)
instead of
!$OMP PARALLEL DO DEFAULT(PRIVATE) SHARED(I,&
!$ J)
As "OMP PARALLEL" is a directive. For conditional compilation "!$" (2.2.1) can
be used, but I think it does not apply here.
Jakub, am I right or do I miss something?
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at redhat dot com
Keywords| |openmp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35461