This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79607] [5/6/7 Regression] ICE with brace-initialization of static const member
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Feb 2017 06:06:36 +0000
- Subject: [Bug c++/79607] [5/6/7 Regression] ICE with brace-initialization of static const member
- Auto-submitted: auto-generated
- References: <bug-79607-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79607
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Feb 20 06:06:03 2017
New Revision: 245592
URL: https://gcc.gnu.org/viewcvs?rev=245592&root=gcc&view=rev
Log:
PR c++/79607 - ICE with T{} initializer
* decl.c (type_dependent_init_p): Check the type of a CONSTRUCTOR.
Added:
trunk/gcc/testsuite/g++.dg/template/init11.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c