Hi! This came into existance internally, when the og10 branch was set up. On 2020-06-03T17:23:51+0200, Tobias Burnus wrote: > This fixes [...] on OG10 (og10_prerelease); it will be > later applied to gcn/… to fix the issue. (Upstream is unaffected.) > [...] However, that means that your testcase does work on master branch (and would regress if certain commits got pushed there). As the testcase has got a property useful for a thing I'm currently working on, I've pushed to master branch "Add 'libgomp.oacc-fortran/privatized-ref-2.f90'" in commit 61796dc03befa9b7426d5bc7c336cca585944143, and "Don't skip 'libgomp.oacc-fortran/privatized-ref-2.f90' for nvptx offloading" in commit 5d42db533324e80a7382b20b94cace5b202d41ea, see attached. I confirm that "FIXME: Fails due to PR middle-end/95499" is still a problem. And, GCC '-O' reports: [...]/libgomp.oacc-fortran/privatized-ref-2.f90:147:21: 147 | subroutine foobar15 (scalar) | ^ Warning: ‘foobar15’ defined but not used [-Wunused-function] [...]/libgomp.oacc-fortran/privatized-ref-2.f90: In function ‘MAIN__’: [...]/libgomp.oacc-fortran/privatized-ref-2.f90:31:22: warning: ‘a.offset’ is used uninitialized [-Wuninitialized] 31 | A = [(3*j, j=1, 10)] | ^ [...]/libgomp.oacc-fortran/privatized-ref-2.f90:27:30: note: ‘a’ declared here 27 | integer, allocatable :: A(:) | ^ [...]/libgomp.oacc-fortran/privatized-ref-2.f90:31:22: warning: ‘a.dim[0].lbound’ is used uninitialized [-Wuninitialized] 31 | A = [(3*j, j=1, 10)] | ^ [...]/libgomp.oacc-fortran/privatized-ref-2.f90:27:30: note: ‘a’ declared here 27 | integer, allocatable :: A(:) | ^ [...]/libgomp.oacc-fortran/privatized-ref-2.f90:31:22: warning: ‘a.dim[0].ubound’ is used uninitialized [-Wuninitialized] 31 | A = [(3*j, j=1, 10)] | ^ [...]/libgomp.oacc-fortran/privatized-ref-2.f90:27:30: note: ‘a’ declared here 27 | integer, allocatable :: A(:) | ^ I haven't looked into these. Grüße Thomas ----------------- Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank Thürauf