https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093
--- Comment #10 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> --- Created attachment 45547 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45547&action=edit untested prototype patch. Not sure if this is complete yet but it gives a framework to dig further.