summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.3.5/948-avr32_fix_reorg_opt_bug11763.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-18 09:25:59 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-18 09:25:59 +0000
commit67042730eda74a0dec6afda2ca9d4026859e945f (patch)
treee9b928448934ca9eadd8f7a3fe50a725365e3ba6 /toolchain/gcc/patches/4.3.5/948-avr32_fix_reorg_opt_bug11763.patch
parent12b51493b512e063d9aeae92602c4123a4f39811 (diff)
[toolchain/gcc/4.3.5]: combine all avr32 patches into a single one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25566 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.3.5/948-avr32_fix_reorg_opt_bug11763.patch')
-rw-r--r--toolchain/gcc/patches/4.3.5/948-avr32_fix_reorg_opt_bug11763.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/toolchain/gcc/patches/4.3.5/948-avr32_fix_reorg_opt_bug11763.patch b/toolchain/gcc/patches/4.3.5/948-avr32_fix_reorg_opt_bug11763.patch
deleted file mode 100644
index 661664004..000000000
--- a/toolchain/gcc/patches/4.3.5/948-avr32_fix_reorg_opt_bug11763.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/gcc/config/avr32/avr32.c
-+++ b/gcc/config/avr32/avr32.c
-@@ -6501,12 +6501,23 @@ avr32_reorg_optimization (void)
- continue;
-
- set = single_set (scan);
-- if (set && rtx_equal_p (src_reg, SET_DEST (set)))
-- {
-- link = scan;
-- break;
-- }
--
-+ // Fix for bug #11763 : the following if condition
-+ // has been modified and else part is included to
-+ // set the link to NULL_RTX.
-+ // if (set && rtx_equal_p (src_reg, SET_DEST (set)))
-+ if (set && (REGNO(src_reg) == REGNO(SET_DEST(set))))
-+ {
-+ if (rtx_equal_p (src_reg, SET_DEST (set)))
-+ {
-+ link = scan;
-+ break;
-+ }
-+ else
-+ {
-+ link = NULL_RTX;
-+ break;
-+ }
-+ }
- }
-
-