[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs at GOMP_NVPTX_JIT=-O0

2018-01-22 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #8 from Tom de Vries --- Created attachment 43209 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43209=edit Patch inserting fake_nop only in case of branch-around-nothing

[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs at GOMP_NVPTX_JIT=-O0

2018-01-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #7 from Tom de Vries --- (In reply to Jakub Jelinek from comment #6) > (In reply to Tom de Vries from comment #4) > > Using this rudimentary workaround, I got the failing tests of this PR > > passing again: > Shouldn't it be

[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs at GOMP_NVPTX_JIT=-O0

2018-01-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #6 from Jakub Jelinek --- (In reply to Tom de Vries from comment #4) > Using this rudimentary workaround, I got the failing tests of this PR > passing again: > ... > diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c >

[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs at GOMP_NVPTX_JIT=-O0

2018-01-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #5 from Tom de Vries --- Using the workaround, I get pretty good results: ... Running /home/vries/openacc/trunk/source-gcc/libgomp/testsuite/libgomp.c/c.exp ... FAIL: libgomp.c/target-32.c (test for excess errors) FAIL:

[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs at GOMP_NVPTX_JIT=-O0

2018-01-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #4 from Tom de Vries --- Using this rudimentary workaround, I got the failing tests of this PR passing again: ... diff --git a/gcc/config/nvptx/nvptx.c b/gcc/config/nvptx/nvptx.c index afb0e4dd185..3ac28b3d903 100644 ---

[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs at GOMP_NVPTX_JIT=-O0

2018-01-19 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #3 from Tom de Vries --- (In reply to Tom de Vries from comment #2) > This looks like another nvidia driver problem (with driver version 384.111). Confirmed. The empty branch > @ %r36 bra $L5; > $L5: is translated into: ...

[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs at GOMP_NVPTX_JIT=-O0

2018-01-19 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #2 from Tom de Vries --- I've minimized mode-transitions.c to: ... #define n 32 int main (void) { int arr_a[n]; #pragma acc parallel copyout(arr_a) num_gangs(1) num_workers(1) vector_length(32) { #pragma acc loop vector for

[Bug libgomp/83589] [nvptx] mode-transitions.c and private-variables.{c,f90} execution FAILs

2018-01-18 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83589 --- Comment #1 from Tom de Vries --- Using the patch from PR83920 comment 3 and testing libgomp.oacc-c/c.exp makes the libgomp.oacc-c/c.exp failures of this PR go away. So, this might be a duplicate.