[PR90916] ICE in retrieve specialization
authorNathan Sidwell <nathans@fb.com>
Tue, 14 Jan 2020 19:12:40 +0000 (11:12 -0800)
committerNathan Sidwell <nathans@fb.com>
Tue, 14 Jan 2020 19:12:40 +0000 (11:12 -0800)
commita5a3c2dcf73aa245b0eb6f6cf56c4d03ab6056da
tree18e3cd58c2b67eeecbdb356a26d42d236122bab1
parent6bd65ad89c202aba3929b9a03ef7e84de873380a
[PR90916] ICE in retrieve specialization

https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00809.html
PR c++/90916
* pt.c (retrieve_specialization): Get the TI from the decl or the
classtype as appropriate.
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/pr90916.C [new file with mode: 0644]