mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-15 16:11:24 +08:00
sibcall.c (optimize_sibling_and_tail_recursive_calls): Call purge_mem_unchanging_flag on all instructions...
* sibcall.c (optimize_sibling_and_tail_recursive_calls): Call purge_mem_unchanging_flag on all instructions, not just on those before NOTE_INSN_FUNCTION_BEG. From-SVN: r46091
This commit is contained in:
parent
bbb12d768b
commit
5a2ce672ba
@ -1,3 +1,9 @@
|
||||
2001-10-08 Jeffrey A Law <law@cygnus.com>
|
||||
|
||||
* sibcall.c (optimize_sibling_and_tail_recursive_calls): Call
|
||||
purge_mem_unchanging_flag on all instructions, not just on those
|
||||
before NOTE_INSN_FUNCTION_BEG.
|
||||
|
||||
2001-10-08 Neil Booth <neil@daikokuya.demon.co.uk>
|
||||
|
||||
* cppmacro.c (_cpp_create_definition): Leave comments off.
|
||||
|
@ -746,12 +746,7 @@ optimize_sibling_and_tail_recursive_calls ()
|
||||
we actually write into. */
|
||||
for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
|
||||
{
|
||||
if (GET_CODE (insn) == NOTE)
|
||||
{
|
||||
if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_FUNCTION_BEG)
|
||||
break;
|
||||
}
|
||||
else if (INSN_P (insn))
|
||||
if (INSN_P (insn))
|
||||
purge_mem_unchanging_flag (PATTERN (insn));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user