This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61343] [C++11] Missing default initialization for class with default constructor
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Jun 2014 17:31:23 +0000
- Subject: [Bug c++/61343] [C++11] Missing default initialization for class with default constructor
- Auto-submitted: auto-generated
- References: <bug-61343-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61343
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jun 5 17:30:51 2014
New Revision: 211284
URL: http://gcc.gnu.org/viewcvs?rev=211284&root=gcc&view=rev
Log:
PR c++/61343
* decl.c (check_initializer): Maybe clear
DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P.
Added:
trunk/gcc/testsuite/g++.dg/tls/thread_local9.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c