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 c++/55513] [4.7/4.8 Regression] Incorrect snprintf folding when building with -std=c++0x


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.


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