]> git.ipfire.org Git - thirdparty/gcc.git/commit
* doc/cpp.texi (__GCC_IEC_559, __GCC_IEC_559_COMPLEX): Document
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Nov 2013 15:39:57 +0000 (15:39 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Nov 2013 15:39:57 +0000 (15:39 +0000)
commit4c866b9b314aff2fb1178a6811fe1353815fccb2
tree8756f9f52a3c5e06a3012fe2ac067879d37c313e
parent96cffcb7b646d194e6f5e1a3cdfd8edd86bc459d
* 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.

c-family:
* c-cppbuiltin.c (cpp_iec_559_value, cpp_iec_559_complex_value):
New functions.
(c_cpp_builtins): Define __GCC_IEC_559 and __GCC_IEC_559_COMPLEX.

testsuite:
* gcc.dg/iec-559-macros-1.c, gcc.dg/iec-559-macros-2.c,
gcc.dg/iec-559-macros-3.c, gcc.dg/iec-559-macros-4.c,
gcc.dg/iec-559-macros-5.c, gcc.dg/iec-559-macros-6.c,
gcc.dg/iec-559-macros-7.c, gcc.dg/iec-559-macros-8.c,
gcc.dg/iec-559-macros-9.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204351 138bc75d-0d04-0410-961f-82ee72b054a4
26 files changed:
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-cppbuiltin.c
gcc/config.gcc
gcc/config/rs6000/linux.h
gcc/config/rs6000/linux64.h
gcc/config/rs6000/rs6000-linux.c [new file with mode: 0644]
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/t-linux
gcc/config/rs6000/t-linux64
gcc/doc/cpp.texi
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/target.def
gcc/targhooks.c
gcc/targhooks.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/iec-559-macros-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/iec-559-macros-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/iec-559-macros-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/iec-559-macros-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/iec-559-macros-5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/iec-559-macros-6.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/iec-559-macros-7.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/iec-559-macros-8.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/iec-559-macros-9.c [new file with mode: 0644]