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

Reply via email to