[Bug c++/71515] [4.9/5/6/7 Regression] ICE on valid C++ code on x86_64-linux-gnu: Segmentation fault (program cc1plus)

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 24 23:40:00 GMT 2016


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jul 24 23:40:05 2016
New Revision: 238696

URL: https://gcc.gnu.org/viewcvs?rev=238696&root=gcc&view=rev
Log:
        PR c++/71515 - typename in partial specialization

        * pt.c (resolve_typename_type): Try to avoid calling
        currently_open_class.

Added:
    trunk/gcc/testsuite/g++.dg/template/typename22.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


More information about the Gcc-bugs mailing list