This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 6 GCC regressions, 2 new, with your patch on 2002-07-20T23:26:42Z.
> Date: Mon, 22 Jul 2002 15:43:16 +0200
> From: Jan Hubicka <jh@suse.cz>
> How do you think we should behave? I think at the moment we generate
> the loads of argument we do not know whether the load can be potentially
> changed and we never track the information. So eighter we can kill the
> EQUIV notes entirely or add new pass to analyze the generated code and
> kill when something is modifying or dereferencing the argument.
If we can't be sure that the REG_EQUIV notes are correct, we shouldn't
be generating them.
Please don't add a new pass for this special case. Alias analysis
should be fully capable of detecting a set of a pseudo from a constant
memory location without needing the help of a REG_EQUIV note.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>