This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Creating a va_list dynamically?
- To: Robert Dewar <dewar at gnat dot com>
- Subject: Re: Creating a va_list dynamically?
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Mon, 9 Oct 2000 19:16:31 +0100 (BST)
- cc: gcc at gcc dot gnu dot org, ghazi at caip dot rutgers dot edu
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