This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix PR rtl-optimization/21138





The following patch fixes PR 21138 (
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21138).
Bootstrap passed and no new regressions on powerpc-apple-darwin.

OK for mainline?

Thanks,
Mostafa.

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 2.8595
diff -c -p -r2.8595 ChangeLog
*** ChangeLog   4 May 2005 06:09:22 -0000       2.8595
--- ChangeLog   19 May 2005 09:10:43 -0000
***************
*** 1,3 ****
--- 1,7 ----
+ 2005-05-19 Mostafa Hagog <mustafa@il.ibm.com>
+
+       * modulo-sched.c (undo_generate_reg_moves ): Fix PR 21138.
+

Index: modulo-sched.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/modulo-sched.c,v
retrieving revision 1.29
diff -c -p -r1.29 modulo-sched.c
*** modulo-sched.c      28 Apr 2005 02:25:22 -0000      1.29
--- modulo-sched.c      19 May 2005 06:48:59 -0000
*************** undo_generate_reg_moves (partial_schedul
*** 597,602 ****
--- 597,603 ----
          delete_insn (crr);
          crr = prev;
        }
+       SCHED_FIRST_REG_MOVE (u) = NULL_RTX;
      }

    while (reg_move_replaces)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]