This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/88380] Sequence of not-explicitly initialised, initialised, variable length generates no initialiser
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 06 Dec 2018 08:35:00 +0000
- Subject: [Bug c++/88380] Sequence of not-explicitly initialised, initialised, variable length generates no initialiser
- Auto-submitted: auto-generated
- References: <bug-88380-4@http.gcc.gnu.org/bugzilla/>
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.