summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/ext_source/Atmel/avr32
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-08 19:45:34 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-08 19:45:34 +0000
commit228ef57ecfccd59cfb98cb7ee1bdd4951c72d47f (patch)
treed6d5a70dbb32bc7f9fe0c38f52f6ab6f33622120 /toolchain/gcc/ext_source/Atmel/avr32
parentd592884e2c934ff0890626c1d995a0a96bf23e3c (diff)
downloadbuildroot-novena-228ef57ecfccd59cfb98cb7ee1bdd4951c72d47f.tar.gz
buildroot-novena-228ef57ecfccd59cfb98cb7ee1bdd4951c72d47f.zip
Add latest gcc patch for AVR32 gcc-4.2.2 prepatched source
Diffstat (limited to 'toolchain/gcc/ext_source/Atmel/avr32')
-rw-r--r--toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-2.1.5/903-avr32-fix-removal-of-redundant-cast-operations.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-2.1.5/903-avr32-fix-removal-of-redundant-cast-operations.patch b/toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-2.1.5/903-avr32-fix-removal-of-redundant-cast-operations.patch
new file mode 100644
index 000000000..59ecbff4f
--- /dev/null
+++ b/toolchain/gcc/ext_source/Atmel/avr32/4.2.2-avr32-2.1.5/903-avr32-fix-removal-of-redundant-cast-operations.patch
@@ -0,0 +1,16 @@
+Index: trunk/gcc/config/avr32/avr32.c
+===================================================================
+--- trunk/gcc/config/avr32/avr32.c (revision 43495)
++++ trunk/gcc/config/avr32/avr32.c (revision 43496)
+@@ -6499,6 +6499,11 @@
+ break;
+ }
+
++ /* Check if we have a call and the register is used as an argument. */
++ if (CALL_P (scan)
++ && find_reg_fusage (scan, USE, reg) )
++ break;
++
+ if (!reg_mentioned_p (reg, PATTERN (scan)))
+ continue;
+