purge_mem_unchanging_flag on all instructions, not just on those
before NOTE_INSN_FUNCTION_BEG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46091
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
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));
}
}