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