diff options
Diffstat (limited to 'meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99487.patch')
-rw-r--r-- | meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99487.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99487.patch b/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99487.patch new file mode 100644 index 0000000000..186c17717f --- /dev/null +++ b/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99487.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | 2011-03-11 Andrew Stubbs <ams@codesourcery.com> | ||
2 | Michael Hope <michael.hope@linaro.org> | ||
3 | Matthias Klose <doko@ubuntu.org> | ||
4 | |||
5 | gcc/ | ||
6 | * function. (thread_prologue_and_epilogue_insns): Initialize | ||
7 | prologue_seq. | ||
8 | * opts.c (decode_options): Move flag_shrink_wrap to -O1. | ||
9 | |||
10 | === modified file 'gcc/function.c' | ||
11 | --- old/gcc/function.c 2011-03-10 14:55:10 +0000 | ||
12 | +++ new/gcc/function.c 2011-03-11 10:35:05 +0000 | ||
13 | @@ -5252,6 +5252,8 @@ | ||
14 | edge_iterator ei; | ||
15 | bitmap_head bb_flags; | ||
16 | |||
17 | + prologue_seq = NULL_RTX; | ||
18 | + | ||
19 | df_analyze (); | ||
20 | |||
21 | rtl_profile_for_bb (ENTRY_BLOCK_PTR); | ||
22 | |||
23 | === modified file 'gcc/opts.c' | ||
24 | --- old/gcc/opts.c 2011-02-08 10:51:58 +0000 | ||
25 | +++ new/gcc/opts.c 2011-03-11 10:35:05 +0000 | ||
26 | @@ -877,6 +877,7 @@ | ||
27 | flag_tree_copy_prop = opt1; | ||
28 | flag_tree_sink = opt1; | ||
29 | flag_tree_ch = opt1; | ||
30 | + flag_shrink_wrap = opt1; | ||
31 | |||
32 | /* -O2 optimizations. */ | ||
33 | opt2 = (optimize >= 2); | ||
34 | @@ -909,7 +910,6 @@ | ||
35 | flag_ipa_cp = opt2; | ||
36 | flag_ipa_sra = opt2; | ||
37 | flag_ee = opt2; | ||
38 | - flag_shrink_wrap = opt2; | ||
39 | |||
40 | /* Track fields in field-sensitive alias analysis. */ | ||
41 | set_param_value ("max-fields-for-field-sensitive", | ||
42 | |||