gcc/libgfortran/runtime
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
..
backtrace.c Use atomic load/store to access static backtrace state pointer 2018-12-02 17:12:44 +02:00
bounds.c
compile_options.c
convert_char.c
environ.c
error.c
fpu.c
in_pack_generic.c
in_unpack_generic.c
main.c
memory.c
minimal.c
pause.c
select_inc.c
select.c
stop.c
string.c