re PR middle-end/66633 (ICE on valid "verify_gimple failed" with OpenMP)
authorJakub Jelinek <jakub@redhat.com>
Thu, 9 Jul 2015 21:14:11 +0000 (23:14 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 9 Jul 2015 21:14:11 +0000 (23:14 +0200)
commita0945730e542f08d3a575cb6c73fe3c6bc48fd03
treead4e5ec5d126191f3c267cfc9089da8e3515f025
parent17b658af6686e89568ef734aca6ff46248203a81
re PR middle-end/66633 (ICE on valid "verify_gimple failed" with OpenMP)

PR middle-end/66633
* tree-nested.c (get_static_chain): Or in a flag into
info->static_chain_added.
(get_frame_field, get_nonlocal_debug_decl): Likewise.
(convert_nonlocal_omp_clauses, convert_local_omp_clauses): Revert
2015-07-01 changes.
(convert_tramp_reference_stmt): If a frame_decl or chain_decl
is needed newly inside of GIMPLE_OMP_{PARALLEL,TASK,TARGET} body,
add it to clauses.

* gcc.dg/gomp/pr66633-1.c: New test.
* gcc.dg/gomp/pr66633-2.c: New test.
* gcc.dg/gomp/pr66633-3.c: New test.
* gcc.dg/gomp/pr66633-4.c: New test.

From-SVN: r225638
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr66633-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/gomp/pr66633-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/gomp/pr66633-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/gomp/pr66633-4.c [new file with mode: 0644]
gcc/tree-nested.c