This is the mail archive of the
mailing list for the GCC project.
Re: RFA: non-const libcalls
On Sat, May 12, 2001 at 03:21:56PM -0300, Alexandre Oliva wrote:
> I'm pretty sure there was no problem in case the stores came before
> a regular call because this thing operated only within basic blocks,
No. There was no problem on regular calls because they are
assumed to read and write all memory. From propagate_one_insn,
/* Non-constant calls clobber memory. */
if (! CONST_CALL_P (insn))
pbi->mem_set_list_len = 0;
> Could you point me at the pass or chunk of code that does that,
> to refresh my memory?
The tracking is done in mark_set_1 and mark_used_regs. The
killing is done in insn_dead_p.
> Ok to remove the original paragraph, then?