re PR bootstrap/47827 (gcc fails to bootstrap on i386-pc-solaris2.10)
authorJakub Jelinek <jakub@redhat.com>
Sun, 20 Feb 2011 21:59:28 +0000 (22:59 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 20 Feb 2011 21:59:28 +0000 (22:59 +0100)
PR bootstrap/47827
* printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").

From-SVN: r170346

libquadmath/ChangeLog
libquadmath/printf/quadmath-printf.h

index fe1dfed0daacc867d48b75b69f7f61aad3e1d2ef..71fbc2f547ba84266c2742992dce51154981cdec 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/47827
+       * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
+
 2011-02-17  Jakub Jelinek  <jakub@redhat.com>
 
        * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
index 9e574c1eccc3221a87b18a4dd23b53ebd5c41810..32ebcec928cb073f5ceeaa5c43b2058de33a4a6b 100644 (file)
@@ -181,3 +181,6 @@ __quadmath_do_putc (struct __quadmath_printf_file *fp, int wide,
 
 #undef _itoa
 #define _itoa __quadmath_itoa
+
+#undef NAN
+#define NAN __builtin_nanf ("")