aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-09-30 14:43:37 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2016-09-30 14:43:37 +0100
commit9e28a77462f81a9a2ab9064d768bd7c9484047e1 (patch)
tree77e5c5ef50d1cdbc1f0e24f43440f0714a6d9611 /libgo
parente70bbc6f1f55a9532219812309ec22b04b539367 (diff)
downloadgcc-9e28a77462f81a9a2ab9064d768bd7c9484047e1.zip
gcc-9e28a77462f81a9a2ab9064d768bd7c9484047e1.tar.gz
gcc-9e28a77462f81a9a2ab9064d768bd7c9484047e1.tar.bz2
Remove use of std::abs in experimental::{gcd,lcm}
PR libstdc++/77801 * include/experimental/numeric: Include <numeric>. (__abs): Define. (gcd, lcm): Use __abs instead of std::abs. * testsuite/experimental/numeric/77801.cc: New test. * testsuite/experimental/numeric/gcd.cc: Test unsigned inputs. * testsuite/experimental/numeric/lcm.cc: Likewise. From-SVN: r240656
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions