http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49235
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-31 07:46:22 UTC --- Created attachment 24401 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24401 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.