http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58552

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Index: gcc/tree-cfg.c
===================================================================
--- gcc/tree-cfg.c      (revision 202971)
+++ gcc/tree-cfg.c      (working copy)
@@ -1013,6 +1013,9 @@ make_abnormal_goto_edges (basic_block bb
              break;
            }
        }
+      if (!gsi_end_p (gsi)
+         && is_gimple_debug (gsi_stmt (gsi)))
+       gsi_next_nondebug (&gsi);
       if (!gsi_end_p (gsi))
        {
          /* Make an edge to every setjmp-like call.  */

fixes it.

Reply via email to