[RFC] patch to fix an ICE involving sign-extract of mmx expression
Richard Henderson
rth@redhat.com
Fri Sep 23 19:41:00 GMT 2005
On Thu, Sep 22, 2005 at 01:21:06PM -0700, Fariborz Jahanian wrote:
> /* Avoid creating invalid subregs, for example when
> simplifying (x>>32)&255. */
> ! if (final_word >= GET_MODE_SIZE (inner_mode)
> ! || (final_word % GET_MODE_SIZE (tmode)) != 0)
> return NULL_RTX;
I think you should just call validate_subreg. Ok with that change.
r~
More information about the Gcc
mailing list