[PR c++/839888] Baselink tsubst ICE
authorNathan Sidwell <nathan@acm.org>
Tue, 23 Jan 2018 14:08:11 +0000 (14:08 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 23 Jan 2018 14:08:11 +0000 (14:08 +0000)
commit66ce8ff7603b3b717fff93d706b1cf3548ba4671
tree310b045403587d2a1e1ccee5d2ab0a632cf14517
parent55a46cb54a7ebabd298e7f574993bb73f879758c
[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.

From-SVN: r256986
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]