https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126968

--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Further information:

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}'"

Reply via email to