public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r8-10625] Daily bump.
@ 2020-11-17  0:18 GCC Administrator
  0 siblings, 0 replies; only message in thread
From: GCC Administrator @ 2020-11-17  0:18 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:3182e62d8c2fc4ffb082c272f568e9c5ccdb06f3

commit r8-10625-g3182e62d8c2fc4ffb082c272f568e9c5ccdb06f3
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Tue Nov 17 00:17:43 2020 +0000

    Daily bump.

Diff:
---
 gcc/DATESTAMP          |  2 +-
 libstdc++-v3/ChangeLog | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 69155b9380a..0ad54ab67bd 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20201116
+20201117
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index abfc75d2b5e..2cb3a625d5b 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,25 @@
+2020-11-16  Jonathan Wakely  <jwakely@redhat.com>
+
+	Backported from master:
+	2020-08-28  Jonathan Wakely  <jwakely@redhat.com>
+
+	PR libstdc++/92978
+	* include/std/numeric (__abs_integral): Replace with ...
+	(__detail::__absu): New function template that returns an
+	unsigned type, guaranteeing it can represent the most
+	negative signed value.
+	(__detail::__gcd, __detail::__lcm): Require arguments to
+	be unsigned and therefore already non-negative.
+	(gcd, lcm): Convert arguments to absolute value as unsigned
+	type before calling __detail::__gcd or __detail::__lcm.
+	* include/experimental/numeric (gcd, lcm): Likewise.
+	* testsuite/26_numerics/gcd/gcd_neg.cc: Adjust expected
+	errors.
+	* testsuite/26_numerics/lcm/lcm_neg.cc: Likewise.
+	* testsuite/26_numerics/gcd/92978.cc: New test.
+	* testsuite/26_numerics/lcm/92978.cc: New test.
+	* testsuite/experimental/numeric/92978.cc: New test.
+
 2020-11-09  Jonathan Wakely  <jwakely@redhat.com>
 
 	Backported from master:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-17  0:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-17  0:18 [gcc r8-10625] Daily bump GCC Administrator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).