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]

Re: [PATCH] Optimize sprintf into strcpy if possible (take 3)


On Wed, Apr 18, 2001 at 08:06:54PM +0100, Joseph S. Myers wrote:
> > +  printf ("%d\n" - 1, i);	/* { dg-warning ...
> 
> Is this a PLUS_EXPR with negative addend, or a MINUS_EXPR?

Should be the former.


r~


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