Re: [PATCH, libfortran] PR 88137 Initialize backtrace state once

2018-11-30 Thread Janne Blomqvist
On Fri, Nov 30, 2018 at 9:29 PM Janne Blomqvist wrote: > On Fri, Nov 30, 2018 at 9:07 PM Thomas Schwinge > wrote: > >> Hi! >> >> On Thu, 22 Nov 2018 11:17:24 +0200, Janne Blomqvist < >> blomqvist.ja...@gmail.com> wrote: >> > From backtrace.h for backtrace_create_state: >> > >> >Calling this

Re: [PATCH, libfortran] PR 88137 Initialize backtrace state once

2018-11-30 Thread Janne Blomqvist
On Fri, Nov 30, 2018 at 9:07 PM Thomas Schwinge wrote: > Hi! > > On Thu, 22 Nov 2018 11:17:24 +0200, Janne Blomqvist < > blomqvist.ja...@gmail.com> wrote: > > From backtrace.h for backtrace_create_state: > > > >Calling this function allocates resources that can not be freed. > >There is n

Re: [PATCH, libfortran] PR 88137 Initialize backtrace state once

2018-11-30 Thread Thomas Schwinge
Hi! On Thu, 22 Nov 2018 11:17:24 +0200, Janne Blomqvist wrote: > From backtrace.h for backtrace_create_state: > >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

Re: [PATCH, libfortran] PR 88137 Initialize backtrace state once

2018-11-30 Thread Jerry DeLisle
On 11/29/18 11:37 PM, Janne Blomqvist wrote: PING! LGTM, OK and thanks Jerry (for the GCC-7 branch, I'll commit it after the 7.4 release) On Thu, Nov 22, 2018 at 11:17 AM Janne Blomqvist wrote: From backtrace.h for backtrace_create_state: Calling this function allocates resources

Re: [PATCH, libfortran] PR 88137 Initialize backtrace state once

2018-11-29 Thread Janne Blomqvist
PING! (for the GCC-7 branch, I'll commit it after the 7.4 release) On Thu, Nov 22, 2018 at 11:17 AM Janne Blomqvist wrote: > From backtrace.h for backtrace_create_state: > >Calling this function allocates resources that can not be freed. >There is no backtrace_free_state function. The

[PATCH, libfortran] PR 88137 Initialize backtrace state once

2018-11-22 Thread Janne Blomqvist
>From backtrace.h for backtrace_create_state: 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 an