diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.9/0059-gcc-PR-rtl-optimization-63348.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.9/0059-gcc-PR-rtl-optimization-63348.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0059-gcc-PR-rtl-optimization-63348.patch b/meta/recipes-devtools/gcc/gcc-4.9/0059-gcc-PR-rtl-optimization-63348.patch deleted file mode 100644 index de827cbda6..0000000000 --- a/meta/recipes-devtools/gcc/gcc-4.9/0059-gcc-PR-rtl-optimization-63348.patch +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | From 6eae3e637fcc22d21b51d44d61e3a9cb4825e776 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
3 | Date: Thu, 30 Oct 2014 20:37:14 -0700 | ||
4 | Subject: [PATCH]PR rtl-optimization/63348 | ||
5 | |||
6 | PR rtl-optimization/63348 | ||
7 | * emit-rtl.c (try_split): Do not emit extra barrier. | ||
8 | |||
9 | Note: this patch is to fix the side effect introduced by r212171 which was reported at: | ||
10 | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63348 | ||
11 | |||
12 | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215613 138bc75d-0d04-0410-961f-82ee72b054a4 | ||
13 | |||
14 | Upstream-Status: Backport [https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=215613] | ||
15 | Signed-off-by: Baoshan Pang <baoshan.pang@windriver.com> | ||
16 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
17 | --- | ||
18 | gcc/emit-rtl.c | 11 ----------- | ||
19 | 1 files changed, 0 insertions(+), 11 deletions(-) | ||
20 | |||
21 | diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c | ||
22 | index 4736f8d..ae69dbd 100644 | ||
23 | --- a/gcc/emit-rtl.c | ||
24 | +++ b/gcc/emit-rtl.c | ||
25 | @@ -3422,7 +3422,6 @@ try_split (rtx pat, rtx trial, int last) | ||
26 | { | ||
27 | rtx before = PREV_INSN (trial); | ||
28 | rtx after = NEXT_INSN (trial); | ||
29 | - int has_barrier = 0; | ||
30 | rtx note, seq, tem; | ||
31 | int probability; | ||
32 | rtx insn_last, insn; | ||
33 | @@ -3441,14 +3440,6 @@ try_split (rtx pat, rtx trial, int last) | ||
34 | |||
35 | split_branch_probability = -1; | ||
36 | |||
37 | - /* If we are splitting a JUMP_INSN, it might be followed by a BARRIER. | ||
38 | - We may need to handle this specially. */ | ||
39 | - if (after && BARRIER_P (after)) | ||
40 | - { | ||
41 | - has_barrier = 1; | ||
42 | - after = NEXT_INSN (after); | ||
43 | - } | ||
44 | - | ||
45 | if (!seq) | ||
46 | return trial; | ||
47 | |||
48 | @@ -3594,8 +3585,6 @@ try_split (rtx pat, rtx trial, int last) | ||
49 | tem = emit_insn_after_setloc (seq, trial, INSN_LOCATION (trial)); | ||
50 | |||
51 | delete_insn (trial); | ||
52 | - if (has_barrier) | ||
53 | - emit_barrier_after (tem); | ||
54 | |||
55 | /* Recursively call try_split for each new insn created; by the | ||
56 | time control returns here that insn will be fully split, so | ||
57 | -- | ||
58 | 1.7.1 | ||
59 | |||