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

            Bug ID: 103061
           Summary: [12 Regression] 527.cam4_r miscompiled with -O2
                    -march=znver1 since r12-4790-g4b3a325f07acebf4
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: aldyh at gcc dot gnu.org
  Target Milestone: ---

Since the revision, the benchmark fails:

527.cam4_r: copy 0 non-zero return code (exit code=139, signal=0)

****************************************
Contents of cam4_r_peak.gcc-m64.err
****************************************
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0  0x7ffff79e279f in ???
        at
/usr/src/debug/glibc-2.34-2.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
#1  0x4cb5a4 in merge_
        at
/home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/build/build_peak_gcc-m64.0001/m_MergeSorts.fppized.f90:586
#2  0x4cb5a4 in mergesort_
        at
/home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/build/build_peak_gcc-m64.0001/m_MergeSorts.fppized.f90:562
#3  0x4cb5a4 in __m_mergesorts_MOD_dsort_
        at
/home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/build/build_peak_gcc-m64.0001/m_MergeSorts.fppized.f90:543
#4  0x4cbee2 in __m_mergesorts_MOD_dsortn_
        at
/home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/build/build_peak_gcc-m64.0001/m_MergeSorts.fppized.f90:225
#5  0x4d2cb3 in __phys_grid_MOD_phys_grid_init
        at
/home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/build/build_peak_gcc-m64.0001/phys_grid.fppized.f90:399
#6  0x75af58 in __inital_MOD_cam_initial
        at
/home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/build/build_peak_gcc-m64.0001/inital.fppized.f90:98
#7  0x7892e2 in __cam_comp_MOD_cam_init
        at
/home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/build/build_peak_gcc-m64.0001/cam_comp.fppized.f90:130
#8  0x7a4a2c in __atm_comp_mct_MOD_atm_init_mct
        at
/home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/build/build_peak_gcc-m64.0001/atm_comp_mct.fppized.f90:263
#9  0x7ea59d in __ccsm_comp_mod_MOD_ccsm_init
        at
/home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/build/build_peak_gcc-m64.0001/ccsm_comp_mod.fppized.f90:928
#10  0x40379c in ccsm_driver
        at
/home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/build/build_peak_gcc-m64.0001/ccsm_driver.fppized.f90:57
#11  0x40379c in main
        at
/home/marxin/Programming/cpu2017/benchspec/CPU/527.cam4_r/build/build_peak_gcc-m64.0001/ccsm_driver.fppized.f90:25

Reply via email to