[Bug c++/88380] Sequence of not-explicitly initialised, initialised, variable length generates no initialiser

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 6 08:35:00 GMT 2018


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-12-06
     Ever confirmed|0                           |1
      Known to fail|                            |8.2.1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  GCC initializes all members with -std=gnu++11 but none with
-std=gnu++14 and up.

clang++ also initializes with -std=c++14.


More information about the Gcc-bugs mailing list