https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119540
Bug ID: 119540 Summary: [15 Regression] FAIL: gfortran.dg/reduce_1.f90 -O0 execution test Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: liuhongt at gcc dot gnu.org Target Milestone: --- Target: x86-64 On x86-64, r15-9029-geb26b667518c95 gave FAIL: gfortran.dg/reduce_1.f90 -O0 execution test FAIL: gfortran.dg/reduce_1.f90 -O1 execution test FAIL: gfortran.dg/reduce_1.f90 -O2 execution test FAIL: gfortran.dg/reduce_1.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test FAIL: gfortran.dg/reduce_1.f90 -O3 -g execution test FAIL: gfortran.dg/reduce_1.f90 -Os execution test with -m32: Fortran runtime error: DIM in REDUCE intrinsic is less than 0 or greater than the rank of ARRAY Error termination. Backtrace: #0 0x804d3ba in ??? #1 0x804e12f in ??? #2 0xf793ef42 in ??? #3 0xf793f007 in ??? #4 0x8048387 in ??? #5 0xffffffff in ??? FAIL: gfortran.dg/reduce_1.f90 -O0 execution test