Re: RFA: always supply a mode to plus_constant

2012-04-16 Thread Richard Earnshaw
On 15/04/12 10:29, Richard Sandiford wrote: As mentioned in the discussion of Mike's 2HWI patch, plus_constant is AFAIK the only rtl routine that handles arithmetic on CONST_INT without specifying the mode of the CONST_INT. That means it isn't always able to generate the right result. E.g.

Re: RFA: always supply a mode to plus_constant

2012-04-16 Thread Michael Eager
On 04/15/2012 02:29 AM, Richard Sandiford wrote: alpha-linux-gnu arm-linux-gnueabi avr-rtems bfin-elf c6x-elf cr16-elf cris-elf epiphany-elf fr30-elf frv-linux-gnu h8300-elf ia64-linux-gnu iq2000-elf lm32-elf m32c-elf m32r-elf m68k-linux-gnu mcore-elf mep-elf