aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/program-state.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-11-17 13:01:17 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-11-17 15:28:30 +0000
commit568eb2d25c8f797707309b4f3acbb76c73e1a446 (patch)
treed71ba4f607f19bb4e4b359712531d1805eeb6788 /gcc/analyzer/program-state.cc
parent52eedfa00960f2d255ec542626e3531a65aa8bb8 (diff)
downloadgcc-568eb2d25c8f797707309b4f3acbb76c73e1a446.zip
gcc-568eb2d25c8f797707309b4f3acbb76c73e1a446.tar.gz
gcc-568eb2d25c8f797707309b4f3acbb76c73e1a446.tar.bz2
libstdc++: Define C++26 saturation arithmetic functions (P0543R3)
This was approved for C++26 last week at the WG21 meeting in Kona. libstdc++-v3/ChangeLog: * include/Makefile.am: Add new header. * include/Makefile.in: Regenerate. * include/bits/version.def (saturation_arithmetic): Define. * include/bits/version.h: Regenerate. * include/std/numeric: Include new header. * include/bits/sat_arith.h: New file. * testsuite/26_numerics/saturation/add.cc: New test. * testsuite/26_numerics/saturation/cast.cc: New test. * testsuite/26_numerics/saturation/div.cc: New test. * testsuite/26_numerics/saturation/mul.cc: New test. * testsuite/26_numerics/saturation/sub.cc: New test. * testsuite/26_numerics/saturation/version.cc: New test.
Diffstat (limited to 'gcc/analyzer/program-state.cc')
0 files changed, 0 insertions, 0 deletions