diff options
author | Patrick Palka <ppalka@redhat.com> | 2025-04-10 15:49:12 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2025-04-10 15:49:12 -0400 |
commit | 493974aa0ad8b94dbeb61f00d2acc57c94fd4809 (patch) | |
tree | 3d5632edbd2cd73c05137bd4a486f25fd3e56ddc /libjava/classpath/java | |
parent | 1f32b87117b0e2ecc33b844d929d723de3fe8085 (diff) | |
download | gcc-493974aa0ad8b94dbeb61f00d2acc57c94fd4809.zip gcc-493974aa0ad8b94dbeb61f00d2acc57c94fd4809.tar.gz gcc-493974aa0ad8b94dbeb61f00d2acc57c94fd4809.tar.bz2 |
c++: alias_ctad_tweaks ICE w/ inherited CTAD [PR119687]
With inherited CTAD the set of guides may be a two-dimensional overload
set (i.e. OVERLOADs of OVERLOADs) so alias_ctad_tweaks (which also does
the inherited CTAD transformation) needs to use the 2D-aware lkp_iterator
instead of ovl_iterator, or better yet use the more idiomatic lkp_range.
PR c++/119687
gcc/cp/ChangeLog:
* pt.cc (alias_ctad_tweaks): Use lkp_range / lkp_iterator
instead of ovl_iterator.
gcc/testsuite/ChangeLog:
* g++.dg/cpp23/class-deduction-inherited8.C: New test.
Reviewed-by: Jason Merill <jason@redhat.com>
Diffstat (limited to 'libjava/classpath/java')
0 files changed, 0 insertions, 0 deletions