This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/42739] [4.5 Regression] ICE with computed goto, destructors, and optimization
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2010 11:53:38 -0000
- Subject: [Bug middle-end/42739] [4.5 Regression] ICE with computed goto, destructors, and optimization
- References: <bug-42739-18658@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-15 11:53 -------
Subject: Bug 42739
Author: rguenth
Date: Fri Jan 15 11:53:26 2010
New Revision: 155937
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155937
Log:
2010-01-15 Richard Guenther <rguenther@suse.de>
PR middle-end/42739
* tree-cfgcleanup.c (remove_forwarder_block): Move destination
labels of computed or non-local gotos to the destination.
* tree-cfg.c (gimple_verify_flow_info): Verify that a EH
landing pad label is the first label.
* g++.dg/torture/pr42739.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr42739.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-cfg.c
trunk/gcc/tree-cfgcleanup.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42739