This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/26544] printf calls optimized at -O0



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]