https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66180
--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- BTW gcc-5 crashes when building LLVM with lto (looks like a dup of PR66027): Linking CXX executable ../../../../bin/clang <nullptr_type 0x3fff800abda8 decltype(nullptr) unsigned DI size <integer_cst 0x3fff7f7b1158 type <integer_type 0x3fff7f7e02a0 bitsizetype> constant 64> unit size <integer_cst 0x3fff7f7b1170 type <integer_type 0x3fff7f7e01f8 sizetype> constant 8> align 8 symtab 0 alias set -1 canonical type 0x3fff7fddac98> lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1543 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.