From 9cee91877fce77896694b91d1279391a77b6de0c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 4 Feb 2003 22:45:52 +0000 Subject: rename patch --- sources/gcc-003-arm-bugfix.patch | 21 +++++++++++++++++++++ sources/gcc-3.2.1-arm-xscale.patch | 21 --------------------- 2 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 sources/gcc-003-arm-bugfix.patch delete mode 100644 sources/gcc-3.2.1-arm-xscale.patch (limited to 'sources') diff --git a/sources/gcc-003-arm-bugfix.patch b/sources/gcc-003-arm-bugfix.patch new file mode 100644 index 000000000..0d5588e3c --- /dev/null +++ b/sources/gcc-003-arm-bugfix.patch @@ -0,0 +1,21 @@ +--- gcc-3.2.1/gcc/reload1.c.orig 2002-10-10 09:40:20.000000000 -0600 ++++ gcc-3.2.1/gcc/reload1.c 2003-01-30 12:15:05.000000000 -0700 +@@ -8674,7 +8674,9 @@ + ... (MEM (PLUS (REGZ) (REGY)))... . + + First, check that we have (set (REGX) (PLUS (REGX) (REGY))) +- and that we know all uses of REGX before it dies. */ ++ and that we know all uses of REGX before it dies. ++ Also, explicitly check that REGX != REGY; our life information ++ does not yet show whether REGY changes in this insn. */ + set = single_set (insn); + if (set != NULL_RTX + && GET_CODE (SET_DEST (set)) == REG +@@ -8684,6 +8686,7 @@ + && GET_CODE (SET_SRC (set)) == PLUS + && GET_CODE (XEXP (SET_SRC (set), 1)) == REG + && rtx_equal_p (XEXP (SET_SRC (set), 0), SET_DEST (set)) ++ && !rtx_equal_p (XEXP (SET_SRC (set), 1), SET_DEST (set)) + && last_label_ruid < reg_state[REGNO (SET_DEST (set))].use_ruid) + { + rtx reg = SET_DEST (set); diff --git a/sources/gcc-3.2.1-arm-xscale.patch b/sources/gcc-3.2.1-arm-xscale.patch deleted file mode 100644 index 0d5588e3c..000000000 --- a/sources/gcc-3.2.1-arm-xscale.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- gcc-3.2.1/gcc/reload1.c.orig 2002-10-10 09:40:20.000000000 -0600 -+++ gcc-3.2.1/gcc/reload1.c 2003-01-30 12:15:05.000000000 -0700 -@@ -8674,7 +8674,9 @@ - ... (MEM (PLUS (REGZ) (REGY)))... . - - First, check that we have (set (REGX) (PLUS (REGX) (REGY))) -- and that we know all uses of REGX before it dies. */ -+ and that we know all uses of REGX before it dies. -+ Also, explicitly check that REGX != REGY; our life information -+ does not yet show whether REGY changes in this insn. */ - set = single_set (insn); - if (set != NULL_RTX - && GET_CODE (SET_DEST (set)) == REG -@@ -8684,6 +8686,7 @@ - && GET_CODE (SET_SRC (set)) == PLUS - && GET_CODE (XEXP (SET_SRC (set), 1)) == REG - && rtx_equal_p (XEXP (SET_SRC (set), 0), SET_DEST (set)) -+ && !rtx_equal_p (XEXP (SET_SRC (set), 1), SET_DEST (set)) - && last_label_ruid < reg_state[REGNO (SET_DEST (set))].use_ruid) - { - rtx reg = SET_DEST (set); -- cgit v1.2.3