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

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

https://gcc.gnu.org/g:999638cb7b126d33d1ea6548c69ba387b7d7a270

commit r12-8758-g999638cb7b126d33d1ea6548c69ba387b7d7a270
Author: Jason Merrill <ja...@redhat.com>
Date:   Mon Sep 12 13:47:34 2022 -0400

    c++: auto member function and auto variable [PR106893]

    As with PR105623, we need to call mark_single_function sooner to
    resolve the type of a BASELINK.

            PR c++/106893
            PR c++/90451

    gcc/cp/ChangeLog:

            * decl.cc (cp_finish_decl): Call mark_single_function.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp1y/auto-fn65.C: New test.

Reply via email to