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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:709718d4d89e5976257f53e67dcb8ba704574c56

commit r11-7044-g709718d4d89e5976257f53e67dcb8ba704574c56
Author: Jason Merrill <ja...@redhat.com>
Date:   Tue Feb 2 10:08:48 2021 -0500

    c++: Member fns and deduction guide rewriting [PR98929]

    My patch for 96199 had us re-substitute the parameter types of a
constructor
    in order to rewrite mentions of members into dependent references.  We need
    to do that for member functions, too.

    gcc/cp/ChangeLog:

            PR c++/98929
            PR c++/96199
            * error.c (dump_expr): Ignore dummy object.
            * pt.c (tsubst_baselink): Handle dependent scope.

    gcc/testsuite/ChangeLog:

            PR c++/98929
            * g++.dg/cpp1z/class-deduction-decltype1.C: New test.

Reply via email to