https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to work| |6.0 Resolution|--- |FIXED Known to fail|6.0 | --- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> --- Fixed for 6, but the patch isn't really suitable for backporting since it's a change in behavior. Since 4.9 didn't accept the code, I'm going to close this.