[Bug c++/71515] [5/6 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
Tue Dec 6 18:52:00 GMT 2016


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Dec  6 18:51:50 2016
New Revision: 243313

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


More information about the Gcc-bugs mailing list