parse.c (matcha): Define.
authorCesar Philippidis <cesar@codesourcery.com>
Fri, 8 Jul 2016 18:34:55 +0000 (11:34 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Fri, 8 Jul 2016 18:34:55 +0000 (11:34 -0700)
commit642bcbdf1d63f4c20070bfa7f15998f5b833a527
tree371c0bd327dfe09e5b3c7be1a13649d8fbe2eb22
parentd81102f47338747e8b769325012c34a0820a916b
parse.c (matcha): Define.

gcc/fortran/
* parse.c (matcha): Define.
(decode_oacc_directive): Add spec_only local var and set it.  Use
matcha to parse acc directives except for routine and declare.  Return
ST_GET_FCN_CHARACTERISTICS if a non-declarative directive could be
matched.

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

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