[PATCH] Fix PPC combine ICE
David Edelsohn
dje@watson.ibm.com
Thu Mar 14 21:55:00 GMT 2002
>>>>> Alexandre Oliva writes:
>> I think the original RTL generation creating the CONST_INT
>> should have performed that.
Alexandre> Agreed.
So where should this be done?
Maybe we should add this sanity check to force_reg() as well.
That seems to be part of the problem. We hand force_reg() a CONST_INT and
a mode. It blindly places the CONST_INT into a REG and sets a REG_EQUAL
note, but never checks that the CONST_INT is valid for the mode.
David
More information about the Gcc-patches
mailing list