re PR fortran/85703 ([openacc] ICE in resolve_fntype, at fortran/resolve.c:16313)
authorCesar Philippidis <cesar@codesourcery.com>
Wed, 13 Jun 2018 14:31:17 +0000 (07:31 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Wed, 13 Jun 2018 14:31:17 +0000 (07:31 -0700)
commit0be606d3ce7b39148d0d0aed54bae3b4fe9478af
tree541b70e1c266b2847191e307eb4153c3970d2883
parentadc41ebeab0c027cce9e1fb1e1356a66d89aeb57
re PR fortran/85703 ([openacc] ICE in resolve_fntype, at fortran/resolve.c:16313)

PR fortran/85703

gcc/fortran/
* parse.c (decode_oacc_directive): Set gfc_matching_function
to false.
(decode_omp_directive): Likewise.

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

From-SVN: r261551
gcc/fortran/ChangeLog
gcc/fortran/parse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/pr85703.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/gomp/pr85703.f90 [new file with mode: 0644]