This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55513] [4.7/4.8 Regression] Incorrect snprintf folding when building with -std=c++0x
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Nov 2012 14:25:44 +0000
- Subject: [Bug c++/55513] [4.7/4.8 Regression] Incorrect snprintf folding when building with -std=c++0x
- Auto-submitted: auto-generated
- References: <bug-55513-4@http.gcc.gnu.org/bugzilla/>
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.