OSDN Git Service

PR fortran/40878
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jul 2009 16:15:47 +0000 (16:15 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jul 2009 16:15:47 +0000 (16:15 +0000)
commit7a8903e38e10230655967d79eb297f8d36720594
tree26883979ecfe7f394d5821662e84767466896612
parent293a4f4c698179c20288c944c1bfbd36c4719dbd
PR fortran/40878
* openmp.c (gfc_match_omp_clauses): Use gfc_error_now instead of
gfc_error to diagnose invalid COLLAPSE arguments.

* gfortran.dg/gomp/pr40878-1.f90: New test.
* gfortran.dg/gomp/pr40878-2.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150165 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr40878-1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/gomp/pr40878-2.f90 [new file with mode: 0644]