Creating a va_list dynamically?
Robert Dewar
dewar@gnat.com
Mon Oct 9 11:25:00 GMT 2000
<<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.
More information about the Gcc
mailing list