------- Comment #7 from hp at gcc dot gnu dot org  2010-07-21 15:54 -------
Correcting the summary to point at the right cause. Maybe the following
somewhat obvious change is correct, though I'd prefer to leave it to Bernd.

Index: postreload.c
===================================================================
--- postreload.c        (revision 162380)
+++ postreload.c        (working copy)
@@ -1190,7 +1190,8 @@
                    lowest_ruid = use;
                }

-             fixup_debug_insns (reg, reg_sum, insn, lowest_ruid->insn);
+             if (lowest_ruid != NULL)
+               fixup_debug_insns (reg, reg_sum, insn, lowest_ruid->insn);

              /* Delete the reg-reg addition.  */
              delete_insn (insn);


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.6 Regression]: cris-elf  |[4.6 Regression]: cris-elf
                   |libgcc build failure due to |libgcc build failure due to
                   |fix for PR45003, PR45006    |"New optimization for
                   |                            |reload_combine"


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

Reply via email to