https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82128
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Testing the attached but I expect it'll not work as the updating in cgraph_update_edges_for_call_stmt_node seems to expect a 1:1 "folding". It does look fragile as hell... I guess I'll finally go and make SSA_NAME_DEFAULT_DEF possible on anon SSA names which means we can avoid that extra stmt in folding...