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

            Bug ID: 111590
           Summary: RISC-V: Multiple ICE in gfortran regression with 'V'
                    Extension enabled
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juzhe.zhong at rivai dot ai
  Target Milestone: ---

FAIL: gfortran.dg/assumed_rank_24.f90   -O2  (internal compiler error: in
smallest_mode_for_size, at stor-layout.cc:356)
FAIL: gfortran.dg/assumed_rank_24.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/assumed_rank_24.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
smallest_mode_for_size, at stor-layout.cc:356)
FAIL: gfortran.dg/assumed_rank_24.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/assumed_rank_24.f90   -O3 -g  (internal compiler error: in
smallest_mode_for_size, at stor-layout.cc:356)
FAIL: gfortran.dg/assumed_rank_24.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/class_to_type_1.f03   -O2  (internal compiler error: in
smallest_mode_for_size, at stor-layout.cc:356)
FAIL: gfortran.dg/class_to_type_1.f03   -O2  (test for excess errors)
FAIL: gfortran.dg/class_to_type_1.f03   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
smallest_mode_for_size, at stor-layout.cc:356)
FAIL: gfortran.dg/class_to_type_1.f03   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/class_to_type_1.f03   -O3 -g  (internal compiler error: in
smallest_mode_for_size, at stor-layout.cc:356)
FAIL: gfortran.dg/class_to_type_1.f03   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/class_array_4.f03   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/cshift_bounds_4.f90   -O2  (internal compiler error: in
smallest_mode_for_size, at stor-layout.cc:356)
FAIL: gfortran.dg/cshift_bounds_4.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/cshift_bounds_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error: in
smallest_mode_for_size, at stor-layout.cc:356)
FAIL: gfortran.dg/cshift_bounds_4.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/cshift_bounds_4.f90   -O3 -g  (internal compiler error: in
smallest_mode_for_size, at stor-layout.cc:356)
FAIL: gfortran.dg/cshift_bounds_4.f90   -O3 -g  (test for excess errors)

One of the case:

program main
  integer, dimension(:,:), allocatable :: a, b
  integer, dimension(:), allocatable :: sh
  allocate (a(2,2))
  allocate (b(2,2))
  allocate (sh(3))
  a = 1
  b = cshift(a,sh)
end program main

Reply via email to