[Bug other/102938] New: [12 regression] ICE in fortran test cases after r12-4240

seurer at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 25 21:23:53 GMT 2021


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

            Bug ID: 102938
           Summary: [12 regression] ICE in fortran test cases after
                    r12-4240
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:2b8453c401b699ed93c085d0413ab4b5030bcdb8, r12-4240

I am seeing these on a power10 machine but they don't ICE on power 9 nor power
8.

FAIL: gfortran.dg/intrinsic_modulo_1.f90   -O2  (internal compiler error)
FAIL: gfortran.dg/intrinsic_modulo_1.f90   -O2  (test for excess errors)
FAIL: libgomp.fortran/parloops-exit-first-loop-alt-2.f95   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
(internal compiler error)
FAIL: libgomp.fortran/parloops-exit-first-loop-alt-2.f95   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
(test for excess errors)
FAIL: libgomp.fortran/parloops-exit-first-loop-alt.f95   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
(internal compiler error)
FAIL: libgomp.fortran/parloops-exit-first-loop-alt.f95   -O3
-fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
(test for excess errors)


spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../gfortran
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/gfortran/../../
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/intrinsic_modulo_1.f90
-fdiagnostics-plain-output -fdiagnostics-plain-output -O2 -pedantic-errors
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgfortran/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libatomic/.libs
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libquadmath/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libquadmath/.libs
-lm -o ./intrinsic_modulo_1.exe
during RTL pass: expand
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/intrinsic_modulo_1.f90:21:32:
internal compiler error: in prepare_cmp_insn, at optabs.c:4532
0x10ac73eb prepare_cmp_insn
        /home/seurer/gcc/git/gcc-test/gcc/optabs.c:4532
0x10ac7567 emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*,
machine_mode, int, rtx_def*, profile_probability)
        /home/seurer/gcc/git/gcc-test/gcc/optabs.c:4677
0x106297a7 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,
machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, profile_probability)
        /home/seurer/gcc/git/gcc-test/gcc/dojump.c:1220
0x10707fdf do_cmp_and_jump
        /home/seurer/gcc/git/gcc-test/gcc/expmed.c:6345
0x10707fdf expand_divmod(int, tree_code, machine_mode, rtx_def*, rtx_def*,
rtx_def*, int, optab_methods)
        /home/seurer/gcc/git/gcc-test/gcc/expmed.c:4864
0x1070be9b expand_expr_divmod
        /home/seurer/gcc/git/gcc-test/gcc/expr.c:8945
0x10735a2b expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /home/seurer/gcc/git/gcc-test/gcc/expr.c:9582
0x1071b8b3 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /home/seurer/gcc/git/gcc-test/gcc/expr.c:10519
0x1072afe7 store_expr(tree_node*, rtx_def*, int, bool, bool)
        /home/seurer/gcc/git/gcc-test/gcc/expr.c:6103
0x1072d57f expand_assignment(tree_node*, tree_node*, bool)
        /home/seurer/gcc/git/gcc-test/gcc/expr.c:5835
0x1055dd0f expand_gimple_stmt_1
        /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:3942
0x1055dd0f expand_gimple_stmt
        /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:4040
0x10566d9b expand_gimple_basic_block
        /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:6082
0x10569d2b execute
        /home/seurer/gcc/git/gcc-test/gcc/cfgexpand.c:6808



commit 2b8453c401b699ed93c085d0413ab4b5030bcdb8 (HEAD, refs/bisect/bad)
Author: liuhongt <hongtao.liu@intel.com>
Date:   Mon Sep 6 13:48:49 2021 +0800

    Enable auto-vectorization at O2 with very-cheap cost model.


More information about the Gcc-bugs mailing list