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

--- Comment #26 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:a1b3484a8e6c53c8084723e3f1738d402374198e

commit r12-1270-ga1b3484a8e6c53c8084723e3f1738d402374198e
Author: Jason Merrill <ja...@redhat.com>
Date:   Mon May 31 12:56:34 2021 -0400

    c++: alias member template [PR100102]

    Patrick already fixed the primary cause of this bug.  But while I was
    looking at this testcase I noticed that with the qualified name k::o we
    ended up with a plain FUNCTION_DECL, whereas without the k:: we got a
    BASELINK.  There seems to be no good reason not to return the BASELINK
    in this case as well.

            PR c++/100102

    gcc/cp/ChangeLog:

            * init.c (build_offset_ref): Return the BASELINK for a static
            member function.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp0x/alias-decl-73.C: New test.

Reply via email to