[PATCH] Fix ARM PRE_DEC creation (PR target/43580)

Richard Earnshaw rearnsha@arm.com
Wed Mar 31 09:44:00 GMT 2010


On Tue, 2010-03-30 at 21:08 +0200, Jakub Jelinek wrote:
> Hi!
> 
> On the preprocessed source from bootstrap for this PR var-tracking
> is crashing, because ARM backend creates invalid PRE_DEC - the documentation
> says the mode of PRE_DEC must be mode of pointers, but it uses V2SImode or
> XFmode.  Fixed thusly, the preprocessed source is fixed, not tested further
> by me, but Mikael Pettersson sais in the PR he has tested it.
> I've grepped for gen_rtx_PRE_DEC in other targets and didn't find anything
> obviously wrong like this (not all places use Pmode, some use SImode or
> DImode etc., but that could very well be the pointer mode).
> 
> Ok for trunk?
> 
> 2010-03-30  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR target/43580
> 	* config/arm/arm.c (arm_save_coproc_regs): Use Pmode instead of
> 	V2SImode or XFmode on PRE_DEC.
> 

OK

R.




More information about the Gcc-patches mailing list