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: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: dnovillo at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 9 Nov 04 19:01:23 EST
- Subject: Re: Another case of DCE deleting live code
I have to admit that TYPE_REF_CAN_ALIAS_ALL baffles me. Sounds like an
early hack and it's placed in the wrong spot. A pointer does not really
alias anything, it may *point* to other memory. It is the pointed-to
memory location that may *alias* other variables.
I added it, so I'll take any blame, but what the name means is that
the *reference* can alias all, which is exactly the semantics: we have
to assume that pointer can refeference anything. It's the exact opposite
of restricted pointers.