https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65263
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> --- Created attachment 34922 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34922&action=edit Suggested patch There's fixed version of the patch: 1) If I see correctly, there was error in: struct cgraph_edge *nexte = e->next_callee 2) We should not remove alias if there's a thunk that wasn't redirected 3) gcc_assert must be changed for these cases Patch can run the testcase and survives FF with -O3 and -flto. Regression tests have been running. Martin