Re: [PATCH 4/5] Generalise invalid_mode_change_p

2014-09-22 Thread Jeff Law
On 09/22/14 01:34, Richard Sandiford wrote: Jeff Law writes: On 09/18/14 04:25, Richard Sandiford wrote: This is the main patch for the bug. We should treat a register as invalid for a mode change if simplify_subreg_regno cannot provide a new register number for the result. We should treat a

Re: [PATCH 4/5] Generalise invalid_mode_change_p

2014-09-22 Thread Richard Sandiford
Jeff Law writes: > On 09/18/14 04:25, Richard Sandiford wrote: >> This is the main patch for the bug. We should treat a register as invalid >> for a mode change if simplify_subreg_regno cannot provide a new register >> number for the result. We should treat a class as invalid for a mode change >

Re: [PATCH 4/5] Generalise invalid_mode_change_p

2014-09-19 Thread Jeff Law
On 09/18/14 04:25, Richard Sandiford wrote: This is the main patch for the bug. We should treat a register as invalid for a mode change if simplify_subreg_regno cannot provide a new register number for the result. We should treat a class as invalid for a mode change if all registers in the clas