https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66027
Bug ID: 66027 Summary: lto1: internal compiler error: in odr_types_equivalent_p Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: t at sharklasers dot com Target Milestone: --- Created attachment 35468 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35468&action=edit complete commandline used to link "openSUSE 13.2 (Harlequin) (x86_64)" $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=gcc5.1/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-5.1.0/configure --prefix=gcc5.1 --enable-languages=c,c++ --enable-gold=yes --enable-ld=yes --enable-lto --enable-bootstrap --disable-multilib Thread model: posix gcc version 5.1.0 (GCC) llvm[4]: Linking Release+Asserts Shared Library libclang.so <nullptr_type 0x7f717e5c92a0 decltype(nullptr) unsigned DI size <integer_cst 0x7f717f5a9bb8 type <integer_type 0x7f717f5ad150 bitsizetype> constant 64> unit size <integer_cst 0x7f717f5a9bd0 type <integer_type 0x7f717f5ad0a8 sizetype> constant 8> align 8 symtab 0 alias set 0 canonical type 0x7f717e5c92a0 pointer_to_this <pointer_type 0x7f7178ac0d20> reference_to_this <reference_type 0x7f7178e68930>> lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1543 0x807397 odr_types_equivalent_p ../../gcc-5.1.0/gcc/ipa-devirt.c:1543 0x8076ad odr_types_equivalent_p ../../gcc-5.1.0/gcc/ipa-devirt.c:1440 0x804ca1 add_type_duplicate ../../gcc-5.1.0/gcc/ipa-devirt.c:1770 0x804ca1 get_odr_type(tree_node*, bool) ../../gcc-5.1.0/gcc/ipa-devirt.c:1959 0x80642c register_odr_type(tree_node*) ../../gcc-5.1.0/gcc/ipa-devirt.c:2034 0x63876d lto_read_decls ../../gcc-5.1.0/gcc/lto/lto.c:1952 0x6394ae lto_file_finalize ../../gcc-5.1.0/gcc/lto/lto.c:2249 0x6394ae lto_create_files_from_ids ../../gcc-5.1.0/gcc/lto/lto.c:2259 0x6394ae lto_file_read ../../gcc-5.1.0/gcc/lto/lto.c:2300 0x6394ae read_cgraph_and_symbols ../../gcc-5.1.0/gcc/lto/lto.c:3005 0x6394ae lto_main() ../../gcc-5.1.0/gcc/lto/lto.c:3475