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

2017-10-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71515

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|5.5 |6.5

--- Comment #7 from Jakub Jelinek  ---
GCC 5 branch is being closed

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

2016-12-06 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71515

--- Comment #6 from Jason Merrill  ---
Author: jason
Date: Tue Dec  6 18:51:50 2016
New Revision: 243313

URL: https://gcc.gnu.org/viewcvs?rev=243313=gcc=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