re PR fortran/72716 (ICE in gfc_resolve_omp_declare_simd, at fortran/openmp.c:5156)
authorJakub Jelinek <jakub@redhat.com>
Mon, 8 Aug 2016 19:48:48 +0000 (21:48 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 8 Aug 2016 19:48:48 +0000 (21:48 +0200)
commit77524e0d975d91248c2178a7d607cc6a19209cb6
treed3ca52c0cc5c98967db7a0eff960880f6e8bc5bb
parent2187f2a2613385f22499ea19f0122b73513ac193
re PR fortran/72716 (ICE in gfc_resolve_omp_declare_simd, at fortran/openmp.c:5156)

PR fortran/72716
* openmp.c (gfc_match_omp_declare_simd): Don't stick anything into
BLOCK DATA ns, it will be rejected later.

* gfortran.dg/gomp/pr72716.f90: New test.

From-SVN: r239250
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr72716.f90 [new file with mode: 0644]