This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15685] printf("%s\n") optimized to puts also when parameter might be null
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Oct 2007 14:46:57 -0000
- Subject: [Bug c/15685] printf("%s\n") optimized to puts also when parameter might be null
- References: <bug-15685-8634@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from manu at gcc dot gnu dot org 2007-10-19 14:46 -------
Just for reference. Neither fprintf() nor sprintf() seem to follow the
behaviour of printf() in glibc 2.5.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15685