This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __builtin_return_address (0) and inlining
On Jun 5, 2002, DJ Delorie <dj@redhat.com> wrote:
> When converted, __builtin_return_address(0) will properly return the
> RA for the function it gets inlined into, rather than an unpredictable
> value.
That's still probably not what the person who wrote
__builtin_return_address(0) wanted.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer