r266724 - in /trunk/libgfortran: ChangeLog runt...

jb@gcc.gnu.org jb@gcc.gnu.org
Sun Dec 2 15:12:00 GMT 2018


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



More information about the Gcc-cvs mailing list