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 Use pointer sized array indices. 2018-01-31 16:16:22 +02:00
compile_options.c Update copyright years. 2018-01-03 11:03:58 +01:00
convert_char.c Update copyright years. 2018-01-03 11:03:58 +01:00
environ.c Remove unused init_unsigned_integer function. 2018-09-07 21:59:50 +03:00
error.c Make recursion_check work for multiple threads 2018-11-23 22:42:03 +02:00
fpu.c Update copyright years. 2018-01-03 11:03:58 +01:00
in_pack_generic.c Use pointer sized array indices. 2018-01-31 16:16:22 +02:00
in_unpack_generic.c Use pointer sized array indices. 2018-01-31 16:16:22 +02:00
main.c Update copyright years. 2018-01-03 11:03:58 +01:00
memory.c Update copyright years. 2018-01-03 11:03:58 +01:00
minimal.c Fix interleaving of Fortran STOP messages 2018-09-12 13:53:34 +00:00
pause.c Use vectored writes when reporting errors and warnings. 2018-09-21 21:12:59 +03:00
select_inc.c Update copyright years. 2018-01-03 11:03:58 +01:00
select.c Update copyright years. 2018-01-03 11:03:58 +01:00
stop.c Use vectored writes when reporting errors and warnings. 2018-09-21 21:12:59 +03:00
string.c Update copyright years. 2018-01-03 11:03:58 +01:00