------- Comment #13 from joseph at codesourcery dot com 2006-01-01 22:18 ------- Subject: Re: New: too agressive printf optimization
On Fri, 30 Dec 2005, drepper at redhat dot com wrote: > There should at least be a mode in which gcc does not perform the > transformation if it cannot be sure the pointer is not NULL. The default for The mode is -fno-builtin-printf. The same applies for users with custom printf format handlers which modify static variables; they may also need to use -fno-builtin-printf. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25609