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?


<<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.
>>

OK, so most certainly it *is* ok to do this optimization. I must say I
wonder how often constant arguments appear in fprinft. It would
be nice to measure whether this opimtization ever is worth while.

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