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: 14 Jan 2010 12:33:51 -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 #4 from rguenth at gcc dot gnu dot org 2010-01-14 12:33 -------
Let's hope there's not more fallout of
Index: gcc/tree-cfg.c
===================================================================
--- gcc/tree-cfg.c (revision 155893)
+++ gcc/tree-cfg.c (working copy)
@@ -4268,6 +4268,15 @@ gimple_verify_flow_info (void)
err = 1;
}
+ if (prev_stmt && EH_LANDING_PAD_NR (label) != 0)
+ {
+ error ("EH landing pad label ");
+ print_generic_expr (stderr, label, 0);
+ fprintf (stderr, " is not first in a sequence of labels in bb
%d",
+ bb->index);
+ err = 1;
+ }
+
if (label_to_block (label) != bb)
{
error ("label ");
than this particular case ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42739