On 10/27/26 1:21 AM, Haochen Jiang wrote:
On Linux/x86_64,

d6d1dedff578726b9d0ed55d0ebc28a9dc5b543c is the first bad commit
commit d6d1dedff578726b9d0ed55d0ebc28a9dc5b543c
Author: Jerry DeLisle<[email protected]>
Date:   Sat Oct 24 10:49:03 2026 -0400

     fortran: [PR126968] ICE for wrongly guessed inferred ASSOCIATE type

caused

FAIL: gfortran.dg/associate_91.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/associate_91.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/associate_91.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/associate_91.f90   -O3 -fomit-frame-pointer -funroll-loops 
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/associate_91.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/associate_91.f90   -Os  (test for excess errors)

with GCC configured with

../../gcc/configure 
--prefix=/export/users3/haochenj/src/gcc-bisect/master/master/r17-5582/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/associate_91.f90 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gfortran.dg/associate_91.f90 
--target_board='unix{-m32\ -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.)

I am able to reproduce this here so I am working on it now.

Thanks for info.

Jerry

Reply via email to