aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2024-05-17 09:02:52 -0400
committerPatrick Palka <ppalka@redhat.com>2024-05-17 09:02:52 -0400
commit5aaf47cb1987bbc5508c4b9b7dad5ea7d69af2c2 (patch)
tree2d137d3003ce1ee80943814975bfac3778f186c0 /libcpp
parentc9e05b03c18e898be604ab90401476e9c473cc52 (diff)
downloadgcc-5aaf47cb1987bbc5508c4b9b7dad5ea7d69af2c2.zip
gcc-5aaf47cb1987bbc5508c4b9b7dad5ea7d69af2c2.tar.gz
gcc-5aaf47cb1987bbc5508c4b9b7dad5ea7d69af2c2.tar.bz2
c++: aggregate CTAD w/ paren init and bases [PR115114]
During aggregate CTAD with paren init, we're accidentally overlooking base classes since TYPE_FIELDS of a template type doesn't contain corresponding base fields. So we need to consider them separately. PR c++/115114 gcc/cp/ChangeLog: * pt.cc (maybe_aggr_guide): Consider bases in the paren init case. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/class-deduction-aggr15.C: New test. Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions