[Gmp-commit] /var/hg/gmp: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Tue Mar 31 22:27:16 UTC 2015


details:   /var/hg/gmp/rev/b95bbc7a7087
changeset: 16565:b95bbc7a7087
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Wed Apr 01 00:26:58 2015 +0200
description:
(sparc): Don't use use -xO4, it miscompiles by design.

details:   /var/hg/gmp/rev/777058cb7878
changeset: 16566:777058cb7878
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Wed Apr 01 00:27:09 2015 +0200
description:
ChangeLog

diffstat:

 ChangeLog    |  4 ++++
 configure.ac |  4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r ce815aa58777 -r 777058cb7878 ChangeLog
--- a/ChangeLog	Sun Mar 29 23:09:57 2015 +0200
+++ b/ChangeLog	Wed Apr 01 00:27:09 2015 +0200
@@ -1,3 +1,7 @@
+2015-04-01    <torbjorng at google.com>
+
+	* configure.ac (sparc): Don't use use -xO4, it miscompiles by design.
+
 2015-03-24    <torbjorng at google.com>
 
 	* mpn/generic/mul_fft.c (mpn_fft_best_k): Don't make pointers `static'
diff -r ce815aa58777 -r 777058cb7878 configure.ac
--- a/configure.ac	Sun Mar 29 23:09:57 2015 +0200
+++ b/configure.ac	Wed Apr 01 00:27:09 2015 +0200
@@ -1418,8 +1418,8 @@
 	cc_cflags=
 	cc_cflags_optlist="opt arch cpu"
 
-        # SunOS cc doesn't know -xO4, fallback to -O2.
-	cc_cflags_opt="-xO4 -O2"
+        # SunOS <= 4 cc doesn't know -xO3, fallback to -O2.
+	cc_cflags_opt="-xO3 -O2"
 
         # SunOS cc doesn't know -xarch, apparently always generating v7
         # code, so make this optional


More information about the gmp-commit mailing list