This is the mail archive of the gcc-patches@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: Fix another ICE when building glibc


> > > +     MEM_ATTRS (x) = get_mem_attrs (MEM_ALIAS_SET (x), t, MEM_OFFSET (x),
> > > + 				   MEM_SIZE (x), MEM_ALIGN (x), GET_MODE (x));
> > 
> > I have trouble beliving that it's ok to change MEM_EXPR and preserve
> > MEM_OFFSET, since the later is by definition relative to the former.

Now I realized that MEM_EXPR (DECL_INCOMING_RTL (t)) == t should be true
so changing only MEM_EXPR from a copy of t to t should be safe.

Josef


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