Re: [PATCH][RFC] fix reload causing ICE in subreg_get_info on m68k (PR58369)

2013-10-30 Thread Jeff Law
On 10/18/13 14:17, Mikael Pettersson wrote: Thanks Mikael. My only concern is the lack of adjustment when the value found was already a SUBREG. ie, let's assume rld[r].in_reg was something like (subreg:XF (reg:DF) 0) and our target is (reg:DF) In this case it seems to

Re: [PATCH][RFC] fix reload causing ICE in subreg_get_info on m68k (PR58369)

2013-10-18 Thread Mikael Pettersson
Jeff Law writes: On 09/28/13 09:30, Mikael Pettersson wrote: This patch fixes PR58369, an ICE in subreg_get_info when compiling boost for m68k-linux. choose_reload_regs attempts to reload a DFmode (8-byte) reg, finds an XFmode (12-byte) reg in last_reg, and calls

Re: [PATCH][RFC] fix reload causing ICE in subreg_get_info on m68k (PR58369)

2013-10-09 Thread Jeff Law
On 09/28/13 09:30, Mikael Pettersson wrote: This patch fixes PR58369, an ICE in subreg_get_info when compiling boost for m68k-linux. choose_reload_regs attempts to reload a DFmode (8-byte) reg, finds an XFmode (12-byte) reg in last_reg, and calls subreg_regno_offset with these two modes and a

[PATCH][RFC] fix reload causing ICE in subreg_get_info on m68k (PR58369)

2013-09-28 Thread Mikael Pettersson
This patch fixes PR58369, an ICE in subreg_get_info when compiling boost for m68k-linux. choose_reload_regs attempts to reload a DFmode (8-byte) reg, finds an XFmode (12-byte) reg in last_reg, and calls subreg_regno_offset with these two modes and a subreg offset of zero. However, this is not a