This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/25609] too agressive printf optimization
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jan 2006 22:18:47 -0000
- Subject: [Bug rtl-optimization/25609] too agressive printf optimization
- References: <bug-25609-700@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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