Commit 95b1627e by Eric Christopher Committed by Eric Christopher

extend.texi (Return Address): Add note explaining the side- effects of inlining…

extend.texi (Return Address): Add note explaining the side- effects of inlining on __builtin_return_address.

2002-06-10  Eric Christopher  <echristo@redhat.com>

	* doc/extend.texi (Return Address): Add note explaining the side-
	effects of inlining on __builtin_return_address.

From-SVN: r54449
parent aea185b3
2002-06-10 Eric Christopher <echristo@redhat.com>
* doc/extend.texi (Return Address): Add note explaining the side-
effects of inlining on __builtin_return_address.
2002-06-10 Tom Tromey <tromey@redhat.com>
* Makefile.in (LANGHOOKS_DEF_H): Include langhooks-def.h.
......
......@@ -4294,7 +4294,10 @@ This function returns the return address of the current function, or of
one of its callers. The @var{level} argument is number of frames to
scan up the call stack. A value of @code{0} yields the return address
of the current function, a value of @code{1} yields the return address
of the caller of the current function, and so forth.
of the caller of the current function, and so forth. When inlining
the expected behavior is that the function will return the address of
the function that will be returned to. To work around this behavior use
the @code{noinline} function attribute.
The @var{level} argument must be a constant integer.
......
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