]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/semantics.c
re PR c++/33890 (ICE in tsubst_copy with OpenMP)
authorJakub Jelinek <jakub@redhat.com>
Tue, 8 Jan 2008 16:06:31 +0000 (17:06 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 8 Jan 2008 16:06:31 +0000 (17:06 +0100)
commitb2ebd26837f3e9b5897e9b66f3317d856c9c909a
treed24fc1648ca2df837473cb1158531d2663a25033
parent0c6ce8b02716646c4ecf998a96c40621a5cba15e
re PR c++/33890 (ICE in tsubst_copy with OpenMP)

PR c++/33890
* semantics.c (finish_omp_for): Don't call
fold_build_cleanup_point_expr if processing_template_decl.

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

From-SVN: r131397
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr33890.C [new file with mode: 0644]