[Bug c++/79607] [5/6 Regression] ICE with brace-initialization of static const member

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 12 19:23:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79607

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Apr 12 19:22:56 2017
New Revision: 246888

URL: https://gcc.gnu.org/viewcvs?rev=246888&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:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/template/init11.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/decl.c


More information about the Gcc-bugs mailing list