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]

Re: MEM_COPY_ATTRIBUTES


>>>>> "Richard" == Richard Kenner <kenner@vlsi1.ultra.nyu.edu> writes:

    Richard>     Yes.  Look for places where MEM_COPY_ATTRIBUTES is
    Richard> used but MEM_ALIAS_SET is not.  They should represent
    Richard> places where the resulting memory doesn't have the same
    Richard> type as the original memory.  (For example, the new MEM
    Richard> might not point at the same location as the old MEM, or
    Richard> might be wider.)

    Richard> But in that case, you have to set *some* value for
    Richard> MEM_ALIAS_SET, right?

No, because the new MEM starts out in alias set zero, which is the
special "aliases anything" alias set.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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