https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70979
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Created attachment 40730 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40730&action=edit fix Here's a fix; I'm inclined to hold it for GCC 8, now that the trunk is in regression-only mode.