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?



One way to handle this is to look at the format string and only
perform optimisations if you can fully understand the string.  The
advantage of this is that you don't have to fully implement printf(),
it would probably give you 90% of the optimisations available if you
just recognise %d, %c, and %s, without modifiers.

-- 
- Geoffrey Keating <geoffk@cygnus.com>

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