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

--- Comment #1 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:d6ef77e023cfe0bb3b12b88ae46b77da356d7f85

commit r10-6586-gd6ef77e023cfe0bb3b12b88ae46b77da356d7f85
Author: Jason Merrill <ja...@redhat.com>
Date:   Tue Feb 11 12:04:37 2020 +0100

    c++: Fix implicit friend operator==.

    It seems that in writing testcases for the operator<=> proposal I didn't
    include any tests for implicitly declared friend operator==, and
    consequently it didn't work.

    2020-02-11  Jason Merrill  <ja...@redhat.com>

        PR c++/93675
        * class.c (add_implicitly_declared_members): Use do_friend.
        * method.c (implicitly_declare_fn): Fix friend handling.
        (decl_remember_implicit_trigger_p): New.
        (synthesize_method): Use it.
        * decl2.c (mark_used): Use it.

Reply via email to