]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* configure.ac: Change required MPFR from 2.2.0 -> 2.2.1.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Dec 2007 21:28:51 +0000 (21:28 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Dec 2007 21:28:51 +0000 (21:28 +0000)
Change recommended MPFR from 2.2.1 > 2.3.0.
* configure: Regenerate.

gcc:
* doc/install.texi: Change recommended MPFR from 2.2.1 > 2.3.0.

testsuite:
* gcc.dg/torture/builtin-math-4.c: Remove XFAIL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131018 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
configure
configure.ac
gcc/ChangeLog
gcc/doc/install.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/builtin-math-4.c

index a05bddcf1854c47dc2ee3d2b46a02522406d6b6c..4cca326a65ad473bf9e9cfebc5f98a6d4f676da0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * configure.ac: Change required MPFR from 2.2.0 -> 2.2.1.
+       Change recommended MPFR from 2.2.1 > 2.3.0.
+       * configure: Regenerate.
+
 2007-12-15  Sebastian Pop  <sebastian.pop@amd.com>
 
        * MAINTAINERS: Update my email address.
index d847956a512be4e610e35ee3fc2c75af451b65f3..18648c7769328504815ddf1b3e51032e2c56e8ce 100755 (executable)
--- a/configure
+++ b/configure
@@ -4550,7 +4550,7 @@ int
 main ()
 {
 
-    #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,0)
+    #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
     choke me
     #endif
     mpfr_t n;
@@ -4600,7 +4600,7 @@ int
 main ()
 {
 
-    #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
+    #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
     choke me
     #endif
     mpfr_t n; mpfr_init(n);
@@ -4656,7 +4656,7 @@ rm -f conftest.err conftest.$ac_objext \
   CFLAGS="$saved_CFLAGS"
 
   if test x$have_gmp != xyes; then
-    { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
+    { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
 Try the --with-gmp and/or --with-mpfr options to specify their locations.
 Copies of these libraries' source code can be found at their respective
 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
@@ -4664,7 +4664,7 @@ See also http://gcc.gnu.org/install/prerequisites.html for additional info.
 If you obtained GMP and/or MPFR from a vendor distribution package, make
 sure that you have installed both the libraries and the header files.
 They may be located in separate packages." >&5
-echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
+echo "$as_me: error: Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
 Try the --with-gmp and/or --with-mpfr options to specify their locations.
 Copies of these libraries' source code can be found at their respective
 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
index 63b9c933235436562cefd6ff8b39b633e723f96a..e6c8eb045c3e92c8bcca0e8dacd1e87953ac3c36 100644 (file)
@@ -1220,11 +1220,11 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
   if test x"$have_gmp" = xyes; then
     saved_LIBS="$LIBS"
     LIBS="$LIBS $gmplibs"
-    dnl MPFR 2.2.0 is acceptable but buggy, MPFR 2.2.1 is better.
+    dnl MPFR 2.2.1 is acceptable, but MPFR 2.3.0 is better.
     AC_MSG_CHECKING([for correct version of mpfr.h])
     AC_TRY_LINK([#include <gmp.h>
     #include <mpfr.h>],[
-    #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,0)
+    #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
     choke me
     #endif
     mpfr_t n;
@@ -1237,7 +1237,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
     mpfr_subnormalize (x, t, GMP_RNDN);
     ], [AC_TRY_LINK([#include <gmp.h>
     #include <mpfr.h>],[
-    #if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
+    #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,0)
     choke me
     #endif
     mpfr_t n; mpfr_init(n);
@@ -1248,7 +1248,7 @@ if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
   CFLAGS="$saved_CFLAGS"
 
   if test x$have_gmp != xyes; then
-    AC_MSG_ERROR([Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
+    AC_MSG_ERROR([Building GCC requires GMP 4.1+ and MPFR 2.3.0+.
 Try the --with-gmp and/or --with-mpfr options to specify their locations.
 Copies of these libraries' source code can be found at their respective
 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
index 680a14b17755de2407661586788168b5d379e594..c71729dc02c32bcc992f03cabcab53fd5636a5c4 100644 (file)
@@ -1,3 +1,7 @@
+2007-12-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * doc/install.texi: Change recommended MPFR from 2.2.1 > 2.3.0.
+
 2007-12-17  Andreas Schwab  <schwab@suse.de>
 
        * doc/invoke.texi (Warning Options): Use @itemx.
index 136a61738578a11ed337c8e32432fc3e27aacf15..8f33b16e01b666599568c9ef8e00630965fd11af 100644 (file)
@@ -302,7 +302,7 @@ library search path, you will have to configure with the
 @option{--with-gmp} configure option.  See also
 @option{--with-gmp-lib} and @option{--with-gmp-include}.
 
-@item MPFR Library version 2.2.1 (or later)
+@item MPFR Library version 2.3.0 (or later)
 
 Necessary to build GCC.  It can be downloaded from
 @uref{http://www.mpfr.org/}.  The version of MPFR that is bundled with
index 9ede5c19d1d9640e24fa879ecb5a80621b73b913..1650e37b85c0a484ad989f99a2bfacf44389e4b7 100644 (file)
@@ -1,3 +1,7 @@
+2007-12-17  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * gcc.dg/torture/builtin-math-4.c: Remove XFAIL.
+
 2007-12-17  Dorit Nuzman  <dorit@il.ibm.com>
 
        * gcc.dg/tree-ssa/gen-vect-2.c: Change verbosity level to 4.    
index 5db1ccab3f6b66b2e3445f46e37b7a8dbd5906cb..d47e13933f22a87307c1e93bb89b7b574f57de7e 100644 (file)
@@ -7,8 +7,6 @@
    Origin: Kaveh R. Ghazi,  April 23, 2007.  */
 
 /* { dg-do link } */
-/* Expect failures at least until mpfr-2.3.0 is released. */
-/* { dg-xfail-if "This test requires mpfr-2.3.0" { *-*-* } { "*" } { "" } } */
 
 /* All references to link_error should go away at compile-time.  */
 extern void link_error(int);