diff options
author | Jason Merrill <jason@redhat.com> | 2019-04-03 17:51:36 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-04-03 17:51:36 -0400 |
commit | e53ec543e66382d2552e89077e05fe70e2a75c78 (patch) | |
tree | e07810196903d37d30a63e7b9caacb49b8c556d6 /gcc/loop-invariant.c | |
parent | c17bad5326d5f1f79207409e13e80ec61934ebfe (diff) | |
download | gcc-e53ec543e66382d2552e89077e05fe70e2a75c78.zip gcc-e53ec543e66382d2552e89077e05fe70e2a75c78.tar.gz gcc-e53ec543e66382d2552e89077e05fe70e2a75c78.tar.bz2 |
PR c++/81866 - ICE with member template and default targ.
This testcase manages to find a way to look up the partial instantiation of
B for the default argument of C before we've created the partial
instantiation of B as part of the normal instantiation of the members of A.
Which we can deal with, but we were getting confused because the partial
instantiation was stored with a RECORD_TYPE specialization rather than
TEMPLATE_DECL.
* pt.c (tsubst_template_decl): Handle getting a type from
retrieve_specialization.
From-SVN: r270138
Diffstat (limited to 'gcc/loop-invariant.c')
0 files changed, 0 insertions, 0 deletions