This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __builtin_return_address (0) and inlining


> 
> But, truth be said, for someone who just wants to walk the stack, it
> *would* be the right answer, and one that really cares about not
> having the function inlined could mark the function with the noinline
> attribute so as to get the expected answer.  Which is why I was
> undecided back when I wrote that code, and why I clearly still haven't
> made my mind up :-)
> 

I think at this point it's "pick one and document it" :)

-eric

-- 
I will not carve gods


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]