gcc/libgfortran/io
Tobias Burnus a6e9633ccb Fortran: Fix libgfortran I/O race with newunit_free [PR99529]
libgfortran/ChangeLog:

	* io/transfer.c (st_read_done_worker, st_write_done_worker):
	Call unlock_unit here, add unit_lock lock around newunit_free call.
	(st_read_done, st_write_done): Only call unlock_unit when not
	calling the worker function.
	* io/unit.c (set_internal_unit): Don't reset the unit_number
	to the same number as this cause race warnings.
2021-03-12 16:31:32 +01:00
..
async.c Update copyright years. 2021-01-04 10:26:59 +01:00
async.h Update copyright years. 2021-01-04 10:26:59 +01:00
close.c Update copyright years. 2021-01-04 10:26:59 +01:00
fbuf.c Update copyright years. 2021-01-04 10:26:59 +01:00
fbuf.h Update copyright years. 2021-01-04 10:26:59 +01:00
file_pos.c Update copyright years. 2021-01-04 10:26:59 +01:00
format.c Update copyright years. 2021-01-04 10:26:59 +01:00
format.h Update copyright years. 2021-01-04 10:26:59 +01:00
inquire.c Update copyright years. 2021-01-04 10:26:59 +01:00
intrinsics.c Update copyright years. 2021-01-04 10:26:59 +01:00
io.h Update copyright years. 2021-01-04 10:26:59 +01:00
list_read.c Update copyright years. 2021-01-04 10:26:59 +01:00
lock.c Update copyright years. 2021-01-04 10:26:59 +01:00
open.c Update copyright years. 2021-01-04 10:26:59 +01:00
read.c Update copyright years. 2021-01-04 10:26:59 +01:00
size_from_kind.c Update copyright years. 2021-01-04 10:26:59 +01:00
transfer128.c Update copyright years. 2021-01-04 10:26:59 +01:00
transfer.c Fortran: Fix libgfortran I/O race with newunit_free [PR99529] 2021-03-12 16:31:32 +01:00
unit.c Fortran: Fix libgfortran I/O race with newunit_free [PR99529] 2021-03-12 16:31:32 +01:00
unix.c Update copyright years. 2021-01-04 10:26:59 +01:00
unix.h Update copyright years. 2021-01-04 10:26:59 +01:00
write_float.def Update copyright years. 2021-01-04 10:26:59 +01:00
write.c Update copyright years. 2021-01-04 10:26:59 +01:00