This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Add predefined macros for library use in defining __STDC_IEC_559*


On Tue, Oct 15, 2013 at 5:22 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:

> Bootstrapped with no regressions on x86_64-unknown-linux-gnu, and
> tested with no regressions with cross to powerpc-linux-gnu
> (soft-float).  OK to commit (hook addition, rs6000/powerpc changes)?
>
> 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
>
>         * doc/cpp.texi (__GCC_IEC_559, __GCC_IEC_559_COMPLEX): Document
>         macros.
>         * target.def (float_exceptions_rounding_supported_p): New hook.
>         * targhooks.c (default_float_exceptions_rounding_supported_p): New
>         function.
>         * targhooks.h (default_float_exceptions_rounding_supported_p):
>         Declare.
>         * doc/tm.texi.in (TARGET_FLOAT_EXCEPTIONS_ROUNDING_SUPPORTED_P):
>         New @hook.
>         * doc/tm.texi: Regenerate.
>         * config.gcc (powerpc*-*-linux*): Set extra_objs.
>         * config/rs6000/rs6000-linux.c: New file.
>         * config/rs6000/rs6000-protos.h
>         (rs6000_linux_float_exceptions_rounding_supported_p): Declare.
>         * config/rs6000/linux.h
>         (TARGET_FLOAT_EXCEPTIONS_ROUNDING_SUPPORTED_P): New macro.
>         * config/rs6000/linux64.h
>         (TARGET_FLOAT_EXCEPTIONS_ROUNDING_SUPPORTED_P): Likewise.
>         * config/rs6000/t-linux (rs6000-linux.o): New rule.
>         * config/rs6000/t-linux64 (rs6000-linux.o): Likewise.

The rs6000 parts are okay.

Thanks, David


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