Re: [PATCH] Fix failure of gfortran.dg/backtrace_1.f90 on hppa*-*-hpux*

2016-01-23 Thread Jerry DeLisle
On 01/23/2016 02:40 PM, John David Anglin wrote: > Ping. > > On 2015-12-28, at 2:58 PM, John David Anglin wrote: > >> The hppa*-*-hpux* target does not support __sync builtins. As a result, >> libbacktrace does not >> support backtraces when threads are active. >> >> Instead of always assuming

Re: [PATCH] Fix failure of gfortran.dg/backtrace_1.f90 on hppa*-*-hpux*

2016-01-23 Thread John David Anglin
Ping. On 2015-12-28, at 2:58 PM, John David Anglin wrote: > The hppa*-*-hpux* target does not support __sync builtins. As a result, > libbacktrace does not > support backtraces when threads are active. > > Instead of always assuming threads are active in > libgfortran/runtime/backtrace.c,

[PATCH] Fix failure of gfortran.dg/backtrace_1.f90 on hppa*-*-hpux*

2015-12-28 Thread John David Anglin
The hppa*-*-hpux* target does not support __sync builtins. As a result, libbacktrace does not support backtraces when threads are active. Instead of always assuming threads are active in libgfortran/runtime/backtrace.c, the attached patch uses __gthread_active_p() to determine whether threads