Mike Stump <mikest...@comcast.net> writes:
> On May 7, 2014, at 2:26 AM, Richard Sandiford
> <rdsandif...@googlemail.com> wrote:
>> The DImode constant spliiter assigned the result of trunc_int_for_mode
>> to an unsigned int rather than a HOST_WIDE_INT.  This then produced 
>> const_ints
>> that were zero-extended rather than sign-extended and tripped the assert:
>> 
>>      gcc_checking_assert (INTVAL (x.first)
>>                           == sext_hwi (INTVAL (x.first), precision)
>>                           || (x.second == BImode && INTVAL (x.first) == 1));
>> 
>> The other hunks are just by inspection, but I think gen_int_mode is
>> preferred over GEN_INT when the mode is obvious.
>> 
>> Tested by Rainer, who says that the boostrap now completes.
>> OK to install?
>
> Ok.

I think this needs a backend maintainer.  Although it was exposed by
the wide-int assert, it isn't really wide-int-related as such.

Thanks,
Richard

Reply via email to