aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorLipeng Zhu <lipeng.zhu@intel.com>2024-01-04 20:43:26 -0500
committerH.J. Lu <(no_default)>2024-01-15 05:22:07 -0800
commit8414f10ad5bad6d522b72f9ae35e0bb86bb290ea (patch)
tree4ccfba1af17ab7bd5673d8a963b65bcfafa14677 /gcc
parent7be87b7d2e330afd14a7cc028f64d88f80e12f40 (diff)
downloadgcc-8414f10ad5bad6d522b72f9ae35e0bb86bb290ea.zip
gcc-8414f10ad5bad6d522b72f9ae35e0bb86bb290ea.tar.gz
gcc-8414f10ad5bad6d522b72f9ae35e0bb86bb290ea.tar.bz2
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>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions