[r16-5778 Regression] FAIL: gfortran.dg/ISO_Fortran_binding_17.f90 -Os (test for excess errors) on Linux/x86_64

Haochen Jiang via Gcc-regression <[email protected]>
Newsgroups gmane.comp.gcc.regression,gmane.comp.gcc.patches
Message-ID <[email protected]>
On Linux/x86_64,

9f1ae12f0ee0d3cebb7a5249b7f741c51c5934a0 is the first bad commit
commit 9f1ae12f0ee0d3cebb7a5249b7f741c51c5934a0
Author: Jose E. Marchesi <[email protected]>
Date:   Sat Nov 29 16:57:51 2025 +0100

    a68: build system changes

caused

FAIL: gfortran.dg/c-interop/allocate-errors.f90   -O0   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/allocate-errors.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/c-interop/allocate-errors.f90   -O1   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/allocate-errors.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/c-interop/allocate-errors.f90   -O2   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/allocate-errors.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/c-interop/allocate-errors.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/allocate-errors.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/c-interop/allocate-errors.f90   -O3 -g   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/allocate-errors.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/c-interop/allocate-errors.f90   -Os   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/allocate-errors.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/c-interop/establish-errors.f90   -O0   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/establish-errors.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/c-interop/establish-errors.f90   -O1   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/establish-errors.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/c-interop/establish-errors.f90   -O2   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/establish-errors.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/c-interop/establish-errors.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/establish-errors.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/c-interop/establish-errors.f90   -O3 -g   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/establish-errors.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/c-interop/establish-errors.f90   -Os   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/establish-errors.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/c-interop/section-errors.f90   -O0   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/section-errors.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/c-interop/section-errors.f90   -O1   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/section-errors.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/c-interop/section-errors.f90   -O2   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/section-errors.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/c-interop/section-errors.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/section-errors.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/c-interop/section-errors.f90   -O3 -g   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/section-errors.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/c-interop/section-errors.f90   -Os   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/section-errors.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/c-interop/select-errors.f90   -O0   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/select-errors.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/c-interop/select-errors.f90   -O1   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/select-errors.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/c-interop/select-errors.f90   -O2   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/select-errors.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/c-interop/select-errors.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/select-errors.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/c-interop/select-errors.f90   -O3 -g   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/select-errors.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/c-interop/select-errors.f90   -Os   at line 4 (test for warnings, line )
FAIL: gfortran.dg/c-interop/select-errors.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -O0   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -O1   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -O2   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -O3 -g   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -Os   at line 5 (test for warnings, line )
FAIL: gfortran.dg/c-interop/setpointer-errors.f90   -Os  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -O0   at line 4 (test for warnings, line )
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -O1   at line 4 (test for warnings, line )
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -O2   at line 4 (test for warnings, line )
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions   at line 4 (test for warnings, line )
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -O3 -g   at line 4 (test for warnings, line )
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -Os   at line 4 (test for warnings, line )
FAIL: gfortran.dg/ISO_Fortran_binding_17.f90   -Os  (test for excess errors)

with GCC configured with

../../gcc/configure --prefix=/export/users3/haochenj/src/gcc-bisect/master/master/r16-5778/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="c-interop.exp=gfortran.dg/c-interop/allocate-errors.f90 --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/allocate-errors.f90 --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/allocate-errors.f90 --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/allocate-errors.f90 --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/establish-errors.f90 --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/establish-errors.f90 --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/establish-errors.f90 --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/establish-errors.f90 --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/section-errors.f90 --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/section-errors.f90 --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/section-errors.f90 --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/section-errors.f90 --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/select-errors.f90 --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/select-errors.f90 --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/select-errors.f90 --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/select-errors.f90 --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/setpointer-errors.f90 --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/setpointer-errors.f90 --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/setpointer-errors.f90 --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="c-interop.exp=gfortran.dg/c-interop/setpointer-errors.f90 --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gfortran.dg/ISO_Fortran_binding_17.f90 --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gfortran.dg/ISO_Fortran_binding_17.f90 --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gfortran.dg/ISO_Fortran_binding_17.f90 --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gfortran.dg/ISO_Fortran_binding_17.f90 --target_board='unix{-m64\ -march=cascadelake}'"

(Please directly reply to this email for question about this report.)
(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.)
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.