This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/58005] missed optimization printf constant string
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 27 Jul 2013 20:14:20 +0000
- Subject: [Bug tree-optimization/58005] missed optimization printf constant string
- Auto-submitted: auto-generated
- References: <bug-58005-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58005
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Such an optimization can increase code size (well, the total size of
string constants in the program) if the same format string is used with
many different arguments, so it may not always be a good idea (at least
with -Os).