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

--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Thu Mar 21 20:02:42 2019
New Revision: 269857

URL: https://gcc.gnu.org/viewcvs?rev=269857&root=gcc&view=rev
Log:
[PR89773] Fortran OpenACC 'routine' directive refuses procedures with implicit
EXTERNAL attribute

        gcc/fortran/
        PR fortran/89773
        * gfortran.h (gfc_oacc_routine_name): Add loc member.
        (gfc_resolve_oacc_routines): Declare.
        * openmp.c (gfc_match_oacc_routine): Move some error checking
        into...
        (gfc_resolve_oacc_routines): ... this new function.
        * resolve.c (resolve_codes): Call it.
        gcc/testsuite/
        PR fortran/89773
        * gfortran.dg/goacc/pr89773.f90: New file.
        * gfortran.dg/goacc/pr77765.f90: Adjust.
        * gfortran.dg/goacc/routine-6.f90: Adjust, and extend.

Added:
    trunk/gcc/testsuite/gfortran.dg/goacc/pr89773.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/openmp.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/goacc/pr77765.f90
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-6.f90

Reply via email to