diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-02-07 20:50:00 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-02-20 12:27:48 +0000 |
commit | 4be779f59b04947324889b7e1488fb9a68c81d53 (patch) | |
tree | 18dba4d2ec1154e09d1adb6d3fe1427d481617a9 /gcc/fortran/openmp.c | |
parent | 20fa41e61fd2d2839ca47e0dfac6976c552ab648 (diff) | |
download | gcc-4be779f59b04947324889b7e1488fb9a68c81d53.zip gcc-4be779f59b04947324889b7e1488fb9a68c81d53.tar.gz gcc-4be779f59b04947324889b7e1488fb9a68c81d53.tar.bz2 |
libstdc++: Define operator<=> for <system_error> types
Another piece of P1614R2 for C++20.
This also adds tests for operator< in C++11, which was present but
untested.
* include/std/system_error (error_category::operator<=>)
(operator<=>(const error_code&, const error_code&))
(operator<=>(const error_condition&, const error_condition&)): Define
for C++20.
* testsuite/19_diagnostics/error_category/operators/less.cc: New test.
* testsuite/19_diagnostics/error_category/operators/three_way.cc: New
test.
* testsuite/19_diagnostics/error_code/operators/equal.cc: Remove
incorrect comment.
* testsuite/19_diagnostics/error_code/operators/less.cc: New test.
* testsuite/19_diagnostics/error_code/operators/not_equal.cc: Remove
incorrect comment.
* testsuite/19_diagnostics/error_code/operators/three_way.cc: New test.
* testsuite/19_diagnostics/error_condition/operators/equal.cc: Remove
incorrect comment.
* testsuite/19_diagnostics/error_condition/operators/less.cc: New test.
* testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
Remove incorrect comment.
* testsuite/19_diagnostics/error_condition/operators/three_way.cc: New
test.
Diffstat (limited to 'gcc/fortran/openmp.c')
0 files changed, 0 insertions, 0 deletions