https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63576
--- Comment #11 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- And if I try the obvious fix: 637 else if (e2 && e2->speculative) I hit the assert in ipa-inline.c later on: lto1: internal compiler error: in edge_badness, at ipa-inline.c:912 0x100bf73 edge_badness ../../gcc/gcc/ipa-inline.c:912 0x100f005 update_edge_key ../../gcc/gcc/ipa-inline.c:1038 0x100f005 inline_small_functions ../../gcc/gcc/ipa-inline.c:1608 0x10117ba ipa_inline ../../gcc/gcc/ipa-inline.c:2179 0x10117ba execute ../../gcc/gcc/ipa-inline.c:2551 Please submit a full bug report, with preprocessed source if appropriate.