diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-22 23:06:33 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-22 23:06:33 +0200 |
commit | f07aa672fddd7b5405fc730ffebcda67daa71ae1 (patch) | |
tree | 52b2a3f246f5022ef7eaa7e20cb9aac067e10d05 /gnu/packages/patches/gcc-fix-pr61801.patch | |
parent | 52ac153e2a83035ce2bc875f9c414cb26db5f6fc (diff) | |
parent | dd68dd137a4a70cde7e344bd969ef7849355d018 (diff) | |
download | guix-f07aa672fddd7b5405fc730ffebcda67daa71ae1.tar.gz |
Merge branch 'core-updates'
Diffstat (limited to 'gnu/packages/patches/gcc-fix-pr61801.patch')
-rw-r--r-- | gnu/packages/patches/gcc-fix-pr61801.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/patches/gcc-fix-pr61801.patch b/gnu/packages/patches/gcc-fix-pr61801.patch new file mode 100644 index 0000000000..e9cd92aa1c --- /dev/null +++ b/gnu/packages/patches/gcc-fix-pr61801.patch @@ -0,0 +1,25 @@ +GCC bug fix for <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61801>. +Initially discussed at + <http://lists.gnu.org/archive/html/guix-devel/2014-09/msg00283.html>. +Patch from <https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=212740>. + +2014-07-17 Richard Biener <rguenther@suse.de> + + PR rtl-optimization/61801 + + * sched-deps.c (sched_analyze_2): For ASM_OPERANDS and + ASM_INPUT don't set reg_pending_barrier if it appears in a + debug-insn. + +--- gcc-4_8-branch/gcc/sched-deps.c 2014/07/17 07:48:49 212739 ++++ gcc-4_8-branch/gcc/sched-deps.c 2014/07/17 07:49:44 212740 +@@ -2744,7 +2744,8 @@ + Consider for instance a volatile asm that changes the fpu rounding + mode. An insn should not be moved across this even if it only uses + pseudo-regs because it might give an incorrectly rounded result. */ +- if (code != ASM_OPERANDS || MEM_VOLATILE_P (x)) ++ if ((code != ASM_OPERANDS || MEM_VOLATILE_P (x)) ++ && !DEBUG_INSN_P (insn)) + reg_pending_barrier = TRUE_BARRIER; + + /* For all ASM_OPERANDS, we must traverse the vector of input operands. |