Re: [ARM] Fix ICE in minipool handling at -Os

2013-03-27 Thread Eric Botcazou
Having half-word accesses into the minipool is generally a bad idea. The limited offset range that's supported by these instructions means it's much more likely that we'll end up with a pool after a conditional branch or, worse, in the middle of a linear code sequence. That means we have to

Re: [ARM] Fix ICE in minipool handling at -Os

2013-03-25 Thread Richard Earnshaw
On 23/03/13 11:20, Eric Botcazou wrote: We ran into an ICE at -Os on the 4.7 branch for ARM (BE/VFPv3/ARM): FAIL: gcc.c-torture/compile/920928-2.c -Os (internal compiler error) It's an assertion deep in the ARM back-end: /* If an insn doesn't have a range defined for it, then it isn't

[ARM] Fix ICE in minipool handling at -Os

2013-03-23 Thread Eric Botcazou
We ran into an ICE at -Os on the 4.7 branch for ARM (BE/VFPv3/ARM): FAIL: gcc.c-torture/compile/920928-2.c -Os (internal compiler error) It's an assertion deep in the ARM back-end: /* If an insn doesn't have a range defined for it, then it isn't expecting to be reworked by this code.