re PR c++/85782 (acc loops with continue statements ICE in c++)
authorCesar Philippidis <cesar@codesourcery.com>
Fri, 18 May 2018 15:43:09 +0000 (08:43 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Fri, 18 May 2018 15:43:09 +0000 (08:43 -0700)
commit950ad0bafece295e34e5d3912da0d0314cd0dad1
tree52e7428f16c9772bffb23505add508728118b6a8
parenta9b22c3309f02d6e3cf86e2329417d5ef56ed225
re PR c++/85782 (acc loops with continue statements ICE in c++)

PR c++/85782

gcc/cp/
* cp-gimplify.c (cp_genericize_r): Call genericize_omp_for_stmt for
OACC_LOOPs.

gcc/testsuite/
* c-c++-common/goacc/pr85782.c: New test.

libgomp/
* testsuite/libgomp.oacc-c-c++-common/pr85782.c: New test.

From-SVN: r260369
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/goacc/pr85782.c [new file with mode: 0644]
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/pr85782.c [new file with mode: 0644]