c++: using-decl instantiation
authorNathan Sidwell <nathan@acm.org>
Tue, 3 Nov 2020 18:21:20 +0000 (10:21 -0800)
committerNathan Sidwell <nathan@acm.org>
Tue, 3 Nov 2020 18:23:44 +0000 (10:23 -0800)
commita52bf016433154c61d1cab3fd3d9e17b1bb330f0
treef64e81fbc14e1281a6d9b10e41f1cdde525840a7
parent78f2f08ac8f22a0ad412a2abf5225b5fe3176bcf
c++: using-decl instantiation

In streaming using decls I needed to check some assumptions.  This
adds those checks to the instantiation machinery.

gcc/cp/
* pt.c (tsubst_expr): Simplify using decl instantiation, add
asserts.
gcc/cp/pt.c