Re: [PATCH, libgomp] PR 67141, uninitialized acc_device_lock mutex

2015-09-21 Thread Jakub Jelinek
On Tue, Sep 22, 2015 at 02:49:04PM +0800, Chung-Lin Tang wrote: > Committed, thanks for the review. > I believe this patch is also needed for 5.x, okay for that branch as well? Ok. Jakub

Re: [PATCH, libgomp] PR 67141, uninitialized acc_device_lock mutex

2015-09-21 Thread Chung-Lin Tang
On 2015/9/18 04:02 PM, Jakub Jelinek wrote: > On Fri, Sep 18, 2015 at 03:41:30PM +0800, Chung-Lin Tang wrote: >> this patch fixes the uninitialized acc_device_lock mutex situation >> reported in PR 67141. The patch attached on the bugzilla page >> tries to solve it by constructor priorities, which

Re: [PATCH, libgomp] PR 67141, uninitialized acc_device_lock mutex

2015-09-18 Thread Jakub Jelinek
On Fri, Sep 18, 2015 at 03:41:30PM +0800, Chung-Lin Tang wrote: > this patch fixes the uninitialized acc_device_lock mutex situation > reported in PR 67141. The patch attached on the bugzilla page > tries to solve it by constructor priorities, which we think will > probably be less manageable in ge

[PATCH, libgomp] PR 67141, uninitialized acc_device_lock mutex

2015-09-18 Thread Chung-Lin Tang
Hi, this patch fixes the uninitialized acc_device_lock mutex situation reported in PR 67141. The patch attached on the bugzilla page tries to solve it by constructor priorities, which we think will probably be less manageable in general. This patch changes goacc_host_init() to be called from goacc