https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77765
--- Comment #3 from cesar at gcc dot gnu.org --- Author: cesar Date: Thu Jun 29 19:07:10 2017 New Revision: 249810 URL: https://gcc.gnu.org/viewcvs?rev=249810&root=gcc&view=rev Log: Backport fix for PR fortran/77765 gcc/fortran/ * openmp.c (gfc_match_oacc_routine): Check if proc_name exist before comparing the routine name against it. gcc/testsuite/ * gfortran.dg/goacc/pr77765.f90: New test. Added: branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/pr77765.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