https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102176
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 51404 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51404&action=edit patch This brute-force approach of re-computing something like PURE_SLP_STMT minus the set of defs used in extern def SLP nodes does the trick.