mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-10 04:44:34 +08:00
emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE instead of replacing it.
* emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE instead of replacing it. From-SVN: r68547
This commit is contained in:
parent
99af0d26bd
commit
f6a1f3f6ca
@ -1,3 +1,8 @@
|
|||||||
|
2003-06-26 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE
|
||||||
|
instead of replacing it.
|
||||||
|
|
||||||
2003-06-26 Richard Henderson <rth@redhat.com>
|
2003-06-26 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* flow.c (propagate_one_insn): Kill function return value
|
* flow.c (propagate_one_insn): Kill function return value
|
||||||
|
@ -3510,8 +3510,10 @@ try_split (pat, trial, last)
|
|||||||
for (insn = insn_last; insn ; insn = PREV_INSN (insn))
|
for (insn = insn_last; insn ; insn = PREV_INSN (insn))
|
||||||
if (GET_CODE (insn) == CALL_INSN)
|
if (GET_CODE (insn) == CALL_INSN)
|
||||||
{
|
{
|
||||||
CALL_INSN_FUNCTION_USAGE (insn)
|
rtx *p = &CALL_INSN_FUNCTION_USAGE (insn);
|
||||||
= CALL_INSN_FUNCTION_USAGE (trial);
|
while (*p)
|
||||||
|
p = &XEXP (*p, 1);
|
||||||
|
*p = CALL_INSN_FUNCTION_USAGE (trial);
|
||||||
SIBLING_CALL_P (insn) = SIBLING_CALL_P (trial);
|
SIBLING_CALL_P (insn) = SIBLING_CALL_P (trial);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user