Re: [PATCH, ARM] Fix ICE due to out of bound.

2014-03-19 Thread Jakub Jelinek
On Wed, Mar 19, 2014 at 09:46:56AM +, Ramana Radhakrishnan wrote: > On 03/19/14 08:42, Zhenqiang Chen wrote: > >ICE when compiling gcc.target/arm/neon-modes-3.c with "-g" in > >arm_dwarf_register_span since parts[8] is out of bound for XImode. > >GET_MODE_SIZE (XImode) / 4 is 16. "rtx parts[8]"

Re: [PATCH, ARM] Fix ICE due to out of bound.

2014-03-19 Thread Richard Biener
On Wed, 19 Mar 2014, Ramana Radhakrishnan wrote: > On 03/19/14 08:42, Zhenqiang Chen wrote: > > Hi, > > > > ICE when compiling gcc.target/arm/neon-modes-3.c with "-g" in > > arm_dwarf_register_span since parts[8] is out of bound for XImode. > > GET_MODE_SIZE (XImode) / 4 is 16. "rtx parts[8]" can

Re: [PATCH, ARM] Fix ICE due to out of bound.

2014-03-19 Thread Ramana Radhakrishnan
On 03/19/14 08:42, Zhenqiang Chen wrote: Hi, ICE when compiling gcc.target/arm/neon-modes-3.c with "-g" in arm_dwarf_register_span since parts[8] is out of bound for XImode. GET_MODE_SIZE (XImode) / 4 is 16. "rtx parts[8]" can not hold all the registers. According to arm-modes.def, 16 should be

[PATCH, ARM] Fix ICE due to out of bound.

2014-03-19 Thread Zhenqiang Chen
Hi, ICE when compiling gcc.target/arm/neon-modes-3.c with "-g" in arm_dwarf_register_span since parts[8] is out of bound for XImode. GET_MODE_SIZE (XImode) / 4 is 16. "rtx parts[8]" can not hold all the registers. According to arm-modes.def, 16 should be the biggest number. So the patch updates p