[Bug fortran/126940] [17 Regression] testsuite fails for libgomp.oacc-fortran/host_data-5.F90

"burnus at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126940

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
The regression only shows up when compiling for offloading, i.e. using:

gfortran -fopenacc libgomp.oacc-fortran/host_data-5.F90 -fopt-info-all-omp
--param=openacc-privatization=noisy -foffload=-fopt-info-all-omp
-foffload=--param=openacc-privatization=noisy 2>&1 |grep F90:41:|grep iftmp


→ When GCC is not configured for offloading - or when compiling with
-foffload=disable - I don't see any output.

→ However, with -foffload=nvptx-none and with -foffload=amdgcn-amdhsa, I see:

libgomp.oacc-fortran/host_data-5.F90:41:38: note: variable ‘iftmp.75’ declared
in block isn’t candidate for adjusting OpenACC privatization level: not
addressable
libgomp.oacc-fortran/host_data-5.F90:41:38: note: variable ‘iftmp.77’ declared
in block isn’t candidate for adjusting OpenACC privatization level: not
addressable
libgomp.oacc-fortran/host_data-5.F90:41:38: note: variable ‘iftmp.86’ declared
in block isn’t candidate for adjusting OpenACC privatization level: not
addressable
libgomp.oacc-fortran/host_data-5.F90:41:38: note: variable ‘iftmp.88’ declared
in block isn’t candidate for adjusting OpenACC privatization level: not
addressable
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.