This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32177] g++ crashes on some valid OpenMP code
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2007 23:11:33 -0000
- Subject: [Bug c++/32177] g++ crashes on some valid OpenMP code
- References: <bug-32177-1884@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2007-06-07 23:11 -------
Subject: Bug 32177
Author: jakub
Date: Thu Jun 7 23:11:23 2007
New Revision: 125544
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125544
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/gomp/pr32177.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32177