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 Wed, 2002-06-05 at 14:46, Alexandre Oliva wrote:
> 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.
>
I'd agree with this. I think that this behavior would be unexpected.
-eric
--
I will not carve gods