This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] How to make DECLs that alias
- From: Richard Henderson <rth at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 18 Nov 2003 10:57:21 -0800
- Subject: Re: [tree-ssa] How to make DECLs that alias
- References: <16314.23877.301251.901564@cuddles.cambridge.redhat.com>
On Tue, Nov 18, 2003 at 05:56:21PM +0000, Andrew Haley wrote:
> Any ideas?
Not really. There's no way to make two non-memory things alias.
If you can somehow create a decl for a stack slot, and use it
for all the things a stack slot can hold, that might solve your
problem. E.g. use a union.
There is some hope that we might be able to un-hork such code
with the scalar replacement pass that Diego is working ok.
r~