[Bug rtl-optimization/49235] [4.7 Regression] ICE: in int_mode_for_mode, at stor-layout.c:424 with -O -fno-delete-null-pointer-checks -fno-tree-scev-cprop -ftree-vectorize -fno-vect-cost-model
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 31 09:34:00 GMT 2011
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.
More information about the Gcc-bugs
mailing list