re PR c++/86706 (ICE in build_base_path, at cp/class.c:294)
authorJason Merrill <jason@redhat.com>
Fri, 3 Aug 2018 15:10:32 +0000 (17:10 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 3 Aug 2018 15:10:32 +0000 (17:10 +0200)
commitd198fc5a69964c1d1cf55dd30d1696e531dc12d9
tree80793bfc8bf2afb72b0ab73555975e986d30a825
parent0b0c7dc60217c5d240cc87cf2f4b778efb8717f8
re PR c++/86706 (ICE in build_base_path, at cp/class.c:294)

PR c++/86706
* class.c (build_base_path): Use currently_open_class.

* g++.dg/template/pr86706.C: New test.

From-SVN: r263293
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/pr86706.C [new file with mode: 0644]