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++/58704] [c++11] ICE initializing array member of template class


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

--- Comment #8 from ppluzhnikov at gcc dot gnu.org ---
Author: ppluzhnikov
Date: Tue Jul  1 18:46:26 2014
New Revision: 212207

URL: https://gcc.gnu.org/viewcvs?rev=212207&root=gcc&view=rev
Log:
Backport r210653 from mainline:


gcc/teststuite/ChangeLog:

2014-07-01  Paul Pluzhnikov  <ppluzhnikov@google.com>

    PR c++/58753
    PR c++/58930
    PR c++/58704

    Backported from mainline
    2014-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

    * g++.dg/cpp0x/nsdmi-template11.C: New.
    * g++.dg/cpp0x/nsdmi-template12.C: Likewise.
    * g++.dg/cpp0x/nsdmi-template13.C: Likewise.

gcc/cp/ChangeLog:

2014-07-01  Paul Pluzhnikov  <ppluzhnikov@google.com>

    PR c++/58753
    PR c++/58930
    PR c++/58704

    Backported from mainline
    2014-05-20  Paolo Carlini  <paolo.carlini@oracle.com>

    * 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.


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


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