aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 74958c06c1e..df56b3c2e7e 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -830,6 +830,14 @@ reload (rtx first, int global)
for (i = LAST_VIRTUAL_REGISTER + 1; i < max_regno; i++)
alter_reg (i, -1);
+ /* APPLE LOCAL begin 4321079 */
+ if (from_global)
+ {
+ extern void remove_invalidated_death_notes (rtx);
+ remove_invalidated_death_notes (first);
+ }
+ /* APPLE LOCAL end 4321079 */
+
/* If we have some registers we think can be eliminated, scan all insns to
see if there is an insn that sets one of these registers to something
other than itself plus a constant. If so, the register cannot be