This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remove _G_HAVE_PRINTF_FP


On Wed, Sep 12, 2012 at 8:02 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> The macro _G_HAVE_PRINTF_FP in _G_config.h is only used in a condition
> on whether to define _IO_USE_DTOA in libio.h.  Nothing in glibc uses
> _IO_USE_DTOA.  So both macros are effectively unused, and this patch
> removes them.  Tested on x86_64 that it makes no difference to the
> code generated for glibc's shared libraries.
>
> 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
>
>         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
>         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
>         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
>         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.

This looks good to me.

I reviewed this code and the *old* libstdc++ code
that used to use _IO_USE_DTOA, and it's long gone
and unused now.

Thanks for the good cleanup.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]