openmp.c (match_acc): New generic function to parse OpenACC directives.
authorCesar Philippidis <cesar@codesourcery.com>
Fri, 17 Jun 2016 20:32:03 +0000 (13:32 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Fri, 17 Jun 2016 20:32:03 +0000 (13:32 -0700)
commit8559b90fc164ff07436971c520db20cb475c9944
tree90847be58dec87390da1e3db069f11cbf3e3d04e
parentc561b09181d6543d310f203072f5940604df3fb9
openmp.c (match_acc): New generic function to parse OpenACC directives.

gcc/fortran/
* openmp.c (match_acc): New generic function to parse OpenACC
directives.
(gfc_match_oacc_parallel_loop): Use it.
(gfc_match_oacc_parallel): Likewise.
(gfc_match_oacc_kernels_loop): Likewise.
(gfc_match_oacc_kernels): Likewise.
(gfc_match_oacc_data): Likewise.
(gfc_match_oacc_host_data): Likewise.
(gfc_match_oacc_loop): Likewise.
(gfc_match_oacc_enter_data): Likewise.
(gfc_match_oacc_exit_data): Likewise.

From-SVN: r237565
gcc/fortran/ChangeLog
gcc/fortran/openmp.c