PR c++/79606 - ICE with this->base_member in NSDMI
authorJason Merrill <jason@redhat.com>
Mon, 20 Feb 2017 06:06:20 +0000 (01:06 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 Feb 2017 06:06:20 +0000 (01:06 -0500)
commitbcbdfa4ce0ba21fe081b96dffef4b9bbb43cfae4
tree6cc39a69826ad9678cd2bf4c5403bc8a292e9879
parent736a933c00ff57c2631bae3d1eeeacd73faf003c
PR c++/79606 - ICE with this->base_member in NSDMI

* class.c (build_base_path): Check processing_template_decl.

From-SVN: r245593
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/g++.dg/cpp0x/nsdmi-template16.C [new file with mode: 0644]