jump.c (mark_all_labels): Canonicalize the tail recursion label attached to CALL_PLACEHOLDER insns.
* jump.c (mark_all_labels): Canonicalize the tail recursion label attached to CALL_PLACEHOLDER insns. From-SVN: r41400
This commit is contained in:
parent
2f4e671dfa
commit
b9c81bcb53
@ -1,3 +1,8 @@
|
||||
Tue Apr 17 21:41:11 2001 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* jump.c (mark_all_labels): Canonicalize the tail recursion
|
||||
label attached to CALL_PLACEHOLDER insns.
|
||||
|
||||
2001-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* output.h (dump_flow_info, free_basic_block_vars,
|
||||
|
11
gcc/jump.c
11
gcc/jump.c
@ -843,6 +843,17 @@ mark_all_labels (f, cross_jump)
|
||||
mark_all_labels (XEXP (PATTERN (insn), 0), cross_jump);
|
||||
mark_all_labels (XEXP (PATTERN (insn), 1), cross_jump);
|
||||
mark_all_labels (XEXP (PATTERN (insn), 2), cross_jump);
|
||||
|
||||
/* Canonicalize the tail recursion label attached to the
|
||||
CALL_PLACEHOLDER insn. */
|
||||
if (XEXP (PATTERN (insn), 3))
|
||||
{
|
||||
rtx label_ref = gen_rtx_LABEL_REF (VOIDmode,
|
||||
XEXP (PATTERN (insn), 3));
|
||||
mark_jump_label (label_ref, insn, cross_jump, 0);
|
||||
XEXP (PATTERN (insn), 3) = XEXP (label_ref, 0);
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user