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

            Bug ID: 91003
           Summary: ICE when compiling LAPACK (CGEGV) with optimization
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kristopher.kuhlman at gmail dot com
  Target Milestone: ---

Latest version of gfortran gives error and ICE when compiling CGEGV from LAPACK
using the following command line (from petsc build). 

home/klkuhlm/src/petsc/tgcc-c-perf/bin/mpif90 -c -Wall -ffree-line-length-0
-Wno-unused-dummy-argument -Ofast -march=native 

This same thing worked with the trunk version of the compiler from a month or
so ago.  It also works with this same compiler without optimizations turned on.

Kris

--

cgegv.f:282:0:

  282 |       SUBROUTINE CGEGV( JOBVL, JOBVR, N, A, LDA, B, LDB, ALPHA, BETA,
      | 
Error: type mismatch in ‘vec_cond_expr’
vector(8) unsigned int
vector(8) <unnamed type>
vector(8) <unnamed type>
vect_ilimit_186.167_852 = VEC_COND_EXPR <mask__318.156_175, vect_cst__849,
vect_cst__851>;
cgegv.f:282:0: Error: type mismatch in ‘vec_cond_expr’
vector(8) unsigned int
vector(8) <unnamed type>
vector(8) <unnamed type>
vect_ilimit_186.167_853 = VEC_COND_EXPR <mask__318.156_174, vect_cst__848,
vect_cst__850>;
during GIMPLE pass: vect
cgegv.f:282:0: internal compiler error: verify_gimple failed
0xe3bcd1 verify_gimple_in_cfg(function*, bool)
        ../../gcc-trunk/gcc/tree-cfg.c:5426
0xd19cbf execute_function_todo
        ../../gcc-trunk/gcc/passes.c:1963
0xd1abee execute_todo
        ../../gcc-trunk/gcc/passes.c:2017
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to