summaryrefslogtreecommitdiff
path: root/libquadmath/printf
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-20 21:59:28 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-20 21:59:28 +0000
commit36f499f4dabcb4dacf84236ccebdfa72977278c5 (patch)
tree6485e6a7262aa62081bd33ec4dfbb1f28cc4ca65 /libquadmath/printf
parent86ea82487017347ef718988d168a41b713546143 (diff)
downloadgcc-36f499f4dabcb4dacf84236ccebdfa72977278c5.tar.gz
PR bootstrap/47827
* 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
Diffstat (limited to 'libquadmath/printf')
-rw-r--r--libquadmath/printf/quadmath-printf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libquadmath/printf/quadmath-printf.h b/libquadmath/printf/quadmath-printf.h
index 9e574c1eccc..32ebcec928c 100644
--- a/libquadmath/printf/quadmath-printf.h
+++ b/libquadmath/printf/quadmath-printf.h
@@ -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 ("")