https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53025
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- I think this is a question for CWG. EDG matches G++ on your testcases.