This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Another case of DCE deleting live code
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 9 Nov 2004 19:25:24 -0800
- Subject: Re: Another case of DCE deleting live code
- References: <10411100214.AA08272@vlsi1.ultra.nyu.edu>
On Tue, Nov 09, 2004 at 09:14:55PM -0500, Richard Kenner wrote:
> Which would be? It really *is* an attribute of the pointer type.
*shrug* Maybe, maybe not. Depends on how you think about it.
Alternately, it's a normal pointer to a type that's aliased.
I mentioned to Diego in private mail that I thought that this
flag could be dropped entirely in favor of the creation of a
new type node that uses alias set zero. Something like
aliasing_type = build_distinct_type_copy (type);
TYPE_ALIAS_SET (aliasing_type) = 0;
Or something. I kinda doubt it would work to use a variant
type copy; too many things want to remove that cast.
r~