http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58285
Bug ID: 58285 Summary: ICE in lto_output_tree, at lto-streamer-out.c:1318 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: jan.sm...@alcatel-lucent.com Compile with -flto , must use mips triplet. extern "C" { extern "C" { typedef int BOOL; typedef int STATUS; typedef struct slnode { } SL_LIST; extern "C" { typedef struct { } MEM_HANDLE; } } typedef struct hashtbl { } H_NODE_INT; typedef struct { } MODULE; typedef MODULE *MODULE_ID; extern "C" { } typedef struct symtab { } SYMTAB; typedef SYMTAB *SYMTAB_ID; extern "C" { extern "C" { extern "C" { extern "C" { typedef struct BOOT_PARAMS { int (*ioctl) ( ); }; } } } } typedef struct wdb_info { } SPL; } BOOL findXtors ( ) { } extern "C" STATUS cplusLoadFixup ( MODULE_ID module, SYMTAB_ID symTab ) { { } }