This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/67141] wrong libgomp mutex initialisation order
- From: "cltang at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Sep 2015 06:45:54 +0000
- Subject: [Bug libgomp/67141] wrong libgomp mutex initialisation order
- Auto-submitted: auto-generated
- References: <bug-67141-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67141
--- Comment #6 from Chung-Lin Tang <cltang at gcc dot gnu.org> ---
Author: cltang
Date: Tue Sep 22 06:45:22 2015
New Revision: 227994
URL: https://gcc.gnu.org/viewcvs?rev=227994&root=gcc&view=rev
Log:
2015-09-22 Chung-Lin Tang <cltang@codesourcery.com>
PR libgomp/67141
* oacc-int.h (goacc_host_init): Add declaration.
* oacc-host.c (goacc_host_init): Remove static and constructor
attribute.
* oacc-init.c (goacc_runtime_initialize): Call goacc_host_init() at
end.
Modified:
trunk/libgomp/ChangeLog
trunk/libgomp/oacc-host.c
trunk/libgomp/oacc-init.c
trunk/libgomp/oacc-int.h