r277925 - in /trunk: gcc/cp/ChangeLog gcc/cp/me...

jason@gcc.gnu.org jason@gcc.gnu.org
Thu Nov 7 17:06:00 GMT 2019


Author: jason
Date: Thu Nov  7 17:06:09 2019
New Revision: 277925

URL: https://gcc.gnu.org/viewcvs?rev=277925&root=gcc&view=rev
Log:
	Implement D1959R0, remove weak_equality and strong_equality.

Shortly after I finished implementing the previous semantics, the
committee decided to remove the *_equality comparison categories, because
they were largely obsoleted by the earlier change that separated operator==
from its original dependency on operator<=>.

gcc/cp/
	* method.c (enum comp_cat_tag, comp_cat_info): Remove *_equality.
	(genericize_spaceship, common_comparison_type): Likewise.
	* typeck.c (cp_build_binary_op): Move SPACESHIP_EXPR to be with the
	relational operators, exclude other types no longer supported.
libstdc++-v3/
	* libsupc++/compare: Remove strong_equality and weak_equality.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/libsupc++/compare

Changes in other areas also in this revision:
Added:
    trunk/gcc/testsuite/g++.dg/cpp2a/spaceship-scalar1-neg.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/method.c
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/g++.dg/cpp2a/spaceship-scalar1.C
    trunk/gcc/testsuite/g++.dg/cpp2a/spaceship-scalar1a.C
    trunk/gcc/testsuite/g++.dg/cpp2a/spaceship-scalar3.C



More information about the Libstdc++-cvs mailing list