diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-04-09 17:00:03 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-04-09 17:00:03 +0000 |
commit | 7a2d11b187a45cc268a9ea526b71c6443a9994e7 (patch) | |
tree | da95232174812432180204a57a2de1c3ab591df6 /toolchain/gcc/patches/4.4.6/931-avr32_disable_shifted_data_opt.patch | |
parent | 8007d3bd974173e845876a7d07c74551674c2b48 (diff) |
[toolchain/gcc/4.4]: upgrade to gcc 4.4.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31230 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.4.6/931-avr32_disable_shifted_data_opt.patch')
-rw-r--r-- | toolchain/gcc/patches/4.4.6/931-avr32_disable_shifted_data_opt.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/toolchain/gcc/patches/4.4.6/931-avr32_disable_shifted_data_opt.patch b/toolchain/gcc/patches/4.4.6/931-avr32_disable_shifted_data_opt.patch deleted file mode 100644 index 2003e97ae0..0000000000 --- a/toolchain/gcc/patches/4.4.6/931-avr32_disable_shifted_data_opt.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/gcc/config/avr32/avr32.c -+++ b/gcc/config/avr32/avr32.c -@@ -6726,7 +6726,28 @@ avr32_reorg_optimization (void) - } - } - -- if (TARGET_MD_REORG_OPTIMIZATION && (optimize_size || (optimize > 0))) -+ /* Disabled this optimization since it has a bug */ -+ /* In the case where the data instruction the shifted insn gets folded -+ * into is a branch destination, this breaks, i.e. -+ * -+ * add r8, r10, r8 << 2 -+ * 1: -+ * ld.w r11, r8[0] -+ * ... -+ * mov r8, sp -+ * rjmp 1b -+ * -+ * gets folded to: -+ * -+ * 1: -+ * ld.w r11, r10[r8 << 2] -+ * ... -+ * mov r8, sp -+ * rjmp 1b -+ * -+ * which is clearly wrong.. -+ */ -+ if (0 && TARGET_MD_REORG_OPTIMIZATION && (optimize_size || (optimize > 0))) - { - - /* Scan through all insns looking for shifted add operations */ |