mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
gcc: add patch to fix GCC-61801 (and GCC-61904)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
598e42872d
commit
db307ac481
12
packages/lang/gcc/patches/gcc-GCC61801.patch
Normal file
12
packages/lang/gcc/patches/gcc-GCC61801.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- trunk/gcc/sched-deps.c 2014/07/17 07:27:38 212737
|
||||
+++ trunk/gcc/sched-deps.c 2014/07/17 07:47:19 212738
|
||||
@@ -2750,7 +2750,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.
|
Loading…
x
Reference in New Issue
Block a user