Bug ID: 80104
           Summary: ICE in initialize_argument_information, at
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot
          Reporter: marxin at gcc dot
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: s390x-linux-gnu

Following test-case fails with ICF with cross-compiler:

$ cat /tmp/tmpcy3o5icn.i
a (_Complex float b)
  return *&b;
c (_Complex float b)
  return (&b)[0];

$ s390x-linux-gnu-gcc -fipa-icf-functions /tmp/tmpcy3o5icn.i
/tmp/tmpcy3o5icn.i: In function ā€˜cā€™:
/tmp/tmpcy3o5icn.i:7:1: internal compiler error: in
initialize_argument_information, at calls.c:1748
 c (_Complex float b)
0x7089ad initialize_argument_information
0x70a80b expand_call(tree_node*, rtx_def*, int)
0x8280fc expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
0x834685 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
0x8360b0 expand_assignment(tree_node*, tree_node*, bool)
0x71de0a expand_call_stmt
0x71de0a expand_gimple_stmt_1
0x71de0a expand_gimple_stmt
0x720211 expand_gimple_tailcall
0x720211 expand_gimple_basic_block
0x725a76 execute

It's probably mine.

Reply via email to