This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Out of SSA status and issues
- From: Michael Matz <matz at suse dot de>
- To: Andrew MacLeod <amacleod at redhat dot com>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Tue, 13 May 2003 11:07:42 +0200 (CEST)
- Subject: Re: [tree-ssa] Out of SSA status and issues
Hi,
On 12 May 2003, Andrew MacLeod wrote:
> Actually, is propagating this copy a safe thing to do?
>
> Copy propagation simply looks at the def, and if the stmt is a copy,
> copies it... So if there was a store after the definition of i_14 which
> killed the memory location that T.6_12 points to, then the PHI is going
> to get the wrong result... isn't it?
An indirect reference is not a copy. I don't know if tree-ssa thinks it
is, but it definitely shouldn't.
Ciao,
Michael.