diff options
author | Jason Merrill <jason@redhat.com> | 2020-02-11 12:04:37 +0100 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-02-12 01:07:41 +0100 |
commit | d6ef77e023cfe0bb3b12b88ae46b77da356d7f85 (patch) | |
tree | a70bf6c80ef0ce4f40fb73e7428ec56e9d3d80b7 /gcc/ira.c | |
parent | 9a5338e57db1cda13fa788b0e0debbcf99a475d6 (diff) | |
download | gcc-d6ef77e023cfe0bb3b12b88ae46b77da356d7f85.zip gcc-d6ef77e023cfe0bb3b12b88ae46b77da356d7f85.tar.gz gcc-d6ef77e023cfe0bb3b12b88ae46b77da356d7f85.tar.bz2 |
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 <jason@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.
Diffstat (limited to 'gcc/ira.c')
0 files changed, 0 insertions, 0 deletions