------- Comment #6 from pinskia at gcc dot gnu dot org  2007-10-28 01:11 -------
A quick patch to fix this:
Index: tree-outof-ssa.c
===================================================================
--- tree-outof-ssa.c    (revision 129686)
+++ tree-outof-ssa.c    (working copy)
@@ -758,7 +758,10 @@ rewrite_trees (var_map map, tree *values
          if (remove)
            bsi_remove (&si, true);
          else
-           bsi_next (&si);
+           {
+             maybe_clean_or_replace_eh_stmt (stmt, stmt);
+             bsi_next (&si);
+           }
        }

       phi = phi_nodes (bb);



----- CUT ----
I don't know if I want to check changed or not, that is the
maybe_cleanup_or_replace_eh_stmt statement be replaced with:
              if (changed)
                maybe_clean_or_replace_eh_stmt (stmt, stmt);


-- 


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

Reply via email to