gcc/libgfortran/io
Lipeng Zhu 8414f10ad5 libgfortran: Bugfix if not define HAVE_ATOMIC_FETCH_ADD
This patch try to fix the bug when HAVE_ATOMIC_FETCH_ADD is
not defined in dec_waiting_unlocked function. As io.h does
not include async.h, the WRLOCK and RWUNLOCK macros are
undefined.

libgfortran/ChangeLog:

	* io/io.h (dec_waiting_unlocked): Use
	__gthread_rwlock_wrlock/__gthread_rwlock_unlock or
	__gthread_mutex_lock/__gthread_mutex_unlock functions
	to replace WRLOCK and RWUNLOCK macros.

Signed-off-by: Lipeng Zhu <lipeng.zhu@intel.com>
2024-01-15 05:22:07 -08:00
..
async.c Update copyright years. 2024-01-03 12:19:35 +01:00
async.h Update copyright years. 2024-01-03 12:19:35 +01:00
close.c Update copyright years. 2024-01-03 12:19:35 +01:00
fbuf.c Update copyright years. 2024-01-03 12:19:35 +01:00
fbuf.h Update copyright years. 2024-01-03 12:19:35 +01:00
file_pos.c Update copyright years. 2024-01-03 12:19:35 +01:00
format.c Update copyright years. 2024-01-03 12:19:35 +01:00
format.h Update copyright years. 2024-01-03 12:19:35 +01:00
inquire.c Update copyright years. 2024-01-03 12:19:35 +01:00
intrinsics.c Update copyright years. 2024-01-03 12:19:35 +01:00
io.h libgfortran: Bugfix if not define HAVE_ATOMIC_FETCH_ADD 2024-01-15 05:22:07 -08:00
list_read.c Update copyright years. 2024-01-03 12:19:35 +01:00
lock.c Update copyright years. 2024-01-03 12:19:35 +01:00
open.c Update copyright years. 2024-01-03 12:19:35 +01:00
read.c Update copyright years. 2024-01-03 12:19:35 +01:00
size_from_kind.c Update copyright years. 2024-01-03 12:19:35 +01:00
transfer.c Update copyright years. 2024-01-03 12:19:35 +01:00
transfer128.c Update copyright years. 2024-01-03 12:19:35 +01:00
unit.c Update copyright years. 2024-01-03 12:19:35 +01:00
unix.c Update copyright years. 2024-01-03 12:19:35 +01:00
unix.h Update copyright years. 2024-01-03 12:19:35 +01:00
write.c libgfortran: Emit a space at beginning of internal unit NML. 2024-01-07 10:32:04 -08:00
write_float.def Update copyright years. 2024-01-03 12:19:35 +01:00