This is the mail archive of the gcc@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: Creating a va_list dynamically?


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


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