Creating a va_list dynamically?

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Mon Oct 9 12:03:00 GMT 2000


 > From: dewar@gnat.com (Robert Dewar)
 > 
 > 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.

Constant arg fprintf appears quite often in programs like gcc itself.
The compiler does a lot of stdio.  If you consider all of the target
macro definitions, a lot of them get output via calls resembling
fprintf(stream, "foo%sbar", TARGET_MACRO).

--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


More information about the Gcc mailing list