On Linux/x86_64, 29b1587e7d34667a1fd63071c1e4f5475cd71026 is the first bad commit commit 29b1587e7d34667a1fd63071c1e4f5475cd71026 Author: Tobias Burnus <tbur...@baylibre.com> Date: Mon Jul 29 11:46:57 2024 +0200
OpenMP/Fortran: Fix handling of 'declare target' with 'link' clause [PR115559] caused FAIL: gfortran.dg/compiler-directive_2.f -O (test for errors, line 8) FAIL: gfortran.dg/compiler-directive_2.f -O (test for excess errors) with GCC configured with ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-bisect/master/master/r15-2378/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}/gcc && make check RUNTESTFLAGS="dg.exp=gfortran.dg/compiler-directive_2.f --target_board='unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gfortran.dg/compiler-directive_2.f --target_board='unix{-m32\ -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.)