[RFC] patch to fix an ICE involving sign-extract of mmx expression
Fariborz Jahanian
fjahanian@apple.com
Mon Sep 26 16:05:00 GMT 2005
On Sep 23, 2005, at 12:41 PM, Richard Henderson wrote:
> 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.
This is the patch I am checking in.
- fariborz (fjahanian@apple.com)
ChangeLog:
2005-09-26 Fariborz Jahanian <fjahanian@apple.com>
* combine.c (make_extraction): Check for valid use of subreg.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-fsf.txt
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050926/110d3247/attachment.txt>
-------------- next part --------------
>
>
> r~
>
More information about the Gcc
mailing list