[PR c++/86246] ICE tsubst explicit operator call
commitcd96243ea26719793d6b1966d9fa71721730feb3
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Nov 2018 19:54:25 +0000 (15 19:54 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Nov 2018 19:54:25 +0000 (15 19:54 +0000)
tree838ffd8472ee6e696bbb7f993e0daf1e708a05a8
parent04e6d9db0d10c7f9f712de572e8d62b0483007e5
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266193 138bc75d-0d04-0410-961f-82ee72b054a4
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]