OSDN Git Service

PR bootstrap/47827
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Feb 2011 21:59:28 +0000 (21:59 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Feb 2011 21:59:28 +0000 (21:59 +0000)
* printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").

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

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

index fe1dfed..71fbc2f 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 9e574c1..32ebcec 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 ("")