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

            Bug ID: 80108
           Summary: ICE in aggregate_value_p at function.c:2028
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: ppc64-linux-gnu

Following fortran test-case fails with cross compiler:

$ ppc64-linux-gnu-gfortran
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/streamio_11.f90 -m32
-mcpu=405 -mpower9-minmax -mfloat128-type

internal compiler error: Segmentation fault
0xbdc9ef crash_signal
        .././../gcc/toplev.c:337
0x90c99a aggregate_value_p(tree_node const*, tree_node const*)
        .././../gcc/function.c:2028
0x78aedf emit_library_call_value_1
        .././../gcc/calls.c:4455
0x79156f emit_library_call_value(rtx_def*, rtx_def*, libcall_type,
machine_mode, int, ...)
        .././../gcc/calls.c:5159
0x8b1a90 convert_move(rtx_def*, rtx_def*, int)
        .././../gcc/expr.c:314
0x8b208d convert_modes(machine_mode, machine_mode, rtx_def*, int)
        .././../gcc/expr.c:685
0xae4dc2 prepare_operand(insn_code, rtx_def*, int, machine_mode, machine_mode,
int)
        .././../gcc/optabs.c:3963
0xae4fda prepare_cmp_insn
        .././../gcc/optabs.c:3873
0xae5a35 emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*,
machine_mode, int, rtx_def*, int)
        .././../gcc/optabs.c:4051
0x81aa5c do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,
machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, int)
        .././../gcc/dojump.c:1145
0x81b9d9 do_compare_and_jump
        .././../gcc/dojump.c:1224
0x81d69b do_jump_1(tree_code, tree_node*, tree_node*, rtx_code_label*,
rtx_code_label*, int)
        .././../gcc/dojump.c:253
0x7a3554 expand_gimple_cond
        .././../gcc/cfgexpand.c:2479
0x7a3554 expand_gimple_basic_block
        .././../gcc/cfgexpand.c:5612
0x7a7d46 execute
        .././../gcc/cfgexpand.c:6357

Reply via email to