https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65844
Bug ID: 65844 Summary: [5 Regression] ICE (verify_cgraph_node failed) on i686-linux-gnu Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org seen with 5.1 rc2 on i686-linux-gnu, works on x86_64, arm, ppc64le, arm64, powerpc. building python 3.5 alpha 4 with lto and pgo (using the testsuite to collect the perf data): lto1: error: indirect call frequency 1001 does not match BB frequency 1000 bytes_dealloc/5157 (bytes_dealloc) @0xf6b660e4 Type: function definition analyzed Visibility: prevailing_def_ironly previous sharing asm name: 57969 Address is taken. References: Referring: PyBytes_Type/5273 (addr)_textiowrapper_writeflush/54957 (addr) (speculative)code_dealloc/6404 (addr) (speculative)_io_FileIO___init___impl/53523 (addr) (speculative)match_dealloc/48926 (addr) (speculative)os_stat/46510 (addr) (speculative)PyBuffer_Release/59115 (addr) (speculative)bytesio_dealloc/59792 (addr) (speculative)_Pickler_ClearBuffer/39048 (addr) (speculative)s_dealloc/37732 (addr) (speculative)assemble_free/22984 (addr) (speculative)code_dealloc/6404 (addr) (speculative)decode_unicode.isra.8/21159 (addr) (speculative) Availability: available Profile id: 1495503281 First run: 402 Function flags: body icf_merged hot Called by: Calls: Indirect call(1.00 per call) lto1: internal compiler error: verify_cgraph_node failed 0x82a24dc cgraph_node::verify_node() ../../src/gcc/cgraph.c:3151 0x8296e88 symtab_node::verify() ../../src/gcc/symtab.c:1103 0x82982a4 symtab_node::verify_symtab_nodes() ../../src/gcc/symtab.c:1123 0x84cd553 symbol_table::remove_unreachable_nodes(_IO_FILE*) ../../src/gcc/ipa.c:686 0x8596895 execute_todo ../../src/gcc/passes.c:2025 Please submit a full bug report, with preprocessed source if appropriate.