libstdc++: Fix deleted overload of __absu(bool)
authorJonathan Wakely <jwakely@redhat.com>
Sat, 29 Aug 2020 17:24:08 +0000 (18:24 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 29 Aug 2020 17:24:08 +0000 (18:24 +0100)
commit0789600c597ff1f8ac06e84ffb584c853d1675d1
tree1261cce190db2961f9011a96f008a5fbfd55f013
parentcd0233527af11f678ab9635bfd2a9545d431d48f
libstdc++: Fix deleted overload of __absu(bool)

libstdc++-v3/ChangeLog:

* include/std/numeric (__detail::__absu(bool)): Make deleted
function a function template, so it will be chosen for calls
with an explicit template argument list.
* testsuite/26_numerics/gcd/gcd_neg.cc: Add dg-prune-output.
* testsuite/26_numerics/lcm/lcm_neg.cc: Likewise.
libstdc++-v3/include/std/numeric
libstdc++-v3/testsuite/26_numerics/gcd/gcd_neg.cc
libstdc++-v3/testsuite/26_numerics/lcm/lcm_neg.cc