From: Richard Earnshaw Date: Sat, 25 Jun 1994 10:04:06 +0000 (+0000) Subject: (distribute_notes, case REG_DEAD): If a call uses a X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13018fad5e728dc1464708dc4c49be03b5545793;p=gcc.git (distribute_notes, case REG_DEAD): If a call uses a hard reg, then this is where it dies. From-SVN: r7569 --- diff --git a/gcc/combine.c b/gcc/combine.c index ff902e4c972..b32f3fed35f 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;