[PR c++/86246] ICE tsubst explicit operator call
authorNathan Sidwell <nathan@gcc.gnu.org>
Thu, 15 Nov 2018 19:54:25 +0000 (19:54 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 15 Nov 2018 19:54:25 +0000 (19:54 +0000)
commit2a4030effa436cc4c6a537e633b0b0338b2b3ad4
tree838ffd8472ee6e696bbb7f993e0daf1e708a05a8
parentf2935576e990ec5e383138622515d393f7227500
[PR c++/86246] ICE tsubst explicit operator call

https://gcc.gnu.org/ml/gcc-patches/2018-11/msg01405.html
PR c++/86246
PR c++/87989
* typeck.c (finish_class_member_access_expr): Conversion operator
to dependent type is dependent.

* g++.dg/template/pr86246.C: New.
* g++.dg/template/pr87989.C: New.

From-SVN: r266193
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/pr86246.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/pr87989.C [new file with mode: 0644]