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

            Bug ID: 108754
           Summary: [13 Regression] multiple testsuite errors with
                    r13-5761-g10827a92f1a8c3
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hp at gcc dot gnu.org
                CC: vmakarov at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: cris-elf

I've pin-pointed r13-5761-g10827a92f1a8c3 as the cause of these test-suite
regressions for cris-elf:

gcc.sum gcc.c-torture/execute/960215-1.c
gcc.sum gcc.c-torture/execute/ieee/mzero3.c
gcc.sum gcc.c-torture/execute/pr69447.c
gcc.sum gcc.c-torture/execute/regstack-1.c
gfortran.sum gfortran.dg/bind-c-contiguous-3.f90
gfortran.sum gfortran.dg/c-interop/cf-out-descriptor-4.f90
gfortran.sum gfortran.dg/class_allocate_22.f90
gfortran.sum gfortran.dg/func_derived_1.f90
gfortran.sum gfortran.dg/inline_matmul_14.f90
gfortran.sum gfortran.dg/ptr_func_assign_1.f08

IOW:
gcc:
Running /x/gcc/testsuite/gcc.c-torture/execute/execute.exp ...
FAIL: gcc.c-torture/execute/960215-1.c   -O2  execution test
FAIL: gcc.c-torture/execute/960215-1.c   -O3 -g  execution test
FAIL: gcc.c-torture/execute/960215-1.c   -Os  execution test
FAIL: gcc.c-torture/execute/960215-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: gcc.c-torture/execute/pr69447.c   -O2  execution test
FAIL: gcc.c-torture/execute/pr69447.c   -O3 -g  execution test
FAIL: gcc.c-torture/execute/pr69447.c   -Os  execution test
FAIL: gcc.c-torture/execute/pr69447.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: gcc.c-torture/execute/regstack-1.c   -O2  execution test
FAIL: gcc.c-torture/execute/regstack-1.c   -O3 -g  execution test
FAIL: gcc.c-torture/execute/regstack-1.c   -Os  execution test
FAIL: gcc.c-torture/execute/regstack-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
Running /x/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp ...
FAIL: gcc.c-torture/execute/ieee/mzero3.c execution,  -O2
FAIL: gcc.c-torture/execute/ieee/mzero3.c execution,  -O3 -g
FAIL: gcc.c-torture/execute/ieee/mzero3.c execution,  -Os
FAIL: gcc.c-torture/execute/ieee/mzero3.c execution,  -O2 -flto
-fno-use-linker-plugin -flto-partition=none

gfortran:
Running /x/gcc/testsuite/gfortran.dg/c-interop/c-interop.exp ...
[...]
FAIL: gfortran.dg/c-interop/cf-out-descriptor-4.f90   -O3 -g  execution test
[...]
Running /x/gcc/testsuite/gfortran.dg/dg.exp ...
[...]
FAIL: gfortran.dg/bind-c-contiguous-3.f90   -O1  execution test
FAIL: gfortran.dg/bind-c-contiguous-3.f90   -O2  execution test
FAIL: gfortran.dg/bind-c-contiguous-3.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/bind-c-contiguous-3.f90   -O3 -g  execution test
FAIL: gfortran.dg/bind-c-contiguous-3.f90   -Os  execution test
[...]
FAIL: gfortran.dg/class_allocate_22.f90   -O2  execution test
FAIL: gfortran.dg/class_allocate_22.f90   -O3 -g  execution test
[...]
FAIL: gfortran.dg/func_derived_1.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  execution test
FAIL: gfortran.dg/func_derived_1.f90   -O3 -g  execution test
FAIL: gfortran.dg/inline_matmul_14.f90   -O3 -fomit-frame-pointer
-funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
[...]
FAIL: gfortran.dg/ptr_func_assign_1.f08   -O1  execution test
FAIL: gfortran.dg/ptr_func_assign_1.f08   -Os  execution test

Being execution errors, gcc.log doesn't tell anything besides abort being
called.

Judging from the patch, the failing tests and the tested target-list (in
particular, their difference to cris-elf), maybe libcalls aren't handled
properly.  The previously pushed (and reverted) version caused the same (or a
very similar set of) regressions.  Will look closer.

Reply via email to