mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 07:58:58 +08:00
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
This commit is contained in:
parent
aea185b3f9
commit
95b1627eb1
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user