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).