From 13018fad5e728dc1464708dc4c49be03b5545793 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Sat, 25 Jun 1994 10:04:06 +0000 Subject: [PATCH] (distribute_notes, case REG_DEAD): If a call uses a hard reg, then this is where it dies. From-SVN: r7569 --- gcc/combine.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/combine.c b/gcc/combine.c index ff902e4c9722..b32f3fed35f6 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -10520,7 +10520,9 @@ distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1) break; } } - else if (reg_referenced_p (XEXP (note, 0), PATTERN (tem))) + else if (reg_referenced_p (XEXP (note, 0), PATTERN (tem)) + || (GET_CODE (tem) == CALL_INSN + && find_reg_fusage (tem, USE, XEXP (note, 0)))) { place = tem; break; -- 2.47.2