summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.2.3/905-avr32_fix_folding_machine_reorg_optimizations.patch
diff options
context:
space:
mode:
authormatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-21 11:51:22 +0000
committermatteo <matteo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-21 11:51:22 +0000
commitfc45119fd6d4065cdd185a6e8f46dfdc62e53488 (patch)
tree9b97e59bc366e0bdda22a60f680a86d4d1f9d2a8 /toolchain/gcc/patches/4.2.3/905-avr32_fix_folding_machine_reorg_optimizations.patch
parent73003484e214d1d22663af170cd4a2cfc21dd5de (diff)
refresh gcc-4.2.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11232 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.2.3/905-avr32_fix_folding_machine_reorg_optimizations.patch')
-rw-r--r--toolchain/gcc/patches/4.2.3/905-avr32_fix_folding_machine_reorg_optimizations.patch18
1 files changed, 8 insertions, 10 deletions
diff --git a/toolchain/gcc/patches/4.2.3/905-avr32_fix_folding_machine_reorg_optimizations.patch b/toolchain/gcc/patches/4.2.3/905-avr32_fix_folding_machine_reorg_optimizations.patch
index 7a160d6e9..b72e47a3b 100644
--- a/toolchain/gcc/patches/4.2.3/905-avr32_fix_folding_machine_reorg_optimizations.patch
+++ b/toolchain/gcc/patches/4.2.3/905-avr32_fix_folding_machine_reorg_optimizations.patch
@@ -1,8 +1,8 @@
-Index: a/gcc/config/avr32/avr32.c
+Index: gcc-4.2.3/gcc/config/avr32/avr32.c
===================================================================
---- a/gcc/config/avr32/avr32.c (revision 31997)
-+++ b/gcc/config/avr32/avr32.c (working copy)
-@@ -6323,25 +6323,26 @@
+--- gcc-4.2.3.orig/gcc/config/avr32/avr32.c 2008-05-21 13:45:58.533289214 +0200
++++ gcc-4.2.3/gcc/config/avr32/avr32.c 2008-05-21 13:45:59.762288215 +0200
+@@ -6323,23 +6323,24 @@
/* If used any other place than as a pointer or as the
destination register we failed */
if (!(single_set (scan)
@@ -35,14 +35,12 @@ Index: a/gcc/config/avr32/avr32.c
+ && REG_P (SET_DEST (PATTERN (scan)))
+ && !regno_use_in (REGNO (reg),
+ SET_SRC (PATTERN (scan)))))
- break;
-
++ break;
++
+ /* We cannot replace the pointer in TImode insns
+ as these has a differene addressing mode than the other
+ memory insns. */
+ if ( GET_MODE (SET_DEST (PATTERN (scan))) == TImode )
-+ break;
-+
+ break;
+
/* Check if register is dead or set in this insn */
- if (dead_or_set_p (scan, reg))
- {