[Bug c++/68209] C++11 code compiled without -std=c++11 but doesn't work as expected

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 4 21:37:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68209

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid

--- Comment #4 from Marc Glisse <glisse at gcc dot gnu.org> ---
(Oups, pressed return by mistake)
Yes it is QoI, but we could still do better.

(the -Wall warning is a better sign that something is going wrong:
x.cc:8:22: warning: 'aa' may be used uninitialized in this function
[-Wmaybe-uninitialized]
              cout << aa << endl;
                      ^
)


More information about the Gcc-bugs mailing list