openmp.c (gfc_match_oacc_wait): Don't restrict wait directive arguments to constant...
authorCesar Philippidis <cesar@codesourcery.com>
Thu, 21 Sep 2017 13:59:26 +0000 (06:59 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Thu, 21 Sep 2017 13:59:26 +0000 (06:59 -0700)
commita0e27dc2aa25c98e15e109b2915545dfbe21f27f
tree17da195131e7acbb905e0a7a38d142ac78cbb716
parentedabe3d8b479e47a1bb3ed495f2a1d94b0ecbb2d
openmp.c (gfc_match_oacc_wait): Don't restrict wait directive arguments to constant integers.

gcc/fortran/
* openmp.c (gfc_match_oacc_wait): Don't restrict wait directive
arguments to constant integers.

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

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