On 14/08/15 10:56, Kyrill Tkachov wrote: > Hi all, > > I'm seeing these warnings when building arm.c: > warning: format ‘%lld’ expects argument of type ‘long long int’, but argument > 5 has type ‘long int’ [-Wformat=] > > These appear in the bounds_check function when it tries to print out > HOST_WIDE_INTs using the %lld format. > I believe the right way to print these is with %wd, which is what the > equivalent aarch64 function does. > > With this patch I don't see the warnings any more. > Bootstrapped and tested on arm. > > Ok for trunk?
OK - I'd consider this sort of thing as obvious. ramana > > Thanks, > Kyrill > > 2015-08-14 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > > * config/arm/arm.c (bounds_check): Use %wd print format > for HOST_WIDE_INT arguments.