OSDN Git Service

libgfortran:
[pf3gnuchains/gcc-fork.git] / libquadmath / ChangeLog
index d2dcf45..080b387 100644 (file)
@@ -1,3 +1,162 @@
+2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR bootstrap/48135
+       * configure.ac (quadmath_use_symver): Handle --disable-symvers.
+       * configure: Regenerate.
+
+2011-02-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * printf/quadmath-printf.c (quadmath_snprintf): Make sure
+       that for size > 0 str is always zero terminated.
+
+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,
+       FLT128_MAX_10_EXP): Document.
+       (strtoflt128): Remove obsolete comment.
+       * configure.ac (HAVE_STRTOULL): New check.
+       * printf/gmp-impl.h (mpn_construct_float128): New prototype,
+       define.
+       * printf/mul_n.c: Include <config.h>.
+       * printf/add_n.c: Likewise.
+       * printf/cmp.c: Likewise.
+       * printf/fpioconst.c: Likewise.
+       * printf/mul_1.c: Likewise.
+       * printf/rshift.c: Likewise.
+       * printf/lshift.c: Likewise.
+       * printf/submul_1.c: Likewise.
+       * printf/sub_n.c: Likewise.
+       * printf/divrem.c: Likewise.
+       * printf/addmul_1.c: Likewise.
+       * printf/mul.c: Likewise.
+       * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
+       to avoid evaluating argument multiple times.
+       (isxdigit): Redefine.
+       * strtod/strtoflt128.c: New file.
+       * strtod/strtod_l.c: New file.
+       * strtod/mpn2flt128.c: New file.
+       * strtod/grouping.h: New file.
+       * strtod/tens_in_limb.c: New file.
+       * gdtoa/arith.h: Removed.
+       * gdtoa/gd_qnan.h: Removed.
+       * gdtoa/gdtoa_fltrnds.h: Removed.
+       * gdtoa/gdtoa.h: Removed.
+       * gdtoa/gdtoaimp.h: Removed.
+       * gdtoa/gethex.c: Removed.
+       * gdtoa/gmisc.c: Removed.
+       * gdtoa/hd_init.c: Removed.
+       * gdtoa/hexnan.c: Removed.
+       * gdtoa/makefile: Removed.
+       * gdtoa/misc.c: Removed.
+       * gdtoa/README.gdtoa: Removed.
+       * gdtoa/smisc.c: Removed.
+       * gdtoa/strtodg.c: Removed.
+       * gdtoa/strtopQ.c: Removed.
+       * gdtoa/sum.c: Removed.
+       * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
+       Define.
+       * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
+       strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
+       * config.h.in: Regenerated.
+       * configure: Regenerated.
+       * Makefile.in: Regenerated.
+
+2011-02-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * printf/quadmath-printf.c: Also check __GLIBC__ when checking
+       whether workarounds for printf hook handling should be added.
+
+       * configure.ac: Check for locale.h too.
+       (USE_LOCALE_SUPPORT): Remove check.
+       (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
+       (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
+       * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
+       or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
+       for wide version.
+       * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
+       * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
+       (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
+       version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
+       Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
+       USE_I18N_NUMBER_H #ifdef.
+       * configure: Regenerated.
+       * config.h.in: Regenerated.
+
+2011-02-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/47736
+       * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
+       user field.
+       * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
+       field instead of setting individual fields to 0.  Don't set info.user
+       to -1.
+       * configure: Regenerated.
+
+       * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
+       * printf/printf_fp.c: Don't include <alloca.h>.
+       * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
+       * configure: Regenerated.
+
+       PR fortran/47642
+       * libquadmath.texi (quadmath_snprintf): Document.
+       (quadmath_flt128tostr): Remove.
+       * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
+       Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
+       gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
+       * quadmath.h (quadmath_snprintf): New prototype.
+       (quadmath_flt128tostr): Remove.
+       * quadmath_weak.h (quadmath_snprintf): Add.
+       (quadmath_flt128tostr): Remove.
+       * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
+       wctype.h, limits.h, ctype.h, printf.h, errno.h.
+       (AC_USE_SYSTEM_EXTENSIONS): Add.
+       (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
+       USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
+       * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
+       quadmath_flt128tostr.
+       * printf/printf_fphex.c: New file.
+       * printf/_itowa.h: New file.
+       * printf/mul_n.c: New file.
+       * printf/quadmath-printf.h: New file.
+       * printf/submul_1.c: New file.
+       * printf/quadmath-printf.c: New file.
+       * printf/gmp-impl.h: New file.
+       * printf/lshift.c: New file.
+       * printf/fpioconst.h: New file.
+       * printf/add_n.c: New file.
+       * printf/cmp.c: New file.
+       * printf/sub_n.c: New file.
+       * printf/mul.c: New file.
+       * printf/divrem.c: New file.
+       * printf/addmul_1.c: New file.
+       * printf/printf_fp.c: New file.
+       * printf/_itoa.h: New file.
+       * printf/fpioconst.c: New file.
+       * printf/_i18n_number.h: New file.
+       * printf/flt1282mpn.c: New file.
+       * printf/rshift.c: New file.
+       * printf/mul_1.c: New file.
+       * quadmath_io.c: Removed.
+       * gdtoa/gdtoa.c: Removed.
+       * gdtoa/g__fmt.c: Removed.
+       * gdtoa/g_Qfmt.c: Removed.
+       * gdtoa/dmisc.c: Removed.
+       * gdtoa/ulp.c: Removed.
+       * config.h.in: Regenerated.
+       * configure: Regenerated.
+       * Makefile.in: Regenerated.
+
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Likewise.
+       * configure: Likewise.
+
 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR libquadmath/47293