aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-09-22 11:58:20 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-09-23 16:07:38 +0100
commitce01e2e64c340dadb55a8a24c545a13e654804d4 (patch)
tree176a81b25388f926aa7f7285bbea977ff7c80478 /gcc
parentf6a05b23cc2e53c38e8321ddb5d2cbe40737e506 (diff)
downloadgcc-ce01e2e64c340dadb55a8a24c545a13e654804d4.zip
gcc-ce01e2e64c340dadb55a8a24c545a13e654804d4.tar.gz
gcc-ce01e2e64c340dadb55a8a24c545a13e654804d4.tar.bz2
libstdc++: std::system_category should know meaning of zero [PR102425]
Although 0 is not an errno value, it should still be recognized as corresponding to a value belonging to the generic_category(). Signed-off-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: PR libstdc++/102425 * src/c++11/system_error.cc (system_error_category::default_error_condition): Add 0 to switch. * testsuite/19_diagnostics/error_category/102425.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions