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

            Bug ID: 108908
           Summary: [13 regression] r13-6278-g3da77f217c8b20 causes ICE
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:3da77f217c8b2089ecba3eb201e727c3fcdcd19d, r13-6278-g3da77f217c8b20

This causes an ICE when compiling one of the SPEC 2017 test cases.

/home/seurer/gcc/git/install/gcc-test/bin/gfortran -c -o
module_ra_rrtm.fppized.o -I. -I./netcdf/include -I./inc -m64 -O3 -mcpu=power9
-ffast-math -funroll-loops -fpeel-loops -fvect-cost-model -mpopcntd
-mrecip=rsqrt -Wno-deprecated-declarations -fconvert=big-endian -std=legacy
-fno-finite-math-only module_ra_rrtm.fppized.f90
f951: Warning: '-mrecip' requires '-ffinite-math' or '-ffast-math'
module_ra_rrtm.fppized.f90:6853:35:
 6791 |       CALL wrf_dm_bcast_bytes ( rrtm_unit , 4 )
      |                                2
......
 6853 |          CALL wrf_dm_bcast_bytes ( abscoefL1 , size ( abscoefL1 ) * 4 )
      |                                   1
Warning: Type mismatch between actual argument at (1) and actual argument at
(2) (REAL(4)/INTEGER(4)).
module_ra_rrtm.fppized.f90:6051:24:
 6051 |       SUBROUTINE
TAUGB16(kts,ktep1,COLH2O,COLCH4,FAC00,FAC01,FAC10,FAC11,    &
      |                        ^
Error: definition in block 5 follows the use
for SSA_NAME: _764 in statement:
_735 = .MASK_CALL (__builtin_fmodf, _731, 1.0e+0, _764);
during GIMPLE pass: ifcvt
module_ra_rrtm.fppized.f90:6051:24: internal compiler error: verify_ssa failed
0x110cc0c3 verify_ssa(bool, bool)
        /home/seurer/gcc/git/gcc-test/gcc/tree-ssa.cc:1211
0x10c12093 execute_function_todo
        /home/seurer/gcc/git/gcc-test/gcc/passes.cc:2098
0x10c12f8b do_per_function
        /home/seurer/gcc/git/gcc-test/gcc/passes.cc:1694
0x10c1319b execute_todo
        /home/seurer/gcc/git/gcc-test/gcc/passes.cc:2145
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.


commit 3da77f217c8b2089ecba3eb201e727c3fcdcd19d (HEAD)
Author: Andrew Stubbs <a...@codesourcery.com>
Date:   Thu Jul 28 16:07:22 2022 +0100

    vect: inbranch SIMD clones

Reply via email to