https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119460
Bug ID: 119460 Summary: gfortran.dg/reduce_1.f90 FAILs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: pault at gcc dot gnu.org Target Milestone: --- Target: i386-pc-solaris2.11, sparc-sun-solaris2.11 The new gfortran.dg/reduce_1.f90 test FAILs on Solaris/SPARC and x86, both 32 and 64-bit: +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 Fortran runtime error: DIM in REDUCE intrinsic is less than 0 or greater than the rank of ARRAY Error termination. Backtrace: