re PR libfortran/68744 (FAIL: gfortran.dg/backtrace_1.f90 -O0 execution test)
commitc55879c8721a47e288679c6a887f05e162c35af2
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 23 Jan 2016 23:32:13 +0000 (23 23:32 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 23 Jan 2016 23:32:13 +0000 (23 23:32 +0000)
treeb44087841eaf6762c6bc6a3cf8ad284c54367930
parent3676c0871fa9cb1df58a32f78efd01d2c95d5038
re PR libfortran/68744 (FAIL: gfortran.dg/backtrace_1.f90   -O0  execution test)

PR libfortran/68744
* runtime/backtrace.c: Include gthr.h.
(show_backtrace): Use __gthread_active_p() to determine whether threads
are active.  Return if lbstate is NULL.

From-SVN: r232770
libgfortran/ChangeLog
libgfortran/runtime/backtrace.c