libgomp: libgomp.oacc-c-c++-common/lib-62.c is for acc_device_nvidia only (was: OpenACC: initialization with unsupported acc_device_t)

2015-06-19 Thread Thomas Schwinge
Hi! On Tue, 5 May 2015 16:09:18 +0200, I wrote: I don't know why libgomp.oacc-c-c++-common/lib-62.c contains this explicit acc_init call with acc_device_nvidia -- generally, the test cases should not contain such unconditional statements. So, let's then please remove this. See

Re: OpenACC: initialization with unsupported acc_device_t

2015-05-21 Thread Jakub Jelinek
On Thu, May 21, 2015 at 08:55:59AM +0200, Thomas Schwinge wrote: Thanks, looks good to me -- Jakub? Ok for trunk. libgomp/ * oacc-init.c (resolve_device): Add FAIL_IS_ERROR argument. Update function comment. Only call gomp_fatal if new argument is true.

Re: OpenACC: initialization with unsupported acc_device_t

2015-05-21 Thread Thomas Schwinge
Hi Julian! On Thu, 7 May 2015 16:56:11 +0100, Julian Brown jul...@codesourcery.com wrote: On Tue, 5 May 2015 16:09:18 +0200 Thomas Schwinge tho...@codesourcery.com wrote: On Tue, 5 May 2015 08:43:48 -0400, John David Anglin dave.ang...@bell.net wrote: On 2015-05-05 5:43 AM, Thomas

Re: OpenACC: initialization with unsupported acc_device_t (was: [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests)

2015-05-07 Thread Julian Brown
On Tue, 5 May 2015 16:09:18 +0200 Thomas Schwinge tho...@codesourcery.com wrote: Hi! On Tue, 5 May 2015 08:43:48 -0400, John David Anglin dave.ang...@bell.net wrote: On 2015-05-05 5:43 AM, Thomas Schwinge wrote: FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/lib-62.c