1
0
mirror of https://github.com/cahirwpz/amigaos-cross-toolchain synced 2025-12-08 15:08:26 +00:00
Files
amigaos-cross-toolchain/patches/gcc-3.4.6/gcc/flow.c.diff
Krystian Bacławski cfa575b5ca Switch to gcc 3.4.6.
2013-05-19 21:39:06 +02:00

20 lines
756 B
Diff

--- gcc-3.4.6/gcc/flow.c 2013-05-19 20:09:27.000000000 +0200
+++ gcc-3.4.6-patched/gcc/flow.c 2013-05-19 20:23:32.000000000 +0200
@@ -2335,11 +2335,13 @@
if (n_basic_blocks == 0
|| (regno < FIRST_PSEUDO_REGISTER
&& (global_regs[regno]
- || fixed_regs[regno]
- || FUNCTION_ARG_REGNO_P (regno))))
+/* begin-GG-local: explicit register specification for parameters */
+ || fixed_regs[regno])))
return 0;
- return REGNO_REG_SET_P (ENTRY_BLOCK_PTR->global_live_at_end, regno);
+ return (REGNO_REG_SET_P (ENTRY_BLOCK_PTR->global_live_at_end, regno)
+ && (regno >= FIRST_PSEUDO_REGISTER || ! function_arg_regno_p (regno)));
+/* end-GG-local */
}
/* 1 if register REGNO was alive at a place where `setjmp' was called