[Bug libbacktrace/60240] libbacktrace problems with nested functions

ian at airs dot com gcc-bugzilla@gcc.gnu.org
Sat Feb 9 19:40:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60240

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> ---
I agree that this example cannot be expected to work.  The docs for
backtrace_pcinfo say that the function works when "Given PC, a program counter
in the current program."  The value (uintptr_t)&a is not a program counter in
the current program.


More information about the Gcc-bugs mailing list