[PR c++/839888] Baselink tsubst ICE
commit0ecceb4d4c581c9dcf3a407627a0d643e5bf71cb
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jan 2018 14:08:11 +0000 (23 14:08 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jan 2018 14:08:11 +0000 (23 14:08 +0000)
tree310b045403587d2a1e1ccee5d2ab0a632cf14517
parente3485e687ca103ffb19fc6c8cf0c4f490ca26b60
[PR c++/839888] Baselink tsubst ICE

https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01954.html
PR c++/83988
* pt.c (tsubst_baselink): Remove optype assert.
* ptree.c (cxx_print_xnode): <case BASELINK> Print BASELINK_OPTYPE.

PR c++/83988
* g++.dg/template/pr83988.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256986 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/ptree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/pr83988.C [new file with mode: 0644]