This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/38380] explicitly defaulted constructors vs. empty direct initialization



------- Comment #1 from jason at gcc dot gnu dot org  2008-12-03 19:23 -------
Subject: Bug 38380

Author: jason
Date: Wed Dec  3 19:22:08 2008
New Revision: 142404

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142404
Log:
        PR c++/38380
        * decl.c (grokdeclarator): Only set DECL_NONCONVERTING_P
        on explicit constructors.
        * pt.c (tsubst_copy_and_build) [CONSTRUCTOR]: Propagate
        CONSTRUCTOR_IS_DIRECT_INIT.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist10.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/tc1/dr152.C
    trunk/gcc/testsuite/g++.old-deja/g++.eh/ctor1.C


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]