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++/79607] [5/6/7 Regression] ICE with brace-initialization of static const member


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

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