[Bug middle-end/26544] printf calls optimized at -O0
nathan at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 3 12:50:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list