[Bug c++/55513] [4.7/4.8 Regression] Incorrect snprintf folding when building with -std=c++0x
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 28 14:26:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
Summary|[4.7 Regression] Incorrect |[4.7/4.8 Regression]
|snprintf folding when |Incorrect snprintf folding
|building with -std=c++0x |when building with
| |-std=c++0x
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-28 14:25:44 UTC ---
With const int strLength = snprintf(str, 10, "Hello"); instead it fails also on
the trunk, with sizeof(str) it has been "fixed" by my
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192141
changes.
More information about the Gcc-bugs
mailing list