[Bug c++/93675] Starship operator on a hidden friend operator does not work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93675 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Target Milestone|--- |10.0 --- Comment #3 from Jason Merrill --- Fixed.
[Bug c++/93675] Starship operator on a hidden friend operator does not work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93675 --- Comment #2 from Mateusz Pusz --- Thanks! Mat śr., 12 lut 2020, 01:09 użytkownik cvs-commit at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> napisał: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93675 > > --- Comment #1 from CVS Commits --- > The master branch has been updated by Jason Merrill : > > https://gcc.gnu.org/g:d6ef77e023cfe0bb3b12b88ae46b77da356d7f85 > > commit r10-6586-gd6ef77e023cfe0bb3b12b88ae46b77da356d7f85 > Author: Jason Merrill > 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 > > 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. > > -- > You are receiving this mail because: > You reported the bug.
[Bug c++/93675] Starship operator on a hidden friend operator does not work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93675 --- Comment #1 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d6ef77e023cfe0bb3b12b88ae46b77da356d7f85 commit r10-6586-gd6ef77e023cfe0bb3b12b88ae46b77da356d7f85 Author: Jason Merrill 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 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.
[Bug c++/93675] Starship operator on a hidden friend operator does not work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93675 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2020-02-11 CC||jason at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org Ever confirmed|0 |1