https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119687

--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:493974aa0ad8b94dbeb61f00d2acc57c94fd4809

commit r15-9367-g493974aa0ad8b94dbeb61f00d2acc57c94fd4809
Author: Patrick Palka <ppa...@redhat.com>
Date:   Thu Apr 10 15:49:12 2025 -0400

    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 <ja...@redhat.com>

Reply via email to