https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122052
Bug ID: 122052 Summary: SPEC CPU2017 654.roms_s fails to run correctly on AArch64 with GCC 15.1/15.2 Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: edison_chan_gz at hotmail dot com Target Milestone: --- Component: libgfortran / runtime Version: GCC 15.1 / 15.2 Platform: AArch64 (armv9.3-a), OS: Android 16 (Termux Proot Ubuntu 24.04) Description: When running SPEC CPU2017 benchmark 654.roms_s compiled with GCC 15.1/15.2 on an AArch64 system, the benchmark fails during execution with return code rc=33792. Compilation completes successfully, but the binary crashes immediately upon invocation. The issue is reproducible with the following configuration: GCC installed at /home/edison/gcc15 Compilation flags include -Ofast -march=armv9.3-a -static Fortran flags: -fallow-argument-mismatch -fall-intrinsics SPEC portability flags: -DSPEC_LP64 SPEC version: CPU2017 v1.1.9 ERROR Output: child finished: 0, pid=31857, rc=33792 error: a total of 1 children finished with errors Invalid run; unable to continue. Environment Variables: LD_LIBRARY_PATH=/home/edison/gcc15/lib64/:/home/edison/gcc15/lib/:/lib64 OMP_NUM_THREADS=1 OMP_THREAD_LIMIT=1 Steps to Reproduce: Build SPEC CPU2017 with GCC 15.1/15.2 using the provided config file (attached below). Run benchmark 654.roms_s with reference input ocean_benchmark3.in. Observe immediate failure with non-zero exit code. Expected Behavior: Benchmark should complete successfully and produce valid output. Actual Behavior: Benchmark crashes immediately with rc=33792. Additional Info: The issue does not occur on x86_64 with the same GCC version and flags. Other Fortran benchmarks (e.g., 627.cam4_s, 628.pop2_s) run successfully.