Creating a va_list dynamically?

Joseph S. Myers jsm28@cam.ac.uk
Mon Oct 9 11:17:00 GMT 2000


On Mon, 9 Oct 2000, Robert Dewar wrote:

> Is this a legitimate optimization (the suggested optimization of fprintf?)
> To be more precise, is a program that redefines its own fprintf to do
> something different in incorrect program?

For hosted implementations, fprintf is a reserved identifier in ISO C.  If
you specify -ffreestanding, that implies -fno-builtin and so will turn off
this optimization.

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc mailing list