diff options
author | Jason Merrill <jason@redhat.com> | 2022-01-25 15:12:16 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-01-25 23:22:57 -0500 |
commit | f3e6ef7d873885ffaa0db7f4185364bbd7a70505 (patch) | |
tree | f0ed112041054c189f899b4a18f06434c0c299f6 /gcc/builtins.cc | |
parent | e0b8716f53ed6455e9f18931940141692793068d (diff) | |
download | gcc-f3e6ef7d873885ffaa0db7f4185364bbd7a70505.zip gcc-f3e6ef7d873885ffaa0db7f4185364bbd7a70505.tar.gz gcc-f3e6ef7d873885ffaa0db7f4185364bbd7a70505.tar.bz2 |
c++: alias template and typename [PR103057]
Usually we handle DR1558 substitution near the top of tsubst, but in this
case while substituting TYPENAME_TYPE we were passing an alias
specialization to tsubst_aggr_type, which ignored its aliasness.
PR c++/103057
gcc/cp/ChangeLog:
* pt.cc (tsubst_aggr_type): Call tsubst for alias template
specialization.
gcc/testsuite/ChangeLog:
* g++.dg/cpp0x/alias-decl-void1.C: New test.
Diffstat (limited to 'gcc/builtins.cc')
0 files changed, 0 insertions, 0 deletions