https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80104
Bug ID: 80104 Summary: ICE in initialize_argument_information, at calls.c:1748 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux-gnu Target: s390x-linux-gnu Following test-case fails with ICF with cross-compiler: $ cat /tmp/tmpcy3o5icn.i float a (_Complex float b) { return *&b; } float 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 .././../gcc/calls.c:1748 0x70a80b expand_call(tree_node*, rtx_def*, int) .././../gcc/calls.c:3275 0x8280fc expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) .././../gcc/expr.c:10825 0x834685 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*) .././../gcc/expr.c:5552 0x8360b0 expand_assignment(tree_node*, tree_node*, bool) .././../gcc/expr.c:5321 0x71de0a expand_call_stmt .././../gcc/cfgexpand.c:2656 0x71de0a expand_gimple_stmt_1 .././../gcc/cfgexpand.c:3571 0x71de0a expand_gimple_stmt .././../gcc/cfgexpand.c:3737 0x720211 expand_gimple_tailcall .././../gcc/cfgexpand.c:3784 0x720211 expand_gimple_basic_block .././../gcc/cfgexpand.c:5721 0x725a76 execute .././../gcc/cfgexpand.c:6357 It's probably mine.