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++/58930] [C++11] Bogus error: converting to ... from initializer list would use explicit constructor


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58930

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue May 20 19:20:59 2014
New Revision: 210653

URL: http://gcc.gnu.org/viewcvs?rev=210653&root=gcc&view=rev
Log:
/cp
2014-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58753
    PR c++/58930
    PR c++/58704
    * typeck2.c (digest_nsdmi_init): New.
    * parser.c (cp_parser_late_parse_one_default_arg): Use it.
    * init.c (get_nsdmi): Likewise.
    * cp-tree.h (digest_nsdmi_init): Declare.

/testsuite
2014-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58753
    PR c++/58930
    PR c++/58704
    * g++.dg/cpp0x/nsdmi-template11.C: New.
    * g++.dg/cpp0x/nsdmi-template12.C: Likewise.
    * g++.dg/cpp0x/nsdmi-template13.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-template11.C
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-template12.C
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-template13.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/init.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog


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