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


    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.


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