diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-12-05 21:09:48 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2011-12-05 21:09:48 -0800 |
commit | 96718054547fb9a87b0782b682e13f18a3b9d0b2 (patch) | |
tree | fc6d00067fc73a49af498d23f033d9a46e58ff95 /meta/recipes-devtools/gcc/gcc-4.6 | |
parent | eb2ba07928df06460ad8d27bb7ccf3a881ed0f4a (diff) | |
download | openembedded-core-contrib-96718054547fb9a87b0782b682e13f18a3b9d0b2.tar.gz |
gcc: Backport patch from trunk to fix ICE seen on armv7 with mesa-xlibkraj/gcc-graphite
This patch is a backport of http://patchwork.ozlabs.org/patch/110517/
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6/gcc-arm-set-cost.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6/gcc-arm-set-cost.patch b/meta/recipes-devtools/gcc/gcc-4.6/gcc-arm-set-cost.patch new file mode 100644 index 0000000000..04dabaf604 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6/gcc-arm-set-cost.patch @@ -0,0 +1,34 @@ +2011-08-18 Richard Sandiford <richard.sandiford@linaro.org> + + gcc/ + Backport from mainline: + + 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org> + + * config/arm/arm.c (arm_rtx_costs_1): Don't modify the costs of SET. + (arm_size_rtx_costs): Likewise. + +=== modified file 'gcc/config/arm/arm.c' +--- old/gcc/config/arm/arm.c 2011-08-12 08:08:31 +0000 ++++ new/gcc/config/arm/arm.c 2011-08-18 13:53:37 +0000 +@@ -7464,6 +7464,9 @@ + *total = COSTS_N_INSNS (4); + return true; + ++ case SET: ++ return false; ++ + default: + *total = COSTS_N_INSNS (4); + return false; +@@ -7811,6 +7814,9 @@ + *total = COSTS_N_INSNS (1) + 1; + return true; + ++ case SET: ++ return false; ++ + default: + if (mode != VOIDmode) + *total = COSTS_N_INSNS (ARM_NUM_REGS (mode)); + |