PR c++/32177
commitb25fbb3e36e56292d887306e436f11de5d4284f9
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jun 2007 23:11:23 +0000 (7 23:11 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jun 2007 23:11:23 +0000 (7 23:11 +0000)
tree0d27935d827af94e3bf785d1e6762aef189892e5
parent919c8eb524b74d82df9d669c53d2ea6a5c9debd4
PR c++/32177
* semantics.c (finish_omp_for): Call fold_build_cleanup_point_expr
on init, the non-decl cond operand and increment value.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125544 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr32177.C [new file with mode: 0644]