This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53202] [4.7/4.8 Regression] Copy constructor not called when starting a thread
- 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: Mon, 25 Jun 2012 15:18:04 +0000
- Subject: [Bug c++/53202] [4.7/4.8 Regression] Copy constructor not called when starting a thread
- Auto-submitted: auto-generated
- References: <bug-53202-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53202
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2012-06-25 15:18:04 UTC ---
Author: jason
Date: Mon Jun 25 15:17:59 2012
New Revision: 188940
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188940
Log:
PR c++/53202
* semantics.c (build_data_member_initialization): Always keep
initializer for empty base.
(cxx_eval_bare_aggregate): Discard it here.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-tuple.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog