Commit a18c20ec by Andrew Pinski Committed by Ben Elliston

re PR c/29326 (__builtin_trap is not documented)

	PR c/29326
	* doc/extend.texi (Other Builtins): Document.

Co-Authored-By: Ben Elliston <bje@au.ibm.com>
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>

From-SVN: r131996
parent e529992b
2008-02-01 Andrew Pinski <pinskia@gmail.com>
Mark Mitchell <mark@codesourcery.com>
Ben Elliston <bje@au.ibm.com>
PR c/29326
* doc/extend.texi (Other Builtins): Document.
2008-01-31 Tom Browder <tom.browder@gmail.com> 2008-01-31 Tom Browder <tom.browder@gmail.com>
* doc/c-tree.texi (Types): Fix grammar. * doc/c-tree.texi (Types): Fix grammar.
......
...@@ -6423,6 +6423,14 @@ if (__builtin_expect (ptr != NULL, 1)) ...@@ -6423,6 +6423,14 @@ if (__builtin_expect (ptr != NULL, 1))
when testing pointer or floating-point values. when testing pointer or floating-point values.
@end deftypefn @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}) @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 This function is used to flush the processor's instruction cache for
the region of memory between @var{begin} inclusive and @var{end} the region of memory between @var{begin} inclusive and @var{end}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment