https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83300
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Jason Merrill from comment #3) > (In reply to Jakub Jelinek from comment #2) > > Created attachment 42801 [details] > > gcc8-pr83300.patch > > > > Completely untested patch. > > OK. Unfortunately it breaks +FAIL: g++.dg/cpp0x/alias-decl-59.C -std=c++11 (test for warnings, line 11) +FAIL: g++.dg/cpp0x/alias-decl-59.C -std=c++11 (test for warnings, line 8) +FAIL: g++.dg/cpp0x/alias-decl-59.C -std=c++11 (internal compiler error) +FAIL: g++.dg/cpp0x/alias-decl-59.C -std=c++11 (test for excess errors) +FAIL: g++.dg/cpp0x/alias-decl-59.C -std=c++14 (test for warnings, line 11) +FAIL: g++.dg/cpp0x/alias-decl-59.C -std=c++14 (test for warnings, line 8) +FAIL: g++.dg/cpp0x/alias-decl-59.C -std=c++14 (internal compiler error) +FAIL: g++.dg/cpp0x/alias-decl-59.C -std=c++14 (test for excess errors) so back to the drawing board.