[PR90862] OpenACC 'declare' ICE when nested inside another construct
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 18 Jun 2019 22:13:54 +0000 (00:13 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Tue, 18 Jun 2019 22:13:54 +0000 (00:13 +0200)
commit3a37d6f68c50d38303cf04039f79fc65e72d5a27
tree6ad78acf990e5a9e6427ec88b9d7d916e7409d9d
parentab2c347c358036f017003ab7c1043705c6482a8c
[PR90862] OpenACC 'declare' ICE when nested inside another construct

gcc/
PR middle-end/90862
* omp-low.c (check_omp_nesting_restrictions): Handle
GF_OMP_TARGET_KIND_OACC_DECLARE.
gcc/testsuite/
PR middle-end/90862
* c-c++-common/goacc/declare-1.c: Update.
* c-c++-common/goacc/declare-2.c: Likewise.
libgomp/
PR middle-end/90862
* testsuite/libgomp.oacc-c-c++-common/declare-1.c: Update.

From-SVN: r272444
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/declare-1.c
gcc/testsuite/c-c++-common/goacc/declare-2.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/declare-1.c