libstdc++: Support VAX floats in std::strong_order
authorJonathan Wakely <jwakely@redhat.com>
Tue, 8 Mar 2022 12:15:55 +0000 (12:15 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 10 Mar 2022 11:49:00 +0000 (11:49 +0000)
commitcfaa2fac42f6f4bddb197dc1fc601f2ba136f9f0
treee14f4bae63b4bafcc423677896bfb42451b8ca52
parentd563b0bff19c31eb755c026ee990bca986683f25
libstdc++: Support VAX floats in std::strong_order

The VAX float and double format does not support NaN, so the
std::partial_ordering returned by <=> will never be 'unordered'. We can
just use the partial_ordering value as the strong_ordering.

libstdc++-v3/ChangeLog:

* libsupc++/compare (_Strong_ordering::_S_fp_cmp) [__vax__]: Use
<=> comparison.
libstdc++-v3/libsupc++/compare