This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Strange behaviour gcc 3.0
Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
>
> BTW, why do we need this at all in the glibc sources? gcc-3.0 can
> optimize printf the same way as fprintf, I don't see any advantages of
> this #define...
Feel free to send a patch for GCC to replace printf (...) with fprintf
(stdout,...). I expect that glibc will remove the macro in this case,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj