Re: PR 61084: SPARC fallout from wide-int merge

2014-05-14 Thread Eric Botcazou
> PR target/61084 > * config/sparc/sparc.md: Fix types of low and high in DI constant > splitter. Use gen_int_mode in some other splitters. OK, thanks. -- Eric Botcazou

Re: PR 61084: SPARC fallout from wide-int merge

2014-05-07 Thread Richard Sandiford
Mike Stump writes: > On May 7, 2014, at 2:26 AM, Richard Sandiford > 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 trip

Re: PR 61084: SPARC fallout from wide-int merge

2014-05-07 Thread Mike Stump
On May 7, 2014, at 2:26 AM, Richard Sandiford 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

PR 61084: SPARC fallout from wide-int merge

2014-05-07 Thread Richard Sandiford
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)