summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-01 01:41:27 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-01 01:41:27 +0000
commit2f5beddc33b58e61cb2b580e7525b817b07d4e8c (patch)
tree136f02279e9d3761090743d6ab8a4ea371c53867 /gcc/doc
parent87cf73eb2ba6f00611b5374fb7db5fdbdab7ce36 (diff)
downloadgcc-2f5beddc33b58e61cb2b580e7525b817b07d4e8c.tar.gz
PR c/29326
* doc/extend.texi (Other Builtins): Document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131996 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 73c823fa45c..0bf8811963c 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -6423,6 +6423,14 @@ if (__builtin_expect (ptr != NULL, 1))
when testing pointer or floating-point values.
@end deftypefn
+@deftypefn {Built-in Function} void __builtin_trap (void)
+This function causes the program to exit abnormally. GCC implements
+this function by using a target-dependent mechanism (such as
+intentionally executing an illegal instruction) or by calling
+@code{abort}. The mechanism used may vary from release to release so
+you should not rely on any particular implementation.
+@end deftypefn
+
@deftypefn {Built-in Function} void __builtin___clear_cache (char *@var{begin}, char *@var{end})
This function is used to flush the processor's instruction cache for
the region of memory between @var{begin} inclusive and @var{end}