[Bug c++/58704] [c++11] ICE initializing array member of template class

2013-10-14 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58704

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-10-14
 CC||mpolacek at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Marek Polacek  ---
Confirmed.


[Bug c++/58704] [c++11] ICE initializing array member of template class

2014-03-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58704

Paolo Carlini  changed:

   What|Removed |Added

 CC||a.matveyakin at gmail dot com

--- Comment #2 from Paolo Carlini  ---
*** Bug 60386 has been marked as a duplicate of this bug. ***


[Bug c++/58704] [c++11] ICE initializing array member of template class

2014-05-20 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58704

Paolo Carlini  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |paolo.carlini at oracle 
dot com

--- Comment #3 from Paolo Carlini  ---
Mine. Related to c++/58753 and c++/58930.


[Bug c++/58704] [c++11] ICE initializing array member of template class

2014-05-20 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58704

--- Comment #4 from 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  

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  

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


[Bug c++/58704] [c++11] ICE initializing array member of template class

2014-05-20 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58704

Paolo Carlini  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Assignee|paolo.carlini at oracle dot com|unassigned at gcc dot 
gnu.org
   Target Milestone|--- |4.10.0

--- Comment #5 from Paolo Carlini  ---
Fixed for 4.10.0.


[Bug c++/58704] [c++11] ICE initializing array member of template class

2014-06-13 Thread ppluzhnikov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58704

Paul Pluzhnikov  changed:

   What|Removed |Added

 CC||ppluzhnikov at google dot com

--- Comment #6 from Paul Pluzhnikov  ---
We've hit this in gcc-4.8 and 4.9 as well. Backport?

Google ref: b/15616365


[Bug c++/58704] [c++11] ICE initializing array member of template class

2014-06-29 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58704

Paolo Carlini  changed:

   What|Removed |Added

 CC||filip.roseen at gmail dot com

--- Comment #7 from Paolo Carlini  ---
*** Bug 60699 has been marked as a duplicate of this bug. ***


[Bug c++/58704] [c++11] ICE initializing array member of template class

2014-07-01 Thread ppluzhnikov at gcc dot gnu.org
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  

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

Backported from mainline
2014-05-20  Paolo Carlini  

* 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  

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

Backported from mainline
2014-05-20  Paolo Carlini  

* 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


[Bug c++/58704] [c++11] ICE initializing array member of template class

2014-08-03 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58704

Volker Reichelt  changed:

   What|Removed |Added

   Target Milestone|4.10.0  |4.9.1