Pessimization in doloop
Bernd Schmidt
bernds_cb1@t-online.de
Fri Sep 15 23:52:00 GMT 2006
Andreas Tobler wrote:
> this one broke bootstrap on ppc.
My apologies.
> cc1: warnings being treated as errors
> /Volumes/development/gcc/head/gcc/gcc/loop-doloop.c: In function
> 'doloop_optimize':
> /Volumes/development/gcc/head/gcc/gcc/loop-doloop.c:530: warning:
> comparison between signed and unsigned
> /Volumes/development/gcc/head/gcc/gcc/loop-doloop.c:535: warning: too
> many arguments for format
> make[3]: *** [loop-doloop.o] Error 1
Argh. Bootstrapping on i686 of course generates no warnings since the
whole file is ifdeffed out.
> is the attached fix ok ?
> - "Doloop: number of iterations too costly to compute.\n",
> + "Doloop: number of iterations (%u)too costly to
> compute.\n",
> est_niter);
est_niter isn't really relevant. I've installed the following on top of
your patch.
Bernd
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixup.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060915/48c4fe0e/attachment.ksh>
More information about the Gcc-patches
mailing list