Hi Haochen, Try removing lines 37-41 since these are precisely the bogus warnings that the patch is meant to eliminate.
Regards Paul On Thu, 18 Jul 2024 at 14:38, haochen.jiang <haoch...@ecsmtp.sh.intel.com> wrote: > On Linux/x86_64, > > c3aa339ea50f050caf7ed2e497f5499ec2d7b9cc is the first bad commit > commit c3aa339ea50f050caf7ed2e497f5499ec2d7b9cc > Author: Paul Thomas <pa...@gcc.gnu.org> > Date: Thu Jul 18 08:51:35 2024 +0100 > > Fortran: Suppress bogus used uninitialized warnings [PR108889]. > > caused > > FAIL: libgomp.oacc-fortran/privatized-ref-2.f90 -DACC_DEVICE_TYPE_host=1 > -DACC_MEM_SHARED=1 -foffload=disable -O0 at line 32 (test for warnings, > line 31) > FAIL: libgomp.oacc-fortran/privatized-ref-2.f90 -DACC_DEVICE_TYPE_host=1 > -DACC_MEM_SHARED=1 -foffload=disable -O1 at line 32 (test for warnings, > line 31) > FAIL: libgomp.oacc-fortran/privatized-ref-2.f90 -DACC_DEVICE_TYPE_host=1 > -DACC_MEM_SHARED=1 -foffload=disable -O2 at line 32 (test for warnings, > line 31) > FAIL: libgomp.oacc-fortran/privatized-ref-2.f90 -DACC_DEVICE_TYPE_host=1 > -DACC_MEM_SHARED=1 -foffload=disable -O3 -fomit-frame-pointer > -funroll-loops -fpeel-loops -ftracer -finline-functions at line 32 (test > for warnings, line 31) > FAIL: libgomp.oacc-fortran/privatized-ref-2.f90 -DACC_DEVICE_TYPE_host=1 > -DACC_MEM_SHARED=1 -foffload=disable -O3 -g at line 32 (test for > warnings, line 31) > FAIL: libgomp.oacc-fortran/privatized-ref-2.f90 -DACC_DEVICE_TYPE_host=1 > -DACC_MEM_SHARED=1 -foffload=disable -Os at line 32 (test for warnings, > line 31) > > with GCC configured with > > ../../gcc/configure > --prefix=/export/users/haochenj/src/gcc-bisect/master/master/r15-2135/usr > --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld > --with-fpmath=sse --enable-languages=c,c++,fortran --enable-cet > --without-isl --enable-libmpx x86_64-linux --disable-bootstrap > > To reproduce: > > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check > RUNTESTFLAGS="fortran.exp=libgomp.oacc-fortran/privatized-ref-2.f90 > --target_board='unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check > RUNTESTFLAGS="fortran.exp=libgomp.oacc-fortran/privatized-ref-2.f90 > --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check > RUNTESTFLAGS="fortran.exp=libgomp.oacc-fortran/privatized-ref-2.f90 > --target_board='unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check > RUNTESTFLAGS="fortran.exp=libgomp.oacc-fortran/privatized-ref-2.f90 > --target_board='unix{-m64\ -march=cascadelake}'" > > (Please do not reply to this email, for question about this report, > contact me at haochen dot jiang at intel.com.) > (If you met problems with cascadelake related, disabling AVX512F in > command line might save that.) > (However, please make sure that there is no potential problems with > AVX512.) >