[Bug c++/79607] [5/6/7 Regression] ICE with brace-initialization of static const member
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 20 06:06:00 GMT 2017
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
More information about the Gcc-bugs
mailing list