https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92985
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=94566
--- Comment #7 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Avi Kivity from comment #5)
> Here's another example:
>
>
> #include <compare>
>
> int strong_ordering_to_int(std::strong_ordering x) {
> if (x == std::strong_ordering::equal) {
> return 0;
> } else if (x == std::strong_ordering::less) {
> return -1;
> } else if (x == std::strong_ordering::greater) {
> return 1;
> }
> __builtin_unreachable();
> }
This is PR 94566 I think.