https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117801
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 59720 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59720&action=edit prototype Like this. Note it seems to miscompile some cases, so more investigation is needed (maybe we can't just return NULL from get_gimple_for_ssa_name).