This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Wed, Mar 19, 2014 at 09:46:56AM +0000, 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]" can not hold all the
> >registers.
> >
> >According to arm-modes.def, 16 should be the biggest number. So the
> >patch updates parts to
> >
> >rtx parts[16];
> >
> >Bootstrap and no make check regression on ARM Chrome book.
> >
> >OK for trunk?
> >
> 
> It may be time in 4.10 or 5.0 (whatever we call it :)), to deal with
> the FIXME in arm_dwarf_register_span to deal with DW_OP_piece. I'm
> surprised that it's taken so long to hit this.
> 
> This is OK for stage4 - it looks sane to me but this needs an RM ack
> before applying.

Ok.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]