http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60567
Bug ID: 60567 Summary: lto1 ICE in add_symbol_to_partition, at lto/lto-partition.c:233 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Possibly related: PR56775, PR56963 and PR57715 - or not. The following code ICEs when doing with GCC 4.9: $ gcc -c -flto test13.ii $ gcc -r -nostdlib test13.o -flto lto1: internal compiler error: in add_symbol_to_partition, at lto/lto-partition.c:233 0x5b4dc4 add_symbol_to_partition ../../gcc/lto/lto-partition.c:231 0x5b4e69 add_references_to_partition ../../gcc/lto/lto-partition.c:94 0x5b4f9a add_symbol_to_partition_1 ../../gcc/lto/lto-partition.c:168 0x5b649e lto_balanced_map() ../../gcc/lto/lto-partition.c:727 0x5b08a0 do_whole_program_analysis ../../gcc/lto/lto.c:3276 0x5b08a0 lto_main() ../../gcc/lto/lto.c:3416 Testcase: #pragma implementation class EIdent { }; #pragma interface class CellInsertedListener { virtual void cellInserted( const EIdent& newCell ) = 0; }; class LayerListUpdateListener { virtual void layerRemoved( const EIdent& layerId ) = 0; }; class VwBboxCacheMaster : public CellInsertedListener, public LayerListUpdateListener { virtual void layerRemoved (const EIdent&) { } };