https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86706
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Aug 3 15:10:32 2018 New Revision: 263293 URL: https://gcc.gnu.org/viewcvs?rev=263293&root=gcc&view=rev Log: PR c++/86706 * class.c (build_base_path): Use currently_open_class. * g++.dg/template/pr86706.C: New test. Added: trunk/gcc/testsuite/g++.dg/template/pr86706.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/class.c trunk/gcc/testsuite/ChangeLog