This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch to suggest putc/fputs over printf("string") or printf("\n")
- To: Jamie Lokier <egcs at tantalophile dot demon dot co dot uk>
- Subject: Re: patch to suggest putc/fputs over printf("string") or printf("\n")
- From: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Date: Sat, 16 Jan 1999 14:58:28 -0400
- cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, law at cygnus dot com, egcs-patches at cygnus dot com, egcs at cygnus dot com
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