__builtin_return_address (0) and inlining

Alexandre Oliva aoliva@redhat.com
Wed Jun 5 14:49:00 GMT 2002


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



More information about the Gcc mailing list