This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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