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/40878] !$omp collapse(m) with non-constant m should give error



------- Comment #2 from jakub at gcc dot gnu dot org  2009-07-28 16:33 -------
Subject: Bug 40878

Author: jakub
Date: Tue Jul 28 16:33:08 2009
New Revision: 150167

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150167
Log:
        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.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/gomp/pr40878-1.f90
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/gomp/pr40878-2.f90
Modified:
    branches/gcc-4_4-branch/gcc/fortran/ChangeLog
    branches/gcc-4_4-branch/gcc/fortran/openmp.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


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