aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2020-07-15 00:17:09 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2020-07-15 00:17:09 +0000
commit42195da6155317efc079229449ef6307a1fbfd38 (patch)
tree962e8cf44d121ebd0e6126e5094ecce21d7c501f /libgomp
parent315b87f63bcde4c881e9963c39d57258da08ccb5 (diff)
downloadgcc-42195da6155317efc079229449ef6307a1fbfd38.zip
gcc-42195da6155317efc079229449ef6307a1fbfd38.tar.gz
gcc-42195da6155317efc079229449ef6307a1fbfd38.tar.bz2
Daily bump.
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index b03dd53..878ef1b 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,23 @@
+2020-07-14 Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ Backported from master:
+ 2020-07-14 Tom de Vries <tom@codesourcery.com>
+ Cesar Philippidis <cesar@codesourcery.com>
+ Thomas Schwinge <thomas@codesourcery.com>
+ Kwok Cheung Yeung <kcy@codesourcery.com>
+
+ * oacc-init.c (acc_init_state_lock, acc_init_state, acc_init_thread):
+ New variable.
+ (acc_init_1): Set acc_init_thread to pthread_self (). Set
+ acc_init_state to initializing at the start, and to initialized at the
+ end.
+ (self_initializing_p): New function.
+ (acc_get_device_type): Return acc_device_none if called by thread that
+ is currently executing acc_init_1.
+ * libgomp.texi (acc_get_device_type): Update documentation.
+ (Implementation Status and Implementation-Defined Behavior): Likewise.
+ * testsuite/libgomp.oacc-c-c++-common/acc_prof-init-2.c: New.
+
2020-07-13 Julian Brown <julian@codesourcery.com>
Backported from master: