https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431
--- Comment #7 from Andrew Pinski ---
Looks to be fixed for the GCC 10 release.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431
--- Comment #6 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #4)
> This is incomplete because std::strong_order doesn't support
> floating-point types.
See PR 96526 regarding that.
> The partial_order and weak_order tests u
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431
--- Comment #5 from Jonathan Wakely ---
This was fixed by r10-6572-dfffecb802681fbdb56629d3bdd96491ac660be0
c++: Fix static initialization from <=>.
Constant evaluation of genericize_spaceship produced a CONSTRUCTOR, which
we
then w
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431
--- Comment #4 from Jonathan Wakely ---
Author: redi
Date: Wed Nov 13 16:26:18 2019
New Revision: 278149
URL: https://gcc.gnu.org/viewcvs?rev=278149&root=gcc&view=rev
Log:
libsupc++: Implement comparison algorithms for C++20
This is incomplete
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431
--- Comment #2 from Jonathan Wakely ---
Slightly further reduced:
#include
constexpr std::weak_ordering
cmp(int e, int f)
{
return e <=> f;
}
auto o = cmp(1, 2);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|