aboutsummaryrefslogtreecommitdiff
path: root/gcc/invoke.texi
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.se>1999-11-10 08:53:20 +0100
committerJeff Law <law@gcc.gnu.org>1999-11-10 00:53:20 -0700
commit349c29b595de514c675f79f270206184ca17b26f (patch)
treeab42416a38f28070741d1a3017e29fde4d63442f /gcc/invoke.texi
parent052777b9ae1e0a70f36ea3187c0dae7d12075855 (diff)
downloadgcc-349c29b595de514c675f79f270206184ca17b26f.zip
gcc-349c29b595de514c675f79f270206184ca17b26f.tar.gz
gcc-349c29b595de514c675f79f270206184ca17b26f.tar.bz2
invoke.texi (C Dialect Options): Add missing builtins from c-common.c to list.
* invoke.texi (C Dialect Options): Add missing builtins from c-common.c to list. * extend.texi (Other Builtins): Copy to this list. From-SVN: r30470
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r--gcc/invoke.texi24
1 files changed, 18 insertions, 6 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index c53f53f..bae33dd 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -714,22 +714,34 @@ other, C++-specific, extension keywords such as @code{headof}.
@findex abs
@findex alloca
@findex cos
+@findex cosf
+@findex cosl
@findex exit
+@findex _exit
@findex fabs
+@findex fabsf
+@findex fabsl
@findex ffs
@findex labs
@findex memcmp
@findex memcpy
+@findex memset
@findex sin
+@findex sinf
+@findex sinl
@findex sqrt
+@findex sqrtf
+@findex sqrtl
@findex strcmp
@findex strcpy
@findex strlen
Don't recognize builtin functions that do not begin with @samp{__builtin_}
as prefix. Currently, the functions affected include @code{abort},
-@code{abs}, @code{alloca}, @code{cos}, @code{exit}, @code{fabs},
-@code{ffs}, @code{labs}, @code{memcmp}, @code{memcpy}, @code{sin},
-@code{sqrt}, @code{strcmp}, @code{strcpy}, and @code{strlen}.
+@code{abs}, @code{alloca}, @code{cos}, @code{cosf}, @code{cosl},
+@code{exit}, @code{_exit}, @code{fabs}, @code{fabsf}, @code{fabsl},
+@code{ffs}, @code{labs}, @code{memcmp}, @code{memcpy}, @code{memset},
+@code{sin}, @code{sinf}, @code{sinl}, @code{sqrt}, @code{sqrtf},
+@code{sqrtl}, @code{strcmp}, @code{strcpy}, and @code{strlen}.
GCC normally generates special code to handle certain builtin functions
more efficiently; for instance, calls to @code{alloca} may become single
@@ -739,9 +751,9 @@ and faster, but since the function calls no longer appear as such, you
cannot set a breakpoint on those calls, nor can you change the behavior
of the functions by linking with a different library.
-The @samp{-ansi} option prevents @code{alloca} and @code{ffs} from being
-builtin functions, since these functions do not have an ANSI standard
-meaning.
+The @samp{-ansi} option prevents @code{alloca}, @code{ffs} and @code{_exit}
+from being builtin functions, since these functions do not have an ANSI
+standard meaning.
@item -fhosted
@cindex hosted environment