This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32481] ICE in df_refs_verify, at df-scan.c:4058
- From: "spark at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jun 2007 23:25:25 -0000
- Subject: [Bug target/32481] ICE in df_refs_verify, at df-scan.c:4058
- References: <bug-32481-3760@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from spark at gcc dot gnu dot org 2007-06-25 23:25 -------
As David suggested, this might be a slightly better fix:
diff -r 36792eca786a gcc/combine.c
--- a/gcc/combine.c Sat Jun 23 16:21:43 2007 +0000
+++ b/gcc/combine.c Mon Jun 25 23:23:23 2007 +0000
@@ -2057,6 +2057,8 @@ adjust_for_new_dest (rtx insn)
of an insn just above it. Call distribute_links to make a LOG_LINK from
the next use of that destination. */
distribute_links (gen_rtx_INSN_LIST (VOIDmode, insn, NULL_RTX));
+
+ df_insn_rescan (insn);
}
/* Return TRUE if combine can reuse reg X in mode MODE.
though I'm still not sure whether this is the right approach in general.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32481