openmp.c (gfc_match_omp_clauses): Scan for clause vector_length before vector.
authorCesar Philippidis <cesar@codesourcery.com>
Fri, 15 Jul 2016 14:03:35 +0000 (07:03 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Fri, 15 Jul 2016 14:03:35 +0000 (07:03 -0700)
commitf7ba880b6b4b1c9d7437889204cac5df0268d158
tree6399b623b5ba4e0e6d923ae4a28cddb0dbd4c7b5
parentb9aba0a05820874b01e67264a02494d5d8d27309
openmp.c (gfc_match_omp_clauses): Scan for clause vector_length before vector.

gcc/fortran/
* openmp.c (gfc_match_omp_clauses): Scan for clause vector_length
before vector.

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

From-SVN: r238375
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/vector_length.f90 [new file with mode: 0644]