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/72741] Fortran OpenACC routine directive doesn't properly handle clauses specifying the level of parallelism


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741

--- Comment #1 from cesar at gcc dot gnu.org ---
Author: cesar
Date: Fri Jul 29 04:20:00 2016
New Revision: 238847

URL: https://gcc.gnu.org/viewcvs?rev=238847&root=gcc&view=rev
Log:
        PR fortran/72741
        gcc/fortran/
        * openmp.c (gfc_oacc_routine_dims): Move gfc_error to
        gfc_match_oacc_routine.  Return OACC_FUNCTION_NONE on error.
        (gfc_match_oacc_routine): Call gfc_oacc_routine_dims for all
        routines directives.  Propagate error as appropriate.

        gcc/testsuite/
        * gfortran.dg/goacc/pr72741.f90: New test.


Added:
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/pr72741.f90
Modified:
    branches/gomp-4_0-branch/gcc/fortran/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/fortran/openmp.c
    branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp

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