This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58704] [c++11] ICE initializing array member of template class
- From: "ppluzhnikov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 Jul 2014 18:46:58 +0000
- Subject: [Bug c++/58704] [c++11] ICE initializing array member of template class
- Auto-submitted: auto-generated
- References: <bug-58704-4 at http dot gcc dot gnu dot org/bugzilla/>
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