diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-02-20 22:59:28 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-02-20 22:59:28 +0100 |
commit | a3a33a7b29aa6a4917cb8b4df9c2235d0f1354a9 (patch) | |
tree | 6485e6a7262aa62081bd33ec4dfbb1f28cc4ca65 /libquadmath | |
parent | a3e5390d5fb065c8ce130798ab47d92953cab718 (diff) | |
download | gcc-a3a33a7b29aa6a4917cb8b4df9c2235d0f1354a9.zip gcc-a3a33a7b29aa6a4917cb8b4df9c2235d0f1354a9.tar.gz gcc-a3a33a7b29aa6a4917cb8b4df9c2235d0f1354a9.tar.bz2 |
re PR bootstrap/47827 (gcc fails to bootstrap on i386-pc-solaris2.10)
PR bootstrap/47827
* printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
From-SVN: r170346
Diffstat (limited to 'libquadmath')
-rw-r--r-- | libquadmath/ChangeLog | 5 | ||||
-rw-r--r-- | libquadmath/printf/quadmath-printf.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index fe1dfed..71fbc2f 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -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, diff --git a/libquadmath/printf/quadmath-printf.h b/libquadmath/printf/quadmath-printf.h index 9e574c1..32ebcec 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 ("") |