[Gmp-commit] /var/hg/gmp-6.1: 3 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Fri Sep 8 21:38:09 UTC 2017
details: /var/hg/gmp-6.1/rev/5406d90deaab
changeset: 16970:5406d90deaab
user: Torbjorn Granlund <tg at gmplib.org>
date: Fri Sep 08 23:13:56 2017 +0200
description:
Set GMP_NONSTD_ABI protecting against dots in the abi.
(powerpc): Never use -O3
details: /var/hg/gmp-6.1/rev/8df7b0b99312
changeset: 16971:8df7b0b99312
user: Torbjorn Granlund <tg at gmplib.org>
date: Fri Sep 08 23:14:30 2017 +0200
description:
Include needed gmp.h.
details: /var/hg/gmp-6.1/rev/ed66cd73af51
changeset: 16972:ed66cd73af51
user: Torbjorn Granlund <tg at gmplib.org>
date: Fri Sep 08 23:38:03 2017 +0200
description:
ChangeLog
diffstat:
ChangeLog | 12 ++++++++++++
configure.ac | 14 +++++++-------
mpf/get_d_2exp.c | 1 +
3 files changed, 20 insertions(+), 7 deletions(-)
diffs (93 lines):
diff -r 93fdbf79860b -r ed66cd73af51 ChangeLog
--- a/ChangeLog Tue Mar 07 16:59:30 2017 +0100
+++ b/ChangeLog Fri Sep 08 23:38:03 2017 +0200
@@ -1,3 +1,15 @@
+2017-09-08 Torbjörn Granlund <tg at gmplib.org>
+
+ * configure.ac: Set GMP_NONSTD_ABI protecting against dots in the abi.
+
+ * configure.ac (powerpc): Never use -O3.
+
+ * mpf/get_d_2exp.c: Include needed gmp.h.
+
+2017-03-07 Torbjörn Granlund <tg at gmplib.org>
+
+ * mpf/get_d_2exp.c: Return negative value for negative input.
+
2016-12-16 Torbjörn Granlund <tg at gmplib.org>
* Version 6.1.2 released.
diff -r 93fdbf79860b -r ed66cd73af51 configure.ac
--- a/configure.ac Tue Mar 07 16:59:30 2017 +0100
+++ b/configure.ac Fri Sep 08 23:38:03 2017 +0200
@@ -3,7 +3,7 @@
define(GMP_COPYRIGHT,[[
-Copyright 1996-2016 Free Software Foundation, Inc.
+Copyright 1996-2017 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -1186,18 +1186,18 @@
# incompatible with a shared library.
#
abilist="mode64 mode32 $abilist"
- gcc_cflags_opt="-O3 -O2 -O1" # will this become used?
+ gcc_cflags_opt="-O2 -O1" # will this become used?
cclist_mode32="gcc"
gcc_mode32_cflags_maybe="-m32"
gcc_mode32_cflags="-mpowerpc64"
gcc_mode32_cflags_optlist="subtype cpu opt"
gcc_mode32_cflags_subtype="-force_cpusubtype_ALL"
- gcc_mode32_cflags_opt="-O3 -O2 -O1"
+ gcc_mode32_cflags_opt="-O2 -O1"
limb_mode32=longlong
cclist_mode64="gcc"
gcc_mode64_cflags="-m64"
gcc_mode64_cflags_optlist="cpu opt"
- gcc_mode64_cflags_opt="-O3 -O2 -O1"
+ gcc_mode64_cflags_opt="-O2 -O1"
path_mode64=""
path_mode32=""
p=""
@@ -1235,12 +1235,12 @@
gcc_mode32_cflags_maybe="-m32"
gcc_mode32_cflags="-mpowerpc64"
gcc_mode32_cflags_optlist="cpu opt"
- gcc_mode32_cflags_opt="-O3 -O2 -O1"
+ gcc_mode32_cflags_opt="-O2 -O1"
limb_mode32=longlong
cclist_mode64="gcc gcc64"
gcc_mode64_cflags_maybe="-m64"
gcc_mode64_cflags_optlist="cpu opt"
- gcc_mode64_cflags_opt="-O3 -O2 -O1"
+ gcc_mode64_cflags_opt="-O2 -O1"
path_mode64=""
path_mode32=""
p=""
@@ -2303,12 +2303,12 @@
CC="$cc"
CFLAGS="$cflags"
CPPFLAGS="$cppflags"
- eval GMP_NONSTD_ABI=\"\$GMP_NONSTD_ABI_$ABI\"
# Could easily have this in config.h too, if desired.
ABI_nodots=`echo $ABI | sed 's/\./_/'`
GMP_DEFINE_RAW("define_not_for_expansion(\`HAVE_ABI_$ABI_nodots')", POST)
+ eval GMP_NONSTD_ABI=\"\$GMP_NONSTD_ABI_$ABI_nodots\"
# GMP_LDFLAGS substitution, selected according to ABI.
# These are needed on libgmp.la and libmp.la, but currently not on
diff -r 93fdbf79860b -r ed66cd73af51 mpf/get_d_2exp.c
--- a/mpf/get_d_2exp.c Tue Mar 07 16:59:30 2017 +0100
+++ b/mpf/get_d_2exp.c Fri Sep 08 23:38:03 2017 +0200
@@ -28,6 +28,7 @@
GNU Lesser General Public License along with the GNU MP Library. If not,
see https://www.gnu.org/licenses/. */
+#include "gmp.h"
#include "gmp-impl.h"
#include "longlong.h"
More information about the gmp-commit
mailing list