https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92268
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> --- Created attachment 47136 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47136&action=edit patch for the simple case This untested patch fixes my testcase and Jon's, though not the more complex case. Not working on this anymore.