the following is accepted by at least xlf, pgf and ifort, but not by 
gcc version 4.3.0 20080213 (experimental) [trunk revision 132283] (GCC)

    !$OMP PARALLEL DO DEFAULT(PRIVATE) SHARED(I,&
    !$                                        J)
    DO K=1,10
       IF (I-J-K==0) I=K
    ENDDO
END

gfortran -fopenmp test.f90
test.f90:1.48:

    !$OMP PARALLEL DO DEFAULT(PRIVATE) SHARED(I,&
                                               1
Error: Syntax error in OpenMP variable list at (1)


-- 
           Summary: continuation line leads to OMP confusion
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35461

Reply via email to