summaryrefslogtreecommitdiff
path: root/gcc/extend.texi
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-05 18:24:08 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-05 18:24:08 +0000
commitd30e4d0464cae3e2ef4ca79006784aec74d2a9e5 (patch)
treecae858fa1cc9c29db5a7d0166db607c208716c6e /gcc/extend.texi
parent4405d2305aa3bdcc6e306968be66eb002b96ad43 (diff)
downloadgcc-d30e4d0464cae3e2ef4ca79006784aec74d2a9e5.tar.gz
* builtins.def (BUILT_IN_CONJ, BUILT_IN_CREAL, BUILT_IN_CIMAG):
Define. * builtins.c (expand_builtin): Abort on BUILT_IN_CONJ, BUILT_IN_CREAL and BUILT_IN_CIMAG. * c-common.c (c_common_nodes_and_builtins): Create builtin conjf, conj, conjl, crealf, creal, creall, cimagf, cimag and cimagl. (expand_tree_builtin): Handle BUILT_IN_CONJ, BUILT_IN_CREAL and BUILT_IN_CIMAG. * extend.texi: Document these builtins. testsuite: * gcc.c-torture/execute/builtin-complex-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38716 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/extend.texi')
-rw-r--r--gcc/extend.texi16
1 files changed, 13 insertions, 3 deletions
diff --git a/gcc/extend.texi b/gcc/extend.texi
index 7eaf6e9657a..5778a9bde1b 100644
--- a/gcc/extend.texi
+++ b/gcc/extend.texi
@@ -3357,9 +3357,18 @@ function as well.
@findex alloca
@findex bcmp
@findex bzero
+@findex cimag
+@findex cimagf
+@findex cimagl
+@findex conj
+@findex conjf
+@findex conjl
@findex cos
@findex cosf
@findex cosl
+@findex creal
+@findex crealf
+@findex creall
@findex exit
@findex _exit
@findex fabs
@@ -3424,9 +3433,10 @@ as builtins. Corresponding versions @code{__builtin_alloca},
@code{__builtin_rindex} and @code{__builtin_ffs} are also recognized in
strict ISO C mode.
-The ISO C99 functions @code{llabs} and @code{imaxabs}
-are handled as builtins except in
-strict ISO C89 mode. There are also builtin versions of the ISO C99
+The ISO C99 functions @code{conj}, @code{conjf}, @code{conjl},
+@code{creal}, @code{crealf}, @code{creall}, @code{cimag}, @code{cimagf},
+@code{cimagl}, @code{llabs} and @code{imaxabs} are handled as builtins
+except in strict ISO C89 mode. There are also builtin versions of the ISO C99
functions @code{cosf}, @code{cosl}, @code{fabsf}, @code{fabsl},
@code{sinf}, @code{sinl}, @code{sqrtf}, and @code{sqrtl}, that are
recognized in any mode since ISO C89 reserves these names for the