This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r266724 - in /trunk/libgfortran: ChangeLog runt...
- From: jb at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 02 Dec 2018 15:12:44 -0000
- Subject: r266724 - in /trunk/libgfortran: ChangeLog runt...
Author: jb
Date: Sun Dec 2 15:12:44 2018
New Revision: 266724
URL: https://gcc.gnu.org/viewcvs?rev=266724&root=gcc&view=rev
Log:
Use atomic load/store to access static backtrace state pointer
As the static backtrace state pointer can be accessed from multiple
threads, use atomics to access it.
Regtested on x86_64-pc-linux-gnu.
libgfortran/ChangeLog:
2018-12-02 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/88137
* runtime/backtrace.c (show_backtrace): Use atomic load/store to
access the static lbstate pointer.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/runtime/backtrace.c