https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63576
--- Comment #10 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Unfortunately your patch dosen't work: lto1: internal compiler error: Segmentation fault 0xa12f6f crash_signal ../../gcc/gcc/toplev.c:381 0x88b190 ipa_merge_profiles(cgraph_node*, cgraph_node*) ../../gcc/gcc/ipa-utils.c:637 0x603722 lto_cgraph_replace_node ../../gcc/gcc/lto/lto-symtab.c:124 0x604cf3 lto_symtab_merge_symbols_1 ../../gcc/gcc/lto/lto-symtab.c:619 0x604cf3 lto_symtab_merge_symbols() ../../gcc/gcc/lto/lto-symtab.c:647 0x5fa52e read_cgraph_and_symbols ../../gcc/gcc/lto/lto.c:3109 0x5fa52e lto_main() ../../gcc/gcc/lto/lto.c:3436 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instruction