gcc/libgfortran
Janne Blomqvist df996c3fd2 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.

From-SVN: r266724
2018-12-02 17:12:44 +02:00
..
caf
config
generated
ieee
intrinsics
io Replace sync builtins with atomic builtins 2018-11-22 09:58:29 +02:00
m4
runtime Use atomic load/store to access static backtrace state pointer 2018-12-02 17:12:44 +02:00
acinclude.m4 Replace sync builtins with atomic builtins 2018-11-22 09:58:29 +02:00
aclocal.m4 Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
c99_protos.h
ChangeLog Use atomic load/store to access static backtrace state pointer 2018-12-02 17:12:44 +02:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
config.h.in Replace sync builtins with atomic builtins 2018-11-22 09:58:29 +02:00
configure Replace sync builtins with atomic builtins 2018-11-22 09:58:29 +02:00
configure.ac Replace sync builtins with atomic builtins 2018-11-22 09:58:29 +02:00
configure.host
gfortran.map
kinds-override.h
libgfortran.h
libgfortran.spec.in
libtool-version
Makefile.am Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
Makefile.in Replace sync builtins with atomic builtins 2018-11-22 09:58:29 +02:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh