This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/42739] [4.5 Regression] ICE with computed goto, destructors, and optimization



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]