http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57038
--- Comment #20 from Martin Liška <marxin.liska at gmail dot com> ---
Looks like the compilation goes further, but another gcc_assert is reached:
0x51f015 add_symbol_to_partition_1
../../gcc/lto/lto-partition.c:187
0x51f5ba lto_balanced_map()
../../gcc/lto/lto-partition.c:534
0x516c0e do_whole_program_analysis
../../gcc/lto/lto.c:3201
0x516c0e lto_main()
../../gcc/lto/lto.c:3341
https://github.com/marxin/gcc/blob/master/gcc/lto/lto-partition.c#L185-L186
We can either wait for your complex patch or try to debug it.
Martin