[Bug c++/53202] [4.7/4.8 Regression] Copy constructor not called when starting a thread

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 25 15:41:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53202

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2012-06-25 15:41:18 UTC ---
Author: jason
Date: Mon Jun 25 15:41:13 2012
New Revision: 188941

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188941
Log:
    PR c++/53202
    * semantics.c (build_data_member_initialization): Always keep
    initializer for empty base.
    (cxx_eval_bare_aggregate): Discard it here.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-tuple.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/semantics.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list