http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49235

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-31 
09:26:59 UTC ---
(In reply to comment #2)
> Created attachment 24401 [details]
> gcc47-pr49235.patch
> 
> Untested fix.  base might be const0_rtx (seems other constants are moved into
> offset and base stays const0_rtx), and if there is also offset and nothing
> else,
> we end up with (plus:DI (const_int 0) (const_int 16)) and similar.

Yes, base has to be of pointer type.  But I thought get_address_description
would "untangle" this again ... if not it's probably latent pre-MEM_REF
as well.

Reply via email to