re PR c++/36237 (internal compiler error: in lower_stmt, at gimple-low.c:282 erase...
authorJakub Jelinek <jakub@redhat.com>
Fri, 23 May 2008 13:21:47 +0000 (15:21 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 23 May 2008 13:21:47 +0000 (15:21 +0200)
commitc2898ec95001c8fa2818dff36e839787c8cf72d8
tree3abe297f4f98323eef8a54697058fd644e1c0be8
parentcf38a465eca401054b78e6182f0dced39418554b
re PR c++/36237 (internal compiler error: in lower_stmt, at gimple-low.c:282 erase 'private(localTodoStack)' it compiles successfully.)

PR c++/36237
* cp-gimplify.c (cxx_omp_clause_apply_fn): Call
fold_build_cleanup_point_expr on build_call_a results.

* g++.dg/gomp/pr36237.C: New test.

From-SVN: r135802
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr36237.C [new file with mode: 0644]
libgomp/testsuite/libgomp.c++/ctor-12.C