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

            Bug ID: 91615
           Summary: [10 regression][armeb] ICEs since r274986
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

Since r274986 with the patch from
https://gcc.gnu.org/ml/gcc-patches/2019-08/msg02018.html, I've noticed ICEs on
armeb (arm big-endian cross compiler):

gcc.c-torture/execute/pr37573.c   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (internal compiler error)
gcc.c-torture/execute/pr37573.c   -O3 -g  (internal compiler error)
gcc.dg/vect/fast-math-pr35982.c (internal compiler error)
gcc.dg/vect/pr55857-1.c (internal compiler error)
gcc.dg/vect/pr55857-1.c -flto -ffat-lto-objects (internal compiler error)
gcc.dg/vect/pr55857-2.c (internal compiler error)
gcc.dg/vect/pr55857-2.c -flto -ffat-lto-objects (internal compiler error)
gcc.dg/vect/pr57558-2.c (internal compiler error)
gcc.dg/vect/pr57558-2.c -flto -ffat-lto-objects (internal compiler error)

--target armeb-none-linux-gnueabihf
--with-mode arm
--with-cpu cortex-a9
--with-fpu neon-fp16

For pr37573:
during RTL pass: expand
/gcc/testsuite/gcc.c-torture/execute/pr37573.c: In function 'foo':
/gcc/testsuite/gcc.c-torture/execute/pr37573.c:21:21: internal compiler error:
in gen_movv4si, at config/arm/vec-common.md:30
0x1272a4c gen_movv4si(rtx_def*, rtx_def*)
        /gcc/config/arm/vec-common.md:30
0x896e82 insn_gen_fn::operator()(rtx_def*, rtx_def*) const
        /gcc/recog.h:318
0x896e82 emit_move_insn_1(rtx_def*, rtx_def*)
        /gcc/expr.c:3694
0x897173 emit_move_insn(rtx_def*, rtx_def*)
        /gcc/expr.c:3790
0x89f055 store_expr(tree_node*, rtx_def*, int, bool, bool)
        /gcc/expr.c:5855
0x8a08c6 expand_assignment(tree_node*, tree_node*, bool)
        /gcc/expr.c:5441
0x761a54 expand_gimple_stmt_1
        /gcc/cfgexpand.c:3779
0x761a54 expand_gimple_stmt
        /gcc/cfgexpand.c:3875
0x768673 expand_gimple_basic_block
        /gcc/cfgexpand.c:5915
0x76acb6 execute
        /gcc/cfgexpand.c:6538


For fast-math-pr35982:
during RTL pass: expand
/gcc/testsuite/gcc.dg/vect/fast-math-pr35982.c: In function 'method2_int16':
/gcc/testsuite/gcc.dg/vect/fast-math-pr35982.c:18:10: internal compiler error:
in gen_movv2si, at config/arm/vec-common.md:30
0x12723cc gen_movv2si(rtx_def*, rtx_def*)
        /gcc/config/arm/vec-common.md:30
0x896e82 insn_gen_fn::operator()(rtx_def*, rtx_def*) const
        /gcc/recog.h:318
0x896e82 emit_move_insn_1(rtx_def*, rtx_def*)
        /gcc/expr.c:3694
0x897173 emit_move_insn(rtx_def*, rtx_def*)
        /gcc/expr.c:3790
0x870f41 force_reg(machine_mode, rtx_def*)
        /gcc/explow.c:655
0xb1743b expand_vec_perm_const(machine_mode, rtx_def*, rtx_def*,
int_vector_builder<poly_int<1u, long> > const&, machine_mode, rtx_def*)
        /gcc/optabs.c:5633
0x8a4f6c expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /gcc/expr.c:9589
0x893be2 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /gcc/expr.c:9948
0x8a3823 expand_normal
        /gcc/expr.h:287
0x8a3823 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /gcc/expr.c:9034
0x893be2 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /gcc/expr.c:9948
0x89d9be expand_expr
        /gcc/expr.h:281
0x89d9be expand_operands(tree_node*, tree_node*, rtx_def*, rtx_def**,
rtx_def**, expand_modifier)
        /gcc/expr.c:7878
0x8a4324 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /gcc/expr.c:8936
0x893be2 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /gcc/expr.c:9948
0x89d9be expand_expr
        /gcc/expr.h:281
0x89d9be expand_operands(tree_node*, tree_node*, rtx_def*, rtx_def**,
rtx_def**, expand_modifier)
        /gcc/expr.c:7878
0x8a2ac3 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /gcc/expr.c:8739
0x761600 expand_gimple_stmt_1
        /gcc/cfgexpand.c:3815
0x761600 expand_gimple_stmt
        /gcc/cfgexpand.c:3875


For pr55857-1.c:
during RTL pass: expand
/gcc/testsuite/gcc.dg/vect/pr55857-1.c: In function 'foo':
/gcc/testsuite/gcc.dg/vect/pr55857-1.c:13:19: internal compiler error: in
gen_movv4si, at config/arm/vec-common.md:30
0x1272a4c gen_movv4si(rtx_def*, rtx_def*)
        /gcc/config/arm/vec-common.md:30
0x896e82 insn_gen_fn::operator()(rtx_def*, rtx_def*) const
        /gcc/recog.h:318
0x896e82 emit_move_insn_1(rtx_def*, rtx_def*)
        /gcc/expr.c:3694
0x897173 emit_move_insn(rtx_def*, rtx_def*)
        /gcc/expr.c:3790
0x871f6c copy_to_mode_reg(machine_mode, rtx_def*)
        /gcc/explow.c:631
0xb0b7a1 maybe_legitimize_operand
        /gcc/optabs.c:7246
0xb0b7a1 maybe_legitimize_operands(insn_code, unsigned int, unsigned int,
expand_operand*)
        /gcc/optabs.c:7378
0xb0bb09 maybe_gen_insn(insn_code, unsigned int, expand_operand*)
        /gcc/optabs.c:7397
0xb1270a expand_binop_directly
        /gcc/optabs.c:1122
0xb10258 expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*,
int, optab_methods)
        /gcc/optabs.c:1210
0x8798ad expand_mult(machine_mode, rtx_def*, rtx_def*, rtx_def*, int, bool)
        /gcc/expmed.c:3549
0x8a478d expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /gcc/expr.c:8937
0x893be2 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /gcc/expr.c:9948
0x89d9d6 expand_expr
        /gcc/expr.h:281
0x89d9d6 expand_operands(tree_node*, tree_node*, rtx_def*, rtx_def**,
rtx_def**, expand_modifier)
        /gcc/expr.c:7879
0x8a2ac3 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /gcc/expr.c:8739
0x893be2 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /gcc/expr.c:9948
0x8a2968 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /gcc/expr.c:9247
0x893be2 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /gcc/expr.c:9948
0x89d9d6 expand_expr
        /gcc/expr.h:281

Reply via email to