https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64465
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> --- I get different ICE as attached. it is previously semi-latent bug exposed by different inlining decisions. /aux/hubicka/t.c: In function �do_test�: /aux/hubicka/t.c:25:7: internal compiler error: in gimple_op_ptr, at gimple.h:2276 int fd = open ("/dev/null", 3); ^ 0xdc53bf gimple_op_ptr ../../gcc/gimple.h:2276 0xdc5dc6 gimple_call_arg_ptr ../../gcc/gimple.h:2858 0xdcf898 copy_bb ../../gcc/tree-inline.c:1889 0xdd2416 copy_cfg_body ../../gcc/tree-inline.c:2710 0xdd2f22 copy_body ../../gcc/tree-inline.c:2947 0xdd72e6 expand_call_inline ../../gcc/tree-inline.c:4616 0xdd7a08 gimple_expand_calls_inline ../../gcc/tree-inline.c:4752 0xdd7fff optimize_inline_calls(tree_node*) ../../gcc/tree-inline.c:4893 0x16ace2c inline_transform(cgraph_node*) ../../gcc/ipa-inline-transform.c:507 0xc45c50 execute_one_ipa_transform_pass ../../gcc/passes.c:2176 0xc45db9 execute_all_ipa_transforms() ../../gcc/passes.c:2217 0x86c8d6 cgraph_node::expand() ../../gcc/cgraphunit.c:1791 0x86cf43 expand_all_functions ../../gcc/cgraphunit.c:1934 0x86da7c symbol_table::compile() ../../gcc/cgraphunit.c:2284 0x86dc2d symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2361 0x6c751d c_write_global_declarations() ../../gcc/c/c-decl.c:10778