builtin float.h macros

Joseph S. Myers jsm28@cam.ac.uk
Tue Sep 3 13:32:00 GMT 2002


On Tue, 3 Sep 2002, Richard Henderson wrote:

> gcc:
>         * Makefile.in (USER_H): Add ginclude/float.h.
>         (FLOAT_H): Remove.
>         (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
>         (mostlyclean): Don't remove float.h intermediate files.
>         (distclean): Don't remove float.h.
>         * config.gcc: Remove all float_format references.
>         * configure.in (float_format, float_h_file): Remove.

The sources of float.h files are documented in sourcebuild.texi, which
needs updating.

I believe enquire.c can now be removed altogether (from contrib), along
with the mentions of float.h generation and enquire in install-old.texi.

> +  /* Since, for the supported formats, B is always a power of 2, we
> +     construct the following numbers directly as a hexadecimal constants.  */

Will this work properly in strict C90 and C++98 mode, when p+ and p- are
not valid parts of preprocessing numbers (and any use of hex floats
generates pedwarns)?

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list