On 3/4/24 17:26, Patrick Palka wrote:
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look
OK for trunk?

-- >8 --

Alias templates are weird in that their specializations can appear in
both decl_specializations and type_specializations.  They appear in the
latter only at parse time via finish_template_type.  This should probably
be revisited in GCC 15 since it seems sufficient to store them only in
decl_specializations.

It looks like most all of lookup_template_class is wrong for alias templates.

Can we move the alias template handling up higher and unconditionally return the result of tsubst?

Jason

Reply via email to