diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
commit | 8d89651ef729e560ad96dcfc002fcde6ff7f923b (patch) | |
tree | eb5be01c25f735d12fe9881ee6327c9b7e8bbe39 /meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.9/0055-PR-rtl-optimization-61801.patch | |
download | meta-linaro-dizzy-enea.tar.gz |
initial commit for Enea Linux 5.0 armdizzy-enea
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.9/0055-PR-rtl-optimization-61801.patch')
-rw-r--r-- | meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.9/0055-PR-rtl-optimization-61801.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.9/0055-PR-rtl-optimization-61801.patch b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.9/0055-PR-rtl-optimization-61801.patch new file mode 100644 index 0000000..b27abde --- /dev/null +++ b/meta-linaro-toolchain/recipes-devtools/gcc/gcc-linaro-4.9/0055-PR-rtl-optimization-61801.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 556537c4ad0df4cbebb74197bb2bdea75cf5dd35 Mon Sep 17 00:00:00 2001 | ||
2 | From: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | ||
3 | Date: Thu, 17 Jul 2014 07:48:49 +0000 | ||
4 | Subject: [PATCH] 2014-07-17 Richard Biener <rguenther@suse.de> | ||
5 | |||
6 | PR rtl-optimization/61801 | ||
7 | * sched-deps.c (sched_analyze_2): For ASM_OPERANDS and | ||
8 | ASM_INPUT don't set reg_pending_barrier if it appears in a | ||
9 | debug-insn. | ||
10 | |||
11 | |||
12 | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@212739 138bc75d-0d04-0410-961f-82ee72b054a4 | ||
13 | |||
14 | Upstream-Status: Backport [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61801] | ||
15 | Signed-off-by: Peter A. Bigot <pab@pabigot.com> | ||
16 | |||
17 | --- | ||
18 | gcc/sched-deps.c | 3 ++- | ||
19 | |||
20 | diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c | ||
21 | index efc4223..df29bd3 100644 | ||
22 | --- a/gcc/sched-deps.c | ||
23 | +++ b/gcc/sched-deps.c | ||
24 | @@ -2750,7 +2750,8 @@ sched_analyze_2 (struct deps_desc *deps, rtx x, rtx insn) | ||
25 | Consider for instance a volatile asm that changes the fpu rounding | ||
26 | mode. An insn should not be moved across this even if it only uses | ||
27 | pseudo-regs because it might give an incorrectly rounded result. */ | ||
28 | - if (code != ASM_OPERANDS || MEM_VOLATILE_P (x)) | ||
29 | + if ((code != ASM_OPERANDS || MEM_VOLATILE_P (x)) | ||
30 | + && !DEBUG_INSN_P (insn)) | ||
31 | reg_pending_barrier = TRUE_BARRIER; | ||
32 | |||
33 | /* For all ASM_OPERANDS, we must traverse the vector of input operands. | ||
34 | -- | ||
35 | 1.8.5.5 | ||
36 | |||