* final.c: (leaf_function_p): Fix typo.

From-SVN: r38935
This commit is contained in:
John Wehle 2001-01-12 05:02:00 +00:00 committed by John Wehle
parent 825b692620
commit b660f82f15
2 changed files with 16 additions and 9 deletions

View file

@ -1,3 +1,7 @@
Thu Jan 11 17:06:30 EST 2001 John Wehle (john@feith.com)
* final.c: (leaf_function_p): Fix typo.
2001-01-11 Zack Weinberg <zack@wolery.stanford.edu>
* aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Completely rewritten.

View file

@ -1,6 +1,6 @@
/* Convert RTL to assembler code and output it, for GNU compiler.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000 Free Software Foundation, Inc.
1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@ -4125,6 +4125,7 @@ int
leaf_function_p ()
{
rtx insn;
rtx link;
if (profile_flag || profile_block_flag || profile_arc_flag)
return 0;
@ -4140,17 +4141,19 @@ leaf_function_p ()
&& ! SIBLING_CALL_P (XVECEXP (PATTERN (insn), 0, 0)))
return 0;
}
for (insn = current_function_epilogue_delay_list;
insn;
insn = XEXP (insn, 1))
for (link = current_function_epilogue_delay_list;
link;
link = XEXP (link, 1))
{
if (GET_CODE (XEXP (insn, 0)) == CALL_INSN
insn = XEXP (link, 0);
if (GET_CODE (insn) == CALL_INSN
&& ! SIBLING_CALL_P (insn))
return 0;
if (GET_CODE (XEXP (insn, 0)) == INSN
&& GET_CODE (PATTERN (XEXP (insn, 0))) == SEQUENCE
&& GET_CODE (XVECEXP (PATTERN (XEXP (insn, 0)), 0, 0)) == CALL_INSN
&& ! SIBLING_CALL_P (XVECEXP (PATTERN (XEXP (insn, 0)), 0, 0)))
if (GET_CODE (insn) == INSN
&& GET_CODE (PATTERN (insn)) == SEQUENCE
&& GET_CODE (XVECEXP (PATTERN (insn), 0, 0)) == CALL_INSN
&& ! SIBLING_CALL_P (XVECEXP (PATTERN (insn), 0, 0)))
return 0;
}