This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Another case of DCE deleting live code


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]