This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33589] [4.3 regression] ICE on valid code at -O2: verify_flow_info failed
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Oct 2007 01:11:32 -0000
- Subject: [Bug middle-end/33589] [4.3 regression] ICE on valid code at -O2: verify_flow_info failed
- References: <bug-33589-14817@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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