https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66621
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I believe debug/localclass1.C debug/nullptr01.C tests also suffer from this problem. Tried to grep for tests in other g++.dg/ subdirectories that have their own *.exp and it seems if the tests there match target c..1 regexp then their *.exp file seems to cycle through the -std=c++{98,11,14} or at least -std=c++{98,11} options.