diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2010-12-23 14:02:13 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2010-12-23 14:02:13 +0100 |
commit | 7eb7dce48ba082c30f1fceced04c275420158b9a (patch) | |
tree | d2f5b6bed38d7ffc0aad7f5c313701da4d8a8e19 /recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99435.patch | |
parent | 8bb6722b1356cc3b8494e33553240363addd2d80 (diff) | |
download | meta-openembedded-7eb7dce48ba082c30f1fceced04c275420158b9a.tar.gz |
gcc 4.5: sync with both OE and yocto
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99435.patch')
-rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99435.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99435.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99435.patch new file mode 100644 index 0000000000..d66df137fa --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99435.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | 2010-11-08 Yao Qi <yao@codesourcery.com> | ||
2 | |||
3 | Backport from mainline: | ||
4 | |||
5 | gcc/ | ||
6 | 2010-08-02 Bernd Schmidt <bernds@codesourcery.com> | ||
7 | |||
8 | * config/arm/arm.c (arm_rtx_costs_1): Remove second clause from the | ||
9 | if statement which adds extra costs to frame-related | ||
10 | expressions. | ||
11 | |||
12 | === modified file 'gcc/config/arm/arm.c' | ||
13 | --- old/gcc/config/arm/arm.c 2010-11-11 11:00:53 +0000 | ||
14 | +++ new/gcc/config/arm/arm.c 2010-11-11 11:50:33 +0000 | ||
15 | @@ -6805,12 +6805,10 @@ | ||
16 | since then they might not be moved outside of loops. As a compromise | ||
17 | we allow integration with ops that have a constant as their second | ||
18 | operand. */ | ||
19 | - if ((REG_OR_SUBREG_REG (XEXP (x, 0)) | ||
20 | - && ARM_FRAME_RTX (REG_OR_SUBREG_RTX (XEXP (x, 0))) | ||
21 | - && GET_CODE (XEXP (x, 1)) != CONST_INT) | ||
22 | - || (REG_OR_SUBREG_REG (XEXP (x, 0)) | ||
23 | - && ARM_FRAME_RTX (REG_OR_SUBREG_RTX (XEXP (x, 0))))) | ||
24 | - *total = 4; | ||
25 | + if (REG_OR_SUBREG_REG (XEXP (x, 0)) | ||
26 | + && ARM_FRAME_RTX (REG_OR_SUBREG_RTX (XEXP (x, 0))) | ||
27 | + && GET_CODE (XEXP (x, 1)) != CONST_INT) | ||
28 | + *total = COSTS_N_INSNS (1); | ||
29 | |||
30 | if (mode == DImode) | ||
31 | { | ||
32 | |||