aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2015-08-18 20:07:57 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2015-08-18 20:07:57 +0000
commit61717a4593d0c710b6fed946e8ce9728c83ed369 (patch)
treee35d243d6dcbdc7bf2a9787803bcacdfa3715f55 /gcc/doc
parenta1c045caab2c1b31ce7b8e9c28ccd9f8106c4e58 (diff)
downloadgcc-61717a4593d0c710b6fed946e8ce9728c83ed369.zip
gcc-61717a4593d0c710b6fed946e8ce9728c83ed369.tar.gz
gcc-61717a4593d0c710b6fed946e8ce9728c83ed369.tar.bz2
re PR middle-end/36757 (__builtin_signbit should be type-generic)
PR middle-end/36757 * builtins.c (expand_builtin_signbit): Add asserts to make sure we can expand BUILT_IN_SIGNBIT inline. * builtins.def (BUILT_IN_SIGNBIT): Make type-generic. * doc/extend.texi: Document the type-generic __builtin_signbit. * c-common.c (check_builtin_function_arguments): Add check for BUILT_IN_SIGNBIT argument. * gcc.dg/builtins-error.c: Add checks for __builtin_signbit. * gcc.dg/tg-tests.h: Add checks for __builtin_signbit. From-SVN: r226990
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 64d9a6a..dba8b43 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -10448,7 +10448,7 @@ the same names as the standard macros ( @code{isgreater},
prefixed. We intend for a library implementor to be able to simply
@code{#define} each standard macro to its built-in equivalent.
In the same fashion, GCC provides @code{fpclassify}, @code{isfinite},
-@code{isinf_sign} and @code{isnormal} built-ins used with
+@code{isinf_sign}, @code{isnormal} and @code{signbit} built-ins used with
@code{__builtin_} prefixed. The @code{isinf} and @code{isnan}
built-in functions appear both with and without the @code{__builtin_} prefix.