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

Janne Blomqvist <jb at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jb at gcc dot gnu.org

--- Comment #2 from Janne Blomqvist <jb at gcc dot gnu.org> ---
In backtrace.h (the header for the libbacktrace library that we use to print
backtraces) we have for the backtrace_create_state function:

   Calling this function allocates resources that can not be freed.
   There is no backtrace_free_state function.  The state is used to
   cache information that is expensive to recompute.  Programs are
   expected to call this function at most once and to save the return
   value for all later calls to backtrace functions.


In libgfortran we don't do this, but rather with call backtrace_create_state()
again for every invocation of the GFortran backtrace intrinsic.

Assigning to myself.

Reply via email to