diff options
author | Patrick Palka <ppalka@redhat.com> | 2021-07-16 16:21:13 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2021-07-16 16:21:13 -0400 |
commit | a8b3861496bffae8b813ea196c1c5b27f79fbe69 (patch) | |
tree | 5c72154a35c56087ea848454c431ebf83b23a335 /gcc/tree-complex.c | |
parent | d04b0c75794545f1f7a942764285e21eaf2915a1 (diff) | |
download | gcc-a8b3861496bffae8b813ea196c1c5b27f79fbe69.zip gcc-a8b3861496bffae8b813ea196c1c5b27f79fbe69.tar.gz gcc-a8b3861496bffae8b813ea196c1c5b27f79fbe69.tar.bz2 |
c++: alias CTAD in unevaluated context [PR101233]
This is the alias CTAD version of the CTAD bug PR93248, and the fix is
the same: clear cp_unevaluated_operand so that the entire chain of
DECL_ARGUMENTS gets substituted.
PR c++/101233
gcc/cp/ChangeLog:
* pt.c (alias_ctad_tweaks): Clear cp_unevaluated_operand for
substituting DECL_ARGUMENTS.
gcc/testsuite/ChangeLog:
* g++.dg/cpp2a/class-deduction-alias10.C: New test.
Diffstat (limited to 'gcc/tree-complex.c')
0 files changed, 0 insertions, 0 deletions