> -----Original Message-----
> From: Richard Biener [mailto:richard.guent...@gmail.com]
> Sent: Wednesday, April 03, 2013 5:36 PM
> To: Bin Cheng
> Cc: gcc-patches@gcc.gnu.org
> Subject: Re: [PATCH GCC]Fix typo in definition of macro AUTO_INC_DEC in
rtl.h
> 
> On Wed, Apr 3, 2013 at 3:38 AM, Bin Cheng <bin.ch...@arm.com> wrote:
> > Hi,
> > When I look into code of auto-inc-dec.c in GCC, I found this typo in
> > rtl.h, as #if (defined (HAVE_PRE_INCREMENT) || defined
> > (HAVE_PRE_DECREMENT) \
> >      || defined (HAVE_POST_INCREMENT) || defined (HAVE_POST_DECREMENT) \
> >      || defined (HAVE_PRE_MODIFY_DISP) || defined (HAVE_PRE_MODIFY_DISP)
\
> >      || defined (HAVE_PRE_MODIFY_REG) || defined
> > (HAVE_POST_MODIFY_REG)) #define AUTO_INC_DEC #endif
> >
> > The 2nd HAVE_PRE_MODIFY_DISP should be HAVE_POST_MODIFY_DISP.
> >
> > Tested on Thumb2(cortex-m3), no failure introduced. Since the pass is
> > disabled on x86/x86_64, so I did not run regression test on it.
> 
> Ok.
> 

Committed as 197398.

Thanks.



Reply via email to