------- Comment #4 from nathan at gcc dot gnu dot org 2006-03-03 12:49 ------- I find it a surprise that when not optimizing, the compiler has examined the printf string and determined it can replace the printf with a puts call. This seems more than mere constant folding.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26544