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 to suggest putc/fputs over printf("string") or printf("\n")


Jamie Lokier <egcs@tantalophile.demon.co.uk> said:

[...]

> So long as these function-call-rewriting optimisations can be controlled
> by a flag or an attribute (a different one from the printf format
> checks), that will suit me.  -Os is not adequate IMO, because printf is
> often used in slow paths from code that must be optimised for speed.

I'd trust them to be made by hand if it _really_ matters.
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616


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