https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85141
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|6.5 |8.0 --- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Fixed for GCC 8. Doesn't seem worth backporting, since this is really ill-formed.