diff --git a/notify/configure-toolchain.txt b/notify/configure-toolchain.txt
index 374d98faf..aa3a008e1 100644
--- a/notify/configure-toolchain.txt
+++ b/notify/configure-toolchain.txt
@@ -3,44 +3,3 @@ Most relevant configure and test flags: --target arm-eabi --disable-multilib --w
 
 Full configure and make flags for each step:
 
-# 03-build_abe-binutils
-(cd /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/binutils-binutils.git~master && /bin/bash /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/binutils.git~master/configure SHELL=/bin/bash  --enable-lto --enable-plugins --enable-gold --disable-werror CPPFLAGS=-UFORTIFY_SOURCE --with-pkgversion=Linaro_Binutils-2025.06.02 --disable-gdb --disable-gdbserver --disable-sim --disable-libdecnumber --disable-readline --with-sysroot=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu/arm-eabi --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-eabi --prefix=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu)
-make SHELL=/bin/bash -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/binutils-binutils.git~master  -j 32 LDFLAGS_FOR_TARGET=" --specs=rdimon.specs"  CFLAGS_FOR_BUILD="-pipe -g -O2" CXXFLAGS_FOR_BUILD="-pipe -g -O2" LDFLAGS_FOR_BUILD="-static-libgcc" 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/binutils-binutils.git~master/make-binutils.log
-make install  -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/binutils-binutils.git~master 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/binutils-binutils.git~master/make-binutils.log
-
-# 04-build_abe-stage1
-(cd /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage1 && /bin/bash /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/configure SHELL=/bin/bash  --with-mpc=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu --with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto --enable-shared --without-included-gettext --enable-nls --with-system-zlib --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long --with-cloog=no --with-ppl=no --with-isl=no --enable-threads=no --disable-multiarch --disable-multilib --with-mode=thumb --with-arch=armv8-a+simd --with-fpu=crypto-neon-fp-armv8 --with-float=hard --disable-libssp --disable-libquadmath --disable-threads --without-headers --with-newlib --disable-libmudflap --disable-decimal-float --disable-libgomp --disable-libatomic --disable-libsanitizer --disable-plugins --disable-libitm --disable-libvtv --disable-shared --enable-languages=c,c++ --disable-libstdcxx --disable-bootstrap --prefix=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu  --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-eabi)
-make SHELL=/bin/bash -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage1  -j 32 LDFLAGS_FOR_TARGET=" --specs=rdimon.specs"  CFLAGS_FOR_BUILD="-pipe -g -O2" CXXFLAGS_FOR_BUILD="-pipe -g -O2" LDFLAGS_FOR_BUILD="-static-libgcc" MAKEINFOFLAGS=--force 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage1/make-gcc-stage1.log
-make install  -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage1 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage1/make-gcc-stage1.log
-
-# 06-build_abe-newlib
-(cd /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/newlib-newlib.git~master && /bin/bash /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/newlib.git~master/configure SHELL=/bin/bash  --with-newlib --enable-newlib-io-pos-args --enable-newlib-io-c99-formats --enable-newlib-register-fini --enable-newlib-io-long-long --enable-newlib-io-long-double --enable-newlib-mb --disable-newlib-supplied-syscalls --disable-nls --enable-newlib-multithread --enable-newlib-retargetable-locking --enable-newlib-reent-check-verify --host=x86_64-pc-linux-gnu --target=arm-eabi --prefix=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu)
-make SHELL=/bin/bash -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/newlib-newlib.git~master  -j 32 LDFLAGS_FOR_TARGET=" --specs=rdimon.specs"  CFLAGS_FOR_BUILD="-pipe -g -O2" CXXFLAGS_FOR_BUILD="-pipe -g -O2" LDFLAGS_FOR_BUILD="-static-libgcc" 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/newlib-newlib.git~master/make-newlib.log
-make install  -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/newlib-newlib.git~master 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/newlib-newlib.git~master/make-newlib.log
-
-# 07-build_abe-stage2
-(cd /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2 && /bin/bash /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/configure SHELL=/bin/bash  --with-mpc=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu --with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto --enable-shared --without-included-gettext --enable-nls --with-system-zlib --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long --with-cloog=no --with-ppl=no --with-isl=no --enable-threads=no --disable-multiarch --disable-multilib --with-mode=thumb --with-arch=armv8-a+simd --with-fpu=crypto-neon-fp-armv8 --with-float=hard --with-sysroot=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu/arm-eabi --with-headers=yes --with-native-system-header-dir=/include --with-newlib --enable-checking=yes --disable-bootstrap --enable-languages=c,c++,lto --prefix=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu  --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-eabi)
-make SHELL=/bin/bash -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2  -j 32 LDFLAGS_FOR_TARGET=" --specs=rdimon.specs"  CFLAGS_FOR_BUILD="-pipe -g -O2" CXXFLAGS_FOR_BUILD="-pipe -g -O2" LDFLAGS_FOR_BUILD="-static-libgcc" MAKEINFOFLAGS=--force 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2/make-gcc-stage2.log
-make install  -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2/make-gcc-stage2.log
-
-# 08-build_abe-gdb
-(cd /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gdb-gdb.git~master && /bin/bash /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gdb.git~master/configure SHELL=/bin/bash  --with-gnu-ld --enable-plugins --enable-tui --with-pkgversion=Linaro_GDB-2025.06.02 --disable-gas --disable-binutils --disable-elfcpp --disable-ld --disable-gold --disable-gprof --with-python=python3 --disable-werror --with-auto-load-safe-path=\$debugdir:\$datadir/auto-load:/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu/arm-eabi --with-additional-debug-dirs=/usr/lib/debug --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-eabi --prefix=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu)
-make SHELL=/bin/bash -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gdb-gdb.git~master  -j 32 LDFLAGS_FOR_TARGET=" --specs=rdimon.specs"  CFLAGS_FOR_BUILD="-pipe -g -O2" CXXFLAGS_FOR_BUILD="-pipe -g -O2" LDFLAGS_FOR_BUILD="-static-libgcc" all-gdb 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gdb-gdb.git~master/make-gdb.log
-make install-gdb  -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gdb-gdb.git~master 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gdb-gdb.git~master/make-gdb.log
-
-# 09-build_abe-qemu
-(cd /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/qemu-qemu.git~master && /bin/bash /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/qemu.git~master/configure   --target-list=arm-linux-user,arm-softmmu --prefix=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/hosttools/x86_64-pc-linux-gnu)
-make SHELL=/bin/bash -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/qemu-qemu.git~master  -j 32 LDFLAGS_FOR_TARGET=" --specs=rdimon.specs"  CFLAGS_FOR_BUILD="-pipe -g -O2" CXXFLAGS_FOR_BUILD="-pipe -g -O2" LDFLAGS_FOR_BUILD="-static-libgcc" 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/qemu-qemu.git~master/make-qemu.log
-make install  -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/qemu-qemu.git~master 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/qemu-qemu.git~master/make-qemu.log
-
-# 10-build_abe-dejagnu
-(cd /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/dejagnu-dejagnu.git~linaro-local~stable && /bin/bash /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/dejagnu.git~linaro-local~stable/configure SHELL=/bin/bash   --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --prefix=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/hosttools/x86_64-pc-linux-gnu)
-make SHELL=/bin/bash -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/dejagnu-dejagnu.git~linaro-local~stable  -j 32 LDFLAGS_FOR_TARGET=" --specs=rdimon.specs"  CFLAGS_FOR_BUILD="-pipe -g -O2" CXXFLAGS_FOR_BUILD="-pipe -g -O2" LDFLAGS_FOR_BUILD="-static-libgcc" 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/dejagnu-dejagnu.git~linaro-local~stable/make-dejagnu.log
-make install  -w -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/dejagnu-dejagnu.git~linaro-local~stable 2>&1 | tee -a /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/dejagnu-dejagnu.git~linaro-local~stable/make-dejagnu.log
-
-# 11-build_abe-check_gcc
-make check FLAGS_UNDER_TEST="" PREFIX_UNDER_TEST="/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/destdir/x86_64-pc-linux-gnu/bin/arm-eabi-" QEMU_WRAPPER=/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/scripts/qemu-wrapper.sh QEMU_CPU_UNDER_TEST=any   CFLAGS_FOR_BUILD="-pipe" CXXFLAGS_FOR_BUILD="-pipe" -j 64  -w -i -k -C /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2/ >> /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/x86_64-pc-linux-gnu/arm-eabi/gcc-gcc.git~master-stage2/check-gcc.log 2>&1
-
-# Dejagnu target_board flags
-{-mthumb/-march=armv8-a+simd/-mfpu=auto/-mfloat-abi=hard}
-
diff --git a/notify/fixes.sum b/notify/fixes.sum
index 8b75a62b1..8ddb20ba9 100644
--- a/notify/fixes.sum
+++ b/notify/fixes.sum
@@ -1,6 +1,18 @@
+		=== g++ tests ===
+
+Running g++:g++.dg/dg.exp ...
+FAIL: g++.dg/cpp2a/decomp2.C -std=gnu++11 execution test
+FAIL: g++.dg/cpp2a/decomp2.C -std=gnu++17 execution test
+FAIL: g++.dg/cpp2a/decomp2.C -std=gnu++14 execution test
+		=== gcc tests ===
+
+Running gcc:gcc.dg/torture/dg-torture.exp ...
+FAIL: gcc.dg/torture/builtin-iseqsig-1.c -Os  execution test
+FAIL: gcc.dg/torture/builtin-iseqsig-2.c -Os  execution test
+FAIL: gcc.dg/torture/builtin-iseqsig-3.c -Os  execution test
 
 		=== Results Summary ===
 
-# of stable fails		132
+# of stable fails		138
 # of flaky entries		7
 # of all tests			425896
diff --git a/notify/jira/comment-template.txt b/notify/jira/comment-template.txt
index 5d20c78aa..e55003173 100644
--- a/notify/jira/comment-template.txt
+++ b/notify/jira/comment-template.txt
@@ -1,3 +1,3 @@
 [GNU-692]
-improvements
+ 6 fixes
 Details: https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_v8a_hard_eabi-build/796/artifact/artifacts/notify/mail-body.txt/*view*/
diff --git a/notify/lnt_report.json b/notify/lnt_report.json
index e76e479af..d636ea44e 100644
--- a/notify/lnt_report.json
+++ b/notify/lnt_report.json
@@ -7,15 +7,15 @@
         "Info": {
             "tag": "tcwg_gnu_embed_check_gcc",
             "test_url": "https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_v8a_hard_eabi-build/796/",
-            "run_order": "0796 (basepoints/gcc-16-00983-g48973e8783e5)",
-            "git_binutils": "https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=829b08e405a4da9f28e2ce9c386a607b6960037b (unchanged)",
-            "git_gcc": "git+ssh://linaroci@gcc.gnu.org/git/gcc.git (48973e8783e59462ab6e34d5d48b74a2146a05f1) (+ 59 commits)",
-            "git_newlib": "https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=584910835dc54408e1b5a873154bd10ad5b30bf8 (unchanged)",
-            "git_gdb": "https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=829b08e405a4da9f28e2ce9c386a607b6960037b (unchanged)",
-            "git_qemu": "https://gitlab.com/qemu-project/qemu/commit/3e82ddaa8db260a232dbbbf488d8ac7851d124c5 (unchanged)",
+            "run_order": "0796 (5-changed-components)",
+            "git_binutils": "https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=829b08e405a4da9f28e2ce9c386a607b6960037b (+ 95 commits)",
+            "git_gcc": "git+ssh://linaroci@gcc.gnu.org/git/gcc.git (48973e8783e59462ab6e34d5d48b74a2146a05f1) (+ 611 commits)",
+            "git_newlib": "https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=584910835dc54408e1b5a873154bd10ad5b30bf8 (+ 17 commits)",
+            "git_gdb": "https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=829b08e405a4da9f28e2ce9c386a607b6960037b (+ 95 commits)",
+            "git_qemu": "https://gitlab.com/qemu-project/qemu/commit/3e82ddaa8db260a232dbbbf488d8ac7851d124c5 (+ 330 commits)",
             "__report_version__": "1"
         },
-        "Start Time": "2025-05-30 10:43:29"
+        "Start Time": "2025-05-23 07:54:00"
     },
     "Tests": [
         {
diff --git a/notify/mail-body.txt b/notify/mail-body.txt
index 8e5ce9d25..66aab10f0 100644
--- a/notify/mail-body.txt
+++ b/notify/mail-body.txt
@@ -3,14 +3,23 @@ Dear contributor,
 Our automatic CI successfully passed with your patch(es). Please find some details below.
 
 In  arm-eabi thumb v8-a hard, after:
-  | 59 commits in gcc
-  | 48973e8783e5 OpenMP: C++ "declare mapper" support
-  | 0e0f963bcfbf c: fix ICE for mutually recursive structures [PR120381]
-  | 62ed7fb5259b scc_copy: conditional return TODO_cleanup_cfg.
-  | f359866eea8b [AUTOFDO] Merge profiles of clones before annotating
-  | 77fa15d19146 Daily bump.
-  | ... and 54 more commits in gcc
-
+  | 611 commits in gcc
+  | 48973e8783e OpenMP: C++ "declare mapper" support
+  | 0e0f963bcfb c: fix ICE for mutually recursive structures [PR120381]
+  | 62ed7fb5259 scc_copy: conditional return TODO_cleanup_cfg.
+  | f359866eea8 [AUTOFDO] Merge profiles of clones before annotating
+  | 77fa15d1914 Daily bump.
+  | ... and 606 more commits in gcc
+
+Produces  6 fixes:
+  | 
+  | fixes.sum:
+  | Running g++:g++.dg/dg.exp ...
+  | FAIL: g++.dg/cpp2a/decomp2.C -std=gnu++11 execution test
+  | FAIL: g++.dg/cpp2a/decomp2.C -std=gnu++17 execution test
+  | FAIL: g++.dg/cpp2a/decomp2.C -std=gnu++14 execution test
+  | Running gcc:gcc.dg/torture/dg-torture.exp ...
+  | ... and 3 more
 
 Used configuration :
  *CI config* tcwg_gnu_embed_check_gcc arm-eabi -mthumb -march=armv8-a+simd -mfpu=auto -mfloat-abi=hard
@@ -22,13 +31,13 @@ If you have any questions regarding this report, please ask on linaro-toolchain@
 
 The information below contains the details of the failures, and the ways to reproduce a debug environment:
 
-You can find the failure logs in *.log.1.xz files in
- * https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_v8a_hard_eabi-build/796/artifact/artifacts/00-sumfiles/
+You can find the failure logs in
+ * https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_v8a_hard_eabi-build/796/artifact/artifacts/
 The full lists of regressions and improvements as well as configure and make commands are in
  * https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_v8a_hard_eabi-build/796/artifact/artifacts/notify/
 The list of [ignored] baseline and flaky failures are in
  * https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_v8a_hard_eabi-build/796/artifact/artifacts/sumfiles/xfails.xfail
 
 Current build   : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_v8a_hard_eabi-build/796/artifact/artifacts
-Reference build : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_v8a_hard_eabi-build/794/artifact/artifacts
+Reference build : https://ci.linaro.org/job/tcwg_gnu_embed_check_gcc--master-thumb_v8a_hard_eabi-build/789/artifact/artifacts
 
diff --git a/notify/mail-recipients.txt b/notify/mail-recipients.txt
index 695efe9b3..f88badaed 100644
--- a/notify/mail-recipients.txt
+++ b/notify/mail-recipients.txt
@@ -1 +1 @@
-tburnus@baylibre.com,jakub@gcc.gnu.org,jamborm@gcc.gnu.org,bcc:tcwg-validation@linaro.org,cc:jakub@redhat.com,cc:alice.carlotti@arm.com,jvdelisle@gcc.gnu.org,haochen.jiang@intel.com,cc:Pranav.Gorantla@amd.com,redi@gcc.gnu.org,cc:gcc-regression@gcc.gnu.org,kvivekananda@nvidia.com,jason@redhat.com,kito.cheng@sifive.com,hubicka@ucw.cz,alfie.richards@arm.com,cc:uecker@tugraz.at,sloosemore@baylibre.com,ktkachov@nvidia.com,rdapp@ventanamicro.com,cc:mjambor@suse.cz,cc:jerry.zhangjian@sifive.com,gccadmin@gcc.gnu.org,dmalcolm@redhat.com,pan2.li@intel.com,iain@sandoe.co.uk,cc:julian@codesourcery.com,cc:c8ef@outlook.com,cc:rdapp.gcc@gmail.com,ppalka@redhat.com,quic_apinski@quicinc.com,cc:mukai.yuta@fujitsu.com,cc:jwakely@redhat.com,uecker@gcc.gnu.org
+hjl.tools@gmail.com,amonakov@ispras.ru,tburnus@baylibre.com,andre.simoesdiasvieira@arm.com,10walls@gmail.com,cc:cfu@wavecomp.com,schwab@suse.de,ville.voutilainen@gmail.com,tkaminsk@redhat.com,rearnsha@arm.com,cc:oliva@adacore.com,ebotcazou@adacore.com,fkastl@suse.cz,jakub@gcc.gnu.org,kishan@linux.ibm.com,xry111@xry111.site,cc:powerboat9.gamer@gmail.com,jamborm@gcc.gnu.org,dimitar@dinux.eu,bcc:tcwg-validation@linaro.org,cc:tanksherman27@gmail.com,cc:lh_mouse@126.com,mark@klomp.org,jiawei@iscas.ac.cn,cc:jakub@redhat.com,philipp.tomsich@vrull.eu,danglin@gcc.gnu.org,gaiusmod2@gmail.com,ubizjak@gmail.com,cc:alice.carlotti@arm.com,jvdelisle@gcc.gnu.org,haochen.jiang@intel.com,cc:Pranav.Gorantla@amd.com,redi@gcc.gnu.org,cc:gcc-regression@gcc.gnu.org,anlauf@gmx.de,cc:root@stephanos.io,cc:yanmingzhu@iscas.ac.cn,cc:chendongyan@isrc.iscas.ac.cn,kvivekananda@nvidia.com,rdubner@symas.com,cc:jjsuwa_sys3175@yahoo.co.jp,jason@redhat.com,amacleod@redhat.com,tejas.belagod@arm.com,kito.cheng@sifive.com,simon@nasilyan.com,pault@gcc.gnu.org,hubicka@ucw.cz,christophe.lyon@linaro.org,cc:zhusonghe@eswincomputing.com,alfie.richards@arm.com,jlaw@ventanamicro.com,cc:uecker@tugraz.at,sloosemore@baylibre.com,ktkachov@nvidia.com,rdapp@ventanamicro.com,cc:konstantinos.eleftheriou@vrull.eu,avr@gjlay.de,cc:ukalappa.mips@gmail.com,cc:mjambor@suse.cz,cc:jerry.zhangjian@sifive.com,rguenther@suse.de,cc:antonb@tenstorrent.com,spencer.abson@arm.com,jcmvbkbc@gmail.com,eager@eagercon.com,cc:nicolas@debian.org,cc:lis8215@gmail.com,cc:smunnangi1@ventanamicro.com,segher@kernel.crashing.org,cc:luc.grosheintz@gmail.com,j@lambda.is,gccadmin@gcc.gnu.org,jchrist@linux.ibm.com,oliva@gnu.org,dhruvc@nvidia.com,dmalcolm@redhat.com,stefansf@gcc.gnu.org,jinma@linux.alibaba.com,ro@CeBiTec.Uni-Bielefeld.DE,josmyers@redhat.com,cc:alx@kernel.org,pan2.li@intel.com,iain@sandoe.co.uk,cc:julian@codesourcery.com,torbjorn.svensson@foss.st.com,cc:c8ef@outlook.com,sam@gentoo.org,xuli1@eswincomputing.com,hongtao.liu@intel.com,nathanieloshead@gmail.com,rguenth@gcc.gnu.org,cc:rdapp.gcc@gmail.com,cc:olegendo@gcc.gnu.org,ppalka@redhat.com,cc:me@kylehuey.com,richard.sandiford@arm.com,ak@gcc.gnu.org,quic_apinski@quicinc.com,tkoenig@gcc.gnu.org,cc:mukai.yuta@fujitsu.com,cc:jwakely@redhat.com,jschmitz@nvidia.com,uecker@gcc.gnu.org,quic_pzheng@quicinc.com,cc:xry111@mengyan1223.wang,tschwinge@baylibre.com
diff --git a/notify/mail-subject.txt b/notify/mail-subject.txt
index 26bb713d3..82d8623d5 100644
--- a/notify/mail-subject.txt
+++ b/notify/mail-subject.txt
@@ -1 +1 @@
-[Linaro-TCWG-CI] 59 commits in gcc: improvements on master-thumb_v8a_hard_eabi
+[Linaro-TCWG-CI] 611 commits in gcc:  6 fixes on master-thumb_v8a_hard_eabi
diff --git a/notify/results.compare.txt b/notify/results.compare.txt
index b4130ad25..830fa5733 100644
--- a/notify/results.compare.txt
+++ b/notify/results.compare.txt
@@ -1,30 +1,30 @@
 # Comparing directories
 # REFERENCE: base-artifacts/sumfiles
-# CURRENT:   artifacts/sumfiles
+# CURRENT:   artifacts/99-rewrite/artifacts.old/sumfiles
 
 # Comparing 3 common sum files:
 g++.sum
 gcc.sum
 libstdc++.sum
 Comparing:
-REFERENCE:/tmp/gxx-sum1.13843
-CURRENT:  /tmp/gxx-sum2.13843
+REFERENCE:/tmp/gxx-sum1.9159
+CURRENT:  /tmp/gxx-sum2.9159
 
                                              +---------+---------+
 o  RUN STATUS:                               |   REF   |   RES   |
   +------------------------------------------+---------+---------+
-  | Passes                            [PASS] |  411851 |  411913 |
-  | Unexpected fails                  [FAIL] |      77 |      77 |
+  | Passes                            [PASS] |  411008 |  411913 |
+  | Unexpected fails                  [FAIL] |      83 |      77 |
   | Errors                           [ERROR] |       0 |       0 |
   | Unexpected passes                [XPASS] |      34 |      34 |
-  | Expected fails                   [XFAIL] |    2907 |    2907 |
+  | Expected fails                   [XFAIL] |    2902 |    2907 |
   | Known fails                      [KFAIL] |       0 |       0 |
   | Unresolved                  [UNRESOLVED] |      21 |      21 |
-  | Unsupported                [UNSUPPORTED] |   10944 |   10944 |
+  | Unsupported                [UNSUPPORTED] |   10893 |   10944 |
   | Untested                      [UNTESTED] |       0 |       0 |
   +------------------------------------------+---------+---------+
 
-    REF PASS ratio: 0.973990
+    REF PASS ratio: 0.974041
     RES PASS ratio: 0.973994
 
 o  REGRESSIONS:
@@ -36,27 +36,7001 @@ o  REGRESSIONS:
 
 o  IMPROVEMENTS TO BE CHECKED:
   +------------------------------------------+---------+
-  | PASS disappears           [PASS =>     ] |       1 |
-  | New PASS                  [     => PASS] |      63 |
+  | PASS disappears           [PASS =>     ] |    6045 |
+  | New PASS                  [     => PASS] |    6925 |
+  | FAIL now PASS             [FAIL => PASS] |       3 |
+  | FAIL disappears           [FAIL =>     ] |       3 |
+  | XFAIL disappears          [XFAIL=>     ] |      15 |
+  | XFAIL appears             [     =>XFAIL] |      20 |
+  | UNSUPPORTED disappears    [UNSUP=>     ] |      47 |
+  | UNSUPPORTED appears       [     =>UNSUP] |      98 |
   +------------------------------------------+---------+
-  | TOTAL_IMPROVEMENTS_TO_BE_CHECKED         |      64 |
+  | TOTAL_IMPROVEMENTS_TO_BE_CHECKED         |   13156 |
   +------------------------------------------+---------+
 
   - PASS disappears           [PASS =>     ]:
 
+  Executed from: g++:g++.dg/coroutines/coroutines.exp
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-initlist1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-initlist2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-moveonly1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-00-needs-expr.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-00-needs-expr.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-01-outside-fn.C  (test for errors, line 5)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-01-outside-fn.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-02-outside-fn.C  (test for errors, line 5)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-02-outside-fn.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-03-auto.C  (test for errors, line 8)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-03-auto.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C  (test for errors, line 7)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-05-constexpr.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-05-constexpr.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-06-main.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-06-main.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-07-varargs.C  (test for errors, line 8)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-07-varargs.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-08-lambda-auto.C  (test for errors, line 15)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-08-lambda-auto.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-09-convert.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-10.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-syntax-11.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-void_type.C  (test for errors, line 42)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-await-void_type.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-01-outside-fn.C  (test for errors, line 5)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-01-outside-fn.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-02-outside-fn.C  (test for errors, line 5)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-02-outside-fn.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-03-auto.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-03-auto.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C  (test for errors, line 7)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-05-constexpr-fn.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-05-constexpr-fn.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-06-main.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-06-main.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-07-vararg.C  (test for errors, line 8)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-07-vararg.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-08-bad-return.C  (test for errors, line 37)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-08-bad-return.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-09-lambda-auto.C  (test for errors, line 15)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-09-lambda-auto.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-syntax-10-movable.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-return-warning-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-00-needs-expr.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-00-needs-expr.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-01-outside-fn.C  (test for errors, line 5)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-01-outside-fn.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-02-outside-fn.C  (test for errors, line 5)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-02-outside-fn.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-03-auto.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-03-auto.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C  (test for errors, line 7)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-05-constexpr.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-05-constexpr.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-06-main.C  (test for errors, line 6)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-06-main.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-07-varargs.C  (test for errors, line 8)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-07-varargs.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-08-needs-expr.C  (test for errors, line 30)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-08-needs-expr.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-09-lambda-auto.C  (test for errors, line 15)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/co-yield-syntax-09-lambda-auto.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-alloc-00-bad-op-new.C  (test for errors, line 9)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-alloc-00-bad-op-new.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-alloc-01-bad-op-del.C  (test for errors, line 9)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-alloc-01-bad-op-del.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-alloc-02-no-op-new-nt.C  (test for errors, line 12)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-alloc-02-no-op-new-nt.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-gro-00-class-gro-scalar-return.C  (test for errors, line 38)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-gro-00-class-gro-scalar-return.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-gro-01-void-gro-non-class-coro.C  (test for errors, line 32)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-gro-01-void-gro-non-class-coro.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C  (test for errors, line 10)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C  at line 11 (test for errors, line 10)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-grooaf-01-grooaf-expected.C  (test for warnings, line 9)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-bad-grooaf-01-grooaf-expected.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-builtins.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-function-decl.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-final-suspend.C  (test for errors, line 10)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-final-suspend.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-gro.C  (test for errors, line 24)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-gro.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-initial-suspend.C  (test for errors, line 10)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-initial-suspend.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-promise-yield.C  (test for errors, line 26)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-promise-yield.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-promise.C  (test for errors, line 16)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-promise.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-ret-value.C  (test for errors, line 28)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-ret-value.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-ret-void.C  (test for errors, line 28)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-ret-void.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-ueh-1.C  (test for errors, line 9)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-ueh-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-ueh-2.C  (test for warnings, line 10)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-ueh-2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-missing-ueh-3.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-pre-proc.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro-range-for1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro1-missing-await-method.C  (test for errors, line 10)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro1-missing-await-method.C  (test for errors, line 12)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro1-missing-await-method.C  (test for errors, line 13)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro1-missing-await-method.C  (test for errors, line 14)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/coro1-missing-await-method.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/maybe-unused-1.C  (test for warnings, line 32)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/maybe-unused-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/nodiscard-1.C  (test for warnings, line 27)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/nodiscard-1.C  (test for warnings, line 28)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/nodiscard-1.C  (test for warnings, line 42)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/nodiscard-1.C  (test for warnings, line 43)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/nodiscard-1.C  (test for warnings, line 62)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/nodiscard-1.C  (test for warnings, line 63)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/nodiscard-1.C  at line 35 (test for warnings, line 34)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/nodiscard-1.C  at line 50 (test for warnings, line 49)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/nodiscard-1.C  at line 70 (test for warnings, line 69)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/nodiscard-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr100127.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr100611.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr100611.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr100673.C  (test for errors, line 16)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr100673.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr100772-a.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr100772-b.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr101133.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr101367.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr101367.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr101765.C  (test for warnings, line 15)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr101765.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr101976.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr101976.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr102051.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr102454.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr102489.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr103328.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr103868.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr104051.C  (test for errors, line 27)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr104051.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr104981-preview-this.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105287.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105301.C  (test for errors, line 49)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105301.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-1.C  at line 27 (test for errors, line 26)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-2.C  at line 29 (test for errors, line 28)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-3.C  at line 29 (test for errors, line 28)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-3.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-4.C  at line 41 (test for errors, line 40)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-4.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-5.C  at line 29 (test for errors, line 28)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-5.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-6.C  at line 29 (test for errors, line 28)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-6.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-broken-spec-2.C  at line 33 (test for errors, line 32)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-broken-spec-2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-broken-spec.C  at line 29 (test for errors, line 28)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475-broken-spec.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475.C  at line 28 (test for errors, line 27)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr105475.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr106188.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr106188.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr106973.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr107768.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr108620.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr109682.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110171-1.C  (test for warnings, line 31)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110171-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110171.C  (test for warnings, line 31)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110171.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110635.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110855.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110855.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110855.C output pattern test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110871.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110871.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110871.C output pattern test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110872.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110872.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr110872.C output pattern test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr111728.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr112341-2.C  (test for errors, line 22)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr112341-2.C  (test for errors, line 23)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr112341-2.C  (test for errors, line 24)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr112341-2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr112341-3.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr112341.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr113457-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr113457.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr115550-preview-this.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr115858.C  at line 19 (test for warnings, line 18)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr115858.C  at line 21 (test for warnings, line 20)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr115858.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr115906-yield.C  (test for errors, line 21)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr115906-yield.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr115906.C  (test for errors, line 24)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr115906.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr115908.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr116327-preview-this.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr116482.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr116502.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr116506.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr116506.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr116793-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr116880.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr93458-1-missing-traits.C  (test for errors, line 8)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr93458-1-missing-traits.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr93458-2-bad-traits.C  (test for errors, line 14)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr93458-2-bad-traits.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr93458-3-missing-handle.C  (test for errors, line 15)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr93458-3-missing-handle.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr93458-4-bad-coro-handle.C  (test for errors, line 19)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr93458-4-bad-coro-handle.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr93458-5-bad-coro-type.C  (test for errors, line 10)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr93458-5-bad-coro-type.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94288.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94528.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94682-preview-this.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94752.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94760-mismatched-traits-and-promise-prev.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94817.C  (test for errors, line 3)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94817.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94829.C  (test for errors, line 39)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94829.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94879-folly-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94883-folly-2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr94886-folly-3.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95050.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95345.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95346.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95350.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95440.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95477.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95477.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95505.C  (test for errors, line 22)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95505.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95518.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95520.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95520.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95520.C output pattern test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95591.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95599.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95599.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-0-no-exceptions.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-0.C  at line 41 (test for errors, line 40)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-0.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-1-no-exceptions.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-1.C  at line 31 (test for errors, line 30)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-2.C  at line 29 (test for errors, line 28)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-3-no-exceptions.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-3.C  at line 20 (test for errors, line 19)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-3.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-4.C  at line 21 (test for errors, line 20)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-4.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-5.C  at line 22 (test for errors, line 21)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-5.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-6.C  at line 19 (test for errors, line 18)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95616-6.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95711.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95711.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95736.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95813.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95822.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95823.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr95824.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr96251.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr96517.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr96749-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr96749-2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr97438.C  (test for errors, line 28)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr97438.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr97587.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr97587.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr98118.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr98480.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr98935.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr99047.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr99575.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr99576_1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr99576_1.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr99576_2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr99576_2.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr99710.C  (test for errors, line 23)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/pr99710.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/ramp-return-a.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/ramp-return-b.C  (test for errors, line 10)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/ramp-return-b.C  (test for errors, line 14)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/ramp-return-b.C  (test for errors, line 20)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/ramp-return-b.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/ramp-return-c.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/range-for1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/range-for1.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/range-for2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/range-for2.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/alloc-00-gro-on-alloc-fail.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/alloc-00-gro-on-alloc-fail.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/alloc-01-overload-newdel.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/alloc-01-overload-newdel.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/alloc-02-fail-new-grooaf-check.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/alloc-02-fail-new-grooaf-check.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/alloc-03-overload-new-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/alloc-03-overload-new-1.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/alloc-04-overload-del-use-two-args.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/alloc-04-overload-del-use-two-args.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/call-00-co-aw-arg.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/call-00-co-aw-arg.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/call-01-multiple-co-aw.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/call-01-multiple-co-aw.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/call-02-temp-co-aw.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/call-02-temp-co-aw.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/call-03-temp-ref-co-aw.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/call-03-temp-ref-co-aw.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-00-co-ret.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-00-co-ret.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-01-co-ret-parm.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-01-co-ret-parm.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-02-templ-parm.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-02-templ-parm.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-03-operator-templ-parm.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-03-operator-templ-parm.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-04-lambda-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-04-lambda-1.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-05-lambda-capture-copy-local.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-05-lambda-capture-copy-local.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-06-lambda-capture-ref.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-06-lambda-capture-ref.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-07-data-member.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/class-07-data-member.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-00-trivial.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-00-trivial.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-01-with-value.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-01-with-value.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-02-xform.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-02-xform.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-03-rhs-op.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-03-rhs-op.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-04-control-flow.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-04-control-flow.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-05-loop.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-05-loop.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-06-ovl.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-06-ovl.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-07-tmpl.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-07-tmpl.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-08-cascade.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-08-cascade.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-09-pair.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-09-pair.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-10-template-fn-arg.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-10-template-fn-arg.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-11-forwarding.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-11-forwarding.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-12-operator-2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-12-operator-2.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-13-return-ref.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-13-return-ref.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-14-return-ref-to-auto.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-14-return-ref-to-auto.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-15-return-non-triv.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-15-return-non-triv.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-16-template-traits.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-17-capture-comp-ref.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-17-capture-comp-ref.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-18-if-cond.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-18-if-cond.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-19-while-cond.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-19-while-cond.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-20-do-while-cond.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-20-do-while-cond.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-21-switch-value.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-21-switch-value.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-22-truth-and-of-if.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-22-truth-and-of-if.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-24-for-init.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-24-for-init.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-25-for-condition.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-25-for-condition.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-26-for-iteration-expr.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-await-26-for-iteration-expr.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-00-void-return-is-ready.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-00-void-return-is-ready.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-01-void-return-is-suspend.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-01-void-return-is-suspend.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-03-different-GRO-type.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-03-different-GRO-type.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-04-GRO-nontriv.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-04-GRO-nontriv.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-05-return-value.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-05-return-value.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-06-template-promise-val-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-06-template-promise-val-1.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-07-void-cast-expr.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-07-void-cast-expr.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-08-template-cast-ret.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-08-template-cast-ret.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-09-bool-await-susp.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-09-bool-await-susp.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-10-expression-evaluates-once.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-10-expression-evaluates-once.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-11-co-ret-co-await.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-11-co-ret-co-await.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-12-co-ret-fun-co-await.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-12-co-ret-fun-co-await.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-13-template-2.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-13-template-2.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-14-template-3.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-14-template-3.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-15-default-return_void.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-15-default-return_void.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-16-simple-control-flow.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-16-simple-control-flow.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-17-void-ret-coro.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-ret-17-void-ret-coro.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-00-triv.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-00-triv.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-01-multi.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-01-multi.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-02-loop.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-02-loop.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-03-tmpl-nondependent.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-03-tmpl-nondependent.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-03-tmpl.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-03-tmpl.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-04-complex-local-state.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-04-complex-local-state.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-05-co-aw.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-05-co-aw.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-06-fun-parm.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-06-fun-parm.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-07-template-fn-param.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-07-template-fn-param.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-08-more-refs.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-08-more-refs.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-09-more-templ-refs.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/co-yield-09-more-templ-refs.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/exceptions-test-0.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/exceptions-test-0.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/exceptions-test-01-n4849-a.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/exceptions-test-01-n4849-a.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/extern-c-coroutine.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-00.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-00.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-01.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-01.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-02.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-02.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-03.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-03.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-04.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-04.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-05.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-05.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-06.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-06.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-07.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-07.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-08.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-08.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-09-awaitable-parms.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/func-params-09-awaitable-parms.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-00-co-ret.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-00-co-ret.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-01-co-ret-parm.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-01-co-ret-parm.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-02-co-yield-values.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-02-co-yield-values.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-03-auto-parm-1.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-03-auto-parm-1.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-04-templ-parm.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-04-templ-parm.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-05-capture-copy-local.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-05-capture-copy-local.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-06-multi-capture.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-06-multi-capture.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-07-multi-yield.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-07-multi-yield.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-08-co-ret-parm-ref.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-08-co-ret-parm-ref.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-09-init-captures.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-09-init-captures.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-10-mutable.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/lambda-10-mutable.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-00-const.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-00-const.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-01-single.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-01-single.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-02-conditional.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-02-conditional.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-03-with-awaits.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-03-with-awaits.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-04-hiding-nested-scopes.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-04-hiding-nested-scopes.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-05-awaitable.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-05-awaitable.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-06-structured-binding.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/local-var-06-structured-binding.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/mid-suspend-destruction-0.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/mid-suspend-destruction-0.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/mid-suspend-destruction-0.C output pattern test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr103953.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr103953.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr105104.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr109867.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr113773.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr113773.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr115905.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr115905.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr118874.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr92933.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95003.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95003.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-00-return_void.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-00-return_void.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-01-initial-suspend.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-01-initial-suspend.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-02-final_suspend.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-02-final_suspend.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-03-return-value.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-03-return-value.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-04-yield-value.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-04-yield-value.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-05-gro.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-05-gro.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-06-grooaf.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-06-grooaf.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-07-unhandled-exception.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95519-07-unhandled-exception.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95615-01.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95615-01.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95615-02.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95615-02.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95615-03.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95615-03.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95615-04.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95615-04.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95615-05.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr95615-05.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr98704.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/pr98704.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/special-termination-00-sync-completion.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/special-termination-00-sync-completion.C execution test
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/special-termination-01-self-destruct.C (test for excess errors)
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/torture/special-termination-01-self-destruct.C execution test
+  Executed from: g++:g++.dg/dg.exp
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++11  (test for warnings, line 25)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++11  (test for warnings, line 27)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++11  (test for warnings, line 46)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++11  (test for warnings, line 48)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++11  at line 26 (test for warnings, line 25)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++11  at line 28 (test for warnings, line 27)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++11  at line 47 (test for warnings, line 46)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++11  at line 49 (test for warnings, line 48)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++11 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++14  (test for warnings, line 25)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++14  (test for warnings, line 27)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++14  (test for warnings, line 46)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++14  (test for warnings, line 48)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++14  at line 26 (test for warnings, line 25)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++14  at line 28 (test for warnings, line 27)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++14  at line 47 (test for warnings, line 46)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++14  at line 49 (test for warnings, line 48)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++14 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++17  (test for warnings, line 25)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++17  (test for warnings, line 27)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++17  (test for warnings, line 46)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++17  (test for warnings, line 48)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++17 (test for excess errors)
+  Executed from: g++:g++.dg/modules/modules.exp
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_c.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_c.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++2a  dg-regexp 10 was found: "\nIn module bob, imported at [^\n]*adhoc-1_b.C:3:\n[^\n]*adhoc-1_a.C:5:12: note: candidate 2: 'int massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea@bob\(int\)'\n export int massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(int\);\n            \^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++2a  dg-regexp 11 was found: "\nIn module bob, imported at [^\n]*adhoc-1_b.C:3:\n[^\n]*adhoc-1_a.C:6:188: note: candidate 1: 'void massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea@bob\(float\)'\n[ 	]*export void massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(float\);\n[ 	]*\^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~?$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++2a  dg-regexp 9 was found: "\n[^\n]*adhoc-1_b.C:6:73: error: no matching function for call to 'massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea\(\)'\n   massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(\);\n   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\^~$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++2b  dg-regexp 10 was found: "\nIn module bob, imported at [^\n]*adhoc-1_b.C:3:\n[^\n]*adhoc-1_a.C:5:12: note: candidate 2: 'int massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea@bob\(int\)'\n export int massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(int\);\n            \^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++2b  dg-regexp 11 was found: "\nIn module bob, imported at [^\n]*adhoc-1_b.C:3:\n[^\n]*adhoc-1_a.C:6:188: note: candidate 1: 'void massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea@bob\(float\)'\n[ 	]*export void massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(float\);\n[ 	]*\^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~?$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++2b  dg-regexp 9 was found: "\n[^\n]*adhoc-1_b.C:6:73: error: no matching function for call to 'massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea\(\)'\n   massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(\);\n   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\^~$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++2a  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++2a  (test for warnings, line 32)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++2a  dg-regexp 31 was found: "\n[^\n]*adl-3_b.C:8:13: error: 'fn' was not declared in this scope$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++2b  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++2b  (test for warnings, line 32)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++2b  dg-regexp 31 was found: "\n[^\n]*adl-3_b.C:8:13: error: 'fn' was not declared in this scope$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_b.C -std=c++2a  dg-regexp 36 was found: "[^\n]*/adl-4_a.C:14:[0-9]*: error: 'fn' was not declared in this scope\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_b.C -std=c++2b  dg-regexp 36 was found: "[^\n]*/adl-4_a.C:14:[0-9]*: error: 'fn' was not declared in this scope\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++2a  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++2a  dg-regexp 13 was found: "\n[^\n]*adl-5_a.C:8:15: error: 'frob' was not declared in this scope$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++2b  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++2b  dg-regexp 13 was found: "\n[^\n]*adl-5_a.C:8:15: error: 'frob' was not declared in this scope$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_b.C -std=c++2a  scan-lang-dump-times module "CMI is " 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_b.C -std=c++2b  scan-lang-dump-times module "CMI is " 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_f.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_f.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/align-type-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/align-type-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/align-type-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/align-type-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_b.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_b.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-2.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-2.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-3.C -std=c++2a  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-3.C -std=c++2b  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-3.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-3.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++2a  at line 5 (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++2b  at line 5 (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_f.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_f.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_f.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_f.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++2a  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++2b  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++2a  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++2a  at line 7 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++2b  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++2b  at line 7 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-5.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-5.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_a.C -std=c++2a  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_a.C -std=c++2b  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  at line 20 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  at line 22 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  at line 23 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  at line 25 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  at line 26 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  at line 29 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a  at line 30 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  at line 20 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  at line 22 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  at line 23 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  at line 25 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  at line 26 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  at line 29 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b  at line 30 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_b.C -std=c++2a  at line 14 (test for bogus messages, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_b.C -std=c++2b  at line 14 (test for bogus messages, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_b.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_b.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-1.C -std=c++2a  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-1.C -std=c++2b  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-2.C -std=c++2a  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-2.C -std=c++2b  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-3.C -std=c++2a  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-3.C -std=c++2b  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ben-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ben-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ben-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ben-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-3.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-3.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-2.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-2.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_a.C -std=c++2a  (test for bogus messages, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_a.C -std=c++2b  (test for bogus messages, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-2.C -std=c++2a  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-2.C -std=c++2b  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++2a  scan-lang-dump module "Writing named:-[0-9]* function_decl:'::operator delete'\\n *Wrote[^\\n]*\\n *Writing:-[0-9]*'s named merge key \\(decl\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++2a  scan-lang-dump module "Wrote GMF:-[0-9]* function_decl:'::operator delete \\[\\]'@builtin"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++2a  scan-lang-dump module "Wrote GMF:-[0-9]* function_decl:'::operator delete'@builtin"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++2b  scan-lang-dump module "Writing named:-[0-9]* function_decl:'::operator delete'\\n *Wrote[^\\n]*\\n *Writing:-[0-9]*'s named merge key \\(decl\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++2b  scan-lang-dump module "Wrote GMF:-[0-9]* function_decl:'::operator delete \\[\\]'@builtin"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++2b  scan-lang-dump module "Wrote GMF:-[0-9]* function_decl:'::operator delete'@builtin"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::operator delete \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::operator delete \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++2a  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator delete \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++2a  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++2a  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator new \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++2a  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator new'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++2b  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator delete \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++2b  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++2b  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator new \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++2b  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator new'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++2a  dg-regexp 12 was found: "[^\n]*builtin-5_b.C:10:[0-9]*: error: conflicting declaration of C function 'int printf\(const char\*, int\)'\nIn module [^\n]*builtin-5_a.H, imported at [^\n]*builtin-5_b.C:3:\n[^\n]*builtin-5_a.H:3:[0-9]*: note: previous declaration 'int printf\(const char\*, ...\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++2a  scan-lang-dump module "Read:-1's named merge key \\(matched\\) function_decl:'::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++2b  dg-regexp 12 was found: "[^\n]*builtin-5_b.C:10:[0-9]*: error: conflicting declaration of C function 'int printf\(const char\*, int\)'\nIn module [^\n]*builtin-5_a.H, imported at [^\n]*builtin-5_b.C:3:\n[^\n]*builtin-5_a.H:3:[0-9]*: note: previous declaration 'int printf\(const char\*, ...\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++2b  scan-lang-dump module "Read:-1's named merge key \\(matched\\) function_decl:'::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-7_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-7_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-8.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-8.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++2a  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++2a  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++2b  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++2b  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++2a  (test for warnings, line 2)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++2a  at line 6 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++2a  at line 7 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++2b  (test for warnings, line 2)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++2b  at line 6 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++2b  at line 7 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++2a Kevin.nms: at line 6 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++2b Kevin.nms: at line 6 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++2a  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++2a  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++2b  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++2b  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_b.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_b.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2a  scan-lang-dump module "Indirect:-2 decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2a  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2a  scan-lang-dump module "Wrote import:-1 type_decl:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2a  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::X@One:.'@One"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2a  scan-lang-dump module "Wrote member:-[0-9]* field_decl:'::X@One:.::a'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2a  scan-lang-dump module "Wrote member:-[0-9]* field_decl:'::X@One:.::b'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2b  scan-lang-dump module "Indirect:-2 decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2b  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2b  scan-lang-dump module "Wrote import:-1 type_decl:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2b  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::X@One:.'@One"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2b  scan-lang-dump module "Wrote member:-[0-9]* field_decl:'::X@One:.::a'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2b  scan-lang-dump module "Wrote member:-[0-9]* field_decl:'::X@One:.::b'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++2a  scan-lang-dump module "Imported:-1 type_decl:'::X@One:.'@One"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++2a  scan-lang-dump module "Indirect:-2 decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++2a  scan-lang-dump module "Read member:-[0-9]* field_decl:'::X@One:.::a'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++2a  scan-lang-dump module "Read member:-[0-9]* field_decl:'::X@One:.::b'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++2b  scan-lang-dump module "Imported:-1 type_decl:'::X@One:.'@One"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++2b  scan-lang-dump module "Indirect:-2 decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++2b  scan-lang-dump module "Read member:-[0-9]* field_decl:'::X@One:.::a'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++2b  scan-lang-dump module "Read member:-[0-9]* field_decl:'::X@One:.::b'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::A'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::B'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::A'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::B'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_b.H -std=c++2a  scan-lang-dump module "Pendings 2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_b.H -std=c++2b  scan-lang-dump module "Pendings 2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++2a  dg-regexp 13 was found: "[^\n]*concept-1_a.C:7:[0-9]*: error: invalid cast[^\n]*\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++2b  dg-regexp 13 was found: "[^\n]*concept-1_a.C:7:[0-9]*: error: invalid cast[^\n]*\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++2a  scan-lang-dump-times module "named merge key \\(matched\\) template_decl:'::template f1'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++2b  scan-lang-dump-times module "named merge key \\(matched\\) template_decl:'::template f1'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++2a  scan-lang-dump-times module "named merge key \\(matched\\) function_decl:'::Derived<::._anon_0>::__ct '" 6
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++2b  scan-lang-dump-times module "named merge key \\(matched\\) function_decl:'::Derived<::._anon_0>::__ct '" 6
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_b.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_b.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++2a  scan-lang-dump-times module "named merge key \\(matched\\) function_decl:'::Base<::._anon_0>::__ct '" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++2b  scan-lang-dump-times module "named merge key \\(matched\\) function_decl:'::Base<::._anon_0>::__ct '" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/constexpr-if-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/constexpr-if-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/constexpr-if-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/constexpr-if-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_a.C -std=c++2a  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_a.C -std=c++2b  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-1.C -std=c++2a  scan-file cpp-1.C"\n\n\nmodule bob;\n\nexport import stuart;\n\n\n\nimport gru;\n\n import mabel;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-1.C -std=c++2b  scan-file cpp-1.C"\n\n\nmodule bob;\n\nexport import stuart;\n\n\n\nimport gru;\n\n import mabel;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-10.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-10.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-10.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-10.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-11.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-11.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-11.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-11.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-12.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-12.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-12.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-12.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-13.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-13.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-13.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-13.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-14.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-14.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-15.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-15.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-15.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-15.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-16.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-16.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-16.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-16.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-17.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-17.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-17.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-17.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-18.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-18.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-18.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-18.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-19.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-19.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-19.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-19.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-20.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-20.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-20.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-20.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++2a  scan-file THIS IS STDIO\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++2a  scan-file cpp-2_c.C"\\n\\n\\n\\nmodule bob;\\n#pragma GCC unused\\nimport "[^\\n]*\\./cpp-2_b.H" \\[\\[ CLOSE ]];\\nimport "[^\\n]*cpp-2_a.H" \\[\\[ ]];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++2a  scan-file int i;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++2a  scan-file-not import *nope;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++2b  scan-file THIS IS STDIO\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++2b  scan-file cpp-2_c.C"\\n\\n\\n\\nmodule bob;\\n#pragma GCC unused\\nimport "[^\\n]*\\./cpp-2_b.H" \\[\\[ CLOSE ]];\\nimport "[^\\n]*cpp-2_a.H" \\[\\[ ]];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++2b  scan-file int i;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++2b  scan-file-not import *nope;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++2a  scan-file \nexport module bob;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++2a  scan-file \nint i;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++2b  scan-file \nexport module bob;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++2b  scan-file \nint i;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++2a  scan-file /cpp-4.C\\" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++2a  scan-file /cpp-4.h\\" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++2a  scan-file import x;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++2a  scan-file int
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++2b  scan-file /cpp-4.C\\" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++2b  scan-file /cpp-4.h\\" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++2b  scan-file import x;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++2b  scan-file int
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_b.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_b.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_c.C -std=c++2a  scan-file \\nimport "[^\\n]*cpp-5_a.H";\\n\\n0\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_c.C -std=c++2b  scan-file \\nimport "[^\\n]*cpp-5_a.H";\\n\\n0\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++2a  scan-file FOUR cpp-6_b.H cpp-6_b\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++2a  scan-file ONE bibity bobity\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++2a  scan-file THREE cpp-6_b.H cpp-6_b\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++2a  scan-file TWO cpp-6_b.H bobity\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++2b  scan-file FOUR cpp-6_b.H cpp-6_b\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++2b  scan-file ONE bibity bobity\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++2b  scan-file THREE cpp-6_b.H cpp-6_b\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++2b  scan-file TWO cpp-6_b.H bobity\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-7.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-7.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-7.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-7.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-8.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-8.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-8.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-8.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-9.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-9.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-9.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-9.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++2a  scan-lang-dump module "Translating include to import"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++2b  scan-lang-dump module "Translating include to import"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_b.C -std=c++2a execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_b.C -std=c++2b execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_b.C -std=c++2a execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_b.C -std=c++2b execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2a  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2a  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2a  (test for warnings, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2a  (test for warnings, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2a  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2a  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2a  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2a  at line 28 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2b  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2b  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2b  (test for warnings, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2b  (test for warnings, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2b  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2b  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2b  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2b  at line 28 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++2a  scan-file \\n\\.PHONY: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++2a  scan-file \\ngcm.cache/m-part\\.gcm:| dep-1_a\\.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++2a  scan-file \\nm:part\\.c\\+\\+-module: gcm.cache/m-part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++2b  scan-file \\n\\.PHONY: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++2b  scan-file \\ngcm.cache/m-part\\.gcm:| dep-1_a\\.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++2b  scan-file \\nm:part\\.c\\+\\+-module: gcm.cache/m-part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2a  scan-file \\nCXX_IMPORTS \\+= m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2a  scan-file \\n\\.PHONY: m\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2a  scan-file \\ndep-1_b\\.s gcm.cache/m\\.gcm: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2a  scan-file \\ngcm.cache/m\\.gcm:| dep-1_b.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2a  scan-file \\nm\\.c\\+\\+-module: gcm.cache/m\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2b  scan-file \\nCXX_IMPORTS \\+= m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2b  scan-file \\n\\.PHONY: m\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2b  scan-file \\ndep-1_b\\.s gcm.cache/m\\.gcm: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2b  scan-file \\ngcm.cache/m\\.gcm:| dep-1_b.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2b  scan-file \\nm\\.c\\+\\+-module: gcm.cache/m\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++2a  scan-file \\n\\.PHONY: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++2a  scan-file \\ngcm.cache/m:part\\.gcm:| dep-2\\.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++2a  scan-file \\nm:part\\.c\\+\\+-module: gcm.cache/m-part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++2a  scan-file \\nmodule m:part;\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++2b  scan-file \\n\\.PHONY: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++2b  scan-file \\ngcm.cache/m:part\\.gcm:| dep-2\\.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++2b  scan-file \\nm:part\\.c\\+\\+-module: gcm.cache/m-part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++2b  scan-file \\nmodule m:part;\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++2a  scan-file-not part\\.c\\+\\+m
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++2a  scan-file-not part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++2b  scan-file-not part\\.c\\+\\+m
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++2b  scan-file-not part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++2a  scan-file dep-4\\.H\\.c\\+\\+-header-unit:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++2a  scan-file-not inline
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++2b  scan-file dep-4\\.H\\.c\\+\\+-header-unit:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++2b  scan-file-not inline
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-f-MD.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-f-MD.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-f.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-f.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fi.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fi.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj-MD.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj-MD.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj-MF-share.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj-MF-share.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fjo-MD.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fjo-MD.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fjo.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fjo.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fo-MD.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fo-MD.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fo.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fo.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-j-MD.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-j-MD.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-j.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-j.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-jo-MD.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-jo-MD.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-jo.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-jo.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-o-MD.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-o-MD.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-o.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-o.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_d.C -std=c++2a  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_d.C -std=c++2b  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++2a  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++2a  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++2b  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++2b  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_c.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_c.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-1.C -std=c++2a  scan-file #undef major\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-1.C -std=c++2b  scan-file #undef major\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2a  scan-file // a comment\\nmodule;\\nfrob
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2a  scan-file export module bob;\\n\\nexport import q;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2a  scan-file frob\\nexport\\nimport foo;\\nimport 7;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2a  scan-file import "[^\\n]*/dir-only-2_a.H";\\nimport "[^\\n]*/dir-only-2_a.H";\\nX
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2a  scan-file import sing;\\n\\n\\n// comment
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2b  scan-file // a comment\\nmodule;\\nfrob
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2b  scan-file export module bob;\\n\\nexport import q;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2b  scan-file frob\\nexport\\nimport foo;\\nimport 7;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2b  scan-file import "[^\\n]*/dir-only-2_a.H";\\nimport "[^\\n]*/dir-only-2_a.H";\\nX
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2b  scan-file import sing;\\n\\n\\n// comment
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-3.C -std=c++2a  at line 14 (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-3.C -std=c++2b  at line 14 (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-5.C -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-5.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-5.C -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-5.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++2a  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++2a  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++2a  at line 7 (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++2b  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++2b  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++2b  at line 7 (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_b.C -std=c++2a execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_b.C -std=c++2b execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_b.C -std=c++2a execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_b.C -std=c++2b execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-10_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-10_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-10_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-10_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-11_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-11_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-11_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-11_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-12.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-12.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-12.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-12.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-13_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-13_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-13_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-13_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-14.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-14.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_a.C -std=c++2a  scan-lang-dump-times module "Written enum value '::Ben::Three'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_a.C -std=c++2b  scan-lang-dump-times module "Written enum value '::Ben::Three'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-5_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-5_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-7.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-7.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++2a  scan-lang-dump module "Read:-1's enum merge key \\(new\\) type_decl:'#null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) const_decl:'::._anon_0@[^\\n]*/enum-8_b.H:1::Foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) const_decl:'::._anon_1@[^\\n]*/enum-8_a.H:2::Foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++2b  scan-lang-dump module "Read:-1's enum merge key \\(new\\) type_decl:'#null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) const_decl:'::._anon_0@[^\\n]*/enum-8_b.H:1::Foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) const_decl:'::._anon_1@[^\\n]*/enum-8_a.H:2::Foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-9_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-9_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-9_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-9_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++2a  dg-regexp 16 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:5:6: error: definition of 'enum ONE' does not match\n[^\n]*enum-bad-1_b.C:3:6: note: existing definition 'enum ONE'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:5:11: note: enumerator 'A' does not match ...\n[^\n]*enum-bad-1_b.C:3:11: note: ... this enumerator 'Q'\n[^\n]*enum-bad-1_b.C:15:1: note: during load of binding '::ONE'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++2a  dg-regexp 19 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:6:6: error: definition of 'enum<unnamed>' does not match\n[^\n]*enum-bad-1_b.C:4:6: note: existing definition 'enum<unnamed>'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:6:12: note: enumerator 'THREE' does not match ...\n[^\n]*enum-bad-1_b.C:4:12: note: ... this enumerator 'DREI'\n[^\n]*enum-bad-1_b.C:18:9: note: during load of binding '::TWO'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++2a  dg-regexp 22 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:7:6: error: definition of 'enum FOUR' does not match\n[^\n]*enum-bad-1_b.C:5:6: note: existing definition 'enum FOUR'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:7:12: note: enumerator 'B' does not match ...\n[^\n]*enum-bad-1_b.C:5:12: note: ... this enumerator 'B'\n[^\n]*enum-bad-1_b.C:21:1: note: during load of binding '::FOUR'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++2a  dg-regexp 25 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:8:6: error: definition of 'enum FIVE' does not match\n[^\n]*enum-bad-1_b.C:6:6: note: existing definition 'enum FIVE'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:8:18: note: additional enumerators beginning with 'E'\n[^\n]*enum-bad-1_b.C:24:1: note: during load of binding '::FIVE'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++2b  dg-regexp 16 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:5:6: error: definition of 'enum ONE' does not match\n[^\n]*enum-bad-1_b.C:3:6: note: existing definition 'enum ONE'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:5:11: note: enumerator 'A' does not match ...\n[^\n]*enum-bad-1_b.C:3:11: note: ... this enumerator 'Q'\n[^\n]*enum-bad-1_b.C:15:1: note: during load of binding '::ONE'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++2b  dg-regexp 19 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:6:6: error: definition of 'enum<unnamed>' does not match\n[^\n]*enum-bad-1_b.C:4:6: note: existing definition 'enum<unnamed>'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:6:12: note: enumerator 'THREE' does not match ...\n[^\n]*enum-bad-1_b.C:4:12: note: ... this enumerator 'DREI'\n[^\n]*enum-bad-1_b.C:18:9: note: during load of binding '::TWO'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++2b  dg-regexp 22 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:7:6: error: definition of 'enum FOUR' does not match\n[^\n]*enum-bad-1_b.C:5:6: note: existing definition 'enum FOUR'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:7:12: note: enumerator 'B' does not match ...\n[^\n]*enum-bad-1_b.C:5:12: note: ... this enumerator 'B'\n[^\n]*enum-bad-1_b.C:21:1: note: during load of binding '::FOUR'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++2b  dg-regexp 25 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:8:6: error: definition of 'enum FIVE' does not match\n[^\n]*enum-bad-1_b.C:6:6: note: existing definition 'enum FIVE'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:8:18: note: additional enumerators beginning with 'E'\n[^\n]*enum-bad-1_b.C:24:1: note: during load of binding '::FIVE'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2a  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2a  dg-regexp 10 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2a  dg-regexp 19 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2a  dg-regexp 20 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2a  dg-regexp 21 was found: "candidate 3: 'int Frob@Bar\(long int, int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2a  dg-regexp 9 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2b  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2b  dg-regexp 10 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2b  dg-regexp 19 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2b  dg-regexp 20 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2b  dg-regexp 21 was found: "candidate 3: 'int Frob@Bar\(long int, int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2b  dg-regexp 9 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++2a  dg-regexp 11 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++2a  dg-regexp 12 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++2a  dg-regexp 13 was found: "candidate 3: 'int Frob@Bar\(long int, int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++2b  dg-regexp 11 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++2b  dg-regexp 12 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++2b  dg-regexp 13 was found: "candidate 3: 'int Frob@Bar\(long int, int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++2a  scan-lang-dump-times module "Propagating instantiated noexcept to '::_Tuple_impl<int>::__ct <int>'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++2a  scan-lang-dump-times module "merge key \\(new\\) function_decl:'::_Tuple_impl<int>::__[cd]t '" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++2b  scan-lang-dump-times module "Propagating instantiated noexcept to '::_Tuple_impl<int>::__ct <int>'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++2b  scan-lang-dump-times module "merge key \\(new\\) function_decl:'::_Tuple_impl<int>::__[cd]t '" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/explicit-bool-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/explicit-bool-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/explicit-bool-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/explicit-bool-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2a  (test for bogus messages, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2a  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2a  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2a  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2a  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2b  (test for bogus messages, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2b  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2b  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2b  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2b  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2a  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2a  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2a  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2a  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2a  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2a  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2a  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2a  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2b  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2b  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2b  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2b  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2b  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2b  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2b  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2b  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 32)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 33)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 35)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 38)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 44)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 47)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 32)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 33)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 35)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 38)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 44)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 47)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2haIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2haIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2haIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2hbIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2hbIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2hbIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2hcIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2hcIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2hcIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2hdIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2hdIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _Z2hdIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _ZW1M2maIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _ZW1M2maIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _ZW1M2mbIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _ZW1M2mbIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _ZW1M2mcIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _ZW1M2mcIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _ZW1M2mdIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler _ZW1M2mdIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _Z2haIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _Z2hbIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _Z2hcIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _Z2hdIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _ZW1M2maIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _ZW1M2maIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _ZW1M2mbIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _ZW1M2mbIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _ZW1M2mcIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _ZW1M2mcIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _ZW1M2mdIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a  scan-assembler-not _ZW1M2mdIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2haIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2haIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2haIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2hbIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2hbIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2hbIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2hcIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2hcIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2hcIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2hdIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2hdIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _Z2hdIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _ZW1M2maIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _ZW1M2maIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _ZW1M2mbIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _ZW1M2mbIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _ZW1M2mcIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _ZW1M2mcIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _ZW1M2mdIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler _ZW1M2mdIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _Z2haIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _Z2hbIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _Z2hcIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _Z2hdIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _ZW1M2maIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _ZW1M2maIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _ZW1M2mbIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _ZW1M2mbIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _ZW1M2mcIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _ZW1M2mcIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _ZW1M2mdIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b  scan-assembler-not _ZW1M2mdIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++2a  scan-assembler-not _Z4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++2a  scan-assembler-not _ZW3bobE4frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++2b  scan-assembler-not _Z4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++2b  scan-assembler-not _ZW3bobE4frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++2a  scan-assembler .weak(_definition)?[\t ]*_?_ZW3bob4frobii
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++2a  scan-assembler _ZW3bob4Frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++2a  scan-assembler _ZW3bob4frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++2b  scan-assembler .weak(_definition)?[\t ]*_?_ZW3bob4frobii
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++2b  scan-assembler _ZW3bob4Frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++2b  scan-assembler _ZW3bob4frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++2a  scan-assembler .weak(_definition)?[\t ]*_?_ZW3bob4frobi
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++2a  scan-assembler _ZW3bob4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++2b  scan-assembler .weak(_definition)?[\t ]*_?_ZW3bob4frobi
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++2b  scan-assembler _ZW3bob4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2a  scan-lang-dump module "Defrosting 'bob.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2a  scan-lang-dump module "Defrosting 'kevin.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2a  scan-lang-dump module "Defrosting 'stuart.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2a  scan-lang-dump module "Freezing 'bob.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2a  scan-lang-dump module "Freezing 'kevin.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2a  scan-lang-dump module "Freezing 'stuart.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2b  scan-lang-dump module "Defrosting 'bob.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2b  scan-lang-dump module "Defrosting 'kevin.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2b  scan-lang-dump module "Defrosting 'stuart.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2b  scan-lang-dump module "Freezing 'bob.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2b  scan-lang-dump module "Freezing 'kevin.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2b  scan-lang-dump module "Freezing 'stuart.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::hidey'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::hidey'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::peeker'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::peeker'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::secret'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::secret'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::hidey'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::hidey'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::peeker'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::peeker'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::secret'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::secret'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_b.C -std=c++2a  scan-lang-dump module "Class '::hidey@bob:.' befriending record_type:'::peeker@bob:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_b.C -std=c++2b  scan-lang-dump module "Class '::hidey@bob:.' befriending record_type:'::peeker@bob:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_b.C -std=c++2a  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_b.C -std=c++2b  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-3.C -std=c++2a  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-3.C -std=c++2b  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++2a  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++2a  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++2a  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++2b  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++2b  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++2b  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_b.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_b.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-6_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-6_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-7_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-7_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-8_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-8_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-8_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-8_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_b.C -std=c++2a  scan-assembler _ZW1M1fIS_1AIZ4mainE3locEEvT_
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_b.C -std=c++2b  scan-assembler _ZW1M1fIS_1AIZ4mainE3locEEvT_
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++2a  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++2a  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++2b  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++2b  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_b.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_b.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++2a  scan-lang-dump module "Dependencies of decl function_decl:'::Log'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++2a  scan-lang-dump-not module "Reachable GMF '::printf[^\\n']*' added"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++2b  scan-lang-dump module "Dependencies of decl function_decl:'::Log'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++2b  scan-lang-dump-not module "Reachable GMF '::printf[^\\n']*' added"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++2a  scan-lang-dump module "Dependencies of decl function_decl:'::Log'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++2a  scan-lang-dump-not module "Reachable GMF '::printf[^'\\n]*' added"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++2b  scan-lang-dump module "Dependencies of decl function_decl:'::Log'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++2b  scan-lang-dump-not module "Reachable GMF '::printf[^'\\n]*' added"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++2a  scan-lang-dump module "Read declaration of '::basic_string_view@hello:1<char>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++2a  scan-lang-dump module "Read declaration of '::greeter@hello:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++2a  scan-lang-dump module "Reading definition of '::template basic_string_view@hello:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++2b  scan-lang-dump module "Read declaration of '::basic_string_view@hello:1<char>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++2b  scan-lang-dump module "Read declaration of '::greeter@hello:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++2b  scan-lang-dump module "Reading definition of '::template basic_string_view@hello:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-3.C -std=c++2a  scan-lang-dump module "Wrote 0 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-3.C -std=c++2b  scan-lang-dump module "Wrote 0 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-4.C -std=c++2a  scan-lang-dump module "Wrote declaration[^\\n]*allocator"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-4.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-4.C -std=c++2b  scan-lang-dump module "Wrote declaration[^\\n]*allocator"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-4.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-xtreme.C -std=c++2b  scan-lang-dump module "Wrote 0 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-xtreme.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++2a  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++2a  scan-assembler-not _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++2b  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++2b  scan-assembler-not _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++2a  scan-assembler _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++2a  scan-assembler _Z4declv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++2b  scan-assembler _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++2b  scan-assembler _Z4declv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++2a  scan-assembler _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++2a  scan-assembler _Z4declv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++2b  scan-assembler _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++2b  scan-assembler _Z4declv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gvar_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gvar_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gvar_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gvar_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 169)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 170)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 171)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 173)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 174)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 176)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 178)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 179)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 181)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a not a definition (test for bogus messages, line 175)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2a not a definition (test for bogus messages, line 180)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 169)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 170)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 171)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 173)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 174)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 176)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 178)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 179)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 181)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b not a definition (test for bogus messages, line 175)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++2b not a definition (test for bogus messages, line 180)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) var_decl:'::var'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) var_decl:'::var'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++2a  scan-lang-dump-times module "Reading 1 initializers" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++2a  scan-lang-dump-times module "Reading definition var_decl '::var@[^\\n]*/hdr-init-1_a.H:1'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) var_decl:'::var'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) var_decl:'::var'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++2b  scan-lang-dump-times module "Reading 1 initializers" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++2b  scan-lang-dump-times module "Reading definition var_decl '::var@[^\\n]*/hdr-init-1_a.H:1'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/horcrux-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/horcrux-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/horcrux-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/horcrux-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ice-1.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ice-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ice-1.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ice-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++2a  scan-assembler _ZNW3Foo4Bill3dobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++2a  scan-assembler-not _ZN3Bob4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++2a  scan-assembler-not _ZNW3Foo4Bill4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++2b  scan-assembler _ZNW3Foo4Bill3dobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++2b  scan-assembler-not _ZN3Bob4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++2b  scan-assembler-not _ZNW3Foo4Bill4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++2a  scan-assembler _ZN3Bob4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++2a  scan-assembler _ZNW3Foo4Bill4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++2a  scan-assembler _ZW3Foo3GMFv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++2a  scan-assembler-not _ZNW3Foo4Bill3dobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++2b  scan-assembler _ZN3Bob4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++2b  scan-assembler _ZNW3Foo4Bill4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++2b  scan-assembler _ZW3Foo3GMFv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++2b  scan-assembler-not _ZNW3Foo4Bill3dobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_a.C -std=c++2a  scan-lang-dump-not module "'::C::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_a.C -std=c++2b  scan-lang-dump-not module "'::C::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_b.C -std=c++2a  scan-lang-dump module "\\[.*\\]=decl definition '::C@A:1::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_b.C -std=c++2b  scan-lang-dump module "\\[.*\\]=decl definition '::C@A:1::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++2a  scan-lang-dump module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++2b  scan-lang-dump module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++2a  scan-lang-dump-not module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++2a  scan-lang-dump-not module "Read:-1's named merge key \\([a-z]*\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++2b  scan-lang-dump-not module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++2b  scan-lang-dump-not module "Read:-1's named merge key \\([a-z]*\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++2a  scan-lang-dump-not module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++2b  scan-lang-dump-not module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::C'\\n  \\[1\\]=decl declaration '::C::C'\\n  \\[2\\]=binding '::C'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++2a  scan-lang-dump-not module "'::C::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++2a  scan-lang-dump-not module "'::C::__dt '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++2a  scan-lang-dump-not module "'::C::operator= '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::C'\\n  \\[1\\]=decl declaration '::C::C'\\n  \\[2\\]=binding '::C'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++2b  scan-lang-dump-not module "'::C::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++2b  scan-lang-dump-not module "'::C::__dt '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++2b  scan-lang-dump-not module "'::C::operator= '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++2a  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::__ct '" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++2a  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::__dt '" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++2a  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::operator='" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++2b  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::__ct '" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++2b  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::__dt '" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++2b  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::operator='" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2a  scan-lang-dump-times module "Adding implicit member '::C@A:.::__ct @B:." 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2a  scan-lang-dump-times module "Adding implicit member '::C@A:.::__dt @B:." 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2a  scan-lang-dump-times module "Adding implicit member '::C@A:.::operator=@B:." 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2a  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__ct '\\n" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2a  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__dt '\\n" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2a  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::operator='\\n" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2b  scan-lang-dump-times module "Adding implicit member '::C@A:.::__ct @B:." 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2b  scan-lang-dump-times module "Adding implicit member '::C@A:.::__dt @B:." 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2b  scan-lang-dump-times module "Adding implicit member '::C@A:.::operator=@B:." 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2b  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__ct '\\n" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2b  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__dt '\\n" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2b  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::operator='\\n" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-3.H -std=c++2a  (test for bogus messages, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-3.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-3.H -std=c++2b  (test for bogus messages, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-3.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++2a  scan-lang-dump module "Writing exported import:.->. Bar"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++2a  scan-lang-dump module "Writing exported import:.->. Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++2b  scan-lang-dump module "Writing exported import:.->. Bar"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++2b  scan-lang-dump module "Writing exported import:.->. Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++2a  scan-lang-dump module "Found exported import:1 Bar->1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++2a  scan-lang-dump module "Found exported import:2 Baz->2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++2b  scan-lang-dump module "Found exported import:1 Bar->1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++2b  scan-lang-dump module "Found exported import:2 Baz->2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_f.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_f.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_g.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_g.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_g.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_g.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-2.C -std=c++2a  dg-regexp 8 was found: "In module imported at [^\n]*import-2.C:7:.:\nbill: error: failed to read compiled module: [^\n]*\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-2.C -std=c++2b  dg-regexp 8 was found: "In module imported at [^\n]*import-2.C:7:.:\nbill: error: failed to read compiled module: [^\n]*\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_b.H -std=c++2a  scan-file import "[^\\n]*inc-xlate-1_a.H" \\[\\[__translated\\]\\];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_b.H -std=c++2b  scan-file import "[^\\n]*inc-xlate-1_a.H" \\[\\[__translated\\]\\];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_e.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_e.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_b.H -std=c++2a  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_b.H -std=c++2b  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-3_a.H -std=c++2a  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-3_a.H -std=c++2b  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_c.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_c.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::foo::B'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::foo::Scoped'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::foo::Y'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::foo::frob'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump module "Wrote import:-[0-9]* function_decl:'::foo::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::foo::X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::foo::Y@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump-not module "Lazily binding '::foo::C@foo:.'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump-not module "Lazily binding '::foo::Scoped@foo:.::[ABCD]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump-not module "namespace:-[0-9]* namespace_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump-times module "Wrote import:-[0-9]* type_decl:'::foo::Plain@foo:.'@foo" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a  scan-lang-dump-times module "Wrote import:-[0-9]* type_decl:'::foo::Scoped@foo:.'@foo" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::foo::B'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::foo::Scoped'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::foo::Y'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::foo::frob'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump module "Wrote import:-[0-9]* function_decl:'::foo::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::foo::X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::foo::Y@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump-not module "Lazily binding '::foo::C@foo:.'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump-not module "Lazily binding '::foo::Scoped@foo:.::[ABCD]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump-not module "namespace:-[0-9]* namespace_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump-times module "Wrote import:-[0-9]* type_decl:'::foo::Plain@foo:.'@foo" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b  scan-lang-dump-times module "Wrote import:-[0-9]* type_decl:'::foo::Scoped@foo:.'@foo" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module ">Loading entity foo\\[13\\] section:3"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module ">Loading entity foo\\[14\\] section:4"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module ">Loading entity foo\\[15\\] section:5"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module ">Loading entity foo\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module ">Loading entity foo\\[8\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Imported:-[0-9]* function_decl:'::foo::Y@foo:.::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Imported:-[0-9]* function_decl:'::foo::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Imported:-[0-9]* type_decl:'::foo::X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Imported:-[0-9]* type_decl:'::foo::Y@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::Plain_Const_Three'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::Plain_One'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::Scoped_Const_Three'@'bar' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::Scoped_One'@'bar' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::Z'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::frob'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Named:-[0-9]* namespace_decl:'::foo'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump module "Read member:-[0-9]* field_decl:'::foo::Y@foo:.::_vptr.Y'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump-not module "Lazily binding '::foo::Scoped@\\(foo\\)::[ABC]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a  scan-lang-dump-not module "Lazily binding '::foo::[ABC]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module ">Loading entity foo\\[13\\] section:3"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module ">Loading entity foo\\[14\\] section:4"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module ">Loading entity foo\\[15\\] section:5"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module ">Loading entity foo\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module ">Loading entity foo\\[8\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Imported:-[0-9]* function_decl:'::foo::Y@foo:.::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Imported:-[0-9]* function_decl:'::foo::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Imported:-[0-9]* type_decl:'::foo::X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Imported:-[0-9]* type_decl:'::foo::Y@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::Plain_Const_Three'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::Plain_One'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::Scoped_Const_Three'@'bar' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::Scoped_One'@'bar' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::Z'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::frob'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Named:-[0-9]* namespace_decl:'::foo'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump module "Read member:-[0-9]* field_decl:'::foo::Y@foo:.::_vptr.Y'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump-not module "Lazily binding '::foo::Scoped@\\(foo\\)::[ABC]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b  scan-lang-dump-not module "Lazily binding '::foo::[ABC]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::X<0x0>'\\n  \\[1\\]=specialization declaration '::foo::X<0x0>::__conv_op <0x0>'\\n  \\[2\\]=specialization declaration '::foo::X<0x0>::X<0x0>'\\n(  \\[.\\]=[^\\n]* '\\n)*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2a  scan-lang-dump module "Depset:. specialization entity:. type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::foo::frob'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2a  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2a  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2a  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2a  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2a  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::X<0x0>'\\n  \\[1\\]=specialization declaration '::foo::X<0x0>::__conv_op <0x0>'\\n  \\[2\\]=specialization declaration '::foo::X<0x0>::X<0x0>'\\n(  \\[.\\]=[^\\n]* '\\n)*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2b  scan-lang-dump module "Depset:. specialization entity:. type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::foo::frob'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2b  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2b  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2b  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2b  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2b  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2a  scan-lang-dump module ">Loading entity foo\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2a  scan-lang-dump module ">Loading entity foo\\[4\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2a  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2a  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::frob'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2a  scan-lang-dump module "Read:-[0-9]* function_decl:'::foo::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2a  scan-lang-dump-not module "Wrote mergeable"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2b  scan-lang-dump module ">Loading entity foo\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2b  scan-lang-dump module ">Loading entity foo\\[4\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2b  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2b  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::frob'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2b  scan-lang-dump module "Read:-[0-9]* function_decl:'::foo::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2b  scan-lang-dump-not module "Wrote mergeable"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x0>'\\n  \\[1\\]=specialization definition '::foo::TPL<0x0>::frob<0x0>'\\n  \\[2\\]=specialization declaration '::foo::TPL<0x0>::TPL<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::X@foo:.::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::foo::TPL'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2a  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::X@foo:.::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2a  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::TPL<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2a  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::X@foo:.::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2a  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x0>'\\n  \\[1\\]=specialization definition '::foo::TPL<0x0>::frob<0x0>'\\n  \\[2\\]=specialization declaration '::foo::TPL<0x0>::TPL<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::X@foo:.::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::foo::TPL'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2b  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::X@foo:.::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2b  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::TPL<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2b  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::X@foo:.::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2b  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2a  scan-lang-dump module ">Loading entity foo\\[.\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2a  scan-lang-dump module ">Loading entity foo\\[5\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2a  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::X@foo:.::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2a  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::toto'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2a  scan-lang-dump module "Reading definition type_decl '::foo::TPL@bar:.<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2a  scan-lang-dump-not module "Instantiation:-[0-9]* function_decl:'::foo::X@foo:.::frob@.()<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2b  scan-lang-dump module ">Loading entity foo\\[.\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2b  scan-lang-dump module ">Loading entity foo\\[5\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2b  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::X@foo:.::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2b  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::toto'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2b  scan-lang-dump module "Reading definition type_decl '::foo::TPL@bar:.<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2b  scan-lang-dump-not module "Instantiation:-[0-9]* function_decl:'::foo::X@foo:.::frob@.()<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x1>'\\n  \\[1\\]=specialization declaration '::foo::TPL<0x1>::template frob<#unnamed#>'\\n  \\[2\\]=specialization declaration '::foo::TPL<0x1>::TPL<0x1>'\\n(  \\[.\\]=[^\\n]* '\\n)*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x1>::frob<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::foo::TPL'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2a  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::TPL<0x1>::frob<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2a  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::TPL<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2a  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2a  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::foo::TPL<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x1>'\\n  \\[1\\]=specialization declaration '::foo::TPL<0x1>::template frob<#unnamed#>'\\n  \\[2\\]=specialization declaration '::foo::TPL<0x1>::TPL<0x1>'\\n(  \\[.\\]=[^\\n]* '\\n)*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x1>::frob<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::foo::TPL'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2b  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::TPL<0x1>::frob<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2b  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::TPL<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2b  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2b  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::foo::TPL<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2a  scan-lang-dump module ">Loading entity foo\\[.\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2a  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2a  scan-lang-dump module "Reading definition function_decl '::foo::TPL@bar:.<0x1>::frob@bar:.<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2a  scan-lang-dump module "Reading definition type_decl '::foo::TPL@bar:.<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2b  scan-lang-dump module ">Loading entity foo\\[.\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2b  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2b  scan-lang-dump module "Reading definition function_decl '::foo::TPL@bar:.<0x1>::frob@bar:.<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2b  scan-lang-dump module "Reading definition type_decl '::foo::TPL@bar:.<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inext-1.H -std=c++2a  scan-lang-dump module "Wrote section:1 named-by:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inext-1.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inext-1.H -std=c++2b  scan-lang-dump module "Wrote section:1 named-by:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inext-1.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inh-tmpl-ctor-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inh-tmpl-ctor-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inh-tmpl-ctor-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inh-tmpl-ctor-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_a.C -std=c++2a  scan-assembler _ZGIW3Foo:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_a.C -std=c++2b  scan-assembler _ZGIW3Foo:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++2a  scan-assembler _?_ZGIW3Bar:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++2a  scan-assembler _ZZ9_ZGIW3BarE9__in_chrg
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++2b  scan-assembler _?_ZGIW3Bar:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++2b  scan-assembler _ZZ9_ZGIW3BarE9__in_chrg
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++2a  scan-assembler _ZGIW3Baz:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++2a  scan-assembler-not _ZZ9_ZGIW3BazE9__in_chrg
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++2b  scan-assembler _ZGIW3Baz:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++2b  scan-assembler-not _ZZ9_ZGIW3BazE9__in_chrg
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++2a  scan-lang-dump module "Depending definition function_decl:'::foo<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++2a  scan-lang-dump module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++2a  scan-lang-dump module "\\[0\\]=specialization definition '::foo<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++2a  scan-lang-dump module "\\[0\\]=specialization definition '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++2b  scan-lang-dump module "Depending definition function_decl:'::foo<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++2b  scan-lang-dump module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++2b  scan-lang-dump module "\\[0\\]=specialization definition '::foo<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++2b  scan-lang-dump module "\\[0\\]=specialization definition '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(unique\\) function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++2a  scan-lang-dump module "Reading definition function_decl '::foo@foo:.<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++2a  scan-lang-dump module "Reading definition function_decl '::foo@foo:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(unique\\) function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++2b  scan-lang-dump module "Reading definition function_decl '::foo@foo:.<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++2b  scan-lang-dump module "Reading definition function_decl '::foo@foo:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++2a  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++2a  scan-lang-dump module "Writing:-[0-9]*'s named merge key \\(decl\\) function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++2a  scan-lang-dump module "\\[0\\]=specialization definition '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++2b  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++2b  scan-lang-dump module "Writing:-[0-9]*'s named merge key \\(decl\\) function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++2b  scan-lang-dump module "\\[0\\]=specialization definition '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++2a  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++2b  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=specialization definition '::TPL<int>'\\n  \\[.\\]=specialization declaration '::TPL<int>::TPL<int>'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++2a  scan-lang-dump module "Depset:. specialization entity:. type_decl:'::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++2a  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=specialization definition '::TPL<int>'\\n  \\[.\\]=specialization declaration '::TPL<int>::TPL<int>'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++2b  scan-lang-dump module "Depset:. specialization entity:. type_decl:'::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++2b  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) type_decl:'::template TPL@foo:.<T>::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) type_decl:'::template TPL@foo:.<T>::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++2a  scan-lang-dump module "Pending specialization '::TPL<int>' entity:. section:. keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++2a  scan-lang-dump module "Pending specialization '::TPL<int>::TPL<int>' entity:. section:. also keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++2b  scan-lang-dump module "Pending specialization '::TPL<int>' entity:. section:. keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++2b  scan-lang-dump module "Pending specialization '::TPL<int>::TPL<int>' entity:. section:. also keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++2a  scan-lang-dump module "Reading 2 pending entities keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++2b  scan-lang-dump module "Reading 2 pending entities keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-5_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-5_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++2a  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++2a  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++2b  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++2b  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++2a  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++2a  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++2a  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++2b  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++2b  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++2b  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2a  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2a  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2a  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2a  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2a  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2b  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2b  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2b  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2b  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2b  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_a.H -std=c++2a  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::bob'\\n  \\[1\\]=binding '::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_a.H -std=c++2b  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::bob'\\n  \\[1\\]=binding '::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++2a  scan-lang-dump module " Read:-1's named merge key \\(matched\\) function_decl:'::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++2a  scan-lang-dump module " Read:-1's named merge key \\(new\\) function_decl:'::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++2b  scan-lang-dump module " Read:-1's named merge key \\(matched\\) function_decl:'::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++2b  scan-lang-dump module " Read:-1's named merge key \\(new\\) function_decl:'::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-3.C -std=c++2a  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-3.C -std=c++2b  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for bogus messages, line 36)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for bogus messages, line 96)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 110)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 70)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 80)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 87)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a  (test for errors, line 89)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for bogus messages, line 36)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for bogus messages, line 96)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 110)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 70)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 80)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 87)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b  (test for errors, line 89)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2a  (test for bogus messages, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2a  (test for bogus messages, line 79)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2a  (test for bogus messages, line 90)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2a  (test for warnings, line 49)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2a  (test for warnings, line 57)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2b  (test for bogus messages, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2b  (test for bogus messages, line 79)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2b  (test for bogus messages, line 90)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2b  (test for warnings, line 49)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2b  (test for warnings, line 57)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2a  (test for warnings, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2a  (test for warnings, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2a  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2a  (test for warnings, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2a  at line 30 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2a  at line 35 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2a  at line 36 (test for bogus messages, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2b  (test for warnings, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2b  (test for warnings, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2b  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2b  (test for warnings, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2b  at line 30 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2b  at line 35 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2b  at line 36 (test for bogus messages, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++2a  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++2a  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++2b  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++2b  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 34)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 39)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 44)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 49)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 59)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 69)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a  (test for warnings, line 74)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 34)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 39)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 44)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 49)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 59)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 69)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b  (test for warnings, line 74)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a  at line 21 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b  at line 21 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-9_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-9_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-9_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-9_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/isalnum.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/isalnum.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/keyword-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/keyword-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/keyword-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/keyword-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-10_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-10_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-10_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-10_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++2a  scan-lang-dump module "Writing:-[0-9]*'s attached merge key \\(decl\\) type_decl:'::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++2a  scan-lang-dump module "Written -[0-9]*\\[0\\] attached decl '::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++2b  scan-lang-dump module "Writing:-[0-9]*'s attached merge key \\(decl\\) type_decl:'::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++2b  scan-lang-dump module "Written -[0-9]*\\[0\\] attached decl '::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++2a  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s attached merge key \\(matched\\) type_decl:'#null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++2a not an odr violation (test for bogus messages, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++2b  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s attached merge key \\(matched\\) type_decl:'#null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++2b not an odr violation (test for bogus messages, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++2a  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++2a  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_2'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++2a  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::template ._anon_0<#unnamed#>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++2b  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++2b  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_2'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++2b  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::template ._anon_0<#unnamed#>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++2a  scan-lang-dump module "named merge key \\(matched\\) template_decl:'::._anon_0::template _FUN'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++2a  scan-lang-dump module "named merge key \\(matched\\) template_decl:'::._anon_0::template __conv_op '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++2b  scan-lang-dump module "named merge key \\(matched\\) template_decl:'::._anon_0::template _FUN'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++2b  scan-lang-dump module "named merge key \\(matched\\) template_decl:'::._anon_0::template __conv_op '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-6_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-6_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_b.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_b.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_c.C -std=c++2a  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_c.C -std=c++2b  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++2a  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++2a  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++2b  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++2b  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++2a  scan-assembler _Z3Barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++2a  scan-assembler _Z3Bazv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++2b  scan-assembler _Z3Barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++2b  scan-assembler _Z3Bazv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_b.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_b.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-1.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-1.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_a.H -std=c++2a  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::template Foo'\\n  \\[1\\]=specialization declaration '::TPL<#null#>'\\n  \\[2\\]=binding '::Foo'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_a.H -std=c++2b  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::template Foo'\\n  \\[1\\]=specialization declaration '::TPL<#null#>'\\n  \\[2\\]=binding '::Foo'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++2a  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Foo'\\n  Deduping '::template Foo@[^\\n]*/late-ret-2_a.H:.'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++2b  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Foo'\\n  Deduping '::template Foo@[^\\n]*/late-ret-2_a.H:.'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_a.H -std=c++2a  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::template Foo'\\n  \\[1\\]=specialization declaration '::TPL_1<#null#>'\\n  \\[2\\]=specialization declaration '::TPL_3<::TPL_1<#null#>::type>'\\n  \\[3\\]=specialization declaration '::TPL_2<::TPL_1<#null#>::type>'\\n  \\[4\\]=binding '::Foo'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_a.H -std=c++2b  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::template Foo'\\n  \\[1\\]=specialization declaration '::TPL_1<#null#>'\\n  \\[2\\]=specialization declaration '::TPL_3<::TPL_1<#null#>::type>'\\n  \\[3\\]=specialization declaration '::TPL_2<::TPL_1<#null#>::type>'\\n  \\[4\\]=binding '::Foo'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++2a  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Foo'\\n  Deduping '::template Foo@[^\\n]*/late-ret-3_a.H:.'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++2b  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Foo'\\n  Deduping '::template Foo@[^\\n]*/late-ret-3_a.H:.'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-4_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-4_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2a  scan-lang-dump module "Bindings '::quux' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::bar'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::baz'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2a  scan-lang-dump-not module "Lazily binding '::quux'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2a  scan-lang-dump-not module "Read -[0-9]* function_decl:'::quux'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2b  scan-lang-dump module "Bindings '::quux' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::bar'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::baz'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2b  scan-lang-dump-not module "Lazily binding '::quux'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2b  scan-lang-dump-not module "Read -[0-9]* function_decl:'::quux'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++2a  dg-regexp 14 was found: "\nIn module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:4:[0-9]*: error: conflicting type for imported declaration 'float bob'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:4:[0-9]*: note: existing declaration 'int bob'\n[^\n]*leg-merge-4_c.C:9:[0-9]*: note: during load of binding '::bob'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++2a  dg-regexp 16 was found: "\nIn module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:5:[0-9]*: error: conflicting type for imported declaration 'int frob\(\)'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:5:[0-9]*: note: existing declaration 'void frob\(\)'\n[^\n]*leg-merge-4_c.C:10:[0-9]*: note: during load of binding '::frob'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++2a  dg-regexp 18 was found: "In module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:6:[0-9]*: error: conflicting type for imported declaration 'union X'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:6:[0-9]*: note: existing declaration 'class X'\n[^\n]*leg-merge-4_c.C:11:[0-9]*: note: during load of binding '::X'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++2b  dg-regexp 14 was found: "\nIn module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:4:[0-9]*: error: conflicting type for imported declaration 'float bob'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:4:[0-9]*: note: existing declaration 'int bob'\n[^\n]*leg-merge-4_c.C:9:[0-9]*: note: during load of binding '::bob'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++2b  dg-regexp 16 was found: "\nIn module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:5:[0-9]*: error: conflicting type for imported declaration 'int frob\(\)'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:5:[0-9]*: note: existing declaration 'void frob\(\)'\n[^\n]*leg-merge-4_c.C:10:[0-9]*: note: during load of binding '::frob'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++2b  dg-regexp 18 was found: "In module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:6:[0-9]*: error: conflicting type for imported declaration 'union X'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:6:[0-9]*: note: existing declaration 'class X'\n[^\n]*leg-merge-4_c.C:11:[0-9]*: note: during load of binding '::X'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_b.H -std=c++2a  scan-file \\n# 9 "[^\\n]*legacy-3_b.H"\\nimport "[^\\n]*legacy-3_a.H" \\[\\[__translated\\]\\];\\nint move \\(int X = 10\\);\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_b.H -std=c++2b  scan-file \\n# 9 "[^\\n]*legacy-3_b.H"\\nimport "[^\\n]*legacy-3_a.H" \\[\\[__translated\\]\\];\\nint move \\(int X = 10\\);\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2a  scan-file # [^\\n]*legacy-3.h
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2a  scan-file MARK1 8\\nimport "[^\\n]*legacy-3_a.H" \\[\\[__translated\\]\\];\\nMARK2 10\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2a  scan-file MARK2 13\\n\\nMARK3 15\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2a  scan-file move
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2a  scan-file-not # [^\\n]*legacy-3_a.H
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2b  scan-file # [^\\n]*legacy-3.h
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2b  scan-file MARK1 8\\nimport "[^\\n]*legacy-3_a.H" \\[\\[__translated\\]\\];\\nMARK2 10\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2b  scan-file MARK2 13\\n\\nMARK3 15\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2b  scan-file move
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2b  scan-file-not # [^\\n]*legacy-3_a.H
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/libfn-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/libfn-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/libfn-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/libfn-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++2a  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++2a  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++2a  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++2b  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++2b  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++2b  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++2a  dg-regexp 11 was found: "In module stuart, imported at [^\n]*loc-1_c.C:4:\n[^\n]*loc-1_b.C:7:12: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++2a  dg-regexp 12 was found: "In module bob, imported at [^\n]*loc-1_c.C:3:\n[^\n]*loc-1_a.C:6:12: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++2b  dg-regexp 11 was found: "In module stuart, imported at [^\n]*loc-1_c.C:4:\n[^\n]*loc-1_b.C:7:12: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++2b  dg-regexp 12 was found: "In module bob, imported at [^\n]*loc-1_c.C:3:\n[^\n]*loc-1_a.C:6:12: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++2a  dg-regexp 10 was found: "In module bob, imported at [^\n]*loc-2_b.C:6,\nof module stuart, imported at [^\n]*loc-2_d.C:3:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++2b  dg-regexp 10 was found: "In module bob, imported at [^\n]*loc-2_b.C:6,\nof module stuart, imported at [^\n]*loc-2_d.C:3:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++2a  dg-regexp 12 was found: "In module bob, imported at [^\n]*loc-2_e.C:4:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++2b  dg-regexp 12 was found: "In module bob, imported at [^\n]*loc-2_e.C:4:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++2a  dg-regexp 10 was found: "In module bob, imported at [^\n]*loc-2_c.C:7,\nof module kevin, imported at [^\n]*loc-2_f.C:3:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++2b  dg-regexp 10 was found: "In module bob, imported at [^\n]*loc-2_c.C:7,\nof module kevin, imported at [^\n]*loc-2_f.C:3:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2a  scan-lang-dump module " Macro maps:1 locs:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2a  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2a  scan-lang-dump module " Macro:0 YES 1/1.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2a  scan-lang-dump-not module "Macro:. AGAIN_NO "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2a  scan-lang-dump-not module "Macro:. NOT "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2b  scan-lang-dump module " Macro maps:1 locs:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2b  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2b  scan-lang-dump module " Macro:0 YES 1/1.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2b  scan-lang-dump-not module "Macro:. AGAIN_NO "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2b  scan-lang-dump-not module "Macro:. NOT "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++2a  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++2a  scan-lang-dump module " Macro:0 BEGIN_NAMESPACE 5/6.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++2b  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++2b  scan-lang-dump module " Macro:0 BEGIN_NAMESPACE 5/6.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++2a  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++2a  scan-lang-dump module " Macro:0 BEGIN_NAMESPACE 5/6.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++2b  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++2b  scan-lang-dump module " Macro:0 BEGIN_NAMESPACE 5/6.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++2a  scan-lang-dump module " 1 source file names\\n Source file...=[^\\n]*loc-prune-4.C\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++2a  scan-lang-dump module " Span:0 ordinary \\[[0-9]+\\+49152,\\+16384\\)->\\[0,\\+16384\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++2a  scan-lang-dump module " Span:1 ordinary \\[[0-9]+\\+163840,\\+32768\\)->\\[16384,\\+32768\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++2a  scan-lang-dump module "Ordinary maps:2 locs:49152 range_bits:7"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++2b  scan-lang-dump module " 1 source file names\\n Source file...=[^\\n]*loc-prune-4.C\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++2b  scan-lang-dump module " Span:0 ordinary \\[[0-9]+\\+49152,\\+16384\\)->\\[0,\\+16384\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++2b  scan-lang-dump module " Span:1 ordinary \\[[0-9]+\\+163840,\\+32768\\)->\\[16384,\\+32768\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++2b  scan-lang-dump module "Ordinary maps:2 locs:49152 range_bits:7"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-wrapper-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-wrapper-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-wrapper-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-wrapper-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-1.C -std=c++2a  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-1.C -std=c++2b  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-2.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-2.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-struct-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-struct-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-struct-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-struct-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++2a  dg-regexp 11 was found: "[^\n]*macloc-1_c.C:7:6: error: too many arguments to function 'int me@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_b.C:8,\nof module edith, imported at [^\n]*macloc-1_c.C:3:\n[^\n]*macloc-1_a.C:11:12: note: declared here\n[^\n]*macloc-1_a.C:8:20: note: in definition of macro 'BOB'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++2a  dg-regexp 13 was found: "[^\n]*macloc-1_c.C:8:7: error: too many arguments to function 'int you@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_b.C:8,\nof module edith, imported at [^\n]*macloc-1_c.C:3:\n[^\n]*macloc-1_a.C:12:14: note: declared here\n[^\n]*macloc-1_a.C:9:22: note: in definition of macro 'KEVIN'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++2b  dg-regexp 11 was found: "[^\n]*macloc-1_c.C:7:6: error: too many arguments to function 'int me@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_b.C:8,\nof module edith, imported at [^\n]*macloc-1_c.C:3:\n[^\n]*macloc-1_a.C:11:12: note: declared here\n[^\n]*macloc-1_a.C:8:20: note: in definition of macro 'BOB'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++2b  dg-regexp 13 was found: "[^\n]*macloc-1_c.C:8:7: error: too many arguments to function 'int you@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_b.C:8,\nof module edith, imported at [^\n]*macloc-1_c.C:3:\n[^\n]*macloc-1_a.C:12:14: note: declared here\n[^\n]*macloc-1_a.C:9:22: note: in definition of macro 'KEVIN'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++2a  dg-regexp 12 was found: "[^\n]*macloc-1_d.C:8:6: error: too many arguments to function 'int me@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_d.C:4:\n[^\n]*macloc-1_a.C:11:12: note: declared here\n[^\n]*macloc-1_a.C:8:20: note: in definition of macro 'BOB'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++2a  dg-regexp 13 was found: "[^\n]*macloc-1_d.C:9:7: error: too many arguments to function 'void gru@edith\(\)'\nIn module edith, imported at [^\n]*macloc-1_d.C:3:\n[^\n]*macloc-1_b.C:10:20: note: declared here\n[^\n]*macloc-1_b.C:6:19: note: in definition of macro 'STUART'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++2b  dg-regexp 12 was found: "[^\n]*macloc-1_d.C:8:6: error: too many arguments to function 'int me@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_d.C:4:\n[^\n]*macloc-1_a.C:11:12: note: declared here\n[^\n]*macloc-1_a.C:8:20: note: in definition of macro 'BOB'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++2b  dg-regexp 13 was found: "[^\n]*macloc-1_d.C:9:7: error: too many arguments to function 'void gru@edith\(\)'\nIn module edith, imported at [^\n]*macloc-1_d.C:3:\n[^\n]*macloc-1_b.C:10:20: note: declared here\n[^\n]*macloc-1_b.C:6:19: note: in definition of macro 'STUART'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_c.H -std=c++2a  scan-lang-dump-not module "Read new macro #define MACRO_2a_H at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_c.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_c.H -std=c++2b  scan-lang-dump-not module "Read new macro #define MACRO_2a_H at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_c.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++2a  dg-regexp 11 was found: "[^\n]*macro-2_d.C:10:5: error: inconsistent imported macro definition 'BAR_BAD'\nIn module [^\n]*macro-2_a.H, imported at [^\n]*macro-2_d.C:5:\n[^\n]*macro-2_a.H:11:9: note: '#define BAR_BAD\(BAZ\) BINKY\(2\)'\nIn module [^\n]*macro-2_b.H, imported at [^\n]*macro-2_d.C:6:\n[^\n]*macro-2_b.H:21:9: note: '#define BAR_BAD\(BAZ\) BINKY\(3\)'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++2a  dg-regexp 14 was found: "[^\n]*macro-2_d.C:13:5: error: inconsistent imported macro definition 'FOO_BAD'\nIn module [^\n]*macro-2_a.H, imported at [^\n]*macro-2_d.C:5:\n[^\n]*macro-2_a.H:10:9: note: '#define FOO_BAD foo'\nIn module [^\n]*macro-2_b.H, imported at [^\n]*macro-2_d.C:6:\n[^\n]*macro-2_b.H:20:9: note: '#define FOO_BAD foot'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++2b  dg-regexp 11 was found: "[^\n]*macro-2_d.C:10:5: error: inconsistent imported macro definition 'BAR_BAD'\nIn module [^\n]*macro-2_a.H, imported at [^\n]*macro-2_d.C:5:\n[^\n]*macro-2_a.H:11:9: note: '#define BAR_BAD\(BAZ\) BINKY\(2\)'\nIn module [^\n]*macro-2_b.H, imported at [^\n]*macro-2_d.C:6:\n[^\n]*macro-2_b.H:21:9: note: '#define BAR_BAD\(BAZ\) BINKY\(3\)'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++2b  dg-regexp 14 was found: "[^\n]*macro-2_d.C:13:5: error: inconsistent imported macro definition 'FOO_BAD'\nIn module [^\n]*macro-2_a.H, imported at [^\n]*macro-2_d.C:5:\n[^\n]*macro-2_a.H:10:9: note: '#define FOO_BAD foo'\nIn module [^\n]*macro-2_b.H, imported at [^\n]*macro-2_d.C:6:\n[^\n]*macro-2_b.H:20:9: note: '#define FOO_BAD foot'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++2a  scan-lang-dump module "Writing macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++2a  scan-lang-dump module "Writing macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++2a  scan-lang-dump-not module "Writing macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++2a  scan-lang-dump-not module "Writing macro #undef nothing at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++2b  scan-lang-dump module "Writing macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++2b  scan-lang-dump module "Writing macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++2b  scan-lang-dump-not module "Writing macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++2b  scan-lang-dump-not module "Writing macro #undef nothing at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2a  scan-lang-dump module "Read new macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2a  scan-lang-dump module "Read new macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2a  scan-lang-dump module "Writing macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2a  scan-lang-dump module "Writing macro #undef & #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2a  scan-lang-dump module "Writing macro #undef foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2a  scan-lang-dump-not module "Read [^ ]* macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2b  scan-lang-dump module "Read new macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2b  scan-lang-dump module "Read new macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2b  scan-lang-dump module "Writing macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2b  scan-lang-dump module "Writing macro #undef & #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2b  scan-lang-dump module "Writing macro #undef foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2b  scan-lang-dump-not module "Read [^ ]* macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2a  scan-lang-dump module "Read add macro #undef & #define bar"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2a  scan-lang-dump module "Read add macro #undef foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2a  scan-lang-dump module "Read new macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2a  scan-lang-dump module "Read new macro #define bob"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2a  scan-lang-dump module "Read new macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2b  scan-lang-dump module "Read add macro #undef & #define bar"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2b  scan-lang-dump module "Read add macro #undef foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2b  scan-lang-dump module "Read new macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2b  scan-lang-dump module "Read new macro #define bob"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2b  scan-lang-dump module "Read new macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_c.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_c.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++2a  dg-regexp 6 was found: "[^\n]*macro-4_d.C: warning: inconsistent imported macro definition 'TWO' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define TWO 2a.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define TWO 2.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++2a  dg-regexp 8 was found: "[^\n]*macro-4_d.C: warning: inconsistent imported macro definition 'THREE' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define THREE 3b.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define THREE 3.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++2b  dg-regexp 6 was found: "[^\n]*macro-4_d.C: warning: inconsistent imported macro definition 'TWO' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define TWO 2a.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define TWO 2.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++2b  dg-regexp 8 was found: "[^\n]*macro-4_d.C: warning: inconsistent imported macro definition 'THREE' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define THREE 3b.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define THREE 3.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_e.C -std=c++2a  dg-regexp 13 was found: "[^\n]*macro-4_e.C: warning: inconsistent imported macro definition 'TWO' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_e.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define TWO 2a.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_e.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define TWO 2.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_e.C -std=c++2b  dg-regexp 13 was found: "[^\n]*macro-4_e.C: warning: inconsistent imported macro definition 'TWO' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_e.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define TWO 2a.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_e.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define TWO 2.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_f.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_f.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_g.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_g.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_a.H -std=c++2a  scan-lang-dump-not module "Writing macro #define [_a-zA-Z0-9]* at [0-9]*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_a.H -std=c++2b  scan-lang-dump-not module "Writing macro #define [_a-zA-Z0-9]* at [0-9]*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_b.H -std=c++2a  scan-lang-dump module "Writing macro #define baz at [0-9]*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_b.H -std=c++2b  scan-lang-dump module "Writing macro #define baz at [0-9]*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_b.C -std=c++2a  scan-lang-dump module "Reading macro table [^\\n]*macro-6_a.H"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_b.C -std=c++2b  scan-lang-dump module "Reading macro table [^\\n]*macro-6_a.H"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_c.C -std=c++2a  scan-lang-dump-not module ">Reading macro table "macro-6_a.H""
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_c.C -std=c++2b  scan-lang-dump-not module ">Reading macro table "macro-6_a.H""
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++2a  scan-file #define FOO foo
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++2a  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++2b  scan-file #define FOO foo
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++2b  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++2a  scan-file macro-8_a.H.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++2a  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++2b  scan-file macro-8_a.H.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++2b  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++2a  scan-file macro-8_a.H.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++2a  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++2b  scan-file macro-8_a.H.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++2b  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/main-1.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/main-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/main-1.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/main-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++2a  at line 8 (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++2a  at line 9 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++2b  at line 8 (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++2b  at line 9 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++2a  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1::inner'\\n  \\[1\\]=decl declaration '::frob@foo:part1:1::inner::inner'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++2a  scan-lang-dump module "Pending member '::frob@foo:part1:1::inner' entity:0 section:. keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++2b  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1::inner'\\n  \\[1\\]=decl declaration '::frob@foo:part1:1::inner::inner'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++2b  scan-lang-dump module "Pending member '::frob@foo:part1:1::inner' entity:0 section:. keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++2a  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1'\\n  \\[1\\]=decl definition '::frob@foo:part1:1::inner@foo:part1:1'\\n  \\[2\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::__dt '\\n(  \\[.\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::__ct '\\n)*  \\[6\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::inner@foo:part2:2'\\n  \\[7\\]=decl declaration '::frob@foo:part1:1::frob@foo:part1:1'\\n  \\[8\\]=decl declaration '::frob@foo:part1:1::__as_base @foo:part1:1'\\n  \\[9\\]=binding '::frob'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++2a  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++2a  scan-lang-dump module "Reading 2 pending entities keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++2b  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1'\\n  \\[1\\]=decl definition '::frob@foo:part1:1::inner@foo:part1:1'\\n  \\[2\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::__dt '\\n(  \\[.\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::__ct '\\n)*  \\[6\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::inner@foo:part2:2'\\n  \\[7\\]=decl declaration '::frob@foo:part1:1::frob@foo:part1:1'\\n  \\[8\\]=decl declaration '::frob@foo:part1:1::__as_base @foo:part1:1'\\n  \\[9\\]=binding '::frob'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++2b  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++2b  scan-lang-dump module "Reading 2 pending entities keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_d.C -std=c++2a  scan-lang-dump module "Loaded 1 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_d.C -std=c++2b  scan-lang-dump module "Loaded 1 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++2a  scan-assembler-not _ZN4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++2a  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1::member'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++2a  scan-lang-dump module "Bindings 0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++2a  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++2b  scan-assembler-not _ZN4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++2b  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1::member'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++2b  scan-lang-dump module "Bindings 0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++2b  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2a  scan-assembler-not _ZN4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2a  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1'\\n  \\[1\\]=decl declaration '::frob@foo:part1:1::frob@foo:part1:1'\\n  \\[2\\]=decl definition '::frob@foo:part1:1::member@foo:part1:1'\\n  \\[3\\]=decl declaration '::frob@foo:part1:1::__as_base @foo:part1:1'\\n  \\[4\\]=binding '::frob'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2a  scan-lang-dump module "Bindings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2a  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key .matched. function_decl:'::frob@foo:part1:1::member'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2b  scan-assembler-not _ZN4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2b  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1'\\n  \\[1\\]=decl declaration '::frob@foo:part1:1::frob@foo:part1:1'\\n  \\[2\\]=decl definition '::frob@foo:part1:1::member@foo:part1:1'\\n  \\[3\\]=decl declaration '::frob@foo:part1:1::__as_base @foo:part1:1'\\n  \\[4\\]=binding '::frob'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2b  scan-lang-dump module "Bindings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2b  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key .matched. function_decl:'::frob@foo:part1:1::member'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++2a  scan-assembler _ZNW3foo4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++2a  scan-lang-dump module "Reading function definition '::frob@foo:1::member@foo:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++2b  scan-assembler _ZNW3foo4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++2b  scan-lang-dump module "Reading function definition '::frob@foo:1::member@foo:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/memref-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/memref-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/memref-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/memref-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-16_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-16_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-16_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-16_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-17_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-17_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-17_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-17_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++2a  scan-lang-dump module "Writing definition '::ns::template bar'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++2a  scan-lang-dump module "Writing definition '::ns::template foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++2b  scan-lang-dump module "Writing definition '::ns::template bar'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++2b  scan-lang-dump module "Writing definition '::ns::template foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Bob<T>::template M'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Bob<T>::template M'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) const_decl:'::template __traitor<T>::template X<T>::__value'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) const_decl:'::template __traitor<T>::template X<T>::__value'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s field merge key \\(matched\\) template_decl:'::template __traitor<T>::template #null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s field merge key \\(matched\\) template_decl:'::template __traitor<T>::template #null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template __promote_2<_Tp2,_Up2>::template __type'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template __promote_2<_Tp2,_Up2>::template __type'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++2a  scan-lang-dump module "Deduping binfo '::__do_is_destructible_impl'\\[0\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++2a  scan-lang-dump module "Deduping binfo '::template __is_destructible_impl<_Tp>'\\[0\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++2a  scan-lang-dump module "Deduping binfo '::template __is_destructible_impl<_Tp>'\\[1\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++2b  scan-lang-dump module "Deduping binfo '::__do_is_destructible_impl'\\[0\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++2b  scan-lang-dump module "Deduping binfo '::template __is_destructible_impl<_Tp>'\\[0\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++2b  scan-lang-dump module "Deduping binfo '::template __is_destructible_impl<_Tp>'\\[1\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++2a  scan-lang-dump module "Read:-[10-9]*'s named merge key \\(matched\\) type_decl:'::std::align_val_t'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++2b  scan-lang-dump module "Read:-[10-9]*'s named merge key \\(matched\\) type_decl:'::std::align_val_t'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2a  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2a  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2a  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2a  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2a  at line 19 (test for warnings, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2a  at line 25 (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2b  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2b  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2b  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2b  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2b  at line 19 (test for warnings, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2b  at line 25 (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_b.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_b.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++2a  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++2a  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++2a  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++2b  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++2b  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++2b  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++2a  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++2b  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-7.C -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-7.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-7.C -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-7.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-8.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-8.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-exp-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-exp-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-exp-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-exp-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_a.C -std=c++2a  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_a.C -std=c++2b  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_b.C -std=c++2a  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_b.C -std=c++2b  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++2a  scan-lang-dump module "Starting module Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++2a  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++2a  scan-lang-dump module "Writing import:1->1 Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++2b  scan-lang-dump module "Starting module Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++2b  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++2b  scan-lang-dump module "Writing import:1->1 Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++2a  scan-lang-dump module "Found import:1 Foo->1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++2a  scan-lang-dump module "Starting module Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++2a  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++2b  scan-lang-dump module "Found import:1 Foo->1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++2b  scan-lang-dump module "Starting module Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++2b  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++2a  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++2a  dg-regexp 5 was found: "Foo: error: failed to read compiled module: Bad file data\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++2a  dg-regexp 6 was found: "Bar: error: failed to read compiled module: Bad import dependency\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++2b  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++2b  dg-regexp 5 was found: "Foo: error: failed to read compiled module: Bad file data\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++2b  dg-regexp 6 was found: "Bar: error: failed to read compiled module: Bad import dependency\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2a  scan-assembler _ZN5InnerW7linkage4Baz2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2a  scan-assembler _ZN5InnerW7linkage4Foo2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2a  scan-assembler _ZN5InnerW7linkage5Bink2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2a  scan-assembler _ZW7linkage3Bazv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2a  scan-assembler _ZW7linkage3Foov:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2a  scan-assembler _ZW7linkage4Binkv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2a  scan-assembler cfunc:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2b  scan-assembler _ZN5InnerW7linkage4Baz2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2b  scan-assembler _ZN5InnerW7linkage4Foo2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2b  scan-assembler _ZN5InnerW7linkage5Bink2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2b  scan-assembler _ZW7linkage3Bazv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2b  scan-assembler _ZW7linkage3Foov:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2b  scan-assembler _ZW7linkage4Binkv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2b  scan-assembler cfunc:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++2a  scan-assembler _Z3Foov:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++2a  scan-assembler _ZN3One3Two5ThreeW5okelyW6dokely4Baz2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++2a  scan-assembler _ZN3One3Two5ThreeW5okelyW6dokely4Foo2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++2b  scan-assembler _Z3Foov:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++2b  scan-assembler _ZN3One3Two5ThreeW5okelyW6dokely4Baz2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++2b  scan-assembler _ZN3One3Two5ThreeW5okelyW6dokely4Foo2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++2a  scan-assembler _ZN1X1YW3bob3BarEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++2a  scan-assembler _ZN1X1YW3bob4QuuxEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++2a  scan-assembler _ZN1XW3bob3BazEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++2a  scan-assembler _ZN1XW3bob3FooEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++2b  scan-assembler _ZN1X1YW3bob3BarEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++2b  scan-assembler _ZN1X1YW3bob4QuuxEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++2b  scan-assembler _ZN1XW3bob3BazEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++2b  scan-assembler _ZN1XW3bob3FooEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2a  scan-assembler _ZL1x:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2a  scan-assembler _ZL4FrobPN12_GLOBAL__N_14BillE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2a  scan-assembler _ZL6addonev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2a  scan-assembler _ZN12_GLOBAL__N_14Bill1FEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2a  scan-assembler _ZN12_GLOBAL__N_1L1yE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2a  scan-assembler _ZN12_GLOBAL__N_1L4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2a  scan-assembler _ZN1NL1zE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2a  scan-assembler _ZN1NL5innerEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2a  scan-assembler _ZW1A6addsixv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2b  scan-assembler _ZL1x:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2b  scan-assembler _ZL4FrobPN12_GLOBAL__N_14BillE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2b  scan-assembler _ZL6addonev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2b  scan-assembler _ZN12_GLOBAL__N_14Bill1FEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2b  scan-assembler _ZN12_GLOBAL__N_1L1yE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2b  scan-assembler _ZN12_GLOBAL__N_1L4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2b  scan-assembler _ZN1NL1zE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2b  scan-assembler _ZN1NL5innerEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2b  scan-assembler _ZW1A6addsixv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2a  scan-lang-dump module "Writing namespace:[0-9] '::also_not_exported', public, purview\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2a  scan-lang-dump module "Writing namespace:[0-9] '::explicit_export', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2a  scan-lang-dump module "Writing namespace:[0-9] '::explicit_export::also_exported', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2a  scan-lang-dump module "Writing namespace:[0-9] '::implicit_export', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2a  scan-lang-dump-not module "Writable bindings at '::not_exported'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2a  scan-lang-dump-not module "Writing namespace:[0-9] '::not_exported'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2a  scan-lang-dump-not module "Writing namespace:[0-9] '::std'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2b  scan-lang-dump module "Writing namespace:[0-9] '::also_not_exported', public, purview\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2b  scan-lang-dump module "Writing namespace:[0-9] '::explicit_export', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2b  scan-lang-dump module "Writing namespace:[0-9] '::explicit_export::also_exported', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2b  scan-lang-dump module "Writing namespace:[0-9] '::implicit_export', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2b  scan-lang-dump-not module "Writable bindings at '::not_exported'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2b  scan-lang-dump-not module "Writing namespace:[0-9] '::not_exported'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2b  scan-lang-dump-not module "Writing namespace:[0-9] '::std'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_b.C -std=c++2a  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_b.C -std=c++2b  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_b.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_b.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_b.C -std=c++2a  scan-assembler _ZNSt10filesystem12current_pathB5cxx11B3fooEv
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_b.C -std=c++2b  scan-assembler _ZNSt10filesystem12current_pathB5cxx11B3fooEv
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-7_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-7_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/noexcept-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/noexcept-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/noexcept-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/noexcept-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_c.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_c.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dir-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dir-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dir-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dir-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dup-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dup-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dup-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dup-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-2.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::directory_entry'\\n  \\[1\\]=decl definition '::directory_entry::__as_base '\\n  \\[2\\]=decl declaration '::directory_entry::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-2.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::directory_entry'\\n  \\[1\\]=decl definition '::directory_entry::__as_base '\\n  \\[2\\]=decl declaration '::directory_entry::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-2.C -std=c++2a  at line 5 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-2.C -std=c++2b  at line 5 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-3.C -std=gnu++2a  at line 5 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-3.C -std=gnu++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-3.C -std=gnu++2b  at line 5 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-3.C -std=gnu++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-1.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-1.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-2.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-2.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-3.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-3.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-4.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-4.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-5.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-5.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-file-default.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-file-default.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-target-default.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-target-default.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_d.C -std=c++2a  dg-regexp 10 was found: "In module imported at [^\n]*part-2_b.C:6:.,\nof module foo:imp, imported at [^\n]*part-2_d.C:6:\nfoo:inter: error: interface partition is not exported\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_d.C -std=c++2b  dg-regexp 10 was found: "In module imported at [^\n]*part-2_b.C:6:.,\nof module foo:imp, imported at [^\n]*part-2_d.C:6:\nfoo:inter: error: interface partition is not exported\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++2a  scan-lang-dump module "Cluster sections are \\[1,3\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++2a  scan-lang-dump module "Read:-[0-9]'s named merge key \\(matched\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++2a  scan-lang-dump module "Read:-[0-9]'s named merge key \\(new\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++2b  scan-lang-dump module "Cluster sections are \\[1,3\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++2b  scan-lang-dump module "Read:-[0-9]'s named merge key \\(matched\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++2b  scan-lang-dump module "Read:-[0-9]'s named merge key \\(new\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++2a  scan-lang-dump module " Read:-[0-9]'s named merge key \\(unique\\) function_decl:'::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++2a  scan-lang-dump module ">  Read:-[0-9]'s named merge key \\(unique\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++2b  scan-lang-dump module " Read:-[0-9]'s named merge key \\(unique\\) function_decl:'::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++2b  scan-lang-dump module ">  Read:-[0-9]'s named merge key \\(unique\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:bob:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB@foo:bob:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:bob:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB@foo:bob:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_c.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_c.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s partial merge key \\(new\\) template_decl:'::template A'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s partial merge key \\(new\\) template_decl:'::template B'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++2a  scan-lang-dump-not module "Wrote declaration entity:[0-9]* template_decl:'::template A<#null#>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++2a  scan-lang-dump-not module "Wrote declaration entity:[0-9]* template_decl:'::template B<template TT,int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s partial merge key \\(new\\) template_decl:'::template A'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s partial merge key \\(new\\) template_decl:'::template B'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++2b  scan-lang-dump-not module "Wrote declaration entity:[0-9]* template_decl:'::template A<#null#>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++2b  scan-lang-dump-not module "Wrote declaration entity:[0-9]* template_decl:'::template B<template TT,int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++2a  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++2a  at line 9 (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++2b  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++2b  at line 9 (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++2a  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++2a  at line 11 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++2b  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++2b  at line 11 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++2a  scan-lang-dump-times module "merge key \\(unique\\)" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++2b  scan-lang-dump-times module "merge key \\(unique\\)" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_a.H -std=c++2a  scan-lang-dump-times module "Written:-[0-9]* ptrmem type" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_a.H -std=c++2b  scan-lang-dump-times module "Written:-[0-9]* ptrmem type" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++2a  scan-lang-dump module "Cloned:-[0-9]* typedef template_type_parm:'::template remove_reference<_Tp>::template FOO<_Tp>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++2a  scan-lang-dump module "Created:-[0-9]* ptrmem type"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++2b  scan-lang-dump module "Cloned:-[0-9]* typedef template_type_parm:'::template remove_reference<_Tp>::template FOO<_Tp>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++2b  scan-lang-dump module "Created:-[0-9]* ptrmem type"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_a.C -std=c++2a  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_a.C -std=c++2b  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_b.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_b.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-2.C -std=c++2a  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-2.C -std=c++2b  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-3.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-3.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-4.C -std=c++2a  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-4.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-4.C -std=c++2b  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-4.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-5.C -std=c++2a  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-5.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-5.C -std=c++2b  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-5.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-6.C -std=c++2a  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-6.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-6.C -std=c++2b  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-6.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr101582-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr101582-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr102576_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr102576_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr102576_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr102576_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr103499_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr103499_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr103499_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr103499_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104040_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104040_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104040_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104040_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104234.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104234.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr105045_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr105045_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr105045_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr105045_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106304_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106304_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106304_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106304_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106363_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106363_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106363_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106363_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106761_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106761_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106761_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106761_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106820_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106820_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106820_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106820_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113292_a.H -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113292_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113292_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113292_a.H module-cmi  (gcm.cache/$srcdir/g++.dg/modules/pr113292_a.H.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113292_b.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113292_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113292_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++2a  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++2a  at line 10 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++2b  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++2b  at line 10 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114005_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114005_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114005_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114005_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114856_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114856_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114856_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114856_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114954.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114954.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115020_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115020_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115020_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115020_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118807.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118807.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118846_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118846_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118846_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118846_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_b.C -std=c++2a execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_b.C -std=c++2b execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_b.C -std=c++2a execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_b.C -std=c++2b execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119102_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119102_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119102_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119102_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119608_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119608_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119608_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119608_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98591.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98591.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++2a  scan-lang-dump module " Macro maps:0 locs:0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++2a  scan-lang-dump-not module " Macro:. _GLIBCXX_VISIBILITY"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++2b  scan-lang-dump module " Macro maps:0 locs:0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++2b  scan-lang-dump-not module " Macro:. _GLIBCXX_VISIBILITY"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++2a  scan-lang-dump module " Macro maps:0 locs:0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++2a  scan-lang-dump-not module " Macro:. _GLIBCXX_VISIBILITY"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++2b  scan-lang-dump module " Macro maps:0 locs:0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++2b  scan-lang-dump-not module " Macro:. _GLIBCXX_VISIBILITY"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98770_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98770_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98770_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98770_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++2a  scan-assembler __tcf_ZL1b:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++2a  scan-assembler __tcf_ZZ3foovE1a:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++2b  scan-assembler __tcf_ZL1b:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++2b  scan-assembler __tcf_ZZ3foovE1a:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99023_a.X -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99023_b.X -std=c++2a  dg-regexp 7 was found: "[^\n]*: note: include '[^\n]*[/\\]initializer_list' translated to import\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99023_b.X -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99039_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99039_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99039_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99039_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_b.C -std=c++2a  scan-file import "[^\\n]*99050_a.H" \\[\\[__translated\\]\\];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_b.C -std=c++2b  scan-file import "[^\\n]*99050_a.H" \\[\\[__translated\\]\\];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99071_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99071_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99071_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99071_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++2a  scan-lang-dump-not module "  Span:. ordinary "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++2a  scan-lang-dump-not module "Writing ordinary location maps"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++2b  scan-lang-dump-not module "  Span:. ordinary "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++2b  scan-lang-dump-not module "Writing ordinary location maps"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99153_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99153_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99153_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99153_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_a.X -std=c++2a  dg-regexp 5 was found: "[^\n]*iostream: note: writing CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_a.X -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_a.X -std=c++2b  dg-regexp 5 was found: "[^\n]*iostream: note: writing CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_a.X -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_b.C -std=c++2a  dg-regexp 9 was found: "In module imported at [^\n]*pr99166_b.C:[0-9:]*\n[^\n]*iostream: note: reading CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_b.C -std=c++2b  dg-regexp 9 was found: "In module imported at [^\n]*pr99166_b.C:[0-9:]*\n[^\n]*iostream: note: reading CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_c.C -std=c++2a  dg-regexp 4 was found: "In module imported at [^\n]*pr99166_c.C:[0-9:]*\n[^\n]*Foo: note: reading CMI 'gcm.cache/Foo.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_c.C -std=c++2b  dg-regexp 4 was found: "In module imported at [^\n]*pr99166_c.C:[0-9:]*\n[^\n]*Foo: note: reading CMI 'gcm.cache/Foo.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++2a  dg-regexp 4 was found: "In module imported at [^\n]*pr99166_d.C:[0-9:]*\n[^\n]*Foo: note: reading CMI 'gcm.cache/Foo.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++2a  dg-regexp 6 was found: "In module imported at [^\n]*pr99166_b.C:[0-9:]*,\nof module Foo, imported at [^\n]*pr99166_d.C:[0-9:]:\n[^\n]*iostream: note: reading CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++2b  dg-regexp 4 was found: "In module imported at [^\n]*pr99166_d.C:[0-9:]*\n[^\n]*Foo: note: reading CMI 'gcm.cache/Foo.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++2b  dg-regexp 6 was found: "In module imported at [^\n]*pr99166_b.C:[0-9:]*,\nof module Foo, imported at [^\n]*pr99166_d.C:[0-9:]:\n[^\n]*iostream: note: reading CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174.H -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174.H -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99187.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99187.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99208_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99208_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99208_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99208_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99238_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99238_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99238_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99238_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99239_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99239_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99239_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99239_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_c.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_c.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99245_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99245_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99245_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99245_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99248_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99248_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99248_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99248_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-1_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-1_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_c.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_c.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-3_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-3_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-4.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-4.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99285_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99285_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99285_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99285_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99294_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99294_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99294_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99294_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99344_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99344_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99344_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99344_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_b.C -std=c++2a  scan-lang-dump module "Pending specialization '::basic_string_view<char>' entity:. section:. keyed to '::basic_string_view'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_b.C -std=c++2b  scan-lang-dump module "Pending specialization '::basic_string_view<char>' entity:. section:. keyed to '::basic_string_view'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99423_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99423_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99423_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99423_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_b.H -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) type_decl:'::make_signed_t'\\n  ...  Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::make_signed'\\n  Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_b.H -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) type_decl:'::make_signed_t'\\n  ...  Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::make_signed'\\n  Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++2a  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++2b  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-2_a.X -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-2_a.X -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-2_b.X -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-2_b.X -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99468.H -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99468.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99468.H -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99468.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99480_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99480_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99480_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99480_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99496_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99496_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99496_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99496_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pragma-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pragma-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pragma-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pragma-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++2a  dg-regexp 19 was found: "preproc-2_b.C:13:5: error: 'int bob' redeclared as different kind of entity\nIn module ./preproc-2_a.H, imported at preproc-2_b.C:7:\n<command-line>: note: previous declaration 'void bob\(\)'\npreproc-2_a.H:8:6: note: in expansion of macro 'NAME'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++2a  dg-regexp 21 was found: "preproc-2_b.C:9:14: error: conflicting declaration 'float bill'\npreproc-2_b.C:15:7: note: in expansion of macro 'NAME'\npreproc-2_b.C:9:14: note: previous declaration as 'int bill'\npreproc-2_b.C:11:5: note: in expansion of macro 'NAME'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++2b  dg-regexp 19 was found: "preproc-2_b.C:13:5: error: 'int bob' redeclared as different kind of entity\nIn module ./preproc-2_a.H, imported at preproc-2_b.C:7:\n<command-line>: note: previous declaration 'void bob\(\)'\npreproc-2_a.H:8:6: note: in expansion of macro 'NAME'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++2b  dg-regexp 21 was found: "preproc-2_b.C:9:14: error: conflicting declaration 'float bill'\npreproc-2_b.C:15:7: note: in expansion of macro 'NAME'\npreproc-2_b.C:9:14: note: previous declaration as 'int bill'\npreproc-2_b.C:11:5: note: in expansion of macro 'NAME'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++2a  dg-regexp 9 was found: "In module foo, imported at [^\n]*/reparent-1_b.C:14,\nof module bar, imported at [^\n]*/reparent-1_c.C:2:\n[^\n]*/reparent-1_a.C:6:13: note: declared here\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++2b  dg-regexp 9 was found: "In module foo, imported at [^\n]*/reparent-1_b.C:14,\nof module bar, imported at [^\n]*/reparent-1_c.C:2:\n[^\n]*/reparent-1_a.C:6:13: note: declared here\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++2a  scan-lang-dump module "  \\.[0-9]*\\.  Wrote backref:-[0-9]* function_decl:'::ba[rz]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++2a  scan-lang-dump module " Writing named:-[0-9]* function_decl:'::bar'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++2a  scan-lang-dump module " Writing named:-[0-9]* function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++2a  scan-lang-dump module " Wrote backref:-[0-9]* function_decl:'::ba[rz]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++2b  scan-lang-dump module "  \\.[0-9]*\\.  Wrote backref:-[0-9]* function_decl:'::ba[rz]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++2b  scan-lang-dump module " Writing named:-[0-9]* function_decl:'::bar'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++2b  scan-lang-dump module " Writing named:-[0-9]* function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++2b  scan-lang-dump module " Wrote backref:-[0-9]* function_decl:'::ba[rz]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-mem-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-mem-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-mem-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-mem-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-tpl-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-tpl-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-2.C -std=c++2a  scan-assembler _ZN5OuterW3FOO5Inner2FnERNS1_1XERNS_S0_1YE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-2.C -std=c++2b  scan-assembler _ZN5OuterW3FOO5Inner2FnERNS1_1XERNS_S0_1YE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++2a  scan-assembler _ZNStW3std9allocatorI4PoohE1MEPS1_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++2a  scan-assembler _ZNStW3std9allocatorI4PoohE1NI6PigletEEPT_PS1_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++2a  scan-assembler _ZNStW3std9allocatorIiE1MEPi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++2a  scan-assembler _ZNStW3std9allocatorIiE1NIfEEPT_Pi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++2b  scan-assembler _ZNStW3std9allocatorI4PoohE1MEPS1_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++2b  scan-assembler _ZNStW3std9allocatorI4PoohE1NI6PigletEEPT_PS1_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++2b  scan-assembler _ZNStW3std9allocatorIiE1MEPi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++2b  scan-assembler _ZNStW3std9allocatorIiE1NIfEEPT_Pi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_b.C -std=c++2a  scan-assembler _ZW3Foo1fRSbIcStS_11char_traitsIcESaIcEE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_b.C -std=c++2b  scan-assembler _ZW3Foo1fRSbIcStS_11char_traitsIcESaIcEE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_c.C -std=c++2a  scan-assembler _ZW3Bar1gRSs:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_c.C -std=c++2b  scan-assembler _ZW3Bar1gRSs:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++2a  scan-lang-dump module "Depset:0 decl entity:[0-9]* function_decl:'(::std)?::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++2a  scan-lang-dump module "Depset:1 binding namespace_decl:'::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++2a  scan-lang-dump module "Writing section:60 "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++2b  scan-lang-dump module "Depset:0 decl entity:[0-9]* function_decl:'(::std)?::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++2b  scan-lang-dump module "Depset:1 binding namespace_decl:'::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++2b  scan-lang-dump module "Writing section:60 "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++2a  scan-lang-dump module "Bindings '::printf' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::printf'@'[^\\n]*stdio-1_a.H' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++2a  scan-lang-dump-not module "binding '::scanf'@'[^\\n]*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++2b  scan-lang-dump module "Bindings '::printf' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::printf'@'[^\\n]*stdio-1_a.H' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++2b  scan-lang-dump-not module "binding '::scanf'@'[^\\n]*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdns_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdns_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdns_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdns_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-view1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-view1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-view2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-view2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-1.C -std=c++2a  scan-assembler _ZW3bobW6stuartW5kevin4frobRS1_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-1.C -std=c++2b  scan-assembler _ZW3bobW6stuartW5kevin4frobRS1_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_a.C -std=c++2a  scan-assembler-not all must have scan-assembler
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_a.C -std=c++2b  scan-assembler-not all must have scan-assembler
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++2a  scan-assembler _ZW3bobW5kevin3barRS0_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++2a  scan-assembler _ZW3bobW6stuart5innerIS_W5kevin6mytypeEvRT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++2b  scan-assembler _ZW3bobW5kevin3barRS0_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++2b  scan-assembler _ZW3bobW6stuart5innerIS_W5kevin6mytypeEvRT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-4.C -std=c++2a  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neun4frobRS8_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-4.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-4.C -std=c++2b  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neun4frobRS8_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-4.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-5.C -std=c++2a  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neunW4zehn4frobRS9_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-5.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-5.C -std=c++2b  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neunW4zehn4frobRS9_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-5.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-6.C -std=c++2a  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neunW4zehnW3elf4frobRSA_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-6.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-6.C -std=c++2b  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neunW4zehnW3elf4frobRSA_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-6.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sys/inext-1.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sys/inext-1.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_c.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_c.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_c.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_c.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_b.C -std=c++2a  scan-lang-dump module "Read:-[0-9]'s named merge key \\(matched\\) type_decl:'::__mbstate_t'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_b.C -std=c++2b  scan-lang-dump module "Read:-[0-9]'s named merge key \\(matched\\) type_decl:'::__mbstate_t'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++2a  scan-lang-dump-times module "Cloned:-[0-9]* typedef integer_type:'::duration_cast::__to_rep'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++2a  scan-lang-dump-times module "merge key \\(matched\\) function_decl:'::duration_cast" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++2a  scan-lang-dump-times module "merge key \\(unique\\) type_decl:'#null#'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++2b  scan-lang-dump-times module "Cloned:-[0-9]* typedef integer_type:'::duration_cast::__to_rep'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++2b  scan-lang-dump-times module "merge key \\(matched\\) function_decl:'::duration_cast" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++2b  scan-lang-dump-times module "merge key \\(unique\\) type_decl:'#null#'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-8_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-8_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-8_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-8_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-inst-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-inst-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-inst-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-inst-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/thunk-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/thunk-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/thunk-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/thunk-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/timevar-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/timevar-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/timevar-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/timevar-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++2a  scan-lang-dump module "Writing typedef type_decl:'::__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++2a  scan-lang-dump module "Wrote tinfo_type:-[0-9]* 9 '::__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++2a  scan-lang-dump-not module "Writing tree:-[0-9]* type_decl:'__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++2b  scan-lang-dump module "Writing typedef type_decl:'::__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++2b  scan-lang-dump module "Wrote tinfo_type:-[0-9]* 9 '::__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++2b  scan-lang-dump-not module "Writing tree:-[0-9]* type_decl:'__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-10.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-10.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-11.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-11.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-12.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-12.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-13.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-13.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-14.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-14.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-15.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-15.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++2a  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++2a  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++2b  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++2b  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_b.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_b.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-3.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-3.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++2a  (test for errors, line 2)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++2a  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++2b  (test for errors, line 2)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++2b  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-5.C -std=c++2a  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-5.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-5.C -std=c++2b  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-5.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-6.C -std=c++2a  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-6.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-6.C -std=c++2b  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-6.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-7.C -std=c++2a  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-7.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-7.C -std=c++2b  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-7.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-8.C -std=c++2a  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-8.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-8.C -std=c++2b  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-8.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-9.C -std=c++2a  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-9.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-9.C -std=c++2b  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-9.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++2a  scan-lang-dump module "Writing decl tmpl spec:-[0-9]* template_decl:'::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++2a  scan-lang-dump module "Writing decl tmpl spec:-[0-9]* type_decl:'::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++2a  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) type_decl:'::allocator_traits<::allocator<long int>>::rebind_alloc<long int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++2b  scan-lang-dump module "Writing decl tmpl spec:-[0-9]* template_decl:'::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++2b  scan-lang-dump module "Writing decl tmpl spec:-[0-9]* type_decl:'::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++2b  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) type_decl:'::allocator_traits<::allocator<long int>>::rebind_alloc<long int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++2a  scan-lang-dump module "Deduping '::allocator_traits<::allocator<_Tp>>::template rebind_alloc'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++2a  scan-lang-dump module "Deduping '::allocator_traits<::allocator<long int>>::rebind_alloc<long int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++2a  scan-lang-dump module "Deduping '::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++2b  scan-lang-dump module "Deduping '::allocator_traits<::allocator<_Tp>>::template rebind_alloc'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++2b  scan-lang-dump module "Deduping '::allocator_traits<::allocator<long int>>::rebind_alloc<long int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++2b  scan-lang-dump module "Deduping '::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-fn-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-fn-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-fn-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-fn-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-var-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-var-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-var-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-var-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-11_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-11_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-11_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-11_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_f.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_f.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++2a  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++2b  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2a  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2a  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2a  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2a  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2a  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2a  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2a  at line 13 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2b  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2b  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2b  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2b  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2b  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2b  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2b  at line 13 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2a  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2a  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2a  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2a  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2a  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2a  at line 15 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2a  at line 17 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2a  at line 18 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2b  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2b  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2b  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2b  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2b  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2b  at line 15 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2b  at line 17 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2b  at line 18 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_f.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_f.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_g.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_g.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++2a  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++2a  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++2b  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++2b  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-17_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-17_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-17_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-17_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2a  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::foo'\\n  \\[1\\]=decl declaration '::foo'\\n  \\[2\\]=binding '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template TPL'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::TPL<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2a  scan-lang-dump-not module "Connecting declaration decl template_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2b  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::foo'\\n  \\[1\\]=decl declaration '::foo'\\n  \\[2\\]=binding '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template TPL'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::TPL<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2b  scan-lang-dump-not module "Connecting declaration decl template_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++2a  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::foo'\\n  \\[.\\]=binding '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template TPL'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=decl declaration '::template foo'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++2b  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::foo'\\n  \\[.\\]=binding '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template TPL'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=decl declaration '::template foo'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_a.C -std=c++2a  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_a.C -std=c++2b  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++2a  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++2a  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++2b  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++2b  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++2a  scan-lang-dump module "Lazily binding '::basic_streambuf'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++2a  scan-lang-dump module "Loading entity foo\\[0\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++2a  scan-lang-dump module "Loading entity foo\\[1\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++2b  scan-lang-dump module "Lazily binding '::basic_streambuf'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++2b  scan-lang-dump module "Loading entity foo\\[0\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++2b  scan-lang-dump module "Loading entity foo\\[1\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-6_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-6_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-7_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-7_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-7_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-8_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-8_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-8_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-8_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-9.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-9.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_c.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_c.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_e.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_e.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_f.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_f.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2a  scan-assembler _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2a  scan-lang-dump module "Dependencies of specialization function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2a  scan-lang-dump module "Pending specialization '::foo<int>' entity:[0-9]* section:. keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2a  scan-lang-dump-not module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2b  scan-assembler _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2b  scan-lang-dump module "Dependencies of specialization function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2b  scan-lang-dump module "Pending specialization '::foo<int>' entity:[0-9]* section:. keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2b  scan-lang-dump-not module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++2a  scan-assembler-not _Z3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++2a  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++2a  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++2b  scan-assembler-not _Z3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++2b  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++2b  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_a.C -std=c++2a  scan-assembler-not ^[a-zA-Z0-9_]*:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_a.C -std=c++2b  scan-assembler-not ^[a-zA-Z0-9_]*:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2a  scan-assembler _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2a  scan-lang-dump module "Dependencies of specialization function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2a  scan-lang-dump module "Pending specialization '::foo<int>' entity:[0-9]* section:. keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2a  scan-lang-dump-not module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2b  scan-assembler _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2b  scan-lang-dump module "Dependencies of specialization function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2b  scan-lang-dump module "Pending specialization '::foo<int>' entity:[0-9]* section:. keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2b  scan-lang-dump-not module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++2a  scan-assembler-not _Z3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++2a  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++2a  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++2b  scan-assembler-not _Z3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++2b  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++2b  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++2a  scan-assembler _ZW3TPL3fooIfEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++2a  scan-assembler-not _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++2a  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++2a  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++2b  scan-assembler _ZW3TPL3fooIfEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++2b  scan-assembler-not _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++2b  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++2b  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2a  scan-assembler _ZNW3TPL4frob5storeIiEEvT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2a  scan-lang-dump module "Dependencies of specialization function_decl:'::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2a  scan-lang-dump module "Pending specialization '::frob::store<int>' entity:[0-9]* section:. keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2a  scan-lang-dump-not module "Depending definition function_decl:'::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2b  scan-assembler _ZNW3TPL4frob5storeIiEEvT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2b  scan-lang-dump module "Dependencies of specialization function_decl:'::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2b  scan-lang-dump module "Pending specialization '::frob::store<int>' entity:[0-9]* section:. keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2b  scan-lang-dump-not module "Depending definition function_decl:'::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++2a  scan-assembler-not _ZN4frob5storeIiEEvT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++2a  scan-lang-dump module "Reading 2 pending entities keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++2a  scan-lang-dump-not module "Reading definition function_decl '::frob@TPL:.::store@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++2b  scan-assembler-not _ZN4frob5storeIiEEvT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++2b  scan-lang-dump module "Reading 2 pending entities keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++2b  scan-lang-dump-not module "Reading definition function_decl '::frob@TPL:.::store@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=specialization definition '::X<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++2a  scan-lang-dump module "Dependencies of specialization type_decl:'::X<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++2a  scan-lang-dump module "Pending specialization '::X<int>' entity:[0-9]* section:. keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=specialization definition '::X<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++2b  scan-lang-dump module "Dependencies of specialization type_decl:'::X<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++2b  scan-lang-dump module "Pending specialization '::X<int>' entity:[0-9]* section:. keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_b.C -std=c++2a  scan-lang-dump module "Reading 2 pending entities keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_b.C -std=c++2b  scan-lang-dump module "Reading 2 pending entities keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n(  \\[.\\][^\\n]*'\\n)*  \\[.\\]=partial definition '::template X<T,0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++2a  scan-lang-dump module "Dependency on partial template_decl:'::template X<T,0x1>' found"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++2a  scan-lang-dump module "Pending specialization '::template X<T,0x1>' entity:[0-9]* section:. keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n(  \\[.\\][^\\n]*'\\n)*  \\[.\\]=partial definition '::template X<T,0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++2b  scan-lang-dump module "Dependency on partial template_decl:'::template X<T,0x1>' found"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++2b  scan-lang-dump module "Pending specialization '::template X<T,0x1>' entity:[0-9]* section:. keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_b.C -std=c++2a  scan-lang-dump module "Reading 2 pending entities keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_b.C -std=c++2b  scan-lang-dump module "Reading 2 pending entities keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_b.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_b.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-7.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-7.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-8_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-8_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-8_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-8_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-friend-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-friend-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-friend-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-friend-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-mem-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-mem-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-mem-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-mem-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-friend_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-friend_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-friend_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-friend_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++2a  scan-lang-dump module "Bindings '::counter' section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++2a  scan-lang-dump-not module "Unnamed . '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++2a  scan-lang-dump-not module "horcrux"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++2b  scan-lang-dump module "Bindings '::counter' section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++2b  scan-lang-dump-not module "Unnamed . '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++2b  scan-lang-dump-not module "horcrux"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++2a  scan-lang-dump module ">Loading entity PiL\\[0\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++2a  scan-lang-dump module "Bindings '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++2b  scan-lang-dump module ">Loading entity PiL\\[0\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++2b  scan-lang-dump module "Bindings '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++2a  scan-lang-dump-not module "Bindings '::counter' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++2a  scan-lang-dump-not module "Unnamed . '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++2b  scan-lang-dump-not module "Bindings '::counter' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++2b  scan-lang-dump-not module "Unnamed . '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_b.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_b.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_c.C -std=c++2a  scan-assembler _Z4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_c.C -std=c++2b  scan-assembler _Z4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 100)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 101)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 51)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 52)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 53)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 55)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 56)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 75)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 76)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for errors, line 99)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 35)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 38)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 40)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 45)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 48)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 60)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 65)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 69)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 88)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a  (test for warnings, line 91)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 100)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 101)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 51)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 52)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 53)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 55)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 56)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 75)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 76)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for errors, line 99)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 35)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 38)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 40)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 45)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 48)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 60)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 65)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 69)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 88)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b  (test for warnings, line 91)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 100)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 101)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 102)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 52)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 53)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 55)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 56)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 57)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 76)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for errors, line 79)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 37)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 40)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 45)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 47)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 50)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 71)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 90)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 93)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a  (test for warnings, line 96)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 100)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 101)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 102)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 52)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 53)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 55)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 56)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 57)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 76)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for errors, line 79)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 37)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 40)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 45)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 47)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 50)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 71)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 90)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 93)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b  (test for warnings, line 96)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-13_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-13_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-13_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-13_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-14.C -std=c++2a  scan-lang-dump module "Wrote 0 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-14.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-14.C -std=c++2b  scan-lang-dump module "Wrote 0 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-14.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_c.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_c.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_c.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_c.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-17_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-17_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-17_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-17_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-18_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-18_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-18_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-18_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++2a  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++2a  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++2a  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++2b  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++2b  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++2b  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-20_a.C -std=c++2a  scan-lang-dump module "Writing definition '::foo::bar::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-20_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-20_a.C -std=c++2b  scan-lang-dump module "Writing definition '::foo::bar::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-20_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-21_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-21_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++2a  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++2b  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-23_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-23_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-23_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-23_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++2a  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++2b  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++2a  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++2a  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++2a  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++2a  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++2b  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++2b  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++2b  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++2b  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2a  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2a  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2a  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2a  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2a  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2a  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2b  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2b  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2b  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2b  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2b  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2b  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-28_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-28_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-28_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-28_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-29.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-29.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++2a  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++2a  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++2b  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++2b  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++2a  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++2b  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++2a  scan-lang-dump module "Depset:0 using overload:'::N::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++2a  scan-lang-dump module "Depset:1 binding namespace_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++2a  scan-lang-dump module "Writing section:2 2 depsets"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++2b  scan-lang-dump module "Depset:0 using overload:'::N::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++2b  scan-lang-dump module "Depset:1 binding namespace_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++2b  scan-lang-dump module "Writing section:2 2 depsets"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_b.C -std=c++2a  scan-lang-dump module "Binding of '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_b.C -std=c++2b  scan-lang-dump module "Binding of '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::One::X'\\n  \\[1\\]=binding '::One::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=using declaration '::One::X'\\n  \\[1\\]=binding '::Two::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::One::X'\\n  \\[1\\]=binding '::One::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=using declaration '::One::X'\\n  \\[1\\]=binding '::Two::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-6_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-6_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++2a  scan-lang-dump module "Writing section:1 4 depsets\\n Cluster members:\\n  \\[0\\]=decl definition '::__gnu_cxx::_Lock_policy'\\n  \\[1\\]=using declaration '::__gnu_cxx::_Lock_policy::_S_single'\\n  \\[2\\]=binding '::__gnu_cxx::_[A-Za-z_]*'\\n  \\[3\\]=binding '::__gnu_cxx::_[A-Za-z_]*'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++2a  scan-lang-dump module "Writing section:2 2 depsets\\n Cluster members:\\n  \\[0\\]=using declaration '::__gnu_cxx::_Lock_policy::_S_single'\\n  \\[1\\]=binding '::std::_S_single'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++2b  scan-lang-dump module "Writing section:1 4 depsets\\n Cluster members:\\n  \\[0\\]=decl definition '::__gnu_cxx::_Lock_policy'\\n  \\[1\\]=using declaration '::__gnu_cxx::_Lock_policy::_S_single'\\n  \\[2\\]=binding '::__gnu_cxx::_[A-Za-z_]*'\\n  \\[3\\]=binding '::__gnu_cxx::_[A-Za-z_]*'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++2b  scan-lang-dump module "Writing section:2 2 depsets\\n Cluster members:\\n  \\[0\\]=using declaration '::__gnu_cxx::_Lock_policy::_S_single'\\n  \\[1\\]=binding '::std::_S_single'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-8_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-8_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-8_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-8_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++2a  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++2a  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++2b  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++2b  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_c.C -std=c++2a  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_c.C -std=c++2b  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-concept-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-concept-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-concept-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-concept-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++2a  scan-assembler _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++2a  scan-assembler _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++2a  scan-assembler _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++2a  scan-assembler _ZW3foo5VisitPS_7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++2b  scan-assembler _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++2b  scan-assembler _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++2b  scan-assembler _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++2b  scan-assembler _ZW3foo5VisitPS_7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++2a  scan-assembler-not _ZTI7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++2a  scan-assembler-not _ZTS7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++2a  scan-assembler-not _ZTV7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++2b  scan-assembler-not _ZTI7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++2b  scan-assembler-not _ZTS7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++2b  scan-assembler-not _ZTV7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++2a  scan-assembler _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++2a  scan-assembler _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++2a  scan-assembler _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++2b  scan-assembler _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++2b  scan-assembler _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++2b  scan-assembler _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++2a  scan-assembler-not _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++2a  scan-assembler-not _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++2a  scan-assembler-not _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++2b  scan-assembler-not _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++2b  scan-assembler-not _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++2b  scan-assembler-not _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++2a  scan-assembler-not _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++2a  scan-assembler-not _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++2a  scan-assembler-not _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++2b  scan-assembler-not _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++2b  scan-assembler-not _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++2b  scan-assembler-not _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_d.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_d.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2a  scan-assembler _ZTIW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2a  scan-assembler _ZTIW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2a  scan-assembler _ZTSW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2a  scan-assembler _ZTSW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2a  scan-assembler _ZTVW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2a  scan-assembler _ZTVW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2a  scan-assembler-not _ZTI10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2a  scan-assembler-not _ZTS10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2a  scan-assembler-not _ZTV10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2b  scan-assembler _ZTIW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2b  scan-assembler _ZTIW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2b  scan-assembler _ZTSW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2b  scan-assembler _ZTSW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2b  scan-assembler _ZTVW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2b  scan-assembler _ZTVW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2b  scan-assembler-not _ZTI10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2b  scan-assembler-not _ZTS10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2b  scan-assembler-not _ZTV10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2a  scan-assembler _ZTI10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2a  scan-assembler _ZTIW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2a  scan-assembler _ZTS10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2a  scan-assembler _ZTSW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2a  scan-assembler _ZTV10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2a  scan-assembler _ZTVW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2a  scan-assembler-not _ZTIW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2a  scan-assembler-not _ZTSW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2a  scan-assembler-not _ZTVW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2b  scan-assembler _ZTI10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2b  scan-assembler _ZTIW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2b  scan-assembler _ZTS10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2b  scan-assembler _ZTSW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2b  scan-assembler _ZTV10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2b  scan-assembler _ZTVW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2b  scan-assembler-not _ZTIW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2b  scan-assembler-not _ZTSW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2b  scan-assembler-not _ZTVW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++2a  scan-assembler _ZTTW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++2a  scan-assembler _ZTVW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++2b  scan-assembler _ZTTW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++2b  scan-assembler _ZTVW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++2a  scan-assembler-not _ZTTW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++2a  scan-assembler-not _ZTVW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++2b  scan-assembler-not _ZTTW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++2b  scan-assembler-not _ZTVW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-6_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-6_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-6_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2 -std=c++2a execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2 -std=c++2a link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2 -std=c++2b execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2 -std=c++2b link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++2a  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::frobber'\\n  \\[1\\]=decl definition '::frobber::._anon_0'\\n(  \\[.\\]=decl [^\\n]*'\\n)*  \\[.\\]=binding '::frobber'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++2a  scan-lang-dump module "Connecting definition decl type_decl:'::frobber::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++2a  scan-lang-dump module "Entities 5"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++2b  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::frobber'\\n  \\[1\\]=decl definition '::frobber::._anon_0'\\n(  \\[.\\]=decl [^\\n]*'\\n)*  \\[.\\]=binding '::frobber'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++2b  scan-lang-dump module "Connecting definition decl type_decl:'::frobber::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++2b  scan-lang-dump module "Entities 5"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++2a  scan-lang-dump-not module "Cluster import "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++2a  scan-lang-dump-not module "onnecting definition decl type_decl:'::frobber@voldy:.::._anon_1@voldy:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++2b  scan-lang-dump-not module "Cluster import "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++2b  scan-lang-dump-not module "onnecting definition decl type_decl:'::frobber@voldy:.::._anon_1@voldy:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++2a  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::frobber@voldy:.::._anon_3@voldy:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++2a  scan-lang-dump module "Loading entity voldy\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++2b  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::frobber@voldy:.::._anon_3@voldy:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++2b  scan-lang-dump module "Loading entity voldy\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++2a  scan-assembler _ZTTW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++2a  scan-assembler _ZTVW3foo4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++2a  scan-assembler _ZTVW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++2b  scan-assembler _ZTTW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++2b  scan-assembler _ZTVW3foo4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++2b  scan-assembler _ZTVW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2a  scan-assembler _ZTTW3bar4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2a  scan-assembler _ZTVW3bar4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2a  scan-assembler-not _ZTTW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2a  scan-assembler-not _ZTVW3foo4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2a  scan-assembler-not _ZTVW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2b  scan-assembler _ZTTW3bar4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2b  scan-assembler _ZTVW3bar4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2b  scan-assembler-not _ZTTW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2b  scan-assembler-not _ZTVW3foo4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2b  scan-assembler-not _ZTVW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2a  scan-assembler-not _ZTT4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2a  scan-assembler-not _ZTT7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2a  scan-assembler-not _ZTV4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2a  scan-assembler-not _ZTV4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2a  scan-assembler-not _ZTV7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2b  scan-assembler-not _ZTT4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2b  scan-assembler-not _ZTT7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2b  scan-assembler-not _ZTV4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2b  scan-assembler-not _ZTV4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2b  scan-assembler-not _ZTV7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_a.H -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++2a  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++2a  scan-lang-dump-times module "merge key \\(unique\\)" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++2b  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++2b  scan-lang-dump-times module "merge key \\(unique\\)" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-1_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-1_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-1_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-2_a.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-2_a.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-2_b.C -std=c++2a (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-1_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-1_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-2_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-2_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-2_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-3_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-3_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-3_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-4_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-4_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-4_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-5_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-5_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-5_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-6_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-6_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-6_c.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-7_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-7_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-8.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header_b.C -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-tr1_a.H -std=c++2b (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-tr1_b.C -std=c++2b (test for excess errors)
+  Executed from: gcc:gcc.dg/dg.exp
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 6)
+    gcc:gcc.dg/dg.exp=gcc.dg/pr78408-1.c scan-tree-dump-times ccp1 "after previous" 1
+    gcc:gcc.dg/dg.exp=gcc.dg/pr78408-1.c scan-tree-dump-times forwprop1 "after previous" 16
+  Executed from: gcc:gcc.dg/plugin/plugin.exp
+    gcc:gcc.dg/plugin/plugin.exp=gcc.dg/plugin/diagnostic-test-xhtml-1.c -fplugin=./diagnostic_plugin_xhtml_format.so  expected multiline pattern lines 11-16
+    gcc:gcc.dg/plugin/plugin.exp=gcc.dg/plugin/diagnostic_plugin_xhtml_format.cc compilation
+  Executed from: gcc:gcc.dg/tree-ssa/tree-ssa.exp
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/phi-opt-40.c scan-tree-dump-times phiopt1 "ABS_EXPR <" 2
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/phi-opt-40.c scan-tree-dump-times phiopt2 "ABSU_EXPR <" 1
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/phi-opt-40.c scan-tree-dump-times phiopt2 "ABS_EXPR <" 1
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/phi-opt-41.c scan-tree-dump-times phiopt1 "ABS_EXPR <" 4
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/pr31261.c scan-tree-dump-times original "return \\(char\\) -\\(unsigned char\\) c & 31;" 1
+  Executed from: gcc:gcc.target/arm/arm.exp
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/armv8_2-fp16-arith-1.c scan-assembler-times vcmp\\.f32\\ts[0-9]+, s[0-9]+ 2
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/armv8_2-fp16-arith-1.c scan-assembler-times vcmpe\\.f32\\ts[0-9]+, s[0-9]+ 4
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/unsigned-extend-2.c scan-assembler ands
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/unsigned-extend-2.c scan-assembler-not cmp
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/unsigned-extend-2.c scan-assembler-not uxtb
   Executed from: libstdc++:libstdc++-dg/conformance.exp
+    libstdc++:libstdc++-dg/conformance.exp=18_support/headers/ciso646/macros.cc  -std=gnu++17  (test for warnings, line )
     libstdc++:libstdc++-dg/conformance.exp=24_iterators/operations/prev_neg.cc  -std=gnu++17  (test for errors, line 241)
+    libstdc++:libstdc++-dg/conformance.exp=26_numerics/headers/cmath/82644.cc  -std=gnu++17 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/parse_ctx.cc  -std=gnu++26  (test for warnings, line 476)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++23  (test for errors, line )
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++26  (test for errors, line )
 
 
   - New PASS                  [     => PASS]:
 
+  Executed from: g++:g++.dg/coroutines/torture/coro-torture.exp
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O0  (test for excess errors)
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O0  execution test
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O1  (test for excess errors)
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O1  execution test
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O2  (test for excess errors)
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O2  execution test
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O2 -flto -fno-use-linker-plugin -flto-partition=none  execution test
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  execution test
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O3 -g  (test for excess errors)
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -O3 -g  execution test
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -Os  (test for excess errors)
+    g++:g++.dg/coroutines/torture/coro-torture.exp=g++.dg/coroutines/torture/pr119916.C   -Os  execution test
   Executed from: g++:g++.dg/dg.exp
+    g++:g++.dg/dg.exp=c-c++-common/pr118868-1.c  -std=c++17 (test for excess errors)
+    g++:g++.dg/dg.exp=c-c++-common/pr118868-1.c  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=c-c++-common/pr118868-1.c  -std=c++98 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/abi/base-defaulted2.C  -std=c++11  (test for bogus messages, line 11)
+    g++:g++.dg/dg.exp=g++.dg/abi/base-defaulted2.C  -std=c++11 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/abi/base-defaulted2.C  -std=c++17  (test for bogus messages, line 11)
+    g++:g++.dg/dg.exp=g++.dg/abi/base-defaulted2.C  -std=c++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/abi/base-defaulted2.C  -std=c++26  (test for bogus messages, line 11)
+    g++:g++.dg/dg.exp=g++.dg/abi/base-defaulted2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-initlist1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-initlist1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-initlist1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-initlist2.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-initlist2.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-initlist2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-moveonly1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-moveonly1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-moveonly1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-00-needs-expr.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-00-needs-expr.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-00-needs-expr.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-00-needs-expr.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-00-needs-expr.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-00-needs-expr.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-01-outside-fn.C  -std=c++20  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-01-outside-fn.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-01-outside-fn.C  -std=c++23  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-01-outside-fn.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-01-outside-fn.C  -std=c++26  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-01-outside-fn.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-02-outside-fn.C  -std=c++20  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-02-outside-fn.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-02-outside-fn.C  -std=c++23  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-02-outside-fn.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-02-outside-fn.C  -std=c++26  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-02-outside-fn.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-03-auto.C  -std=c++20  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-03-auto.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-03-auto.C  -std=c++23  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-03-auto.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-03-auto.C  -std=c++26  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-03-auto.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C  -std=c++20  (test for errors, line 7)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C  -std=c++23  (test for errors, line 7)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C  -std=c++26  (test for errors, line 7)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-04-ctor-dtor.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-05-constexpr.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-05-constexpr.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-05-constexpr.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-05-constexpr.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-05-constexpr.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-05-constexpr.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-06-main.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-06-main.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-06-main.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-06-main.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-06-main.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-06-main.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-07-varargs.C  -std=c++20  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-07-varargs.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-07-varargs.C  -std=c++23  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-07-varargs.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-07-varargs.C  -std=c++26  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-07-varargs.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-08-lambda-auto.C  -std=c++20  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-08-lambda-auto.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-08-lambda-auto.C  -std=c++23  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-08-lambda-auto.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-08-lambda-auto.C  -std=c++26  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-08-lambda-auto.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-09-convert.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-10.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-syntax-11.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-void_type.C    (test for errors, line 42)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-await-void_type.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-01-outside-fn.C  -std=c++20  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-01-outside-fn.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-01-outside-fn.C  -std=c++23  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-01-outside-fn.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-01-outside-fn.C  -std=c++26  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-01-outside-fn.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-02-outside-fn.C  -std=c++20  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-02-outside-fn.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-02-outside-fn.C  -std=c++23  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-02-outside-fn.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-02-outside-fn.C  -std=c++26  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-02-outside-fn.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-03-auto.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-03-auto.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-03-auto.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-03-auto.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-03-auto.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-03-auto.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C  -std=c++20  (test for errors, line 7)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C  -std=c++23  (test for errors, line 7)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C  -std=c++26  (test for errors, line 7)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-04-ctor-dtor.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-05-constexpr-fn.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-05-constexpr-fn.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-05-constexpr-fn.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-05-constexpr-fn.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-05-constexpr-fn.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-05-constexpr-fn.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-06-main.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-06-main.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-06-main.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-06-main.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-06-main.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-06-main.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-07-vararg.C  -std=c++20  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-07-vararg.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-07-vararg.C  -std=c++23  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-07-vararg.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-07-vararg.C  -std=c++26  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-07-vararg.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-08-bad-return.C  -std=c++20  (test for errors, line 37)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-08-bad-return.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-08-bad-return.C  -std=c++23  (test for errors, line 37)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-08-bad-return.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-08-bad-return.C  -std=c++26  (test for errors, line 37)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-08-bad-return.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-09-lambda-auto.C  -std=c++20  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-09-lambda-auto.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-09-lambda-auto.C  -std=c++23  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-09-lambda-auto.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-09-lambda-auto.C  -std=c++26  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-09-lambda-auto.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-10-movable.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-10-movable.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-syntax-10-movable.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-return-warning-1.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-00-needs-expr.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-00-needs-expr.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-00-needs-expr.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-00-needs-expr.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-00-needs-expr.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-00-needs-expr.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-01-outside-fn.C  -std=c++20  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-01-outside-fn.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-01-outside-fn.C  -std=c++23  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-01-outside-fn.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-01-outside-fn.C  -std=c++26  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-01-outside-fn.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-02-outside-fn.C  -std=c++20  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-02-outside-fn.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-02-outside-fn.C  -std=c++23  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-02-outside-fn.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-02-outside-fn.C  -std=c++26  (test for errors, line 5)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-02-outside-fn.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-03-auto.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-03-auto.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-03-auto.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-03-auto.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-03-auto.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-03-auto.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C  -std=c++20  (test for errors, line 7)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C  -std=c++23  (test for errors, line 7)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C  -std=c++26  (test for errors, line 7)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-04-ctor-dtor.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-05-constexpr.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-05-constexpr.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-05-constexpr.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-05-constexpr.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-05-constexpr.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-05-constexpr.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-06-main.C  -std=c++20  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-06-main.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-06-main.C  -std=c++23  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-06-main.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-06-main.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-06-main.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-07-varargs.C  -std=c++20  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-07-varargs.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-07-varargs.C  -std=c++23  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-07-varargs.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-07-varargs.C  -std=c++26  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-07-varargs.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-08-needs-expr.C  -std=c++20  (test for errors, line 30)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-08-needs-expr.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-08-needs-expr.C  -std=c++23  (test for errors, line 30)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-08-needs-expr.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-08-needs-expr.C  -std=c++26  (test for errors, line 30)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-08-needs-expr.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-09-lambda-auto.C  -std=c++20  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-09-lambda-auto.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-09-lambda-auto.C  -std=c++23  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-09-lambda-auto.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-09-lambda-auto.C  -std=c++26  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/co-yield-syntax-09-lambda-auto.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-00-bad-op-new.C  -std=c++20  (test for errors, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-00-bad-op-new.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-00-bad-op-new.C  -std=c++23  (test for errors, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-00-bad-op-new.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-00-bad-op-new.C  -std=c++26  (test for errors, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-00-bad-op-new.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-01-bad-op-del.C  -std=c++20  (test for errors, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-01-bad-op-del.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-01-bad-op-del.C  -std=c++23  (test for errors, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-01-bad-op-del.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-01-bad-op-del.C  -std=c++26  (test for errors, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-01-bad-op-del.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-02-no-op-new-nt.C  -std=c++20  (test for errors, line 12)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-02-no-op-new-nt.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-02-no-op-new-nt.C  -std=c++23  (test for errors, line 12)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-02-no-op-new-nt.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-02-no-op-new-nt.C  -std=c++26  (test for errors, line 12)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-alloc-02-no-op-new-nt.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-00-class-gro-scalar-return.C  -std=c++20  (test for errors, line 38)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-00-class-gro-scalar-return.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-00-class-gro-scalar-return.C  -std=c++23  (test for errors, line 38)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-00-class-gro-scalar-return.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-00-class-gro-scalar-return.C  -std=c++26  (test for errors, line 38)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-00-class-gro-scalar-return.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-01-void-gro-non-class-coro.C  -std=c++20  (test for errors, line 32)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-01-void-gro-non-class-coro.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-01-void-gro-non-class-coro.C  -std=c++23  (test for errors, line 32)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-01-void-gro-non-class-coro.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-01-void-gro-non-class-coro.C  -std=c++26  (test for errors, line 32)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-gro-01-void-gro-non-class-coro.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C  -std=c++20  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C  -std=c++20  at line 11 (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C  -std=c++23  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C  -std=c++23  at line 11 (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C  -std=c++26  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C  -std=c++26  at line 11 (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-00-static.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-01-grooaf-expected.C  -std=c++20  (test for warnings, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-01-grooaf-expected.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-01-grooaf-expected.C  -std=c++23  (test for warnings, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-01-grooaf-expected.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-01-grooaf-expected.C  -std=c++26  (test for warnings, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-bad-grooaf-01-grooaf-expected.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-builtins.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-builtins.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-builtins.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-function-decl.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-function-decl.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-function-decl.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-final-suspend.C  -std=c++20  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-final-suspend.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-final-suspend.C  -std=c++23  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-final-suspend.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-final-suspend.C  -std=c++26  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-final-suspend.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-gro.C  -std=c++20  (test for errors, line 24)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-gro.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-gro.C  -std=c++23  (test for errors, line 24)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-gro.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-gro.C  -std=c++26  (test for errors, line 24)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-gro.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-initial-suspend.C  -std=c++20  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-initial-suspend.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-initial-suspend.C  -std=c++23  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-initial-suspend.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-initial-suspend.C  -std=c++26  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-initial-suspend.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise-yield.C  -std=c++20  (test for errors, line 26)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise-yield.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise-yield.C  -std=c++23  (test for errors, line 26)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise-yield.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise-yield.C  -std=c++26  (test for errors, line 26)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise-yield.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise.C  -std=c++20  (test for errors, line 16)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise.C  -std=c++23  (test for errors, line 16)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise.C  -std=c++26  (test for errors, line 16)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-promise.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-value.C  -std=c++20  (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-value.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-value.C  -std=c++23  (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-value.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-value.C  -std=c++26  (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-value.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-void.C  -std=c++20  (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-void.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-void.C  -std=c++23  (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-void.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-void.C  -std=c++26  (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ret-void.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-1.C  -std=c++20  (test for errors, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-1.C  -std=c++23  (test for errors, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-1.C  -std=c++26  (test for errors, line 9)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-2.C  -std=c++20  (test for warnings, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-2.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-2.C  -std=c++23  (test for warnings, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-2.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-2.C  -std=c++26  (test for warnings, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-3.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-3.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-missing-ueh-3.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-pre-proc.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-pre-proc.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-pre-proc.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-range-for1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-range-for1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro-range-for1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++20  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++20  (test for errors, line 12)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++20  (test for errors, line 13)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++20  (test for errors, line 14)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++23  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++23  (test for errors, line 12)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++23  (test for errors, line 13)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++23  (test for errors, line 14)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++26  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++26  (test for errors, line 12)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++26  (test for errors, line 13)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++26  (test for errors, line 14)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/coro1-missing-await-method.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/maybe-unused-1.C  -std=c++20  (test for warnings, line 32)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/maybe-unused-1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/maybe-unused-1.C  -std=c++23  (test for warnings, line 32)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/maybe-unused-1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/maybe-unused-1.C  -std=c++26  (test for warnings, line 32)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/maybe-unused-1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++20  (test for warnings, line 27)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++20  (test for warnings, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++20  (test for warnings, line 42)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++20  (test for warnings, line 43)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++20  (test for warnings, line 62)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++20  (test for warnings, line 63)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++20  at line 35 (test for warnings, line 34)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++20  at line 50 (test for warnings, line 49)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++20  at line 70 (test for warnings, line 69)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++23  (test for warnings, line 27)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++23  (test for warnings, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++23  (test for warnings, line 42)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++23  (test for warnings, line 43)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++23  (test for warnings, line 62)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++23  (test for warnings, line 63)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++23  at line 35 (test for warnings, line 34)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++23  at line 50 (test for warnings, line 49)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++23  at line 70 (test for warnings, line 69)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++26  (test for warnings, line 27)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++26  (test for warnings, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++26  (test for warnings, line 42)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++26  (test for warnings, line 43)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++26  (test for warnings, line 62)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++26  (test for warnings, line 63)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++26  at line 35 (test for warnings, line 34)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++26  at line 50 (test for warnings, line 49)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++26  at line 70 (test for warnings, line 69)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/nodiscard-1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100127.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100127.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100127.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100611.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100611.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100611.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100611.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100611.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100611.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100673.C  -std=c++20  (test for errors, line 16)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100673.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100673.C  -std=c++23  (test for errors, line 16)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100673.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100673.C  -std=c++26  (test for errors, line 16)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100673.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100772-a.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100772-a.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100772-a.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100772-b.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100772-b.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr100772-b.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101133.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101133.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101133.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101367.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101367.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101367.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101367.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101367.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101367.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101765.C  -std=c++20  (test for warnings, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101765.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101765.C  -std=c++23  (test for warnings, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101765.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101765.C  -std=c++26  (test for warnings, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101765.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101976.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101976.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101976.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101976.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101976.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr101976.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr102051.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr102051.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr102051.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr102454.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr102454.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr102454.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr102489.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr102489.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr102489.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr103328.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr103328.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr103328.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr103868.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr104051.C  -std=c++20  (test for errors, line 27)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr104051.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr104051.C  -std=c++23  (test for errors, line 27)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr104051.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr104051.C  -std=c++26  (test for errors, line 27)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr104051.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr104981-preview-this.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr104981-preview-this.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr104981-preview-this.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105287.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105287.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105287.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105301.C  -std=c++20  (test for errors, line 49)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105301.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105301.C  -std=c++23  (test for errors, line 49)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105301.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105301.C  -std=c++26  (test for errors, line 49)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105301.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-1.C  -std=c++20  at line 27 (test for errors, line 26)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-1.C  -std=c++23  at line 27 (test for errors, line 26)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-1.C  -std=c++26  at line 27 (test for errors, line 26)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-2.C  -std=c++20  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-2.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-2.C  -std=c++23  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-2.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-2.C  -std=c++26  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-3.C  -std=c++20  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-3.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-3.C  -std=c++23  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-3.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-3.C  -std=c++26  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-3.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-4.C  -std=c++20  at line 41 (test for errors, line 40)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-4.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-4.C  -std=c++23  at line 41 (test for errors, line 40)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-4.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-4.C  -std=c++26  at line 41 (test for errors, line 40)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-4.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-5.C  -std=c++20  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-5.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-5.C  -std=c++23  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-5.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-5.C  -std=c++26  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-5.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-6.C  -std=c++20  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-6.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-6.C  -std=c++23  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-6.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-6.C  -std=c++26  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-6.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec-2.C  -std=c++20  at line 33 (test for errors, line 32)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec-2.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec-2.C  -std=c++23  at line 33 (test for errors, line 32)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec-2.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec-2.C  -std=c++26  at line 33 (test for errors, line 32)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec-2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec.C  -std=c++20  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec.C  -std=c++23  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec.C  -std=c++26  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475-broken-spec.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475.C  -std=c++20  at line 28 (test for errors, line 27)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475.C  -std=c++23  at line 28 (test for errors, line 27)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475.C  -std=c++26  at line 28 (test for errors, line 27)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr105475.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr106188.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr106188.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr106188.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr106188.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr106188.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr106188.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr106973.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr106973.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr106973.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr107768.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr107768.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr107768.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr108620.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr108620.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr108620.C  -std=c++26 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/coroutines/pr109283.C  -std=c++20 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/coroutines/pr109283.C  -std=c++23 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/coroutines/pr109283.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr109682.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr109682.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr109682.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171-1.C  -std=c++20  (test for warnings, line 31)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171-1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171-1.C  -std=c++23  (test for warnings, line 31)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171-1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171-1.C  -std=c++26  (test for warnings, line 31)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171-1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171.C  -std=c++20  (test for warnings, line 31)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171.C  -std=c++23  (test for warnings, line 31)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171.C  -std=c++26  (test for warnings, line 31)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110171.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110635.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110635.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110635.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110855.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110855.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110855.C  -std=c++20 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110855.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110855.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110855.C  -std=c++23 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110855.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110855.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110855.C  -std=c++26 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110871.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110871.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110871.C  -std=c++20 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110871.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110871.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110871.C  -std=c++23 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110871.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110871.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110871.C  -std=c++26 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110872.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110872.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110872.C  -std=c++20 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110872.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110872.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110872.C  -std=c++23 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110872.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110872.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr110872.C  -std=c++26 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr111728.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr111728.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr111728.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++20  (test for errors, line 22)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++20  (test for errors, line 23)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++20  (test for errors, line 24)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++23  (test for errors, line 22)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++23  (test for errors, line 23)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++23  (test for errors, line 24)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++26  (test for errors, line 22)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++26  (test for errors, line 23)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++26  (test for errors, line 24)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-3.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-3.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341-3.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr112341.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr113457-1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr113457-1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr113457-1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr113457.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr113457.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr113457.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115550-preview-this.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115550-preview-this.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115550-preview-this.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115858.C  -std=c++20  at line 19 (test for warnings, line 18)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115858.C  -std=c++20  at line 21 (test for warnings, line 20)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115858.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115858.C  -std=c++23  at line 19 (test for warnings, line 18)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115858.C  -std=c++23  at line 21 (test for warnings, line 20)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115858.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115858.C  -std=c++26  at line 19 (test for warnings, line 18)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115858.C  -std=c++26  at line 21 (test for warnings, line 20)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115858.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906-yield.C  -std=c++20  (test for errors, line 21)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906-yield.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906-yield.C  -std=c++23  (test for errors, line 21)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906-yield.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906-yield.C  -std=c++26  (test for errors, line 21)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906-yield.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906.C  -std=c++20  (test for errors, line 24)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906.C  -std=c++23  (test for errors, line 24)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906.C  -std=c++26  (test for errors, line 24)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115906.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115908.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115908.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115908.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116327-preview-this.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116327-preview-this.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116327-preview-this.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116482.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116502.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116502.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116502.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116506.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116506.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116506.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116506.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116506.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116506.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116793-1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116793-1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116793-1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116880.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116880.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr116880.C  -std=c++26 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/coroutines/pr120453.C  -std=c++20 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/coroutines/pr120453.C  -std=c++23 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/coroutines/pr120453.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-1-missing-traits.C  -std=c++20  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-1-missing-traits.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-1-missing-traits.C  -std=c++23  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-1-missing-traits.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-1-missing-traits.C  -std=c++26  (test for errors, line 8)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-1-missing-traits.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-2-bad-traits.C  -std=c++20  (test for errors, line 14)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-2-bad-traits.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-2-bad-traits.C  -std=c++23  (test for errors, line 14)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-2-bad-traits.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-2-bad-traits.C  -std=c++26  (test for errors, line 14)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-2-bad-traits.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-3-missing-handle.C  -std=c++20  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-3-missing-handle.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-3-missing-handle.C  -std=c++23  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-3-missing-handle.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-3-missing-handle.C  -std=c++26  (test for errors, line 15)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-3-missing-handle.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-4-bad-coro-handle.C  -std=c++20  (test for errors, line 19)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-4-bad-coro-handle.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-4-bad-coro-handle.C  -std=c++23  (test for errors, line 19)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-4-bad-coro-handle.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-4-bad-coro-handle.C  -std=c++26  (test for errors, line 19)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-4-bad-coro-handle.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-5-bad-coro-type.C  -std=c++20  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-5-bad-coro-type.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-5-bad-coro-type.C  -std=c++23  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-5-bad-coro-type.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-5-bad-coro-type.C  -std=c++26  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr93458-5-bad-coro-type.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94288.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94288.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94288.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94528.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94682-preview-this.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94682-preview-this.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94682-preview-this.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94752.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94752.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94752.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94760-mismatched-traits-and-promise-prev.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94760-mismatched-traits-and-promise-prev.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94760-mismatched-traits-and-promise-prev.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94817.C  -std=c++20  (test for errors, line 3)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94817.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94817.C  -std=c++23  (test for errors, line 3)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94817.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94817.C  -std=c++26  (test for errors, line 3)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94817.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94829.C  -std=c++20  (test for errors, line 39)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94829.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94829.C  -std=c++23  (test for errors, line 39)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94829.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94829.C  -std=c++26  (test for errors, line 39)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94829.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94879-folly-1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94879-folly-1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94879-folly-1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94883-folly-2.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94883-folly-2.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94883-folly-2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94886-folly-3.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94886-folly-3.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr94886-folly-3.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95050.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95050.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95050.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95345.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95345.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95345.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95346.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95346.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95346.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95350.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95350.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95350.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95440.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95440.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95440.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95477.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95477.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95477.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95477.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95477.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95477.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95505.C  -std=c++20  (test for errors, line 22)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95505.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95505.C  -std=c++23  (test for errors, line 22)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95505.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95505.C  -std=c++26  (test for errors, line 22)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95505.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95518.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95518.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95518.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95520.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95520.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95520.C  -std=c++20 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95520.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95520.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95520.C  -std=c++23 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95520.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95520.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95520.C  -std=c++26 output pattern test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95591.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95591.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95591.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95599.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95599.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95599.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95599.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95599.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95599.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-0-no-exceptions.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-0-no-exceptions.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-0-no-exceptions.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-0.C  -std=c++20  at line 41 (test for errors, line 40)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-0.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-0.C  -std=c++23  at line 41 (test for errors, line 40)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-0.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-0.C  -std=c++26  at line 41 (test for errors, line 40)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-0.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-1-no-exceptions.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-1-no-exceptions.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-1-no-exceptions.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-1.C  -std=c++20  at line 31 (test for errors, line 30)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-1.C  -std=c++23  at line 31 (test for errors, line 30)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-1.C  -std=c++26  at line 31 (test for errors, line 30)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-2.C  -std=c++20  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-2.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-2.C  -std=c++23  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-2.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-2.C  -std=c++26  at line 29 (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-3-no-exceptions.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-3-no-exceptions.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-3-no-exceptions.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-3.C  -std=c++20  at line 20 (test for errors, line 19)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-3.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-3.C  -std=c++23  at line 20 (test for errors, line 19)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-3.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-3.C  -std=c++26  at line 20 (test for errors, line 19)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-3.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-4.C  -std=c++20  at line 21 (test for errors, line 20)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-4.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-4.C  -std=c++23  at line 21 (test for errors, line 20)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-4.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-4.C  -std=c++26  at line 21 (test for errors, line 20)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-4.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-5.C  -std=c++20  at line 22 (test for errors, line 21)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-5.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-5.C  -std=c++23  at line 22 (test for errors, line 21)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-5.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-5.C  -std=c++26  at line 22 (test for errors, line 21)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-5.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-6.C  -std=c++20  at line 19 (test for errors, line 18)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-6.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-6.C  -std=c++23  at line 19 (test for errors, line 18)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-6.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-6.C  -std=c++26  at line 19 (test for errors, line 18)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95616-6.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95711.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95711.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95711.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95711.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95711.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95711.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95736.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95736.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95736.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95813.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95813.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95813.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95822.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95822.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95822.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95823.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95823.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95823.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95824.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95824.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr95824.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96251.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96251.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96251.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96517.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96517.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96517.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96749-1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96749-1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96749-1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96749-2.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96749-2.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr96749-2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97438.C  -std=c++20  (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97438.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97438.C  -std=c++23  (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97438.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97438.C  -std=c++26  (test for errors, line 28)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97438.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97587.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97587.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97587.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97587.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97587.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr97587.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr98118.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr98118.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr98118.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr98480.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr98480.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr98480.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr98935.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr98935.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr98935.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99047.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99047.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99047.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99575.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99575.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99575.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_1.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_1.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_1.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_2.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_2.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_2.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_2.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99576_2.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99710.C  -std=c++20  (test for errors, line 23)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99710.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99710.C  -std=c++23  (test for errors, line 23)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99710.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99710.C  -std=c++26  (test for errors, line 23)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr99710.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/ramp-return-a.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/ramp-return-b.C    (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/ramp-return-b.C    (test for errors, line 14)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/ramp-return-b.C    (test for errors, line 20)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/ramp-return-b.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/ramp-return-c.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/range-for1.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/range-for1.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/range-for1.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/range-for1.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/range-for1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/range-for1.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/range-for2.C   (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/coroutines/range-for2.C   execution test
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/lambda/lambda-ice33.C  -std=c++11  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/lambda/lambda-ice33.C  -std=c++11 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/lambda/lambda-ice33.C  -std=c++17  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/lambda/lambda-ice33.C  -std=c++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/lambda/lambda-ice33.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/lambda/lambda-ice33.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++14  (test for bogus messages, line 9)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++14  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++14  (test for errors, line 13)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++14 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++17  (test for bogus messages, line 9)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++17  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++17  (test for errors, line 13)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++26  (test for bogus messages, line 9)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++26  (test for errors, line 10)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++26  (test for errors, line 13)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/constexpr-recursion3.C  -std=c++26 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/cpp1z/constexpr-lambda29.C  -std=c++17  (test for errors, line 13)
     g++:g++.dg/dg.exp=g++.dg/cpp1z/constexpr-lambda29.C  -std=c++17  (test for errors, line 18)
     g++:g++.dg/dg.exp=g++.dg/cpp1z/constexpr-lambda29.C  -std=c++17 (test for excess errors)
@@ -66,13 +7040,3469 @@ o  IMPROVEMENTS TO BE CHECKED:
     g++:g++.dg/dg.exp=g++.dg/cpp1z/constexpr-lambda29.C  -std=c++26 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/cpp23/explicit-obj-lambda16.C  -std=c++23 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/cpp23/explicit-obj-lambda16.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/concepts-nondep5.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/concepts-nondep5.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/concepts-nondep5.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/concepts-nondep6.C  -std=c++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/concepts-nondep6.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/concepts-nondep6.C  -std=c++98 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++20  scan-assembler _ZTH17mythreadlocalvar2
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++20  scan-assembler _ZTH17mythreadlocalvar4
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++20  scan-assembler-not _ZTH17mythreadlocalvar1
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++20  scan-assembler-not _ZTH17mythreadlocalvar3
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++23  scan-assembler _ZTH17mythreadlocalvar2
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++23  scan-assembler _ZTH17mythreadlocalvar4
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++23  scan-assembler-not _ZTH17mythreadlocalvar1
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++23  scan-assembler-not _ZTH17mythreadlocalvar3
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++26  scan-assembler _ZTH17mythreadlocalvar2
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++26  scan-assembler _ZTH17mythreadlocalvar4
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++26  scan-assembler-not _ZTH17mythreadlocalvar1
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++26  scan-assembler-not _ZTH17mythreadlocalvar3
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2.C  -std=c++17  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2.C  -std=c++17  (test for warnings, line 5)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2.C  -std=c++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2.C  -std=c++26  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2.C  -std=c++26  (test for warnings, line 5)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2.C  -std=c++98  (test for errors, line 6)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2.C  -std=c++98  (test for warnings, line 5)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2.C  -std=c++98 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++17  (test for bogus messages, line 6)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++17  (test for bogus messages, line 7)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++17  (test for errors, line 13)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++17  (test for warnings, line 11)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++26  (test for bogus messages, line 6)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++26  (test for bogus messages, line 7)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++26  (test for errors, line 13)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++26  (test for warnings, line 11)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++98  (test for bogus messages, line 6)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++98  (test for bogus messages, line 7)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++98  (test for errors, line 13)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++98  (test for warnings, line 11)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/incomplete-type-2a.C  -std=c++98 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/inhibit-warn-3.C  -std=c++17  (test for bogus messages, line 10)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/inhibit-warn-3.C  -std=c++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/inhibit-warn-3.C  -std=c++26  (test for bogus messages, line 10)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/inhibit-warn-3.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/inhibit-warn-3.C  -std=c++98  (test for bogus messages, line 10)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/inhibit-warn-3.C  -std=c++98 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/ext/is_destructible1.C  -std=c++11  (test for warnings, line 13)
     g++:g++.dg/dg.exp=g++.dg/ext/is_destructible1.C  -std=c++11 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/ext/is_destructible1.C  -std=c++17  (test for warnings, line 13)
     g++:g++.dg/dg.exp=g++.dg/ext/is_destructible1.C  -std=c++17 (test for excess errors)
     g++:g++.dg/dg.exp=g++.dg/ext/is_destructible1.C  -std=c++26  (test for warnings, line 13)
     g++:g++.dg/dg.exp=g++.dg/ext/is_destructible1.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/ipa/pr120146.C  -std=gnu++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/ipa/pr120146.C  -std=gnu++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/ipa/pr120146.C  -std=gnu++98 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/opt/always_inline2.C  -std=c++11  scan-tree-dump-not optimized "goto"
+    g++:g++.dg/dg.exp=g++.dg/opt/always_inline2.C  -std=c++11 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/opt/always_inline2.C  -std=c++17  scan-tree-dump-not optimized "goto"
+    g++:g++.dg/dg.exp=g++.dg/opt/always_inline2.C  -std=c++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/opt/always_inline2.C  -std=c++26  scan-tree-dump-not optimized "goto"
+    g++:g++.dg/dg.exp=g++.dg/opt/always_inline2.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/opt/pr96780_cpp23.C  -std=c++23  scan-tree-dump-not gimple "= std::to_underlying"
+    g++:g++.dg/dg.exp=g++.dg/opt/pr96780_cpp23.C  -std=c++23 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/opt/pr96780_cpp23.C  -std=c++26  scan-tree-dump-not gimple "= std::to_underlying"
+    g++:g++.dg/dg.exp=g++.dg/opt/pr96780_cpp23.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/template/unify13.C  -std=c++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/template/unify13.C  -std=c++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/template/unify13.C  -std=c++98 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-1.C  -std=gnu++17  scan-tree-dump-times phiopt1 "MAX" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-1.C  -std=gnu++17  scan-tree-dump-times phiopt1 "MIN" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-1.C  -std=gnu++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-1.C  -std=gnu++26  scan-tree-dump-times phiopt1 "MAX" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-1.C  -std=gnu++26  scan-tree-dump-times phiopt1 "MIN" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-1.C  -std=gnu++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-1.C  -std=gnu++98  scan-tree-dump-times phiopt1 "MAX" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-1.C  -std=gnu++98  scan-tree-dump-times phiopt1 "MIN" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-1.C  -std=gnu++98 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++17  scan-tree-dump-times phiopt1 " < -1.0" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++17  scan-tree-dump-times phiopt1 " > 1.0" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++17  scan-tree-dump-times phiopt1 " \\? -1.0e\\+0 : " 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++17  scan-tree-dump-times phiopt1 " \\? 1.0e\\+0 : " 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++20  scan-tree-dump-times phiopt1 " < -1.0" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++20  scan-tree-dump-times phiopt1 " > 1.0" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++20  scan-tree-dump-times phiopt1 " \\? -1.0e\\+0 : " 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++20  scan-tree-dump-times phiopt1 " \\? 1.0e\\+0 : " 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++20 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++26  scan-tree-dump-times phiopt1 " < -1.0" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++26  scan-tree-dump-times phiopt1 " > 1.0" 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++26  scan-tree-dump-times phiopt1 " \\? -1.0e\\+0 : " 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++26  scan-tree-dump-times phiopt1 " \\? 1.0e\\+0 : " 1
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr117965-2.C  -std=gnu++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr119903-1.C  -std=gnu++11  scan-tree-dump optimized "LP "
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr119903-1.C  -std=gnu++11 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr119903-1.C  -std=gnu++17  scan-tree-dump optimized "LP "
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr119903-1.C  -std=gnu++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr119903-1.C  -std=gnu++26  scan-tree-dump optimized "LP "
+    g++:g++.dg/dg.exp=g++.dg/tree-ssa/pr119903-1.C  -std=gnu++26 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/warn/ignore-virtual-move-assign.C  -std=gnu++11 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/warn/ignore-virtual-move-assign.C  -std=gnu++17 (test for excess errors)
+    g++:g++.dg/dg.exp=g++.dg/warn/ignore-virtual-move-assign.C  -std=gnu++26 (test for excess errors)
   Executed from: g++:g++.dg/modules/modules.exp
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_c.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_c.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/access-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++20  dg-regexp 10 was found: "\nIn module bob, imported at [^\n]*adhoc-1_b.C:3:\n[^\n]*adhoc-1_a.C:5:12: note: candidate 2: 'int massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea@bob\(int\)'\n export int massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(int\);\n            \^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++20  dg-regexp 11 was found: "\nIn module bob, imported at [^\n]*adhoc-1_b.C:3:\n[^\n]*adhoc-1_a.C:6:188: note: candidate 1: 'void massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea@bob\(float\)'\n[ 	]*export void massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(float\);\n[ 	]*\^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~?$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++20  dg-regexp 9 was found: "\n[^\n]*adhoc-1_b.C:6:73: error: no matching function for call to 'massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea\(\)'\n   massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(\);\n   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\^~$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++26  dg-regexp 10 was found: "\nIn module bob, imported at [^\n]*adhoc-1_b.C:3:\n[^\n]*adhoc-1_a.C:5:12: note: candidate 2: 'int massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea@bob\(int\)'\n export int massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(int\);\n            \^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++26  dg-regexp 11 was found: "\nIn module bob, imported at [^\n]*adhoc-1_b.C:3:\n[^\n]*adhoc-1_a.C:6:188: note: candidate 1: 'void massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea@bob\(float\)'\n[ 	]*export void massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(float\);\n[ 	]*\^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~?$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++26  dg-regexp 9 was found: "\n[^\n]*adhoc-1_b.C:6:73: error: no matching function for call to 'massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea\(\)'\n   massivelongnamethatcausesadhoclocationsokeepaddingcharsyourgettheidea \(\);\n   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\^~$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adhoc-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++20  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++20  (test for warnings, line 32)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++20  dg-regexp 31 was found: "\n[^\n]*adl-3_b.C:8:13: error: 'fn' was not declared in this scope$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++26  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++26  (test for warnings, line 32)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++26  dg-regexp 31 was found: "\n[^\n]*adl-3_b.C:8:13: error: 'fn' was not declared in this scope$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_b.C -std=c++20  dg-regexp 36 was found: "[^\n]*/adl-4_a.C:14:[0-9]*: error: 'fn' was not declared in this scope\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_b.C -std=c++26  dg-regexp 36 was found: "[^\n]*/adl-4_a.C:14:[0-9]*: error: 'fn' was not declared in this scope\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++20  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++20  dg-regexp 13 was found: "\n[^\n]*adl-5_a.C:8:15: error: 'frob' was not declared in this scope$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++26  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++26  dg-regexp 13 was found: "\n[^\n]*adl-5_a.C:8:15: error: 'frob' was not declared in this scope$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/adl-5_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_b.C -std=c++20  scan-lang-dump-times module "CMI is " 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_b.C -std=c++26  scan-lang-dump-times module "CMI is " 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_f.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/alias-1_f.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/align-type-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/align-type-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/align-type-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/align-type-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_b.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_b.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ambig-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/anon-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-0_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-2.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-2.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-3.C -std=c++20  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-3.C -std=c++26  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-decl-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-3.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-3.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-pragma-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++20  at line 5 (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++26  at line 5 (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_f.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_f.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_f.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-2_f.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++20  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++26  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++20  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++20  at line 7 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++26  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++26  at line 7 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-4.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-5.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/atom-preamble-5.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_a.C -std=c++20  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_a.C -std=c++26  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  at line 20 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  at line 22 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  at line 23 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  at line 25 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  at line 26 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  at line 29 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20  at line 30 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  at line 20 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  at line 22 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  at line 23 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  at line 25 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  at line 26 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  at line 29 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26  at line 30 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/attrib-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_b.C -std=c++20  at line 14 (test for bogus messages, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_b.C -std=c++26  at line 14 (test for bogus messages, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-5_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_b.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_b.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/auto-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-1.C -std=c++20  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-1.C -std=c++26  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-2.C -std=c++20  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-2.C -std=c++26  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-3.C -std=c++20  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-3.C -std=c++26  at line 3 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bad-mapper-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ben-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ben-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ben-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ben-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-3.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bfield-3.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-2.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/binding-2.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_a.C -std=c++20  (test for bogus messages, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_a.C -std=c++26  (test for bogus messages, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-2.C -std=c++20  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-2.C -std=c++26  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/block-decl-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bool-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/bug-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++20  scan-lang-dump module "Writing named:-[0-9]* function_decl:'::operator delete'\\n *Wrote[^\\n]*\\n *Writing:-[0-9]*'s named merge key \\(decl\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++20  scan-lang-dump module "Wrote GMF:-[0-9]* function_decl:'::operator delete \\[\\]'@builtin"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++20  scan-lang-dump module "Wrote GMF:-[0-9]* function_decl:'::operator delete'@builtin"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++26  scan-lang-dump module "Writing named:-[0-9]* function_decl:'::operator delete'\\n *Wrote[^\\n]*\\n *Writing:-[0-9]*'s named merge key \\(decl\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++26  scan-lang-dump module "Wrote GMF:-[0-9]* function_decl:'::operator delete \\[\\]'@builtin"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++26  scan-lang-dump module "Wrote GMF:-[0-9]* function_decl:'::operator delete'@builtin"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::operator delete \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::operator delete \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++20  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator delete \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++20  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++20  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator new \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++20  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator new'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++26  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator delete \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++26  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator delete'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++26  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator new \\[\\]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++26  scan-lang-dump module "named merge key \\(matched\\) function_decl:'::operator new'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++20  dg-regexp 12 was found: "[^\n]*builtin-5_b.C:10:[0-9]*: error: conflicting declaration of C function 'int printf\(const char\*, int\)'\nIn module [^\n]*builtin-5_a.H, imported at [^\n]*builtin-5_b.C:3:\n[^\n]*builtin-5_a.H:3:[0-9]*: note: previous declaration 'int printf\(const char\*, ...\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++20  scan-lang-dump module "Read:-1's named merge key \\(matched\\) function_decl:'::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++26  dg-regexp 12 was found: "[^\n]*builtin-5_b.C:10:[0-9]*: error: conflicting declaration of C function 'int printf\(const char\*, int\)'\nIn module [^\n]*builtin-5_a.H, imported at [^\n]*builtin-5_b.C:3:\n[^\n]*builtin-5_a.H:3:[0-9]*: note: previous declaration 'int printf\(const char\*, ...\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++26  scan-lang-dump module "Read:-1's named merge key \\(matched\\) function_decl:'::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-7_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-7_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-8.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/builtin-8.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++20  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++20  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++26  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++26  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/by-name-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cexpr-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++20  (test for warnings, line 2)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++20  at line 6 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++20  at line 7 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++26  (test for warnings, line 2)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++26  at line 6 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++26  at line 7 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++20 Kevin.nms: at line 6 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/circ-1_d.C -std=c++26 Kevin.nms: at line 6 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++20  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++20  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++26  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++26  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-10_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_b.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_b.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++20  scan-lang-dump module "Indirect:-2 decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++20  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++20  scan-lang-dump module "Wrote import:-1 type_decl:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++20  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::X@One:.'@One"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++20  scan-lang-dump module "Wrote member:-[0-9]* field_decl:'::X@One:.::a'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++20  scan-lang-dump module "Wrote member:-[0-9]* field_decl:'::X@One:.::b'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++26  scan-lang-dump module "Indirect:-2 decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++26  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++26  scan-lang-dump module "Wrote import:-1 type_decl:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++26  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::X@One:.'@One"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++26  scan-lang-dump module "Wrote member:-[0-9]* field_decl:'::X@One:.::a'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++26  scan-lang-dump module "Wrote member:-[0-9]* field_decl:'::X@One:.::b'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++20  scan-lang-dump module "Imported:-1 type_decl:'::X@One:.'@One"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++20  scan-lang-dump module "Indirect:-2 decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++20  scan-lang-dump module "Read member:-[0-9]* field_decl:'::X@One:.::a'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++20  scan-lang-dump module "Read member:-[0-9]* field_decl:'::X@One:.::b'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++26  scan-lang-dump module "Imported:-1 type_decl:'::X@One:.'@One"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++26  scan-lang-dump module "Indirect:-2 decl's type record_type:'::X@One:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++26  scan-lang-dump module "Read member:-[0-9]* field_decl:'::X@One:.::a'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++26  scan-lang-dump module "Read member:-[0-9]* field_decl:'::X@One:.::b'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-3_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-5_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-6_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-7_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++20  scan-lang-dump module "Lazily binding '::A'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++20  scan-lang-dump module "Lazily binding '::B'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++26  scan-lang-dump module "Lazily binding '::A'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++26  scan-lang-dump module "Lazily binding '::B'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-8_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_b.H -std=c++20  scan-lang-dump module "Pendings 2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_b.H -std=c++26  scan-lang-dump module "Pendings 2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/class-9_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_a.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_a.C module-cmi M (gcm.cache/M.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_b.C -std=c++17  scan-assembler _ZNW1M12__shared_ptrIdEC2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_b.C -std=c++17  scan-assembler-not _ZNW1M12__shared_ptrIiEC[1-4]Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_b.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_b.C -std=c++20  scan-assembler _ZNW1M12__shared_ptrIdEC2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_b.C -std=c++20  scan-assembler-not _ZNW1M12__shared_ptrIiEC[1-4]Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_b.C -std=c++26  scan-assembler _ZNW1M12__shared_ptrIdEC2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_b.C -std=c++26  scan-assembler-not _ZNW1M12__shared_ptrIiEC[1-4]Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/clone-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_a.H -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_a.H module-cmi  (gcm.cache/$srcdir/g++.dg/modules/concept-10_a.H.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_b.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++20  dg-regexp 13 was found: "[^\n]*concept-1_a.C:7:[0-9]*: error: invalid cast[^\n]*\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++26  dg-regexp 13 was found: "[^\n]*concept-1_a.C:7:[0-9]*: error: invalid cast[^\n]*\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++20  scan-lang-dump-times module "named merge key \\(matched\\) template_decl:'::template f1'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++26  scan-lang-dump-times module "named merge key \\(matched\\) template_decl:'::template f1'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++20  scan-lang-dump-times module "named merge key \\(matched\\) function_decl:'::Derived<::._anon_0>::__ct '" 6
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++26  scan-lang-dump-times module "named merge key \\(matched\\) function_decl:'::Derived<::._anon_0>::__ct '" 6
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_b.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_b.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_a.H -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_a.H module-cmi  (gcm.cache/$srcdir/g++.dg/modules/concept-8_a.H.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++20  scan-lang-dump-times module "named merge key \\(matched\\) function_decl:'::Base<::._anon_0>::__ct '" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++23  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++23  scan-lang-dump-times module "named merge key \\(matched\\) function_decl:'::Base<::._anon_0>::__ct '" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++26  scan-lang-dump-times module "named merge key \\(matched\\) function_decl:'::Base<::._anon_0>::__ct '" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_a.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_a.C module-cmi M (gcm.cache/M.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_b.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/constexpr-if-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/constexpr-if-1_a.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/constexpr-if-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/constexpr-if-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/constexpr-if-1_b.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/constexpr-if-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-4_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_a.C -std=c++20  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_a.C -std=c++26  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/contracts-tpl-friend-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/convop-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-1.C -std=c++20  scan-file cpp-1.C"\n\n\nmodule bob;\n\nexport import stuart;\n\n\n\nimport gru;\n\n import mabel;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-1.C -std=c++26  scan-file cpp-1.C"\n\n\nmodule bob;\n\nexport import stuart;\n\n\n\nimport gru;\n\n import mabel;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-10.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-10.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-10.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-10.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-11.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-11.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-11.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-11.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-12.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-12.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-12.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-12.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-13.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-13.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-13.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-13.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-14.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-14.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-15.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-15.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-15.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-15.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-16.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-16.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-16.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-16.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-17.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-17.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-17.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-17.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-18.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-18.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-18.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-18.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-19.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-19.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-19.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-19.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-20.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-20.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-20.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-20.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++20  scan-file THIS IS STDIO\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++20  scan-file cpp-2_c.C"\\n\\n\\n\\nmodule bob;\\n#pragma GCC unused\\nimport "[^\\n]*\\./cpp-2_b.H" \\[\\[ CLOSE ]];\\nimport "[^\\n]*cpp-2_a.H" \\[\\[ ]];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++20  scan-file int i;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++20  scan-file-not import *nope;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++26  scan-file THIS IS STDIO\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++26  scan-file cpp-2_c.C"\\n\\n\\n\\nmodule bob;\\n#pragma GCC unused\\nimport "[^\\n]*\\./cpp-2_b.H" \\[\\[ CLOSE ]];\\nimport "[^\\n]*cpp-2_a.H" \\[\\[ ]];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++26  scan-file int i;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++26  scan-file-not import *nope;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++20  scan-file \nexport module bob;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++20  scan-file \nint i;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++26  scan-file \nexport module bob;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++26  scan-file \nint i;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++20  scan-file /cpp-4.C\\" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++20  scan-file /cpp-4.h\\" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++20  scan-file import x;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++20  scan-file int
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++26  scan-file /cpp-4.C\\" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++26  scan-file /cpp-4.h\\" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++26  scan-file import x;\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++26  scan-file int
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-4.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_b.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_b.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_c.C -std=c++20  scan-file \\nimport "[^\\n]*cpp-5_a.H";\\n\\n0\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_c.C -std=c++26  scan-file \\nimport "[^\\n]*cpp-5_a.H";\\n\\n0\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-5_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++20  scan-file FOUR cpp-6_b.H cpp-6_b\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++20  scan-file ONE bibity bobity\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++20  scan-file THREE cpp-6_b.H cpp-6_b\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++20  scan-file TWO cpp-6_b.H bobity\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++26  scan-file FOUR cpp-6_b.H cpp-6_b\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++26  scan-file ONE bibity bobity\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++26  scan-file THREE cpp-6_b.H cpp-6_b\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++26  scan-file TWO cpp-6_b.H bobity\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-6_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-7.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-7.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-7.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-7.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-8.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-8.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-8.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-8.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-9.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-9.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-9.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/cpp-9.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++20  scan-lang-dump module "Translating include to import"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++26  scan-lang-dump module "Translating include to import"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dashinclude-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/debug-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decltype-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_b.C -std=c++20 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-2_b.C -std=c++26 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_b.C -std=c++20 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/decomp-3_b.C -std=c++26 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++20  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++20  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++20  (test for warnings, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++20  (test for warnings, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++20  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++20  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++20  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++20  at line 28 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++26  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++26  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++26  (test for warnings, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++26  (test for warnings, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++26  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++26  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++26  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++26  at line 28 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/default-arg-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++20  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++26  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/deferred-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++20  scan-file \\n\\.PHONY: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++20  scan-file \\ngcm.cache/m-part\\.gcm:| dep-1_a\\.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++20  scan-file \\nm:part\\.c\\+\\+-module: gcm.cache/m-part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++26  scan-file \\n\\.PHONY: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++26  scan-file \\ngcm.cache/m-part\\.gcm:| dep-1_a\\.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++26  scan-file \\nm:part\\.c\\+\\+-module: gcm.cache/m-part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++20  scan-file \\nCXX_IMPORTS \\+= m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++20  scan-file \\n\\.PHONY: m\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++20  scan-file \\ndep-1_b\\.s gcm.cache/m\\.gcm: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++20  scan-file \\ngcm.cache/m\\.gcm:| dep-1_b.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++20  scan-file \\nm\\.c\\+\\+-module: gcm.cache/m\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++26  scan-file \\nCXX_IMPORTS \\+= m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++26  scan-file \\n\\.PHONY: m\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++26  scan-file \\ndep-1_b\\.s gcm.cache/m\\.gcm: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++26  scan-file \\ngcm.cache/m\\.gcm:| dep-1_b.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++26  scan-file \\nm\\.c\\+\\+-module: gcm.cache/m\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++20  scan-file \\n\\.PHONY: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++20  scan-file \\ngcm.cache/m:part\\.gcm:| dep-2\\.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++20  scan-file \\nm:part\\.c\\+\\+-module: gcm.cache/m-part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++20  scan-file \\nmodule m:part;\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++26  scan-file \\n\\.PHONY: m:part\\.c\\+\\+-module
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++26  scan-file \\ngcm.cache/m:part\\.gcm:| dep-2\\.o
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++26  scan-file \\nm:part\\.c\\+\\+-module: gcm.cache/m-part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++26  scan-file \\nmodule m:part;\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++20  scan-file-not part\\.c\\+\\+m
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++20  scan-file-not part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++26  scan-file-not part\\.c\\+\\+m
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++26  scan-file-not part\\.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++20  scan-file dep-4\\.H\\.c\\+\\+-header-unit:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++20  scan-file-not inline
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++26  scan-file dep-4\\.H\\.c\\+\\+-header-unit:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++26  scan-file-not inline
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dep-4.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-f-MD.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-f-MD.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-f.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-f.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fi.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fi.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj-MD.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj-MD.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj-MF-share.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj-MF-share.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fj.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fjo-MD.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fjo-MD.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fjo.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fjo.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fo-MD.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fo-MD.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fo.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-fo.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-j-MD.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-j-MD.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-j.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-j.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-jo-MD.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-jo-MD.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-jo.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-jo.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-o-MD.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-o-MD.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-o.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depflags-o.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/depreport-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_d.C -std=c++20  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_d.C -std=c++26  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-3_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++20  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++20  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++26  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++26  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-4_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_c.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-5_c.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-6_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dguide-7_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-1.C -std=c++20  scan-file #undef major\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-1.C -std=c++26  scan-file #undef major\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++20  scan-file // a comment\\nmodule;\\nfrob
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++20  scan-file export module bob;\\n\\nexport import q;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++20  scan-file frob\\nexport\\nimport foo;\\nimport 7;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++20  scan-file import "[^\\n]*/dir-only-2_a.H";\\nimport "[^\\n]*/dir-only-2_a.H";\\nX
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++20  scan-file import sing;\\n\\n\\n// comment
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++26  scan-file // a comment\\nmodule;\\nfrob
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++26  scan-file export module bob;\\n\\nexport import q;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++26  scan-file frob\\nexport\\nimport foo;\\nimport 7;
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++26  scan-file import "[^\\n]*/dir-only-2_a.H";\\nimport "[^\\n]*/dir-only-2_a.H";\\nX
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++26  scan-file import sing;\\n\\n\\n// comment
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-3.C -std=c++20  at line 14 (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-3.C -std=c++26  at line 14 (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-4.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-5.C -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-5.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-5.C -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-only-5.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++20  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++20  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++20  at line 7 (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++26  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++26  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++26  at line 7 (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dir-recovery.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_b.C -std=c++20 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-1_b.C -std=c++26 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_b.C -std=c++20 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-2_b.C -std=c++26 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-10_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-10_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-10_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-10_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-11_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-11_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-11_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-11_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-12.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-12.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-12.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-12.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-13_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-13_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-13_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-13_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-14.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-14.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_a.C -std=c++20  scan-lang-dump-times module "Written enum value '::Ben::Three'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_a.C -std=c++26  scan-lang-dump-times module "Written enum value '::Ben::Three'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-5_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-5_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-7.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-7.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++20  scan-lang-dump module "Read:-1's enum merge key \\(new\\) type_decl:'#null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) const_decl:'::._anon_0@[^\\n]*/enum-8_b.H:1::Foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) const_decl:'::._anon_1@[^\\n]*/enum-8_a.H:2::Foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++26  scan-lang-dump module "Read:-1's enum merge key \\(new\\) type_decl:'#null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) const_decl:'::._anon_0@[^\\n]*/enum-8_b.H:1::Foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) const_decl:'::._anon_1@[^\\n]*/enum-8_a.H:2::Foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-8_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-9_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-9_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-9_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-9_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++20  dg-regexp 16 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:5:6: error: definition of 'enum ONE' does not match\n[^\n]*enum-bad-1_b.C:3:6: note: existing definition 'enum ONE'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:5:11: note: enumerator 'A' does not match ...\n[^\n]*enum-bad-1_b.C:3:11: note: ... this enumerator 'Q'\n[^\n]*enum-bad-1_b.C:15:1: note: during load of binding '::ONE'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++20  dg-regexp 19 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:6:6: error: definition of 'enum<unnamed>' does not match\n[^\n]*enum-bad-1_b.C:4:6: note: existing definition 'enum<unnamed>'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:6:12: note: enumerator 'THREE' does not match ...\n[^\n]*enum-bad-1_b.C:4:12: note: ... this enumerator 'DREI'\n[^\n]*enum-bad-1_b.C:18:9: note: during load of binding '::TWO'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++20  dg-regexp 22 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:7:6: error: definition of 'enum FOUR' does not match\n[^\n]*enum-bad-1_b.C:5:6: note: existing definition 'enum FOUR'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:7:12: note: enumerator 'B' does not match ...\n[^\n]*enum-bad-1_b.C:5:12: note: ... this enumerator 'B'\n[^\n]*enum-bad-1_b.C:21:1: note: during load of binding '::FOUR'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++20  dg-regexp 25 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:8:6: error: definition of 'enum FIVE' does not match\n[^\n]*enum-bad-1_b.C:6:6: note: existing definition 'enum FIVE'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:8:18: note: additional enumerators beginning with 'E'\n[^\n]*enum-bad-1_b.C:24:1: note: during load of binding '::FIVE'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++26  dg-regexp 16 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:5:6: error: definition of 'enum ONE' does not match\n[^\n]*enum-bad-1_b.C:3:6: note: existing definition 'enum ONE'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:5:11: note: enumerator 'A' does not match ...\n[^\n]*enum-bad-1_b.C:3:11: note: ... this enumerator 'Q'\n[^\n]*enum-bad-1_b.C:15:1: note: during load of binding '::ONE'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++26  dg-regexp 19 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:6:6: error: definition of 'enum<unnamed>' does not match\n[^\n]*enum-bad-1_b.C:4:6: note: existing definition 'enum<unnamed>'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:6:12: note: enumerator 'THREE' does not match ...\n[^\n]*enum-bad-1_b.C:4:12: note: ... this enumerator 'DREI'\n[^\n]*enum-bad-1_b.C:18:9: note: during load of binding '::TWO'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++26  dg-regexp 22 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:7:6: error: definition of 'enum FOUR' does not match\n[^\n]*enum-bad-1_b.C:5:6: note: existing definition 'enum FOUR'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:7:12: note: enumerator 'B' does not match ...\n[^\n]*enum-bad-1_b.C:5:12: note: ... this enumerator 'B'\n[^\n]*enum-bad-1_b.C:21:1: note: during load of binding '::FOUR'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++26  dg-regexp 25 was found: "In module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:8:6: error: definition of 'enum FIVE' does not match\n[^\n]*enum-bad-1_b.C:6:6: note: existing definition 'enum FIVE'\nIn module [^\n]*enum-bad-1_a.H, imported at [^\n]*enum-bad-1_b.C:8:\n[^\n]*enum-bad-1_a.H:8:18: note: additional enumerators beginning with 'E'\n[^\n]*enum-bad-1_b.C:24:1: note: during load of binding '::FIVE'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/enum-bad-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++20  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++20  dg-regexp 10 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++20  dg-regexp 19 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++20  dg-regexp 20 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++20  dg-regexp 21 was found: "candidate 3: 'int Frob@Bar\(long int, int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++20  dg-regexp 9 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++26  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++26  dg-regexp 10 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++26  dg-regexp 19 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++26  dg-regexp 20 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++26  dg-regexp 21 was found: "candidate 3: 'int Frob@Bar\(long int, int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++26  dg-regexp 9 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++20  dg-regexp 11 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++20  dg-regexp 12 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++20  dg-regexp 13 was found: "candidate 3: 'int Frob@Bar\(long int, int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++26  dg-regexp 11 was found: "candidate 1: 'int Frob@Foo\(int, long int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++26  dg-regexp 12 was found: "candidate 2: 'int Frob@Foo\(int, int, long int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++26  dg-regexp 13 was found: "candidate 3: 'int Frob@Bar\(long int, int, int\)'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/err-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++20  scan-lang-dump-times module "Propagating instantiated noexcept to '::_Tuple_impl<int>::__ct <int>'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++20  scan-lang-dump-times module "merge key \\(new\\) function_decl:'::_Tuple_impl<int>::__[cd]t '" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++26  scan-lang-dump-times module "Propagating instantiated noexcept to '::_Tuple_impl<int>::__ct <int>'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++26  scan-lang-dump-times module "merge key \\(new\\) function_decl:'::_Tuple_impl<int>::__[cd]t '" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/except-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/exp-xlate-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/explicit-bool-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/explicit-bool-1_a.H -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/explicit-bool-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/explicit-bool-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/explicit-bool-1_b.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/explicit-bool-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++20  (test for bogus messages, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++20  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++20  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++20  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++20  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++26  (test for bogus messages, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++26  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++26  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++26  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++26  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++20  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++20  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++20  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++20  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++20  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++20  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++20  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++20  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++26  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++26  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++26  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++26  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++26  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++26  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++26  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++26  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 32)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 33)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 35)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 38)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 44)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 47)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 32)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 33)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 35)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 38)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 44)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 47)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/export-6.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-2_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2haIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2haIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2haIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2hbIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2hbIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2hbIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2hcIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2hcIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2hcIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2hdIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2hdIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _Z2hdIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _ZW1M2maIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _ZW1M2maIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _ZW1M2mbIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _ZW1M2mbIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _ZW1M2mcIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _ZW1M2mcIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _ZW1M2mdIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler _ZW1M2mdIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _Z2haIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _Z2hbIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _Z2hcIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _Z2hdIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _ZW1M2maIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _ZW1M2maIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _ZW1M2mbIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _ZW1M2mbIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _ZW1M2mcIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _ZW1M2mcIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _ZW1M2mdIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20  scan-assembler-not _ZW1M2mdIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2haIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2haIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2haIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2hbIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2hbIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2hbIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2hcIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2hcIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2hcIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2hdIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2hdIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _Z2hdIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _ZW1M2maIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _ZW1M2maIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _ZW1M2mbIbEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _ZW1M2mbIdEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _ZW1M2mcIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _ZW1M2mcIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _ZW1M2mdIbE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler _ZW1M2mdIdE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _Z2haIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _Z2hbIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _Z2hcIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _Z2hdIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _ZW1M2maIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _ZW1M2maIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _ZW1M2mbIcEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _ZW1M2mbIiEvv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _ZW1M2mcIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _ZW1M2mcIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _ZW1M2mdIcE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26  scan-assembler-not _ZW1M2mdIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/extern-tpl-4_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++20  scan-assembler-not _Z4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++20  scan-assembler-not _ZW3bobE4frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++26  scan-assembler-not _Z4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++26  scan-assembler-not _ZW3bobE4frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++20  scan-assembler .weak(_definition)?[\t ]*_?_ZW3bob4frobii
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++20  scan-assembler _ZW3bob4Frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++20  scan-assembler _ZW3bob4frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++26  scan-assembler .weak(_definition)?[\t ]*_?_ZW3bob4frobii
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++26  scan-assembler _ZW3bob4Frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++26  scan-assembler _ZW3bob4frobii:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++20  scan-assembler .weak(_definition)?[\t ]*_?_ZW3bob4frobi
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++20  scan-assembler _ZW3bob4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++26  scan-assembler .weak(_definition)?[\t ]*_?_ZW3bob4frobi
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++26  scan-assembler _ZW3bob4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/fn-inline-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++20  scan-lang-dump module "Defrosting 'bob.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++20  scan-lang-dump module "Defrosting 'kevin.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++20  scan-lang-dump module "Defrosting 'stuart.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++20  scan-lang-dump module "Freezing 'bob.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++20  scan-lang-dump module "Freezing 'kevin.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++20  scan-lang-dump module "Freezing 'stuart.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++26  scan-lang-dump module "Defrosting 'bob.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++26  scan-lang-dump module "Defrosting 'kevin.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++26  scan-lang-dump module "Defrosting 'stuart.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++26  scan-lang-dump module "Freezing 'bob.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++26  scan-lang-dump module "Freezing 'kevin.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++26  scan-lang-dump module "Freezing 'stuart.[^']*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/freeze-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::hidey'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::hidey'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::peeker'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::peeker'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::secret'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::secret'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::hidey'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::hidey'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::peeker'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::peeker'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::secret'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::secret'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_b.C -std=c++20  scan-lang-dump module "Class '::hidey@bob:.' befriending record_type:'::peeker@bob:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_b.C -std=c++26  scan-lang-dump module "Class '::hidey@bob:.' befriending record_type:'::peeker@bob:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_b.C -std=c++20  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_b.C -std=c++26  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-3.C -std=c++20  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-3.C -std=c++26  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++20  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++20  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++20  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++26  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++26  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++26  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_b.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_b.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-6_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-6_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-7_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-7_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-8_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-8_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-8_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-8_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_b.C -std=c++20  scan-assembler _ZW1M1fIS_1AIZ4mainE3locEEvT_
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_b.C -std=c++26  scan-assembler _ZW1M1fIS_1AIZ4mainE3locEEvT_
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/friend-9_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++20  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++20  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++26  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++26  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gc-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_b.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_b.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++20  scan-lang-dump module "Dependencies of decl function_decl:'::Log'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++20  scan-lang-dump-not module "Reachable GMF '::printf[^\\n']*' added"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++26  scan-lang-dump module "Dependencies of decl function_decl:'::Log'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++26  scan-lang-dump-not module "Reachable GMF '::printf[^\\n']*' added"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++20  scan-lang-dump module "Dependencies of decl function_decl:'::Log'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++20  scan-lang-dump-not module "Reachable GMF '::printf[^'\\n]*' added"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++26  scan-lang-dump module "Dependencies of decl function_decl:'::Log'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++26  scan-lang-dump-not module "Reachable GMF '::printf[^'\\n]*' added"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/global-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++20  scan-lang-dump module "Read declaration of '::basic_string_view@hello:1<char>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++20  scan-lang-dump module "Read declaration of '::greeter@hello:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++20  scan-lang-dump module "Reading definition of '::template basic_string_view@hello:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++26  scan-lang-dump module "Read declaration of '::basic_string_view@hello:1<char>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++26  scan-lang-dump module "Read declaration of '::greeter@hello:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++26  scan-lang-dump module "Reading definition of '::template basic_string_view@hello:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-2_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-3.C -std=c++20  scan-lang-dump module "Wrote 0 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-3.C -std=c++26  scan-lang-dump module "Wrote 0 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-4.C -std=c++20  scan-lang-dump module "Wrote declaration[^\\n]*allocator"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-4.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-4.C -std=c++26  scan-lang-dump module "Wrote declaration[^\\n]*allocator"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-4.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-xtreme.C -std=c++26  scan-lang-dump module "Wrote 0 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gmf-xtreme.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++20  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++20  scan-assembler-not _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++26  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++26  scan-assembler-not _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++20  scan-assembler _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++20  scan-assembler _Z4declv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++26  scan-assembler _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++26  scan-assembler _Z4declv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++20  scan-assembler _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++20  scan-assembler _Z4declv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++26  scan-assembler _Z3barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++26  scan-assembler _Z4declv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gnu-inline-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gvar_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gvar_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gvar_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/gvar_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 169)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 170)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 171)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 173)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 174)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 176)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 178)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 179)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 181)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20 not a definition (test for bogus messages, line 175)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++20 not a definition (test for bogus messages, line 180)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 169)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 170)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 171)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 173)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 174)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 176)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 178)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 179)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 181)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 20)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26 not a definition (test for bogus messages, line 175)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-2.H -std=c++26 not a definition (test for bogus messages, line 180)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) var_decl:'::var'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) var_decl:'::var'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++20  scan-lang-dump-times module "Reading 1 initializers" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++20  scan-lang-dump-times module "Reading definition var_decl '::var@[^\\n]*/hdr-init-1_a.H:1'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) var_decl:'::var'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) var_decl:'::var'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++26  scan-lang-dump-times module "Reading 1 initializers" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++26  scan-lang-dump-times module "Reading definition var_decl '::var@[^\\n]*/hdr-init-1_a.H:1'" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hdr-init-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/hello-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/horcrux-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/horcrux-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/horcrux-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/horcrux-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ice-1.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ice-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ice-1.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ice-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++20  scan-assembler _ZNW3Foo4Bill3dobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++20  scan-assembler-not _ZN3Bob4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++20  scan-assembler-not _ZNW3Foo4Bill4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++26  scan-assembler _ZNW3Foo4Bill3dobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++26  scan-assembler-not _ZN3Bob4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++26  scan-assembler-not _ZNW3Foo4Bill4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++20  scan-assembler _ZN3Bob4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++20  scan-assembler _ZNW3Foo4Bill4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++20  scan-assembler _ZW3Foo3GMFv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++20  scan-assembler-not _ZNW3Foo4Bill3dobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++26  scan-assembler _ZN3Bob4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++26  scan-assembler _ZNW3Foo4Bill4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++26  scan-assembler _ZW3Foo3GMFv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++26  scan-assembler-not _ZNW3Foo4Bill3dobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-inline-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_a.C -std=c++20  scan-lang-dump-not module "'::C::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_a.C -std=c++26  scan-lang-dump-not module "'::C::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_b.C -std=c++20  scan-lang-dump module "\\[.*\\]=decl definition '::C@A:1::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_b.C -std=c++26  scan-lang-dump module "\\[.*\\]=decl definition '::C@A:1::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++20  scan-lang-dump module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++26  scan-lang-dump module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++20  scan-lang-dump-not module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++20  scan-lang-dump-not module "Read:-1's named merge key \\([a-z]*\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++26  scan-lang-dump-not module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++26  scan-lang-dump-not module "Read:-1's named merge key \\([a-z]*\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++20  scan-lang-dump-not module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) function_decl:'::C@A:.::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++26  scan-lang-dump-not module "Adding implicit member '::C@A:.::__ct @B:."
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-1_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::C'\\n  \\[1\\]=decl declaration '::C::C'\\n  \\[2\\]=binding '::C'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++20  scan-lang-dump-not module "'::C::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++20  scan-lang-dump-not module "'::C::__dt '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++20  scan-lang-dump-not module "'::C::operator= '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::C'\\n  \\[1\\]=decl declaration '::C::C'\\n  \\[2\\]=binding '::C'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++26  scan-lang-dump-not module "'::C::__ct '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++26  scan-lang-dump-not module "'::C::__dt '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++26  scan-lang-dump-not module "'::C::operator= '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++20  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::__ct '" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++20  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::__dt '" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++20  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::operator='" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++26  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::__ct '" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++26  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::__dt '" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++26  scan-lang-dump-times module "\\[0\\]=decl definition '::C@A:1::operator='" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++20  scan-lang-dump-times module "Adding implicit member '::C@A:.::__ct @B:." 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++20  scan-lang-dump-times module "Adding implicit member '::C@A:.::__dt @B:." 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++20  scan-lang-dump-times module "Adding implicit member '::C@A:.::operator=@B:." 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++20  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__ct '\\n" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++20  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__dt '\\n" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++20  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::operator='\\n" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++26  scan-lang-dump-times module "Adding implicit member '::C@A:.::__ct @B:." 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++26  scan-lang-dump-times module "Adding implicit member '::C@A:.::__dt @B:." 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++26  scan-lang-dump-times module "Adding implicit member '::C@A:.::operator=@B:." 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++26  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__ct '\\n" 3
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++26  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::__dt '\\n" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++26  scan-lang-dump-times module "Read:-[0-9]*'s named merge key \\(new\\) function_decl:'::C@A:.::operator='\\n" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-3.H -std=c++20  (test for bogus messages, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-3.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-3.H -std=c++26  (test for bogus messages, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/imp-member-3.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++20  scan-lang-dump module "Writing exported import:.->. Bar"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++20  scan-lang-dump module "Writing exported import:.->. Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++26  scan-lang-dump module "Writing exported import:.->. Bar"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++26  scan-lang-dump module "Writing exported import:.->. Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++20  scan-lang-dump module "Found exported import:1 Bar->1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++20  scan-lang-dump module "Found exported import:2 Baz->2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++26  scan-lang-dump module "Found exported import:1 Bar->1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++26  scan-lang-dump module "Found exported import:2 Baz->2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_f.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_f.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_g.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_g.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_g.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-1_g.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-2.C -std=c++20  dg-regexp 8 was found: "In module imported at [^\n]*import-2.C:7:.:\nbill: error: failed to read compiled module: [^\n]*\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-2.C -std=c++26  dg-regexp 8 was found: "In module imported at [^\n]*import-2.C:7:.:\nbill: error: failed to read compiled module: [^\n]*\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/import-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_b.H -std=c++20  scan-file import "[^\\n]*inc-xlate-1_a.H" \\[\\[__translated\\]\\];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_b.H -std=c++26  scan-file import "[^\\n]*inc-xlate-1_a.H" \\[\\[__translated\\]\\];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_e.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_e.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-1_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_b.H -std=c++20  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_b.H -std=c++26  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-2_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-3_a.H -std=c++20  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-3_a.H -std=c++26  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_c.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inc-xlate-4_c.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump module "Lazily binding '::foo::B'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump module "Lazily binding '::foo::Scoped'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump module "Lazily binding '::foo::Y'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump module "Lazily binding '::foo::frob'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump module "Wrote import:-[0-9]* function_decl:'::foo::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::foo::X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::foo::Y@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump-not module "Lazily binding '::foo::C@foo:.'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump-not module "Lazily binding '::foo::Scoped@foo:.::[ABCD]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump-not module "namespace:-[0-9]* namespace_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump-times module "Wrote import:-[0-9]* type_decl:'::foo::Plain@foo:.'@foo" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20  scan-lang-dump-times module "Wrote import:-[0-9]* type_decl:'::foo::Scoped@foo:.'@foo" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump module "Lazily binding '::foo::B'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump module "Lazily binding '::foo::Scoped'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump module "Lazily binding '::foo::Y'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump module "Lazily binding '::foo::frob'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump module "Wrote import:-[0-9]* function_decl:'::foo::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::foo::X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump module "Wrote import:-[0-9]* type_decl:'::foo::Y@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump-not module "Lazily binding '::foo::C@foo:.'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump-not module "Lazily binding '::foo::Scoped@foo:.::[ABCD]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump-not module "namespace:-[0-9]* namespace_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump-times module "Wrote import:-[0-9]* type_decl:'::foo::Plain@foo:.'@foo" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26  scan-lang-dump-times module "Wrote import:-[0-9]* type_decl:'::foo::Scoped@foo:.'@foo" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module ">Loading entity foo\\[13\\] section:3"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module ">Loading entity foo\\[14\\] section:4"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module ">Loading entity foo\\[15\\] section:5"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module ">Loading entity foo\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module ">Loading entity foo\\[8\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Imported:-[0-9]* function_decl:'::foo::Y@foo:.::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Imported:-[0-9]* function_decl:'::foo::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Imported:-[0-9]* type_decl:'::foo::X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Imported:-[0-9]* type_decl:'::foo::Y@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::Plain_Const_Three'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::Plain_One'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::Scoped_Const_Three'@'bar' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::Scoped_One'@'bar' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::Z'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::frob'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Named:-[0-9]* namespace_decl:'::foo'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump module "Read member:-[0-9]* field_decl:'::foo::Y@foo:.::_vptr.Y'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump-not module "Lazily binding '::foo::Scoped@\\(foo\\)::[ABC]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20  scan-lang-dump-not module "Lazily binding '::foo::[ABC]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module ">Loading entity foo\\[13\\] section:3"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module ">Loading entity foo\\[14\\] section:4"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module ">Loading entity foo\\[15\\] section:5"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module ">Loading entity foo\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module ">Loading entity foo\\[8\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Imported:-[0-9]* function_decl:'::foo::Y@foo:.::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Imported:-[0-9]* function_decl:'::foo::frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Imported:-[0-9]* type_decl:'::foo::X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Imported:-[0-9]* type_decl:'::foo::Y@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::Plain_Const_Three'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::Plain_One'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::Scoped_Const_Three'@'bar' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::Scoped_One'@'bar' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::Z'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::frob'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Named:-[0-9]* namespace_decl:'::foo'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump module "Read member:-[0-9]* field_decl:'::foo::Y@foo:.::_vptr.Y'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump-not module "Lazily binding '::foo::Scoped@\\(foo\\)::[ABC]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26  scan-lang-dump-not module "Lazily binding '::foo::[ABC]'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::X<0x0>'\\n  \\[1\\]=specialization declaration '::foo::X<0x0>::__conv_op <0x0>'\\n  \\[2\\]=specialization declaration '::foo::X<0x0>::X<0x0>'\\n(  \\[.\\]=[^\\n]* '\\n)*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++20  scan-lang-dump module "Depset:. specialization entity:. type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++20  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++20  scan-lang-dump module "Lazily binding '::foo::frob'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++20  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++20  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++20  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++20  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++20  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::X<0x0>'\\n  \\[1\\]=specialization declaration '::foo::X<0x0>::__conv_op <0x0>'\\n  \\[2\\]=specialization declaration '::foo::X<0x0>::X<0x0>'\\n(  \\[.\\]=[^\\n]* '\\n)*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++26  scan-lang-dump module "Depset:. specialization entity:. type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++26  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++26  scan-lang-dump module "Lazily binding '::foo::frob'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++26  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++26  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++26  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++26  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++26  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::foo::X<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++20  scan-lang-dump module ">Loading entity foo\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++20  scan-lang-dump module ">Loading entity foo\\[4\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++20  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++20  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::frob'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++20  scan-lang-dump module "Read:-[0-9]* function_decl:'::foo::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++20  scan-lang-dump-not module "Wrote mergeable"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++26  scan-lang-dump module ">Loading entity foo\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++26  scan-lang-dump module ">Loading entity foo\\[4\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++26  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template X@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++26  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::frob'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++26  scan-lang-dump module "Read:-[0-9]* function_decl:'::foo::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++26  scan-lang-dump-not module "Wrote mergeable"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x0>'\\n  \\[1\\]=specialization definition '::foo::TPL<0x0>::frob<0x0>'\\n  \\[2\\]=specialization declaration '::foo::TPL<0x0>::TPL<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::X@foo:.::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++20  scan-lang-dump module "Lazily binding '::foo::TPL'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++20  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++20  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::X@foo:.::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++20  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::TPL<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++20  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::X@foo:.::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++20  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x0>'\\n  \\[1\\]=specialization definition '::foo::TPL<0x0>::frob<0x0>'\\n  \\[2\\]=specialization declaration '::foo::TPL<0x0>::TPL<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::X@foo:.::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++26  scan-lang-dump module "Lazily binding '::foo::TPL'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++26  scan-lang-dump module "Lazily binding '::foo::X'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++26  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::X@foo:.::frob<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++26  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::TPL<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++26  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::X@foo:.::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++26  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++20  scan-lang-dump module ">Loading entity foo\\[.\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++20  scan-lang-dump module ">Loading entity foo\\[5\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++20  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::X@foo:.::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++20  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::toto'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++20  scan-lang-dump module "Reading definition type_decl '::foo::TPL@bar:.<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++20  scan-lang-dump-not module "Instantiation:-[0-9]* function_decl:'::foo::X@foo:.::frob@.()<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++26  scan-lang-dump module ">Loading entity foo\\[.\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++26  scan-lang-dump module ">Loading entity foo\\[5\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++26  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::X@foo:.::template frob@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++26  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::toto'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++26  scan-lang-dump module "Reading definition type_decl '::foo::TPL@bar:.<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++26  scan-lang-dump-not module "Instantiation:-[0-9]* function_decl:'::foo::X@foo:.::frob@.()<0x0>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x1>'\\n  \\[1\\]=specialization declaration '::foo::TPL<0x1>::template frob<#unnamed#>'\\n  \\[2\\]=specialization declaration '::foo::TPL<0x1>::TPL<0x1>'\\n(  \\[.\\]=[^\\n]* '\\n)*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x1>::frob<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++20  scan-lang-dump module "Lazily binding '::foo::TPL'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++20  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::TPL<0x1>::frob<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++20  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::TPL<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++20  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++20  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::foo::TPL<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x1>'\\n  \\[1\\]=specialization declaration '::foo::TPL<0x1>::template frob<#unnamed#>'\\n  \\[2\\]=specialization declaration '::foo::TPL<0x1>::TPL<0x1>'\\n(  \\[.\\]=[^\\n]* '\\n)*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::foo::TPL<0x1>::frob<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++26  scan-lang-dump module "Lazily binding '::foo::TPL'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++26  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo::TPL<0x1>::frob<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++26  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::foo::TPL<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++26  scan-lang-dump module "Wrote import:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++26  scan-lang-dump module "Wrote purview:-[0-9]* type_decl:'::foo::TPL<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++20  scan-lang-dump module ">Loading entity foo\\[.\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++20  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++20  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++20  scan-lang-dump module "Reading definition function_decl '::foo::TPL@bar:.<0x1>::frob@bar:.<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++20  scan-lang-dump module "Reading definition type_decl '::foo::TPL@bar:.<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++26  scan-lang-dump module ">Loading entity foo\\[.\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++26  scan-lang-dump module "Imported:-[0-9]* template_decl:'::foo::template TPL@foo:.'@foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++26  scan-lang-dump module "Lazily binding '::bar::quux'@'bar' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++26  scan-lang-dump module "Reading definition function_decl '::foo::TPL@bar:.<0x1>::frob@bar:.<0x2>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++26  scan-lang-dump module "Reading definition type_decl '::foo::TPL@bar:.<0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/indirect-4_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inext-1.H -std=c++20  scan-lang-dump module "Wrote section:1 named-by:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inext-1.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inext-1.H -std=c++26  scan-lang-dump module "Wrote section:1 named-by:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inext-1.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inh-tmpl-ctor-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inh-tmpl-ctor-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inh-tmpl-ctor-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inh-tmpl-ctor-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_a.C -std=c++20  scan-assembler _ZGIW3Foo:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_a.C -std=c++26  scan-assembler _ZGIW3Foo:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++20  scan-assembler _?_ZGIW3Bar:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++20  scan-assembler _ZZ9_ZGIW3BarE9__in_chrg
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++26  scan-assembler _?_ZGIW3Bar:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++26  scan-assembler _ZZ9_ZGIW3BarE9__in_chrg
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++20  scan-assembler _ZGIW3Baz:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++20  scan-assembler-not _ZZ9_ZGIW3BazE9__in_chrg
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++26  scan-assembler _ZGIW3Baz:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++26  scan-assembler-not _ZZ9_ZGIW3BazE9__in_chrg
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-2_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/init-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inline-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++20  scan-lang-dump module "Depending definition function_decl:'::foo<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++20  scan-lang-dump module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++20  scan-lang-dump module "\\[0\\]=specialization definition '::foo<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++20  scan-lang-dump module "\\[0\\]=specialization definition '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++26  scan-lang-dump module "Depending definition function_decl:'::foo<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++26  scan-lang-dump module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++26  scan-lang-dump module "\\[0\\]=specialization definition '::foo<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++26  scan-lang-dump module "\\[0\\]=specialization definition '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(unique\\) function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++20  scan-lang-dump module "Reading definition function_decl '::foo@foo:.<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++20  scan-lang-dump module "Reading definition function_decl '::foo@foo:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(unique\\) function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++26  scan-lang-dump module "Reading definition function_decl '::foo@foo:.<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++26  scan-lang-dump module "Reading definition function_decl '::foo@foo:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++20  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++20  scan-lang-dump module "Writing:-[0-9]*'s named merge key \\(decl\\) function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++20  scan-lang-dump module "\\[0\\]=specialization definition '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++26  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++26  scan-lang-dump module "Writing:-[0-9]*'s named merge key \\(decl\\) function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++26  scan-lang-dump module "\\[0\\]=specialization definition '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++20  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++26  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=specialization definition '::TPL<int>'\\n  \\[.\\]=specialization declaration '::TPL<int>::TPL<int>'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++20  scan-lang-dump module "Depset:. specialization entity:. type_decl:'::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++20  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=specialization definition '::TPL<int>'\\n  \\[.\\]=specialization declaration '::TPL<int>::TPL<int>'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++26  scan-lang-dump module "Depset:. specialization entity:. type_decl:'::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++26  scan-lang-dump module "Writing:-[0-9]*'s type spec merge key \\(specialization\\) type_decl:'::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) type_decl:'::template TPL@foo:.<T>::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) type_decl:'::template TPL@foo:.<T>::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++20  scan-lang-dump module "Pending specialization '::TPL<int>' entity:. section:. keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++20  scan-lang-dump module "Pending specialization '::TPL<int>::TPL<int>' entity:. section:. also keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++26  scan-lang-dump module "Pending specialization '::TPL<int>' entity:. section:. keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++26  scan-lang-dump module "Pending specialization '::TPL<int>::TPL<int>' entity:. section:. also keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++20  scan-lang-dump module "Reading 2 pending entities keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++26  scan-lang-dump module "Reading 2 pending entities keyed to '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-5_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-5_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/inst-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++20  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++20  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++26  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++26  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++20  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++20  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++20  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++26  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++26  (test for errors, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++26  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-11.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-12_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++20  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++20  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++20  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++20  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++20  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++26  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++26  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++26  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++26  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++26  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-13.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_a.H -std=c++20  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::bob'\\n  \\[1\\]=binding '::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_a.H -std=c++26  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::bob'\\n  \\[1\\]=binding '::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++20  scan-lang-dump module " Read:-1's named merge key \\(matched\\) function_decl:'::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++20  scan-lang-dump module " Read:-1's named merge key \\(new\\) function_decl:'::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++26  scan-lang-dump module " Read:-1's named merge key \\(matched\\) function_decl:'::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++26  scan-lang-dump module " Read:-1's named merge key \\(new\\) function_decl:'::bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-3.C -std=c++20  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-3.C -std=c++26  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for bogus messages, line 36)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for bogus messages, line 96)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 110)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 70)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 80)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 87)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20  (test for errors, line 89)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for bogus messages, line 36)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for bogus messages, line 96)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 110)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 70)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 80)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 87)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26  (test for errors, line 89)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++20  (test for bogus messages, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++20  (test for bogus messages, line 79)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++20  (test for bogus messages, line 90)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++20  (test for warnings, line 49)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++20  (test for warnings, line 57)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++26  (test for bogus messages, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++26  (test for bogus messages, line 79)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++26  (test for bogus messages, line 90)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++26  (test for warnings, line 49)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++26  (test for warnings, line 57)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++20  (test for warnings, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++20  (test for warnings, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++20  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++20  (test for warnings, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++20  at line 30 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++20  at line 35 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++20  at line 36 (test for bogus messages, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++26  (test for warnings, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++26  (test for warnings, line 23)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++26  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++26  (test for warnings, line 25)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++26  at line 30 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++26  at line 35 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++26  at line 36 (test for bogus messages, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++20  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++20  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++26  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++26  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-6.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 34)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 39)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 44)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 49)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 59)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 69)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20  (test for warnings, line 74)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 34)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 39)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 44)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 49)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 59)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 69)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26  (test for warnings, line 74)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20  at line 21 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26  at line 21 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-9_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-9_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-9_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-9_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/iostream-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/isalnum.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/isalnum.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/keyword-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/keyword-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/keyword-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/keyword-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-10_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-10_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-10_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-10_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++20  scan-lang-dump module "Writing:-[0-9]*'s attached merge key \\(decl\\) type_decl:'::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++20  scan-lang-dump module "Written -[0-9]*\\[0\\] attached decl '::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++26  scan-lang-dump module "Writing:-[0-9]*'s attached merge key \\(decl\\) type_decl:'::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++26  scan-lang-dump module "Written -[0-9]*\\[0\\] attached decl '::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++20  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s attached merge key \\(matched\\) type_decl:'#null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++20 not an odr violation (test for bogus messages, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++26  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s attached merge key \\(matched\\) type_decl:'#null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_b.C -std=c++26 not an odr violation (test for bogus messages, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++20  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++20  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_2'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++20  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::template ._anon_0<#unnamed#>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++26  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++26  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::._anon_2'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++26  scan-lang-dump module "Read -[0-9]*\\[0\\] matched attached decl '::template ._anon_0<#unnamed#>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++20  scan-lang-dump module "named merge key \\(matched\\) template_decl:'::._anon_0::template _FUN'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++20  scan-lang-dump module "named merge key \\(matched\\) template_decl:'::._anon_0::template __conv_op '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++26  scan-lang-dump module "named merge key \\(matched\\) template_decl:'::._anon_0::template _FUN'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++26  scan-lang-dump module "named merge key \\(matched\\) template_decl:'::._anon_0::template __conv_op '"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-6_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-6_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lambda-7_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_b.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_b.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_c.C -std=c++20  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_c.C -std=c++26  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++20  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++20  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++26  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++26  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++20  scan-assembler _Z3Barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++20  scan-assembler _Z3Bazv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++26  scan-assembler _Z3Barv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++26  scan-assembler _Z3Bazv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_b.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_b.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lang-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-1.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-1.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_a.H -std=c++20  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::template Foo'\\n  \\[1\\]=specialization declaration '::TPL<#null#>'\\n  \\[2\\]=binding '::Foo'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_a.H -std=c++26  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::template Foo'\\n  \\[1\\]=specialization declaration '::TPL<#null#>'\\n  \\[2\\]=binding '::Foo'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++20  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Foo'\\n  Deduping '::template Foo@[^\\n]*/late-ret-2_a.H:.'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++26  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Foo'\\n  Deduping '::template Foo@[^\\n]*/late-ret-2_a.H:.'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_a.H -std=c++20  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::template Foo'\\n  \\[1\\]=specialization declaration '::TPL_1<#null#>'\\n  \\[2\\]=specialization declaration '::TPL_3<::TPL_1<#null#>::type>'\\n  \\[3\\]=specialization declaration '::TPL_2<::TPL_1<#null#>::type>'\\n  \\[4\\]=binding '::Foo'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_a.H -std=c++26  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::template Foo'\\n  \\[1\\]=specialization declaration '::TPL_1<#null#>'\\n  \\[2\\]=specialization declaration '::TPL_3<::TPL_1<#null#>::type>'\\n  \\[3\\]=specialization declaration '::TPL_2<::TPL_1<#null#>::type>'\\n  \\[4\\]=binding '::Foo'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++20  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Foo'\\n  Deduping '::template Foo@[^\\n]*/late-ret-3_a.H:.'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++26  (test for errors, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Foo'\\n  Deduping '::template Foo@[^\\n]*/late-ret-3_a.H:.'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-4_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-4_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/late-ret-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++20  scan-lang-dump module "Bindings '::quux' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++20  scan-lang-dump module "Lazily binding '::bar'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++20  scan-lang-dump module "Lazily binding '::baz'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++20  scan-lang-dump-not module "Lazily binding '::quux'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++20  scan-lang-dump-not module "Read -[0-9]* function_decl:'::quux'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++26  scan-lang-dump module "Bindings '::quux' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++26  scan-lang-dump module "Lazily binding '::bar'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++26  scan-lang-dump module "Lazily binding '::baz'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++26  scan-lang-dump-not module "Lazily binding '::quux'@'foo' section"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++26  scan-lang-dump-not module "Read -[0-9]* function_decl:'::quux'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lazy-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-3_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++20  dg-regexp 14 was found: "\nIn module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:4:[0-9]*: error: conflicting type for imported declaration 'float bob'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:4:[0-9]*: note: existing declaration 'int bob'\n[^\n]*leg-merge-4_c.C:9:[0-9]*: note: during load of binding '::bob'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++20  dg-regexp 16 was found: "\nIn module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:5:[0-9]*: error: conflicting type for imported declaration 'int frob\(\)'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:5:[0-9]*: note: existing declaration 'void frob\(\)'\n[^\n]*leg-merge-4_c.C:10:[0-9]*: note: during load of binding '::frob'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++20  dg-regexp 18 was found: "In module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:6:[0-9]*: error: conflicting type for imported declaration 'union X'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:6:[0-9]*: note: existing declaration 'class X'\n[^\n]*leg-merge-4_c.C:11:[0-9]*: note: during load of binding '::X'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++26  dg-regexp 14 was found: "\nIn module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:4:[0-9]*: error: conflicting type for imported declaration 'float bob'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:4:[0-9]*: note: existing declaration 'int bob'\n[^\n]*leg-merge-4_c.C:9:[0-9]*: note: during load of binding '::bob'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++26  dg-regexp 16 was found: "\nIn module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:5:[0-9]*: error: conflicting type for imported declaration 'int frob\(\)'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:5:[0-9]*: note: existing declaration 'void frob\(\)'\n[^\n]*leg-merge-4_c.C:10:[0-9]*: note: during load of binding '::frob'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++26  dg-regexp 18 was found: "In module [^\n]*leg-merge-4_b.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_b.H:6:[0-9]*: error: conflicting type for imported declaration 'union X'\nIn module [^\n]*leg-merge-4_a.H, imported at [^\n]*leg-merge-4_c.C:[0-9]*:\n[^\n]*leg-merge-4_a.H:6:[0-9]*: note: existing declaration 'class X'\n[^\n]*leg-merge-4_c.C:11:[0-9]*: note: during load of binding '::X'$"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-4_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-5_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-6_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-7_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-8_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/leg-merge-9_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-2_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_b.H -std=c++20  scan-file \\n# 9 "[^\\n]*legacy-3_b.H"\\nimport "[^\\n]*legacy-3_a.H" \\[\\[__translated\\]\\];\\nint move \\(int X = 10\\);\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_b.H -std=c++26  scan-file \\n# 9 "[^\\n]*legacy-3_b.H"\\nimport "[^\\n]*legacy-3_a.H" \\[\\[__translated\\]\\];\\nint move \\(int X = 10\\);\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++20  scan-file # [^\\n]*legacy-3.h
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++20  scan-file MARK1 8\\nimport "[^\\n]*legacy-3_a.H" \\[\\[__translated\\]\\];\\nMARK2 10\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++20  scan-file MARK2 13\\n\\nMARK3 15\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++20  scan-file move
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++20  scan-file-not # [^\\n]*legacy-3_a.H
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++26  scan-file # [^\\n]*legacy-3.h
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++26  scan-file MARK1 8\\nimport "[^\\n]*legacy-3_a.H" \\[\\[__translated\\]\\];\\nMARK2 10\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++26  scan-file MARK2 13\\n\\nMARK3 15\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++26  scan-file move
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++26  scan-file-not # [^\\n]*legacy-3_a.H
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-3_c.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/legacy-8_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/libfn-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/libfn-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/libfn-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/libfn-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++20  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++20  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++20  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++26  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++26  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++26  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/literals-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++20  dg-regexp 11 was found: "In module stuart, imported at [^\n]*loc-1_c.C:4:\n[^\n]*loc-1_b.C:7:12: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++20  dg-regexp 12 was found: "In module bob, imported at [^\n]*loc-1_c.C:3:\n[^\n]*loc-1_a.C:6:12: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++26  dg-regexp 11 was found: "In module stuart, imported at [^\n]*loc-1_c.C:4:\n[^\n]*loc-1_b.C:7:12: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++26  dg-regexp 12 was found: "In module bob, imported at [^\n]*loc-1_c.C:3:\n[^\n]*loc-1_a.C:6:12: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++20  dg-regexp 10 was found: "In module bob, imported at [^\n]*loc-2_b.C:6,\nof module stuart, imported at [^\n]*loc-2_d.C:3:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++26  dg-regexp 10 was found: "In module bob, imported at [^\n]*loc-2_b.C:6,\nof module stuart, imported at [^\n]*loc-2_d.C:3:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++20  dg-regexp 12 was found: "In module bob, imported at [^\n]*loc-2_e.C:4:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++26  dg-regexp 12 was found: "In module bob, imported at [^\n]*loc-2_e.C:4:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++20  dg-regexp 10 was found: "In module bob, imported at [^\n]*loc-2_c.C:7,\nof module kevin, imported at [^\n]*loc-2_f.C:3:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++26  dg-regexp 10 was found: "In module bob, imported at [^\n]*loc-2_c.C:7,\nof module kevin, imported at [^\n]*loc-2_f.C:3:\n[^\n]*loc-2_a.C:6:18: note:.*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-2_f.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++20  scan-lang-dump module " Macro maps:1 locs:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++20  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++20  scan-lang-dump module " Macro:0 YES 1/1.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++20  scan-lang-dump-not module "Macro:. AGAIN_NO "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++20  scan-lang-dump-not module "Macro:. NOT "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++26  scan-lang-dump module " Macro maps:1 locs:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++26  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++26  scan-lang-dump module " Macro:0 YES 1/1.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++26  scan-lang-dump-not module "Macro:. AGAIN_NO "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++26  scan-lang-dump-not module "Macro:. NOT "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++20  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++20  scan-lang-dump module " Macro:0 BEGIN_NAMESPACE 5/6.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++26  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++26  scan-lang-dump module " Macro:0 BEGIN_NAMESPACE 5/6.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++20  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++20  scan-lang-dump module " Macro:0 BEGIN_NAMESPACE 5/6.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++26  scan-lang-dump module " Macro maps:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++26  scan-lang-dump module " Macro:0 BEGIN_NAMESPACE 5/6.2 locations "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++20  scan-lang-dump module " 1 source file names\\n Source file...=[^\\n]*loc-prune-4.C\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++20  scan-lang-dump module " Span:0 ordinary \\[[0-9]+\\+49152,\\+16384\\)->\\[0,\\+16384\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++20  scan-lang-dump module " Span:1 ordinary \\[[0-9]+\\+163840,\\+32768\\)->\\[16384,\\+32768\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++20  scan-lang-dump module "Ordinary maps:2 locs:49152 range_bits:7"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++26  scan-lang-dump module " 1 source file names\\n Source file...=[^\\n]*loc-prune-4.C\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++26  scan-lang-dump module " Span:0 ordinary \\[[0-9]+\\+49152,\\+16384\\)->\\[0,\\+16384\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++26  scan-lang-dump module " Span:1 ordinary \\[[0-9]+\\+163840,\\+32768\\)->\\[16384,\\+32768\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++26  scan-lang-dump module "Ordinary maps:2 locs:49152 range_bits:7"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-prune-4.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-wrapper-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-wrapper-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-wrapper-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/loc-wrapper-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-1.C -std=c++20  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-1.C -std=c++26  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-2.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-extern-2.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-struct-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-struct-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-struct-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/local-struct-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/lto-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++20  dg-regexp 11 was found: "[^\n]*macloc-1_c.C:7:6: error: too many arguments to function 'int me@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_b.C:8,\nof module edith, imported at [^\n]*macloc-1_c.C:3:\n[^\n]*macloc-1_a.C:11:12: note: declared here\n[^\n]*macloc-1_a.C:8:20: note: in definition of macro 'BOB'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++20  dg-regexp 13 was found: "[^\n]*macloc-1_c.C:8:7: error: too many arguments to function 'int you@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_b.C:8,\nof module edith, imported at [^\n]*macloc-1_c.C:3:\n[^\n]*macloc-1_a.C:12:14: note: declared here\n[^\n]*macloc-1_a.C:9:22: note: in definition of macro 'KEVIN'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++26  dg-regexp 11 was found: "[^\n]*macloc-1_c.C:7:6: error: too many arguments to function 'int me@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_b.C:8,\nof module edith, imported at [^\n]*macloc-1_c.C:3:\n[^\n]*macloc-1_a.C:11:12: note: declared here\n[^\n]*macloc-1_a.C:8:20: note: in definition of macro 'BOB'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++26  dg-regexp 13 was found: "[^\n]*macloc-1_c.C:8:7: error: too many arguments to function 'int you@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_b.C:8,\nof module edith, imported at [^\n]*macloc-1_c.C:3:\n[^\n]*macloc-1_a.C:12:14: note: declared here\n[^\n]*macloc-1_a.C:9:22: note: in definition of macro 'KEVIN'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++20  dg-regexp 12 was found: "[^\n]*macloc-1_d.C:8:6: error: too many arguments to function 'int me@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_d.C:4:\n[^\n]*macloc-1_a.C:11:12: note: declared here\n[^\n]*macloc-1_a.C:8:20: note: in definition of macro 'BOB'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++20  dg-regexp 13 was found: "[^\n]*macloc-1_d.C:9:7: error: too many arguments to function 'void gru@edith\(\)'\nIn module edith, imported at [^\n]*macloc-1_d.C:3:\n[^\n]*macloc-1_b.C:10:20: note: declared here\n[^\n]*macloc-1_b.C:6:19: note: in definition of macro 'STUART'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++26  dg-regexp 12 was found: "[^\n]*macloc-1_d.C:8:6: error: too many arguments to function 'int me@agnes\(\)'\nIn module agnes, imported at [^\n]*macloc-1_d.C:4:\n[^\n]*macloc-1_a.C:11:12: note: declared here\n[^\n]*macloc-1_a.C:8:20: note: in definition of macro 'BOB'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++26  dg-regexp 13 was found: "[^\n]*macloc-1_d.C:9:7: error: too many arguments to function 'void gru@edith\(\)'\nIn module edith, imported at [^\n]*macloc-1_d.C:3:\n[^\n]*macloc-1_b.C:10:20: note: declared here\n[^\n]*macloc-1_b.C:6:19: note: in definition of macro 'STUART'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macloc-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_c.H -std=c++20  scan-lang-dump-not module "Read new macro #define MACRO_2a_H at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_c.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_c.H -std=c++26  scan-lang-dump-not module "Read new macro #define MACRO_2a_H at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_c.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++20  dg-regexp 11 was found: "[^\n]*macro-2_d.C:10:5: error: inconsistent imported macro definition 'BAR_BAD'\nIn module [^\n]*macro-2_a.H, imported at [^\n]*macro-2_d.C:5:\n[^\n]*macro-2_a.H:11:9: note: '#define BAR_BAD\(BAZ\) BINKY\(2\)'\nIn module [^\n]*macro-2_b.H, imported at [^\n]*macro-2_d.C:6:\n[^\n]*macro-2_b.H:21:9: note: '#define BAR_BAD\(BAZ\) BINKY\(3\)'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++20  dg-regexp 14 was found: "[^\n]*macro-2_d.C:13:5: error: inconsistent imported macro definition 'FOO_BAD'\nIn module [^\n]*macro-2_a.H, imported at [^\n]*macro-2_d.C:5:\n[^\n]*macro-2_a.H:10:9: note: '#define FOO_BAD foo'\nIn module [^\n]*macro-2_b.H, imported at [^\n]*macro-2_d.C:6:\n[^\n]*macro-2_b.H:20:9: note: '#define FOO_BAD foot'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++26  dg-regexp 11 was found: "[^\n]*macro-2_d.C:10:5: error: inconsistent imported macro definition 'BAR_BAD'\nIn module [^\n]*macro-2_a.H, imported at [^\n]*macro-2_d.C:5:\n[^\n]*macro-2_a.H:11:9: note: '#define BAR_BAD\(BAZ\) BINKY\(2\)'\nIn module [^\n]*macro-2_b.H, imported at [^\n]*macro-2_d.C:6:\n[^\n]*macro-2_b.H:21:9: note: '#define BAR_BAD\(BAZ\) BINKY\(3\)'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++26  dg-regexp 14 was found: "[^\n]*macro-2_d.C:13:5: error: inconsistent imported macro definition 'FOO_BAD'\nIn module [^\n]*macro-2_a.H, imported at [^\n]*macro-2_d.C:5:\n[^\n]*macro-2_a.H:10:9: note: '#define FOO_BAD foo'\nIn module [^\n]*macro-2_b.H, imported at [^\n]*macro-2_d.C:6:\n[^\n]*macro-2_b.H:20:9: note: '#define FOO_BAD foot'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-2_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++20  scan-lang-dump module "Writing macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++20  scan-lang-dump module "Writing macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++20  scan-lang-dump-not module "Writing macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++20  scan-lang-dump-not module "Writing macro #undef nothing at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++26  scan-lang-dump module "Writing macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++26  scan-lang-dump module "Writing macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++26  scan-lang-dump-not module "Writing macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++26  scan-lang-dump-not module "Writing macro #undef nothing at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++20  scan-lang-dump module "Read new macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++20  scan-lang-dump module "Read new macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++20  scan-lang-dump module "Writing macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++20  scan-lang-dump module "Writing macro #undef & #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++20  scan-lang-dump module "Writing macro #undef foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++20  scan-lang-dump-not module "Read [^ ]* macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++26  scan-lang-dump module "Read new macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++26  scan-lang-dump module "Read new macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++26  scan-lang-dump module "Writing macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++26  scan-lang-dump module "Writing macro #undef & #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++26  scan-lang-dump module "Writing macro #undef foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++26  scan-lang-dump-not module "Read [^ ]* macro #define bob at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++20  scan-lang-dump module "Read add macro #undef & #define bar"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++20  scan-lang-dump module "Read add macro #undef foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++20  scan-lang-dump module "Read new macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++20  scan-lang-dump module "Read new macro #define bob"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++20  scan-lang-dump module "Read new macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++26  scan-lang-dump module "Read add macro #undef & #define bar"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++26  scan-lang-dump module "Read add macro #undef foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++26  scan-lang-dump module "Read new macro #define bar at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++26  scan-lang-dump module "Read new macro #define bob"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++26  scan-lang-dump module "Read new macro #define foo at"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_c.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_c.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++20  dg-regexp 6 was found: "[^\n]*macro-4_d.C: warning: inconsistent imported macro definition 'TWO' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define TWO 2a.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define TWO 2.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++20  dg-regexp 8 was found: "[^\n]*macro-4_d.C: warning: inconsistent imported macro definition 'THREE' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define THREE 3b.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define THREE 3.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++26  dg-regexp 6 was found: "[^\n]*macro-4_d.C: warning: inconsistent imported macro definition 'TWO' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define TWO 2a.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define TWO 2.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++26  dg-regexp 8 was found: "[^\n]*macro-4_d.C: warning: inconsistent imported macro definition 'THREE' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define THREE 3b.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_d.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define THREE 3.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_e.C -std=c++20  dg-regexp 13 was found: "[^\n]*macro-4_e.C: warning: inconsistent imported macro definition 'TWO' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_e.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define TWO 2a.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_e.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define TWO 2.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_e.C -std=c++26  dg-regexp 13 was found: "[^\n]*macro-4_e.C: warning: inconsistent imported macro definition 'TWO' \[-Winvalid-imported-macros\]\nIn module [^\n]*macro-4_b.H, imported at [^\n]*macro-4_e.C:[0-9]*:\n[^\n]*macro-4_b.H:[0-9]*:[0-9]*: note: .#define TWO 2a.\nIn module [^\n]*macro-4_a.H, imported at [^\n]*macro-4_e.C:[0-9]*:\n[^\n]*macro-4_a.H:[0-9]*:[0-9]*: note: .#define TWO 2.\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_f.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_f.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_g.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-4_g.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_a.H -std=c++20  scan-lang-dump-not module "Writing macro #define [_a-zA-Z0-9]* at [0-9]*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_a.H -std=c++26  scan-lang-dump-not module "Writing macro #define [_a-zA-Z0-9]* at [0-9]*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_b.H -std=c++20  scan-lang-dump module "Writing macro #define baz at [0-9]*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_b.H -std=c++26  scan-lang-dump module "Writing macro #define baz at [0-9]*"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-5_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_b.C -std=c++20  scan-lang-dump module "Reading macro table [^\\n]*macro-6_a.H"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_b.C -std=c++26  scan-lang-dump module "Reading macro table [^\\n]*macro-6_a.H"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_c.C -std=c++20  scan-lang-dump-not module ">Reading macro table "macro-6_a.H""
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_c.C -std=c++26  scan-lang-dump-not module ">Reading macro table "macro-6_a.H""
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-6_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-7_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++20  scan-file #define FOO foo
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++20  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++26  scan-file #define FOO foo
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++26  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++20  scan-file macro-8_a.H.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++20  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++26  scan-file macro-8_a.H.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++26  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++20  scan-file macro-8_a.H.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++20  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++26  scan-file macro-8_a.H.gcm
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++26  scan-file-not import *"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/macro-8_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/main-1.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/main-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/main-1.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/main-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++20  at line 8 (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++20  at line 9 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++26  at line 8 (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++26  at line 9 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/map-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++20  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1::inner'\\n  \\[1\\]=decl declaration '::frob@foo:part1:1::inner::inner'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++20  scan-lang-dump module "Pending member '::frob@foo:part1:1::inner' entity:0 section:. keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++26  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1::inner'\\n  \\[1\\]=decl declaration '::frob@foo:part1:1::inner::inner'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++26  scan-lang-dump module "Pending member '::frob@foo:part1:1::inner' entity:0 section:. keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++20  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1'\\n  \\[1\\]=decl definition '::frob@foo:part1:1::inner@foo:part1:1'\\n  \\[2\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::__dt '\\n(  \\[.\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::__ct '\\n)*  \\[6\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::inner@foo:part2:2'\\n  \\[7\\]=decl declaration '::frob@foo:part1:1::frob@foo:part1:1'\\n  \\[8\\]=decl declaration '::frob@foo:part1:1::__as_base @foo:part1:1'\\n  \\[9\\]=binding '::frob'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++20  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++20  scan-lang-dump module "Reading 2 pending entities keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++26  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1'\\n  \\[1\\]=decl definition '::frob@foo:part1:1::inner@foo:part1:1'\\n  \\[2\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::__dt '\\n(  \\[.\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::__ct '\\n)*  \\[6\\]=decl declaration '::frob@foo:part1:1::inner@foo:part1:1::inner@foo:part2:2'\\n  \\[7\\]=decl declaration '::frob@foo:part1:1::frob@foo:part1:1'\\n  \\[8\\]=decl declaration '::frob@foo:part1:1::__as_base @foo:part1:1'\\n  \\[9\\]=binding '::frob'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++26  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++26  scan-lang-dump module "Reading 2 pending entities keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_d.C -std=c++20  scan-lang-dump module "Loaded 1 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_d.C -std=c++26  scan-lang-dump module "Loaded 1 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++20  scan-assembler-not _ZN4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++20  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1::member'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++20  scan-lang-dump module "Bindings 0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++20  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++26  scan-assembler-not _ZN4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++26  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1::member'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++26  scan-lang-dump module "Bindings 0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++26  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++20  scan-assembler-not _ZN4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++20  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1'\\n  \\[1\\]=decl declaration '::frob@foo:part1:1::frob@foo:part1:1'\\n  \\[2\\]=decl definition '::frob@foo:part1:1::member@foo:part1:1'\\n  \\[3\\]=decl declaration '::frob@foo:part1:1::__as_base @foo:part1:1'\\n  \\[4\\]=binding '::frob'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++20  scan-lang-dump module "Bindings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++20  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key .matched. function_decl:'::frob@foo:part1:1::member'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++26  scan-assembler-not _ZN4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++26  scan-lang-dump module " Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:part1:1'\\n  \\[1\\]=decl declaration '::frob@foo:part1:1::frob@foo:part1:1'\\n  \\[2\\]=decl definition '::frob@foo:part1:1::member@foo:part1:1'\\n  \\[3\\]=decl declaration '::frob@foo:part1:1::__as_base @foo:part1:1'\\n  \\[4\\]=binding '::frob'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++26  scan-lang-dump module "Bindings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++26  scan-lang-dump module "Pendings 1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key .matched. function_decl:'::frob@foo:part1:1::member'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++20  scan-assembler _ZNW3foo4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++20  scan-lang-dump module "Reading function definition '::frob@foo:1::member@foo:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++26  scan-assembler _ZNW3foo4frob6memberEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++26  scan-lang-dump module "Reading function definition '::frob@foo:1::member@foo:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/member-def-2_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/memref-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/memref-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/memref-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/memref-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-10_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++20  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++26  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-11_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++20  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++26  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-12_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++20  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++26  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-13_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++20  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++26  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-14_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++20  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++26  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-15_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-16_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-16_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-16_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-16_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-17_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-17_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-17_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-17_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++20  scan-lang-dump module "Writing definition '::ns::template bar'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++20  scan-lang-dump module "Writing definition '::ns::template foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++26  scan-lang-dump module "Writing definition '::ns::template bar'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++26  scan-lang-dump module "Writing definition '::ns::template foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-18_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Bob<T>::template M'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Bob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template Bob<T>::template M'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) const_decl:'::template __traitor<T>::template X<T>::__value'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++20  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) const_decl:'::template __traitor<T>::template X<T>::__value'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++26  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s field merge key \\(matched\\) template_decl:'::template __traitor<T>::template #null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++20  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s field merge key \\(matched\\) template_decl:'::template __traitor<T>::template #null#'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++26  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template __promote_2<_Tp2,_Up2>::template __type'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++20  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template __promote_2<_Tp2,_Up2>::template __type'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++26  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++20  scan-lang-dump module "Deduping binfo '::__do_is_destructible_impl'\\[0\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++20  scan-lang-dump module "Deduping binfo '::template __is_destructible_impl<_Tp>'\\[0\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++20  scan-lang-dump module "Deduping binfo '::template __is_destructible_impl<_Tp>'\\[1\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++26  scan-lang-dump module "Deduping binfo '::__do_is_destructible_impl'\\[0\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++26  scan-lang-dump module "Deduping binfo '::template __is_destructible_impl<_Tp>'\\[0\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++26  scan-lang-dump module "Deduping binfo '::template __is_destructible_impl<_Tp>'\\[1\\]"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-8_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++20  scan-lang-dump module "Read:-[10-9]*'s named merge key \\(matched\\) type_decl:'::std::align_val_t'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++20  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++26  scan-lang-dump module "Read:-[10-9]*'s named merge key \\(matched\\) type_decl:'::std::align_val_t'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++26  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/merge-9_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++20  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++20  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++20  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++20  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++20  at line 19 (test for warnings, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++20  at line 25 (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++26  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++26  (test for errors, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++26  (test for errors, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++26  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++26  at line 19 (test for warnings, line 18)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++26  at line 25 (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_b.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_b.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++20  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++20  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++20  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++26  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++26  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++26  (test for errors, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++20  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++26  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-6.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-7.C -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-7.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-7.C -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-7.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-8.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-decl-8.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-exp-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-exp-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-exp-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-exp-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_a.C -std=c++20  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_a.C -std=c++26  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_b.C -std=c++20  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_b.C -std=c++26  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++20  scan-lang-dump module "Starting module Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++20  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++20  scan-lang-dump module "Writing import:1->1 Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++26  scan-lang-dump module "Starting module Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++26  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++26  scan-lang-dump module "Writing import:1->1 Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++20  scan-lang-dump module "Found import:1 Foo->1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++20  scan-lang-dump module "Starting module Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++20  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++26  scan-lang-dump module "Found import:1 Foo->1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++26  scan-lang-dump module "Starting module Baz"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++26  scan-lang-dump module "Starting module Foo"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-imp-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-impl-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-indirect-1_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-invalid-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++20  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++20  dg-regexp 5 was found: "Foo: error: failed to read compiled module: Bad file data\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++20  dg-regexp 6 was found: "Bar: error: failed to read compiled module: Bad import dependency\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++26  at line 4 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++26  dg-regexp 5 was found: "Foo: error: failed to read compiled module: Bad file data\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++26  dg-regexp 6 was found: "Bar: error: failed to read compiled module: Bad import dependency\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-stamp-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++20  scan-assembler _ZN5InnerW7linkage4Baz2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++20  scan-assembler _ZN5InnerW7linkage4Foo2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++20  scan-assembler _ZN5InnerW7linkage5Bink2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++20  scan-assembler _ZW7linkage3Bazv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++20  scan-assembler _ZW7linkage3Foov:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++20  scan-assembler _ZW7linkage4Binkv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++20  scan-assembler cfunc:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++26  scan-assembler _ZN5InnerW7linkage4Baz2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++26  scan-assembler _ZN5InnerW7linkage4Foo2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++26  scan-assembler _ZN5InnerW7linkage5Bink2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++26  scan-assembler _ZW7linkage3Bazv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++26  scan-assembler _ZW7linkage3Foov:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++26  scan-assembler _ZW7linkage4Binkv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++26  scan-assembler cfunc:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++20  scan-assembler _Z3Foov:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++20  scan-assembler _ZN3One3Two5ThreeW5okelyW6dokely4Baz2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++20  scan-assembler _ZN3One3Two5ThreeW5okelyW6dokely4Foo2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++26  scan-assembler _Z3Foov:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++26  scan-assembler _ZN3One3Two5ThreeW5okelyW6dokely4Baz2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++26  scan-assembler _ZN3One3Two5ThreeW5okelyW6dokely4Foo2Ev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++20  scan-assembler _ZN1X1YW3bob3BarEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++20  scan-assembler _ZN1X1YW3bob4QuuxEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++20  scan-assembler _ZN1XW3bob3BazEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++20  scan-assembler _ZN1XW3bob3FooEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++26  scan-assembler _ZN1X1YW3bob3BarEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++26  scan-assembler _ZN1X1YW3bob4QuuxEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++26  scan-assembler _ZN1XW3bob3BazEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++26  scan-assembler _ZN1XW3bob3FooEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++20  scan-assembler _ZL1x:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++20  scan-assembler _ZL4FrobPN12_GLOBAL__N_14BillE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++20  scan-assembler _ZL6addonev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++20  scan-assembler _ZN12_GLOBAL__N_14Bill1FEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++20  scan-assembler _ZN12_GLOBAL__N_1L1yE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++20  scan-assembler _ZN12_GLOBAL__N_1L4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++20  scan-assembler _ZN1NL1zE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++20  scan-assembler _ZN1NL5innerEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++20  scan-assembler _ZW1A6addsixv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++26  scan-assembler _ZL1x:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++26  scan-assembler _ZL4FrobPN12_GLOBAL__N_14BillE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++26  scan-assembler _ZL6addonev:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++26  scan-assembler _ZN12_GLOBAL__N_14Bill1FEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++26  scan-assembler _ZN12_GLOBAL__N_1L1yE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++26  scan-assembler _ZN12_GLOBAL__N_1L4frobEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++26  scan-assembler _ZN1NL1zE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++26  scan-assembler _ZN1NL5innerEv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++26  scan-assembler _ZW1A6addsixv:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-sym-4.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/mod-tpl-2_b.C -std=c++26 (test for excess errors)
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-10_a.C -std=c++17 (test for excess errors)
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-10_a.C -std=c++20 (test for excess errors)
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-10_a.C -std=c++26 (test for excess errors)
@@ -94,6 +10524,60 @@ o  IMPROVEMENTS TO BE CHECKED:
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-11_c.C -std=c++17 (test for excess errors)
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-11_c.C -std=c++20 (test for excess errors)
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-11_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++20  scan-lang-dump module "Writing namespace:[0-9] '::also_not_exported', public, purview\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++20  scan-lang-dump module "Writing namespace:[0-9] '::explicit_export', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++20  scan-lang-dump module "Writing namespace:[0-9] '::explicit_export::also_exported', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++20  scan-lang-dump module "Writing namespace:[0-9] '::implicit_export', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++20  scan-lang-dump-not module "Writable bindings at '::not_exported'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++20  scan-lang-dump-not module "Writing namespace:[0-9] '::not_exported'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++20  scan-lang-dump-not module "Writing namespace:[0-9] '::std'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++26  scan-lang-dump module "Writing namespace:[0-9] '::also_not_exported', public, purview\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++26  scan-lang-dump module "Writing namespace:[0-9] '::explicit_export', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++26  scan-lang-dump module "Writing namespace:[0-9] '::explicit_export::also_exported', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++26  scan-lang-dump module "Writing namespace:[0-9] '::implicit_export', public, purview, export\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++26  scan-lang-dump-not module "Writable bindings at '::not_exported'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++26  scan-lang-dump-not module "Writing namespace:[0-9] '::not_exported'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++26  scan-lang-dump-not module "Writing namespace:[0-9] '::std'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_b.C -std=c++20  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_b.C -std=c++26  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_b.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_b.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-4_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-5_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_b.C -std=c++20  scan-assembler _ZNSt10filesystem12current_pathB5cxx11B3fooEv
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_b.C -std=c++26  scan-assembler _ZNSt10filesystem12current_pathB5cxx11B3fooEv
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-7_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-7_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-7_b.C -std=c++26 (test for excess errors)
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-8_a.C -std=c++17 (test for excess errors)
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-8_a.C -std=c++20 (test for excess errors)
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-8_a.C -std=c++26 (test for excess errors)
@@ -109,15 +10593,2690 @@ o  IMPROVEMENTS TO BE CHECKED:
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-9_b.C -std=c++20 (test for excess errors)
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-9_b.C -std=c++26  (test for errors, line 6)
     g++:g++.dg/modules/modules.exp=g++.dg/modules/namespace-9_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nest-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nested-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nodes-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/noexcept-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/noexcept-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/noexcept-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/noexcept-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_c.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_c.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-alias-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dir-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dir-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dir-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dir-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dup-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dup-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dup-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-dup-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-imp-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ns-part-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-2.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::directory_entry'\\n  \\[1\\]=decl definition '::directory_entry::__as_base '\\n  \\[2\\]=decl declaration '::directory_entry::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-2.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::directory_entry'\\n  \\[1\\]=decl definition '::directory_entry::__as_base '\\n  \\[2\\]=decl declaration '::directory_entry::__ct '\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/nsdmi-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-2.C -std=c++20  at line 5 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-2.C -std=c++26  at line 5 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-3.C -std=gnu++20  at line 5 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-3.C -std=gnu++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-3.C -std=gnu++26  at line 5 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/only-3.C -std=gnu++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/operator-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-1.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-1.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-2.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-2.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-3.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-3.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p0713-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-4.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-4.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-5.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-5.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-file-default.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-file-default.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-target-default.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/p1689-target-default.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_d.C -std=c++20  dg-regexp 10 was found: "In module imported at [^\n]*part-2_b.C:6:.,\nof module foo:imp, imported at [^\n]*part-2_d.C:6:\nfoo:inter: error: interface partition is not exported\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_d.C -std=c++26  dg-regexp 10 was found: "In module imported at [^\n]*part-2_b.C:6:.,\nof module foo:imp, imported at [^\n]*part-2_d.C:6:\nfoo:inter: error: interface partition is not exported\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-2_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++20  scan-lang-dump module "Cluster sections are \\[1,3\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++20  scan-lang-dump module "Read:-[0-9]'s named merge key \\(matched\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++20  scan-lang-dump module "Read:-[0-9]'s named merge key \\(new\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++26  scan-lang-dump module "Cluster sections are \\[1,3\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++26  scan-lang-dump module "Read:-[0-9]'s named merge key \\(matched\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++26  scan-lang-dump module "Read:-[0-9]'s named merge key \\(new\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++20  scan-lang-dump module " Read:-[0-9]'s named merge key \\(unique\\) function_decl:'::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++20  scan-lang-dump module ">  Read:-[0-9]'s named merge key \\(unique\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++26  scan-lang-dump module " Read:-[0-9]'s named merge key \\(unique\\) function_decl:'::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++26  scan-lang-dump module ">  Read:-[0-9]'s named merge key \\(unique\\) function_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-3_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-4_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-5_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-6_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:bob:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB@foo:bob:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::frob@foo:bob:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template FROB@foo:bob:1'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-7_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-8_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-9_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-hdr-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/part-mac-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_c.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_c.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-2_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++20  scan-lang-dump module "Read:-[0-9]*'s partial merge key \\(new\\) template_decl:'::template A'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++20  scan-lang-dump module "Read:-[0-9]*'s partial merge key \\(new\\) template_decl:'::template B'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++20  scan-lang-dump-not module "Wrote declaration entity:[0-9]* template_decl:'::template A<#null#>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++20  scan-lang-dump-not module "Wrote declaration entity:[0-9]* template_decl:'::template B<template TT,int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++26  scan-lang-dump module "Read:-[0-9]*'s partial merge key \\(new\\) template_decl:'::template A'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++26  scan-lang-dump module "Read:-[0-9]*'s partial merge key \\(new\\) template_decl:'::template B'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++26  scan-lang-dump-not module "Wrote declaration entity:[0-9]* template_decl:'::template A<#null#>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++26  scan-lang-dump-not module "Wrote declaration entity:[0-9]* template_decl:'::template B<template TT,int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-6_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-7_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_a.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_a.C module-cmi m:a (gcm.cache/m-a.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_b.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_b.C module-cmi m:b (gcm.cache/m-b.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_c.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_c.C module-cmi m (gcm.cache/m.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_d.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/partial-8_d.C module-cmi m (gcm.cache/m.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++20  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++20  at line 9 (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++26  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++26  at line 9 (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++20  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++20  at line 11 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++26  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++26  at line 11 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/permissive-error-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++20  scan-lang-dump-times module "merge key \\(unique\\)" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++26  scan-lang-dump-times module "merge key \\(unique\\)" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_a.H -std=c++20  scan-lang-dump-times module "Written:-[0-9]* ptrmem type" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_a.H -std=c++26  scan-lang-dump-times module "Written:-[0-9]* ptrmem type" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++20  scan-lang-dump module "Cloned:-[0-9]* typedef template_type_parm:'::template remove_reference<_Tp>::template FOO<_Tp>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++20  scan-lang-dump module "Created:-[0-9]* ptrmem type"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++26  scan-lang-dump module "Cloned:-[0-9]* typedef template_type_parm:'::template remove_reference<_Tp>::template FOO<_Tp>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++26  scan-lang-dump module "Created:-[0-9]* ptrmem type"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmf-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_a.C -std=c++20  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_a.C -std=c++26  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_b.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_b.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-2.C -std=c++20  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-2.C -std=c++26  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-3.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-3.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-4.C -std=c++20  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-4.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-4.C -std=c++26  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-4.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-5.C -std=c++20  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-5.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-5.C -std=c++26  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-5.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-6.C -std=c++20  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-6.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-6.C -std=c++26  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pmp-6.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr101582-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr101582-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr102576_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr102576_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr102576_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr102576_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr103499_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr103499_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr103499_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr103499_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104040_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104040_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104040_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104040_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104234.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr104234.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr105045_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr105045_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr105045_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr105045_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106304_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106304_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106304_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106304_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106363_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106363_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106363_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106363_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106761_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106761_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106761_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106761_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106820_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106820_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106820_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr106820_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++20  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++20  at line 10 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++26  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++26  at line 10 (test for warnings, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113580_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114005_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114005_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114005_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114005_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114630_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114856_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114856_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114856_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114856_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114954.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr114954.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115020_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115020_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115020_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115020_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr115062_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118807.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118807.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118846_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118846_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118846_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118846_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr118920_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_b.C -std=c++20 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-1_b.C -std=c++26 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_b.C -std=c++20 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119076-2_b.C -std=c++26 execution test
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119102_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119102_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119102_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119102_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119608_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119608_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119608_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr119608_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98531-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98591.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98591.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++20  scan-lang-dump module " Macro maps:0 locs:0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++20  scan-lang-dump-not module " Macro:. _GLIBCXX_VISIBILITY"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++26  scan-lang-dump module " Macro maps:0 locs:0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++26  scan-lang-dump-not module " Macro:. _GLIBCXX_VISIBILITY"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++20  scan-lang-dump module " Macro maps:0 locs:0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++20  scan-lang-dump-not module " Macro:. _GLIBCXX_VISIBILITY"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++26  scan-lang-dump module " Macro maps:0 locs:0"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++26  scan-lang-dump-not module " Macro:. _GLIBCXX_VISIBILITY"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98718_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98741_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98770_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98770_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98770_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98770_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98843_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++20  scan-assembler __tcf_ZL1b:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++20  scan-assembler __tcf_ZZ3foovE1a:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++26  scan-assembler __tcf_ZL1b:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++26  scan-assembler __tcf_ZZ3foovE1a:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98893_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr98944_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99023_a.X -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99023_b.X -std=c++20  dg-regexp 7 was found: "[^\n]*: note: include '[^\n]*[/\\]initializer_list' translated to import\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99023_b.X -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99039_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99039_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99039_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99039_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99040_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_b.C -std=c++20  scan-file import "[^\\n]*99050_a.H" \\[\\[__translated\\]\\];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_b.C -std=c++26  scan-file import "[^\\n]*99050_a.H" \\[\\[__translated\\]\\];\\n
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99050_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99071_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99071_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99071_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99071_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++20  scan-lang-dump-not module "  Span:. ordinary "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++20  scan-lang-dump-not module "Writing ordinary location maps"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++26  scan-lang-dump-not module "  Span:. ordinary "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++26  scan-lang-dump-not module "Writing ordinary location maps"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99072.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99153_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99153_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99153_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99153_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_a.X -std=c++20  dg-regexp 5 was found: "[^\n]*iostream: note: writing CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_a.X -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_a.X -std=c++26  dg-regexp 5 was found: "[^\n]*iostream: note: writing CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_a.X -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_b.C -std=c++20  dg-regexp 9 was found: "In module imported at [^\n]*pr99166_b.C:[0-9:]*\n[^\n]*iostream: note: reading CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_b.C -std=c++26  dg-regexp 9 was found: "In module imported at [^\n]*pr99166_b.C:[0-9:]*\n[^\n]*iostream: note: reading CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_c.C -std=c++20  dg-regexp 4 was found: "In module imported at [^\n]*pr99166_c.C:[0-9:]*\n[^\n]*Foo: note: reading CMI 'gcm.cache/Foo.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_c.C -std=c++26  dg-regexp 4 was found: "In module imported at [^\n]*pr99166_c.C:[0-9:]*\n[^\n]*Foo: note: reading CMI 'gcm.cache/Foo.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++20  dg-regexp 4 was found: "In module imported at [^\n]*pr99166_d.C:[0-9:]*\n[^\n]*Foo: note: reading CMI 'gcm.cache/Foo.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++20  dg-regexp 6 was found: "In module imported at [^\n]*pr99166_b.C:[0-9:]*,\nof module Foo, imported at [^\n]*pr99166_d.C:[0-9:]:\n[^\n]*iostream: note: reading CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++26  dg-regexp 4 was found: "In module imported at [^\n]*pr99166_d.C:[0-9:]*\n[^\n]*Foo: note: reading CMI 'gcm.cache/Foo.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++26  dg-regexp 6 was found: "In module imported at [^\n]*pr99166_b.C:[0-9:]*,\nof module Foo, imported at [^\n]*pr99166_d.C:[0-9:]:\n[^\n]*iostream: note: reading CMI 'gcm.cache/[^[\n]*iostream.gcm'\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99166_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99170-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174.H -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174.H -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99174.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99187.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99187.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99208_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99208_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99208_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99208_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99232_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99238_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99238_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99238_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99238_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99239_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99239_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99239_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99239_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99241_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_c.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_c.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99242_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99245_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99245_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99245_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99245_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99248_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99248_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99248_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99248_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-1_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-1_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_c.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-2_c.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-3_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-3_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-4.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-4.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99283-5_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99285_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99285_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99285_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99285_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99294_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99294_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99294_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99294_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99344_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99344_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99344_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99344_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377-3_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99377_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_b.C -std=c++20  scan-lang-dump module "Pending specialization '::basic_string_view<char>' entity:. section:. keyed to '::basic_string_view'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_b.C -std=c++26  scan-lang-dump module "Pending specialization '::basic_string_view<char>' entity:. section:. keyed to '::basic_string_view'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99389_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99423_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99423_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99423_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99423_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_b.H -std=c++20  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) type_decl:'::make_signed_t'\\n  ...  Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::make_signed'\\n  Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_b.H -std=c++26  scan-lang-dump module "Read:-[0-9]*'s decl spec merge key \\(new\\) type_decl:'::make_signed_t'\\n  ...  Read:-[0-9]*'s type spec merge key \\(new\\) type_decl:'::make_signed'\\n  Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++20  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(matched\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++26  scan-lang-dump module "Read:-[0-9]*'s named merge key \\(new\\) template_decl:'::template ssize'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-2_a.X -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-2_a.X -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-2_b.X -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99425-2_b.X -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99468.H -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99468.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99468.H -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99468.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99480_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99480_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99480_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99480_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99496_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99496_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99496_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99496_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99528_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pragma-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pragma-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pragma-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pragma-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/predef-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++20  dg-regexp 19 was found: "preproc-2_b.C:13:5: error: 'int bob' redeclared as different kind of entity\nIn module ./preproc-2_a.H, imported at preproc-2_b.C:7:\n<command-line>: note: previous declaration 'void bob\(\)'\npreproc-2_a.H:8:6: note: in expansion of macro 'NAME'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++20  dg-regexp 21 was found: "preproc-2_b.C:9:14: error: conflicting declaration 'float bill'\npreproc-2_b.C:15:7: note: in expansion of macro 'NAME'\npreproc-2_b.C:9:14: note: previous declaration as 'int bill'\npreproc-2_b.C:11:5: note: in expansion of macro 'NAME'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++26  dg-regexp 19 was found: "preproc-2_b.C:13:5: error: 'int bob' redeclared as different kind of entity\nIn module ./preproc-2_a.H, imported at preproc-2_b.C:7:\n<command-line>: note: previous declaration 'void bob\(\)'\npreproc-2_a.H:8:6: note: in expansion of macro 'NAME'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++26  dg-regexp 21 was found: "preproc-2_b.C:9:14: error: conflicting declaration 'float bill'\npreproc-2_b.C:15:7: note: in expansion of macro 'NAME'\npreproc-2_b.C:9:14: note: previous declaration as 'int bill'\npreproc-2_b.C:11:5: note: in expansion of macro 'NAME'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/preproc-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/printf-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++20  dg-regexp 9 was found: "In module foo, imported at [^\n]*/reparent-1_b.C:14,\nof module bar, imported at [^\n]*/reparent-1_c.C:2:\n[^\n]*/reparent-1_a.C:6:13: note: declared here\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++26  dg-regexp 9 was found: "In module foo, imported at [^\n]*/reparent-1_b.C:14,\nof module bar, imported at [^\n]*/reparent-1_c.C:2:\n[^\n]*/reparent-1_a.C:6:13: note: declared here\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/reparent-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++20  scan-lang-dump module "  \\.[0-9]*\\.  Wrote backref:-[0-9]* function_decl:'::ba[rz]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++20  scan-lang-dump module " Writing named:-[0-9]* function_decl:'::bar'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++20  scan-lang-dump module " Writing named:-[0-9]* function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++20  scan-lang-dump module " Wrote backref:-[0-9]* function_decl:'::ba[rz]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++26  scan-lang-dump module "  \\.[0-9]*\\.  Wrote backref:-[0-9]* function_decl:'::ba[rz]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++26  scan-lang-dump module " Writing named:-[0-9]* function_decl:'::bar'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++26  scan-lang-dump module " Writing named:-[0-9]* function_decl:'::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++26  scan-lang-dump module " Wrote backref:-[0-9]* function_decl:'::ba[rz]'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/scc-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/shadow-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-mem-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-mem-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-mem-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-mem-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-tpl-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stat-tpl-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/static-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-2.C -std=c++20  scan-assembler _ZN5OuterW3FOO5Inner2FnERNS1_1XERNS_S0_1YE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-2.C -std=c++26  scan-assembler _ZN5OuterW3FOO5Inner2FnERNS1_1XERNS_S0_1YE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++20  scan-assembler _ZNStW3std9allocatorI4PoohE1MEPS1_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++20  scan-assembler _ZNStW3std9allocatorI4PoohE1NI6PigletEEPT_PS1_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++20  scan-assembler _ZNStW3std9allocatorIiE1MEPi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++20  scan-assembler _ZNStW3std9allocatorIiE1NIfEEPT_Pi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++26  scan-assembler _ZNStW3std9allocatorI4PoohE1MEPS1_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++26  scan-assembler _ZNStW3std9allocatorI4PoohE1NI6PigletEEPT_PS1_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++26  scan-assembler _ZNStW3std9allocatorIiE1MEPi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++26  scan-assembler _ZNStW3std9allocatorIiE1NIfEEPT_Pi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_b.C -std=c++20  scan-assembler _ZW3Foo1fRSbIcStS_11char_traitsIcESaIcEE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_b.C -std=c++26  scan-assembler _ZW3Foo1fRSbIcStS_11char_traitsIcESaIcEE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_c.C -std=c++20  scan-assembler _ZW3Bar1gRSs:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_c.C -std=c++26  scan-assembler _ZW3Bar1gRSs:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/std-subst-4_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++20  scan-lang-dump module "Depset:0 decl entity:[0-9]* function_decl:'(::std)?::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++20  scan-lang-dump module "Depset:1 binding namespace_decl:'::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++20  scan-lang-dump module "Writing section:60 "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++26  scan-lang-dump module "Depset:0 decl entity:[0-9]* function_decl:'(::std)?::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++26  scan-lang-dump module "Depset:1 binding namespace_decl:'::printf'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++26  scan-lang-dump module "Writing section:60 "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++20  scan-lang-dump module "Bindings '::printf' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++20  scan-lang-dump module "Lazily binding '::printf'@'[^\\n]*stdio-1_a.H' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++20  scan-lang-dump-not module "binding '::scanf'@'[^\\n]*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++26  scan-lang-dump module "Bindings '::printf' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++26  scan-lang-dump module "Lazily binding '::printf'@'[^\\n]*stdio-1_a.H' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++26  scan-lang-dump-not module "binding '::scanf'@'[^\\n]*'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdio-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdns_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdns_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdns_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/stdns_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-view1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-view1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-view2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/string-view2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-1.C -std=c++20  scan-assembler _ZW3bobW6stuartW5kevin4frobRS1_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-1.C -std=c++26  scan-assembler _ZW3bobW6stuartW5kevin4frobRS1_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_a.C -std=c++20  scan-assembler-not all must have scan-assembler
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_a.C -std=c++26  scan-assembler-not all must have scan-assembler
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++20  scan-assembler _ZW3bobW5kevin3barRS0_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++20  scan-assembler _ZW3bobW6stuart5innerIS_W5kevin6mytypeEvRT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++26  scan-assembler _ZW3bobW5kevin3barRS0_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++26  scan-assembler _ZW3bobW6stuart5innerIS_W5kevin6mytypeEvRT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-4.C -std=c++20  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neun4frobRS8_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-4.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-4.C -std=c++26  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neun4frobRS8_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-4.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-5.C -std=c++20  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neunW4zehn4frobRS9_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-5.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-5.C -std=c++26  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neunW4zehn4frobRS9_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-5.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-6.C -std=c++20  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neunW4zehnW3elf4frobRSA_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-6.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-6.C -std=c++26  scan-assembler _ZW4zeroW4einsW4zweiW4dreiW4vierW4funfW5sechsW6siebenW4achtW4neunW4zehnW3elf4frobRSA_6mytype:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sym-subst-6.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sys/inext-1.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/sys/inext-1.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_c.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_c.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_c.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_c.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-4_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_b.C -std=c++20  scan-lang-dump module "Read:-[0-9]'s named merge key \\(matched\\) type_decl:'::__mbstate_t'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_b.C -std=c++26  scan-lang-dump module "Read:-[0-9]'s named merge key \\(matched\\) type_decl:'::__mbstate_t'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++20  scan-lang-dump-times module "Cloned:-[0-9]* typedef integer_type:'::duration_cast::__to_rep'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++20  scan-lang-dump-times module "merge key \\(matched\\) function_decl:'::duration_cast" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++20  scan-lang-dump-times module "merge key \\(unique\\) type_decl:'#null#'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++26  scan-lang-dump-times module "Cloned:-[0-9]* typedef integer_type:'::duration_cast::__to_rep'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++26  scan-lang-dump-times module "merge key \\(matched\\) function_decl:'::duration_cast" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++26  scan-lang-dump-times module "merge key \\(unique\\) type_decl:'#null#'" 1
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-8_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-8_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-8_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-8_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-inst-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-inst-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-inst-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tdef-inst-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/thunk-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/thunk-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/thunk-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/thunk-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/timevar-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/timevar-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/timevar-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/timevar-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++20  scan-lang-dump module "Writing typedef type_decl:'::__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++20  scan-lang-dump module "Wrote tinfo_type:-[0-9]* 9 '::__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++20  scan-lang-dump-not module "Writing tree:-[0-9]* type_decl:'__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++26  scan-lang-dump module "Writing typedef type_decl:'::__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++26  scan-lang-dump module "Wrote tinfo_type:-[0-9]* 9 '::__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++26  scan-lang-dump-not module "Writing tree:-[0-9]* type_decl:'__si_class_type_info_pseudo_9'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-3_a.H -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-3_a.H module-cmi  (gcm.cache/$srcdir/g++.dg/modules/tinfo-3_a.H.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-3_b.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tinfo-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-1_a.H -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-1_a.H module-cmi  (gcm.cache/$srcdir/g++.dg/modules/tls-1_a.H.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-1_b.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-2_a.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-2_a.C module-cmi M (gcm.cache/M.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-2_b.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-3_a.H -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-3_a.H module-cmi  (gcm.cache/$srcdir/g++.dg/modules/tls-3_a.H.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-3_b.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tname-spec-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-1.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-10.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-10.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-11.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-11.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-12.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-12.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-13.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-13.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-14.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-14.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-15.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-15.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++20  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++20  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++26  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++26  at line 6 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-16.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_b.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_b.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-3.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-3.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++20  (test for errors, line 2)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++20  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++26  (test for errors, line 2)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++26  (test for errors, line 3)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-4.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-5.C -std=c++20  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-5.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-5.C -std=c++26  (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-5.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-6.C -std=c++20  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-6.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-6.C -std=c++26  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-6.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-7.C -std=c++20  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-7.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-7.C -std=c++26  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-7.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-8.C -std=c++20  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-8.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-8.C -std=c++26  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-8.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-9.C -std=c++20  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-9.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-9.C -std=c++26  at line 5 (test for errors, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/token-9.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++20  scan-lang-dump module "Writing decl tmpl spec:-[0-9]* template_decl:'::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++20  scan-lang-dump module "Writing decl tmpl spec:-[0-9]* type_decl:'::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++20  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) type_decl:'::allocator_traits<::allocator<long int>>::rebind_alloc<long int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++26  scan-lang-dump module "Writing decl tmpl spec:-[0-9]* template_decl:'::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++26  scan-lang-dump module "Writing decl tmpl spec:-[0-9]* type_decl:'::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++26  scan-lang-dump module "Writing:-[0-9]*'s decl spec merge key \\(specialization\\) type_decl:'::allocator_traits<::allocator<long int>>::rebind_alloc<long int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++20  scan-lang-dump module "Deduping '::allocator_traits<::allocator<_Tp>>::template rebind_alloc'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++20  scan-lang-dump module "Deduping '::allocator_traits<::allocator<long int>>::rebind_alloc<long int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++20  scan-lang-dump module "Deduping '::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++26  scan-lang-dump module "Deduping '::allocator_traits<::allocator<_Tp>>::template rebind_alloc'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++26  scan-lang-dump module "Deduping '::allocator_traits<::allocator<long int>>::rebind_alloc<long int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++26  scan-lang-dump module "Deduping '::allocator_traits<::allocator<long int>>::template rebind_alloc<_Up>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-alias-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++20  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++26  scan-lang-dump-not module "merge key \\(unique\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-ary-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-fn-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-fn-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-fn-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-fn-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-var-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-var-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-var-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-extern-var-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-10_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-11_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-11_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-11_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-11_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_f.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-12_f.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++20  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++26  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++20  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++20  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++20  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++20  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++20  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++20  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++20  at line 13 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++26  (test for errors, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++26  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++26  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++26  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++26  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++26  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++26  at line 13 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++20  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++20  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++20  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++20  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++20  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++20  at line 15 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++20  at line 17 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++20  at line 18 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++26  (test for warnings, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++26  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++26  (test for warnings, line 5)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++26  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++26  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++26  at line 15 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++26  at line 17 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++26  at line 18 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_f.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_f.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_g.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_g.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-14_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-15_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++20  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++20  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++26  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++26  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-16_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-17_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-17_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-17_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-17_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-18_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-19_a.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-19_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-19_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-19_a.C module-cmi M (gcm.cache/M.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-19_b.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-19_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-19_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++20  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::foo'\\n  \\[1\\]=decl declaration '::foo'\\n  \\[2\\]=binding '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template TPL'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::TPL<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++20  scan-lang-dump-not module "Connecting declaration decl template_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++26  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::foo'\\n  \\[1\\]=decl declaration '::foo'\\n  \\[2\\]=binding '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template TPL'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::TPL<float>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++26  scan-lang-dump-not module "Connecting declaration decl template_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++20  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::foo'\\n  \\[.\\]=binding '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template TPL'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=decl declaration '::template foo'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++26  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::foo'\\n  \\[.\\]=binding '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl definition '::template TPL'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=decl declaration '::template foo'\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=binding '::TPL'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization definition '::TPL<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_a.C -std=c++20  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_a.C -std=c++26  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++20  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++20  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++26  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++26  (test for errors, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++20  scan-lang-dump module "Lazily binding '::basic_streambuf'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++20  scan-lang-dump module "Loading entity foo\\[0\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++20  scan-lang-dump module "Loading entity foo\\[1\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++26  scan-lang-dump module "Lazily binding '::basic_streambuf'@'foo' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++26  scan-lang-dump module "Loading entity foo\\[0\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++26  scan-lang-dump module "Loading entity foo\\[1\\] section:2"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-6_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-6_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-7_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-7_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-7_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-8_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-8_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-8_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-8_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-9.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-9.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_c.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_c.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_e.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_e.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_f.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-merge-1_f.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++20  scan-assembler _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++20  scan-lang-dump module "Dependencies of specialization function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++20  scan-lang-dump module "Pending specialization '::foo<int>' entity:[0-9]* section:. keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++20  scan-lang-dump-not module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++26  scan-assembler _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++26  scan-lang-dump module "Dependencies of specialization function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++26  scan-lang-dump module "Pending specialization '::foo<int>' entity:[0-9]* section:. keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++26  scan-lang-dump-not module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++20  scan-assembler-not _Z3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++20  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++20  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++26  scan-assembler-not _Z3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++26  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++26  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_a.C -std=c++20  scan-assembler-not ^[a-zA-Z0-9_]*:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_a.C -std=c++26  scan-assembler-not ^[a-zA-Z0-9_]*:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++20  scan-assembler _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++20  scan-lang-dump module "Dependencies of specialization function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++20  scan-lang-dump module "Pending specialization '::foo<int>' entity:[0-9]* section:. keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++20  scan-lang-dump-not module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++26  scan-assembler _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++26  scan-lang-dump module "Dependencies of specialization function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++26  scan-lang-dump module "Pending specialization '::foo<int>' entity:[0-9]* section:. keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++26  scan-lang-dump-not module "Depending definition function_decl:'::foo<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++20  scan-assembler-not _Z3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++20  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++20  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++26  scan-assembler-not _Z3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++26  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++26  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++20  scan-assembler _ZW3TPL3fooIfEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++20  scan-assembler-not _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++20  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++20  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++26  scan-assembler _ZW3TPL3fooIfEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++26  scan-assembler-not _ZW3TPL3fooIiEiT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++26  scan-lang-dump module "Reading 1 pending entities keyed to '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++26  scan-lang-dump-not module "Reading definition function_decl '::foo@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-2_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++20  scan-assembler _ZNW3TPL4frob5storeIiEEvT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++20  scan-lang-dump module "Dependencies of specialization function_decl:'::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++20  scan-lang-dump module "Pending specialization '::frob::store<int>' entity:[0-9]* section:. keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++20  scan-lang-dump-not module "Depending definition function_decl:'::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++26  scan-assembler _ZNW3TPL4frob5storeIiEEvT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=specialization declaration '::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++26  scan-lang-dump module "Dependencies of specialization function_decl:'::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++26  scan-lang-dump module "Pending specialization '::frob::store<int>' entity:[0-9]* section:. keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++26  scan-lang-dump-not module "Depending definition function_decl:'::frob::store<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++20  scan-assembler-not _ZN4frob5storeIiEEvT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++20  scan-lang-dump module "Reading 2 pending entities keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++20  scan-lang-dump-not module "Reading definition function_decl '::frob@TPL:.::store@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++26  scan-assembler-not _ZN4frob5storeIiEEvT_:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++26  scan-lang-dump module "Reading 2 pending entities keyed to '::frob'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++26  scan-lang-dump-not module "Reading definition function_decl '::frob@TPL:.::store@TPL:.<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=specialization definition '::X<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++20  scan-lang-dump module "Dependencies of specialization type_decl:'::X<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++20  scan-lang-dump module "Pending specialization '::X<int>' entity:[0-9]* section:. keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n(  \\[.\\]=[^\\n]*'\\n)*  \\[.\\]=specialization definition '::X<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++26  scan-lang-dump module "Dependencies of specialization type_decl:'::X<int>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++26  scan-lang-dump module "Pending specialization '::X<int>' entity:[0-9]* section:. keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_b.C -std=c++20  scan-lang-dump module "Reading 2 pending entities keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_b.C -std=c++26  scan-lang-dump module "Reading 2 pending entities keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n(  \\[.\\][^\\n]*'\\n)*  \\[.\\]=partial definition '::template X<T,0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++20  scan-lang-dump module "Dependency on partial template_decl:'::template X<T,0x1>' found"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++20  scan-lang-dump module "Pending specialization '::template X<T,0x1>' entity:[0-9]* section:. keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n(  \\[.\\][^\\n]*'\\n)*  \\[.\\]=partial definition '::template X<T,0x1>'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++26  scan-lang-dump module "Dependency on partial template_decl:'::template X<T,0x1>' found"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++26  scan-lang-dump module "Pending specialization '::template X<T,0x1>' entity:[0-9]* section:. keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_b.C -std=c++20  scan-lang-dump module "Reading 2 pending entities keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_b.C -std=c++26  scan-lang-dump module "Reading 2 pending entities keyed to '::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_b.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_b.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-7.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-7.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-8_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-8_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-8_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-8_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-spec-9_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-friend-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-friend-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-friend-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-friend-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-mem-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-mem-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-mem-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-mem-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-merge-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-tpl-parm-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tplmem-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/ttp-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-friend_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-friend_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-friend_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/typename-friend_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++20  scan-lang-dump module "Bindings '::counter' section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++20  scan-lang-dump-not module "Unnamed . '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++20  scan-lang-dump-not module "horcrux"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++26  scan-lang-dump module "Bindings '::counter' section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++26  scan-lang-dump-not module "Unnamed . '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++26  scan-lang-dump-not module "horcrux"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++20  scan-lang-dump module ">Loading entity PiL\\[0\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++20  scan-lang-dump module "Bindings '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++26  scan-lang-dump module ">Loading entity PiL\\[0\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++26  scan-lang-dump module "Bindings '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++20  scan-lang-dump-not module "Bindings '::counter' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++20  scan-lang-dump-not module "Unnamed . '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++26  scan-lang-dump-not module "Bindings '::counter' section:"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++26  scan-lang-dump-not module "Unnamed . '::counter'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/unnamed-2.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_b.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_b.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_c.C -std=c++20  scan-assembler _Z4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_c.C -std=c++26  scan-assembler _Z4frobi:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/used-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 100)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 101)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 51)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 52)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 53)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 55)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 56)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 75)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 76)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for errors, line 99)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 35)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 38)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 40)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 45)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 48)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 60)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 65)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 69)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 88)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20  (test for warnings, line 91)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 100)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 101)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 51)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 52)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 53)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 55)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 56)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 75)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 76)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for errors, line 99)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 17)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 22)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 35)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 38)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 40)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 43)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 45)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 48)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 60)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 65)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 69)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 88)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26  (test for warnings, line 91)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-10.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-11_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 100)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 101)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 102)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 52)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 53)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 55)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 56)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 57)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 76)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for errors, line 79)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 37)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 40)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 45)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 47)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 50)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 71)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 90)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 93)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20  (test for warnings, line 96)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 100)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 101)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 102)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 26)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 28)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 29)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 30)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 31)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 52)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 53)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 54)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 55)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 56)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 57)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 76)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 77)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 78)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for errors, line 79)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 19)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 21)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 24)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 37)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 40)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 42)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 45)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 47)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 50)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 62)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 64)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 67)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 71)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 90)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 93)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26  (test for warnings, line 96)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-12.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-13_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-13_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-13_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-13_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-14.C -std=c++20  scan-lang-dump module "Wrote 0 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-14.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-14.C -std=c++26  scan-lang-dump module "Wrote 0 clusters"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-14.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_c.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_c.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-15_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_c.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_c.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-16_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-17_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-17_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-17_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-17_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-18_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-18_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-18_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-18_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++20  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++20  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++20  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++26  (test for errors, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++26  (test for errors, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++26  (test for errors, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-19_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-20_a.C -std=c++20  scan-lang-dump module "Writing definition '::foo::bar::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-20_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-20_a.C -std=c++26  scan-lang-dump module "Writing definition '::foo::bar::baz'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-20_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-21_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-21_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++20  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++26  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-22_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-23_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-23_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-23_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-23_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++20  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++26  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-24_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++20  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++20  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++20  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++20  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++26  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++26  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++26  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++26  (test for errors, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-25_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-26_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++20  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++20  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++20  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++20  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++20  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++20  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++26  (test for errors, line 12)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++26  (test for errors, line 13)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++26  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++26  (test for warnings, line 6)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++26  (test for warnings, line 7)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++26  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-27.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-28_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-28_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-28_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-28_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-29.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-29.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++20  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++20  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++26  (test for errors, line 14)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++26  (test for errors, line 15)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-3.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++20  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++26  (test for errors, line 9)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-30_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-31_a.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-31_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-31_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-31_a.C module-cmi m (gcm.cache/m.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-31_b.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-31_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-31_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++20  scan-lang-dump module "Depset:0 using overload:'::N::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++20  scan-lang-dump module "Depset:1 binding namespace_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++20  scan-lang-dump module "Writing section:2 2 depsets"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++26  scan-lang-dump module "Depset:0 using overload:'::N::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++26  scan-lang-dump module "Depset:1 binding namespace_decl:'::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++26  scan-lang-dump module "Writing section:2 2 depsets"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_b.C -std=c++20  scan-lang-dump module "Binding of '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_b.C -std=c++26  scan-lang-dump module "Binding of '::foo'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::One::X'\\n  \\[1\\]=binding '::One::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=using declaration '::One::X'\\n  \\[1\\]=binding '::Two::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::One::X'\\n  \\[1\\]=binding '::One::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=using declaration '::One::X'\\n  \\[1\\]=binding '::Two::X'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-6_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-6_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++20  scan-lang-dump module "Writing section:1 4 depsets\\n Cluster members:\\n  \\[0\\]=decl definition '::__gnu_cxx::_Lock_policy'\\n  \\[1\\]=using declaration '::__gnu_cxx::_Lock_policy::_S_single'\\n  \\[2\\]=binding '::__gnu_cxx::_[A-Za-z_]*'\\n  \\[3\\]=binding '::__gnu_cxx::_[A-Za-z_]*'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++20  scan-lang-dump module "Writing section:2 2 depsets\\n Cluster members:\\n  \\[0\\]=using declaration '::__gnu_cxx::_Lock_policy::_S_single'\\n  \\[1\\]=binding '::std::_S_single'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++26  scan-lang-dump module "Writing section:1 4 depsets\\n Cluster members:\\n  \\[0\\]=decl definition '::__gnu_cxx::_Lock_policy'\\n  \\[1\\]=using declaration '::__gnu_cxx::_Lock_policy::_S_single'\\n  \\[2\\]=binding '::__gnu_cxx::_[A-Za-z_]*'\\n  \\[3\\]=binding '::__gnu_cxx::_[A-Za-z_]*'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++26  scan-lang-dump module "Writing section:2 2 depsets\\n Cluster members:\\n  \\[0\\]=using declaration '::__gnu_cxx::_Lock_policy::_S_single'\\n  \\[1\\]=binding '::std::_S_single'\\n"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-7.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-8_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-8_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-8_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-8_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++20  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++20  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++26  (test for errors, line 11)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++26  (test for warnings, line 8)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-9.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_a.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_a.C module-cmi using_enum_3 (gcm.cache/using_enum_3.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_b.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_a.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_a.C module-cmi M:a (gcm.cache/M-a.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_b.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_b.C module-cmi M (gcm.cache/M.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_c.C -std=c++20  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_c.C -std=c++23  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_c.C -std=c++23 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_c.C -std=c++26  (test for errors, line 10)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-concept-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-concept-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-concept-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/var-tpl-concept-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++20  scan-assembler _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++20  scan-assembler _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++20  scan-assembler _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++20  scan-assembler _ZW3foo5VisitPS_7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++26  scan-assembler _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++26  scan-assembler _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++26  scan-assembler _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++26  scan-assembler _ZW3foo5VisitPS_7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++20  scan-assembler-not _ZTI7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++20  scan-assembler-not _ZTS7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++20  scan-assembler-not _ZTV7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++26  scan-assembler-not _ZTI7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++26  scan-assembler-not _ZTS7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++26  scan-assembler-not _ZTV7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++20  scan-assembler _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++20  scan-assembler _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++20  scan-assembler _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++26  scan-assembler _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++26  scan-assembler _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++26  scan-assembler _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++20  scan-assembler-not _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++20  scan-assembler-not _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++20  scan-assembler-not _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++26  scan-assembler-not _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++26  scan-assembler-not _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++26  scan-assembler-not _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++20  scan-assembler-not _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++20  scan-assembler-not _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++20  scan-assembler-not _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++26  scan-assembler-not _ZTIW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++26  scan-assembler-not _ZTSW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++26  scan-assembler-not _ZTVW3foo7Visitor:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_d.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-3_d.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++20  scan-assembler _ZTIW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++20  scan-assembler _ZTIW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++20  scan-assembler _ZTSW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++20  scan-assembler _ZTSW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++20  scan-assembler _ZTVW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++20  scan-assembler _ZTVW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++20  scan-assembler-not _ZTI10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++20  scan-assembler-not _ZTS10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++20  scan-assembler-not _ZTV10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++26  scan-assembler _ZTIW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++26  scan-assembler _ZTIW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++26  scan-assembler _ZTSW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++26  scan-assembler _ZTSW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++26  scan-assembler _ZTVW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++26  scan-assembler _ZTVW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++26  scan-assembler-not _ZTI10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++26  scan-assembler-not _ZTS10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++26  scan-assembler-not _ZTV10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++20  scan-assembler _ZTI10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++20  scan-assembler _ZTIW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++20  scan-assembler _ZTS10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++20  scan-assembler _ZTSW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++20  scan-assembler _ZTV10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++20  scan-assembler _ZTVW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++20  scan-assembler-not _ZTIW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++20  scan-assembler-not _ZTSW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++20  scan-assembler-not _ZTVW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++26  scan-assembler _ZTI10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++26  scan-assembler _ZTIW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++26  scan-assembler _ZTS10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++26  scan-assembler _ZTSW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++26  scan-assembler _ZTV10Unattached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++26  scan-assembler _ZTVW1M9TemplatedIiE:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++26  scan-assembler-not _ZTIW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++26  scan-assembler-not _ZTSW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++26  scan-assembler-not _ZTVW1M8Attached:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++20  scan-assembler _ZTTW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++20  scan-assembler _ZTVW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++26  scan-assembler _ZTTW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++26  scan-assembler _ZTVW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++20  scan-assembler-not _ZTTW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++20  scan-assembler-not _ZTVW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++26  scan-assembler-not _ZTTW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++26  scan-assembler-not _ZTVW1M1A:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-6_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-6_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-6_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/virt-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2 -std=c++20 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2 -std=c++20 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2 -std=c++26 execute
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2 -std=c++26 link
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++20  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::frobber'\\n  \\[1\\]=decl definition '::frobber::._anon_0'\\n(  \\[.\\]=decl [^\\n]*'\\n)*  \\[.\\]=binding '::frobber'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++20  scan-lang-dump module "Connecting definition decl type_decl:'::frobber::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++20  scan-lang-dump module "Entities 5"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++26  scan-lang-dump module "Cluster members:\\n  \\[0\\]=decl declaration '::frobber'\\n  \\[1\\]=decl definition '::frobber::._anon_0'\\n(  \\[.\\]=decl [^\\n]*'\\n)*  \\[.\\]=binding '::frobber'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++26  scan-lang-dump module "Connecting definition decl type_decl:'::frobber::._anon_0'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++26  scan-lang-dump module "Entities 5"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++20  scan-lang-dump-not module "Cluster import "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++20  scan-lang-dump-not module "onnecting definition decl type_decl:'::frobber@voldy:.::._anon_1@voldy:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++26  scan-lang-dump-not module "Cluster import "
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++26  scan-lang-dump-not module "onnecting definition decl type_decl:'::frobber@voldy:.::._anon_1@voldy:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++20  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::frobber@voldy:.::._anon_3@voldy:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++20  scan-lang-dump module "Loading entity voldy\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++26  scan-lang-dump module "Indirect:-[0-9]* decl's type record_type:'::frobber@voldy:.::._anon_3@voldy:.'"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++26  scan-lang-dump module "Loading entity voldy\\[1\\] section:1"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vmort-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++20  scan-assembler _ZTTW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++20  scan-assembler _ZTVW3foo4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++20  scan-assembler _ZTVW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++26  scan-assembler _ZTTW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++26  scan-assembler _ZTVW3foo4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++26  scan-assembler _ZTVW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++20  scan-assembler _ZTTW3bar4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++20  scan-assembler _ZTVW3bar4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++20  scan-assembler-not _ZTTW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++20  scan-assembler-not _ZTVW3foo4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++20  scan-assembler-not _ZTVW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++26  scan-assembler _ZTTW3bar4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++26  scan-assembler _ZTVW3bar4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++26  scan-assembler-not _ZTTW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++26  scan-assembler-not _ZTVW3foo4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++26  scan-assembler-not _ZTVW3foo7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++20  scan-assembler-not _ZTT4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++20  scan-assembler-not _ZTT7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++20  scan-assembler-not _ZTV4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++20  scan-assembler-not _ZTV4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++20  scan-assembler-not _ZTV7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++26  scan-assembler-not _ZTT4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++26  scan-assembler-not _ZTT7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++26  scan-assembler-not _ZTV4base:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++26  scan-assembler-not _ZTV4mine:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++26  scan-assembler-not _ZTV7derived:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_a.H -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++20  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++20  scan-lang-dump-times module "merge key \\(unique\\)" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++26  scan-lang-dump-not module "merge key \\(new\\)"
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++26  scan-lang-dump-times module "merge key \\(unique\\)" 2
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++17  scan-assembler _ZTV3BGM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++17  scan-assembler _ZTVW1M2BM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++17  scan-assembler-not _ZTV3BGG:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++20  scan-assembler _ZTV3BGM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++20  scan-assembler _ZTVW1M2BM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++20  scan-assembler-not _ZTV3BGG:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++26  scan-assembler _ZTV3BGM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++26  scan-assembler _ZTVW1M2BM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++26  scan-assembler-not _ZTV3BGG:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_a.C module-cmi M (gcm.cache/M.gcm)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++17  scan-assembler _ZTV3BGG:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++17  scan-assembler _ZTV3BGM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++17  scan-assembler-not _ZTVW1M2BM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++17 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++20  scan-assembler _ZTV3BGG:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++20  scan-assembler _ZTV3BGM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++20  scan-assembler-not _ZTVW1M2BM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++26  scan-assembler _ZTV3BGG:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++26  scan-assembler _ZTV3BGM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++26  scan-assembler-not _ZTVW1M2BM:
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/vtt-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-1_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-1_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-1_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-2_a.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-2_a.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-2_b.C -std=c++20 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/warn-spec-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-1_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-1_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-2_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-2_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-2_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-3_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-3_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-3_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-4_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-4_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-4_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-5_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-5_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-5_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-6_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-6_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-6_c.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-7_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-7_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header-8.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-header_b.C -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-tr1_a.H -std=c++26 (test for excess errors)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/xtreme-tr1_b.C -std=c++26 (test for excess errors)
+  Executed from: g++:g++.dg/sarif-output/sarif-output.exp
+    g++:g++.dg/sarif-output/sarif-output.exp=g++.dg/sarif-output/logical-locations-1.C (test .sarif output for UTF-8-encoded parseable JSON)
+    g++:g++.dg/sarif-output/sarif-output.exp=g++.dg/sarif-output/logical-locations-1.C (test for excess errors)
+    g++:g++.dg/sarif-output/sarif-output.exp=g++.dg/sarif-output/logical-locations-2.C (test .sarif output for UTF-8-encoded parseable JSON)
+    g++:g++.dg/sarif-output/sarif-output.exp=g++.dg/sarif-output/logical-locations-2.C (test for excess errors)
+    g++:g++.dg/sarif-output/sarif-output.exp=g++.dg/sarif-output/logical-locations-3.C (test .sarif output for UTF-8-encoded parseable JSON)
+    g++:g++.dg/sarif-output/sarif-output.exp=g++.dg/sarif-output/logical-locations-3.C (test for excess errors)
   Executed from: gcc:gcc.dg/dg.exp
+    gcc:gcc.dg/dg.exp=c-c++-common/pr118868-1.c  -Wc++-compat  (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 14)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 15)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 16)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 17)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 18)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 19)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 20)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 21)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 22)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 23)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 24)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 25)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 26)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 27)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 28)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 29)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 30)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 31)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 32)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 33)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 34)
+    gcc:gcc.dg/dg.exp=gcc.dg/c23-builtins-1.c  (test for warnings, line 35)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compat.c  (test for warnings, line 8)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compat.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 114)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 123)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 23)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 27)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 38)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 46)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 64)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 67)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 70)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 82)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 83)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 84)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 85)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 86)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 87)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 88)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 89)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 90)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c  (test for errors, line 94)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-compile.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-no-compat.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-pedantic-errors.c  (test for errors, line 8)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-pedantic-errors.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-pedantic.c  (test for warnings, line 8)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-pedantic.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-stdcountof.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-stdcountof.c execution test
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-vla.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-vmt.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-vmt.c execution test
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-zero-compile.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-zero.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof-zero.c execution test
+    gcc:gcc.dg/dg.exp=gcc.dg/countof.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/countof.c execution test
     gcc:gcc.dg/dg.exp=gcc.dg/gnu23-tag-composite-6.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/pr116546.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/pr116546.c scan-tree-dump-not evrp "bar"
+    gcc:gcc.dg/dg.exp=gcc.dg/pr120048.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/pr120074.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/pr120277.c (test for excess errors)
     gcc:gcc.dg/dg.exp=gcc.dg/pr120381.c  (test for errors, line 5)
     gcc:gcc.dg/dg.exp=gcc.dg/pr120381.c (test for excess errors)
+    gcc:gcc.dg/dg.exp=gcc.dg/pr78408-1.c scan-tree-dump-times forwprop1 "after previous" 17
+  Executed from: gcc:gcc.dg/html-output/html-output.exp
+    gcc:gcc.dg/html-output/html-output.exp=gcc.dg/html-output/missing-semicolon.c  (test for errors, line 8)
+    gcc:gcc.dg/html-output/html-output.exp=gcc.dg/html-output/missing-semicolon.c (test for excess errors)
   Executed from: gcc:gcc.dg/ipa/ipa.exp
+    gcc:gcc.dg/ipa/ipa.exp=gcc.dg/ipa/pr119852.c (test for excess errors)
+    gcc:gcc.dg/ipa/ipa.exp=gcc.dg/ipa/pr119852.c scan-ipa-dump-not ipa-clones "(null)"
+    gcc:gcc.dg/ipa/ipa.exp=gcc.dg/ipa/pr120044-1.c (test for excess errors)
+    gcc:gcc.dg/ipa/ipa.exp=gcc.dg/ipa/pr120044-1.c execution test
+    gcc:gcc.dg/ipa/ipa.exp=gcc.dg/ipa/pr120044-2.c (test for excess errors)
+    gcc:gcc.dg/ipa/ipa.exp=gcc.dg/ipa/pr120044-2.c execution test
     gcc:gcc.dg/ipa/ipa.exp=gcc.dg/ipa/pr120295.c (test for excess errors)
     gcc:gcc.dg/ipa/ipa.exp=gcc.dg/ipa/pr120295.c execution test
+  Executed from: gcc:gcc.dg/plugin/plugin.exp
+    gcc:gcc.dg/plugin/plugin.exp=gcc.dg/plugin/diagnostic-test-metadata-html.c -fplugin=./diagnostic_plugin_test_metadata.so (test for excess errors)
+    gcc:gcc.dg/plugin/plugin.exp=gcc.dg/plugin/location-overflow-test-pr116047.c -fplugin=./location_overflow_plugin.so  scan-file static_assert[^\n\r]*6[^\n\r]*== 6
+    gcc:gcc.dg/plugin/plugin.exp=gcc.dg/plugin/location-overflow-test-pr116047.c -fplugin=./location_overflow_plugin.so (test for excess errors)
+    gcc:gcc.dg/plugin/plugin.exp=gcc.dg/plugin/location-overflow-test-pr120061.c -fplugin=./location_overflow_plugin.so  scan-file static_assert[^\n\r]*5[^\n\r]*== 5
+    gcc:gcc.dg/plugin/plugin.exp=gcc.dg/plugin/location-overflow-test-pr120061.c -fplugin=./location_overflow_plugin.so (test for excess errors)
+  Executed from: gcc:gcc.dg/torture/dg-torture.exp
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O0  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O0  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O1  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O1  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O2  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O2  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O3 -g  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -O3 -g  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -Os  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120043.c   -Os  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O0  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O0  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O1  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O1  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O2  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O2  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O3 -g  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -O3 -g  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -Os  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120122-1.c   -Os  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120211-1.c   -O0  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120211-1.c   -O1  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120211-1.c   -O2  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120211-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120211-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120211-1.c   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120211-1.c   -O3 -g  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120211-1.c   -Os  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120276.c   -O0  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120276.c   -O1  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120276.c   -O2  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120276.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120276.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120276.c   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120276.c   -O3 -g  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120276.c   -Os  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120369-1.c   -O0  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120369-1.c   -O1  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120369-1.c   -O2  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120369-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120369-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120369-1.c   -O3 -g  (test for excess errors)
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120369-1.c   -Os  (test for excess errors)
+  Executed from: gcc:gcc.dg/tree-ssa/tree-ssa.exp
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/phi-opt-40.c scan-tree-dump-times phiopt1 "ABSU_EXPR <" 1
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/phi-opt-40.c scan-tree-dump-times phiopt1 "ABS_EXPR <" 1
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/phi-opt-40.c scan-tree-dump-times phiopt2 "ABSU_EXPR <" 2
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/phi-opt-41.c scan-tree-dump-times phiopt1 "ABSU_EXPR <" 4
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/pr114864.c (test for excess errors)
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/pr114864.c execution test
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/pr120080.c (test for excess errors)
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/pr31261.c scan-tree-dump-times original "return \\(signed char\\) -\\(unsigned char\\) c & 31;" 1
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/vrp124.c (test for excess errors)
+    gcc:gcc.dg/tree-ssa/tree-ssa.exp=gcc.dg/tree-ssa/vrp124.c scan-tree-dump-not evrp "dead"
+  Executed from: gcc:gcc.dg/vect/vect.exp
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/bb-slp-pr115777.c (test for excess errors)
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/bb-slp-pr115777.c -flto -ffat-lto-objects (test for excess errors)
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/bb-slp-pr119181.c (test for excess errors)
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/bb-slp-pr119181.c -flto -ffat-lto-objects  scan-tree-dump-times slp2 "optimized: basic block" 1
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/bb-slp-pr119181.c -flto -ffat-lto-objects (test for excess errors)
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/bb-slp-pr119181.c scan-tree-dump-times slp2 "optimized: basic block" 1
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/vect-early-break_134-pr120089.c (test for excess errors)
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/vect-early-break_134-pr120089.c -flto -ffat-lto-objects (test for excess errors)
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/vect-early-break_134-pr120089.c -flto -ffat-lto-objects execution test
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/vect-early-break_134-pr120089.c execution test
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/vect-early-break_135-pr120143.c (test for excess errors)
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/vect-early-break_135-pr120143.c -flto -ffat-lto-objects (test for excess errors)
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/vect-early-break_135-pr120211.c (test for excess errors)
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/vect-early-break_135-pr120211.c -flto -ffat-lto-objects (test for excess errors)
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/vect-early-break_135-pr120211.c -flto -ffat-lto-objects execution test
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/vect-early-break_135-pr120211.c execution test
+  Executed from: gcc:gcc.target/arm/arm.exp
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/armv8_2-fp16-arith-1.c scan-assembler-times vcmp\\.f32\\ts[0-9]+, s[0-9]+ 6
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/pr120351.c (test for excess errors)
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/unsigned-extend-2.c check-function-bodies foo
   Executed from: libstdc++:libstdc++-dg/conformance.exp
+    libstdc++:libstdc++-dg/conformance.exp=18_support/headers/ciso646/macros-2.cc  -std=gnu++17 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/copyable_function/call.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/copyable_function/call.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=20_util/copyable_function/cons.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/copyable_function/conv.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/copyable_function/conv.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=20_util/copyable_function/copy.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/copyable_function/copy.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=20_util/copyable_function/move.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/copyable_function/move.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=20_util/expected/119714.cc  -std=gnu++23 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/expected/119714.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/assign.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/call.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/call.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/cons.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/cons_neg.cc  -std=gnu++26  (test for errors, line 19)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/cons_neg.cc  -std=gnu++26  (test for errors, line 20)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/cons_neg.cc  -std=gnu++26  (test for errors, line 21)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/cons_neg.cc  -std=gnu++26  (test for errors, line 23)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/cons_neg.cc  -std=gnu++26  (test for errors, line 24)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/cons_neg.cc  -std=gnu++26  (test for errors, line 25)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/cons_neg.cc  -std=gnu++26  (test for errors, line 27)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/cons_neg.cc  -std=gnu++26  (test for errors, line 28)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/cons_neg.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/conv.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/conv.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/deduction.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/mutation.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/function_ref/mutation.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=20_util/move_only_function/conv.cc  -std=gnu++23 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/move_only_function/conv.cc  -std=gnu++23 execution test
+    libstdc++:libstdc++-dg/conformance.exp=20_util/move_only_function/conv.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=20_util/move_only_function/conv.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=22_locale/locale/cons/12438.cc  -std=gnu++17  (test for warnings, line 48)
+    libstdc++:libstdc++-dg/conformance.exp=22_locale/locale/cons/12438.cc  -std=gnu++17 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=22_locale/locale/cons/12438.cc  -std=gnu++17 execution test
+    libstdc++:libstdc++-dg/conformance.exp=22_locale/locale/cons/7222-env.cc  -std=gnu++17 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=22_locale/locale/cons/7222-env.cc  -std=gnu++17 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/class_mandates_neg.cc  -std=gnu++23  (test for errors, line 6)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/class_mandates_neg.cc  -std=gnu++23  (test for errors, line 7)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/class_mandates_neg.cc  -std=gnu++23  (test for errors, line 8)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/class_mandates_neg.cc  -std=gnu++23  (test for errors, line 9)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/class_mandates_neg.cc  -std=gnu++23 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/class_mandates_neg.cc  -std=gnu++26  (test for errors, line 6)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/class_mandates_neg.cc  -std=gnu++26  (test for errors, line 7)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/class_mandates_neg.cc  -std=gnu++26  (test for errors, line 8)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/class_mandates_neg.cc  -std=gnu++26  (test for errors, line 9)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/class_mandates_neg.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_copy.cc  -std=gnu++23 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_copy.cc  -std=gnu++23 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_copy.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_copy.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_default.cc  -std=gnu++23 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_default.cc  -std=gnu++23 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_default.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_default.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_ints.cc  -std=gnu++23 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_ints.cc  -std=gnu++23 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_ints.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_ints.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_shape.cc  -std=gnu++23 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_shape.cc  -std=gnu++23 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_shape.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/ctor_shape.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/custom_integer.cc  -std=gnu++23 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/custom_integer.cc  -std=gnu++23 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/custom_integer.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/custom_integer.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/misc.cc  -std=gnu++23 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/misc.cc  -std=gnu++23 execution test
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/misc.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=23_containers/mdspan/extents/misc.cc  -std=gnu++26 execution test
     libstdc++:libstdc++-dg/conformance.exp=24_iterators/operations/prev_neg.cc  -std=gnu++17  (test for errors, line 242)
+    libstdc++:libstdc++-dg/conformance.exp=25_algorithms/unique_copy/120384.cc  -std=gnu++17 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=26_numerics/complex/fabs_neg.cc  -std=gnu++17  (test for warnings, line 8)
+    libstdc++:libstdc++-dg/conformance.exp=26_numerics/complex/fabs_neg.cc  -std=gnu++17 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=26_numerics/headers/cmath/82644.cc  -std=c++17 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=26_numerics/headers/cstdlib/abs128.cc  -std=c++17 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=27_io/filesystem/path/concat/120029.cc  -std=gnu++17 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=27_io/filesystem/path/concat/120029.cc  -std=gnu++17 execution test
+    libstdc++:libstdc++-dg/conformance.exp=std/format/parse_ctx.cc  -std=gnu++26  (test for warnings, line 485)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++23  (test for errors, line 11)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++23  (test for errors, line 12)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++23  (test for errors, line 13)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++23  (test for errors, line 14)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++23  (test for errors, line 15)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++26  (test for errors, line 11)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++26  (test for errors, line 12)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++26  (test for errors, line 13)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++26  (test for errors, line 14)
+    libstdc++:libstdc++-dg/conformance.exp=std/format/ranges/format_kind_neg.cc  -std=gnu++26  (test for errors, line 15)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/copy.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/copy.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/copy_alloc.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/copy_alloc.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/ctor.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/ctor.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/incomplete.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/invalid_neg.cc  -std=gnu++26  (test for errors, line )
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/invalid_neg.cc  -std=gnu++26  (test for errors, line 15)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/invalid_neg.cc  -std=gnu++26  (test for errors, line 17)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/invalid_neg.cc  -std=gnu++26  (test for errors, line 19)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/invalid_neg.cc  -std=gnu++26  (test for errors, line 21)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/invalid_neg.cc  -std=gnu++26  (test for errors, line 23)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/invalid_neg.cc  -std=gnu++26  (test for errors, line 25)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/invalid_neg.cc  -std=gnu++26  (test for errors, line 8)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/invalid_neg.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/move.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/move.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/move_alloc.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/move_alloc.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/relops.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=std/memory/indirect/relops.cc  -std=gnu++26 execution test
+    libstdc++:libstdc++-dg/conformance.exp=std/time/format/pr120114.cc  -std=gnu++23 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=std/time/format/pr120114.cc  -std=gnu++23 execution test
+    libstdc++:libstdc++-dg/conformance.exp=std/time/format/pr120114.cc  -std=gnu++26 (test for excess errors)
+    libstdc++:libstdc++-dg/conformance.exp=std/time/format/pr120114.cc  -std=gnu++26 execution test
+
+
+  - FAIL now PASS             [FAIL => PASS]:
+
+  Executed from: gcc:gcc.dg/torture/dg-torture.exp
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/builtin-iseqsig-1.c   -Os  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/builtin-iseqsig-2.c   -Os  execution test
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/builtin-iseqsig-3.c   -Os  execution test
+
+
+  - FAIL disappears           [FAIL =>     ]:
+
+  Executed from: g++:g++.dg/dg.exp
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++11 execution test
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++14 execution test
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++17 execution test
+
+
+  - XFAIL disappears          [XFAIL=>     ]:
+
+  Executed from: g++:g++.dg/dg.exp
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/vt-88982.C  -std=c++11 (internal compiler error: in tsubst_pack_expansion, at cp/pt.cc:13941)
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/vt-88982.C  -std=c++17 (internal compiler error: in tsubst_pack_expansion, at cp/pt.cc:13941)
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/vt-88982.C  -std=c++26 (internal compiler error: in tsubst_pack_expansion, at cp/pt.cc:13941)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/auto-fn61.C  -std=c++14 (internal compiler error: in poplevel_class, at /WORKSPACE/abe/snapshots/gcc.git~master/gcc/cp/name-lookup.cc:5694)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/auto-fn61.C  -std=c++17 (internal compiler error: in poplevel_class, at /WORKSPACE/abe/snapshots/gcc.git~master/gcc/cp/name-lookup.cc:5694)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/auto-fn61.C  -std=c++26 (internal compiler error: in poplevel_class, at /WORKSPACE/abe/snapshots/gcc.git~master/gcc/cp/name-lookup.cc:5694)
+  Executed from: g++:g++.dg/modules/modules.exp
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++2a  (test for bogus messages, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++2a  (test for bogus messages, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++2b  (test for bogus messages, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++2b  (test for bogus messages, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2a  (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2a  at line 14 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2b  (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++2b  at line 14 (test for errors, line )
+  Executed from: gcc:gcc.dg/plugin/plugin.exp
+    gcc:gcc.dg/plugin/plugin.exp=gcc.dg/plugin/diagnostic-test-xhtml-1.c -fplugin=./diagnostic_plugin_xhtml_format.so (test for excess errors)
+
+
+  - XFAIL appears             [     =>XFAIL]:
+
+  Executed from: g++:g++.dg/dg.exp
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115908.C  -std=c++20 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115908.C  -std=c++23 execution test
+    g++:g++.dg/dg.exp=g++.dg/coroutines/pr115908.C  -std=c++26 execution test
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/vt-88982.C  -std=c++11 (internal compiler error: in tsubst_pack_expansion, at cp/pt.cc:14022)
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/vt-88982.C  -std=c++17 (internal compiler error: in tsubst_pack_expansion, at cp/pt.cc:14022)
+    g++:g++.dg/dg.exp=g++.dg/cpp0x/vt-88982.C  -std=c++26 (internal compiler error: in tsubst_pack_expansion, at cp/pt.cc:14022)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/auto-fn61.C  -std=c++14 (internal compiler error: in poplevel_class, at /WORKSPACE/abe/snapshots/gcc.git~master/gcc/cp/name-lookup.cc:5697)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/auto-fn61.C  -std=c++17 (internal compiler error: in poplevel_class, at /WORKSPACE/abe/snapshots/gcc.git~master/gcc/cp/name-lookup.cc:5697)
+    g++:g++.dg/dg.exp=g++.dg/cpp1y/auto-fn61.C  -std=c++26 (internal compiler error: in poplevel_class, at /WORKSPACE/abe/snapshots/gcc.git~master/gcc/cp/name-lookup.cc:5697)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/inhibit-warn-3.C  -std=c++17  (test for warnings, line 6)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/inhibit-warn-3.C  -std=c++26  (test for warnings, line 6)
+    g++:g++.dg/dg.exp=g++.dg/diagnostic/inhibit-warn-3.C  -std=c++98  (test for warnings, line 6)
+  Executed from: g++:g++.dg/modules/modules.exp
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++20  (test for bogus messages, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++20  (test for bogus messages, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++26  (test for bogus messages, line 16)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/internal-8_a.C -std=c++26  (test for bogus messages, line 27)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++20  (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++20  at line 14 (test for errors, line )
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++26  (test for warnings, line 4)
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tpl-friend-13_e.C -std=c++26  at line 14 (test for errors, line )
+
+
+  - UNSUPPORTED disappears    [UNSUP=>     ]:
+
+  Executed from: g++:g++.dg/analyzer/analyzer.exp
+    g++:g++.dg/analyzer/analyzer.exp=c-c++-common/analyzer/fd-glibc-byte-stream-socket.c  -std=c++26
+  Executed from: g++:g++.dg/coroutines/coroutines.exp
+    g++:g++.dg/coroutines/coroutines.exp=g++.dg/coroutines/symmetric-transfer-00-basic.C
+  Executed from: g++:g++.dg/dg.exp
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++20
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++23
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/constinit16.C  -std=c++26
+  Executed from: g++:g++.dg/modules/modules.exp
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-10_a.H -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-8_a.H -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/concept-9_a.C -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/constexpr-if-1_a.C -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-3_a.H -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-3_a.H -std=c++2a
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-3_a.H -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-4_a.H -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-4_a.H -std=c++2a
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-4_a.H -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/explicit-bool-1_a.H -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-3_a.C -std=c++2a
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-3_a.C -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/oacc-1_a.C -std=c++2a
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/oacc-1_a.C -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-1_a.C -std=c++2a
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-1_a.C -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-2_a.C -std=c++2a
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-2_a.C -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-3_a.C -std=c++2a
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-3_a.C -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113292_c.C -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113292_c.C -std=c++2a
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr113292_c.C -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99023_a.X -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99023_a.X -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-aarch64-1_a.C -std=c++2a
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-aarch64-1_a.C -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-powerpc-1_a.C -std=c++2a
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-powerpc-1_a.C -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-powerpc-2_a.C -std=c++2a
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-powerpc-2_a.C -std=c++2b
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-3_a.C -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/using-enum-4_a.C -std=c++17
+  Executed from: gcc:gcc.target/arm/arm.exp
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/mmx-1.c
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/mmx-2.c
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/pr64208.c
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/pr79145.c
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/pr99724.c
+    gcc:gcc.target/arm/arm.exp=gcc.target/arm/pr99786.c
+  Executed from: libstdc++:libstdc++-dg/conformance.exp
+    libstdc++:libstdc++-dg/conformance.exp=22_locale/locale/cons/12438.cc  -std=gnu++17
+    libstdc++:libstdc++-dg/conformance.exp=22_locale/locale/cons/7222-env.cc  -std=gnu++17
+
+
+  - UNSUPPORTED appears       [     =>UNSUP]:
+
+  Executed from: g++:g++.dg/analyzer/analyzer.exp
+    g++:g++.dg/analyzer/analyzer.exp=c-c++-common/analyzer/fd-glibc-byte-stream-socket.c  -std=c++11
+  Executed from: g++:g++.dg/dg.exp
+    g++:g++.dg/dg.exp=g++.dg/coroutines/symmetric-transfer-00-basic.C  -std=c++20
+    g++:g++.dg/dg.exp=g++.dg/coroutines/symmetric-transfer-00-basic.C  -std=c++23
+    g++:g++.dg/dg.exp=g++.dg/coroutines/symmetric-transfer-00-basic.C  -std=c++26
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++11
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++14
+    g++:g++.dg/dg.exp=g++.dg/cpp2a/decomp2.C  -std=gnu++17
+  Executed from: g++:g++.dg/modules/modules.exp
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-3_a.H -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-3_a.H -std=c++23
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-3_a.H -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-4_a.H -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-4_a.H -std=c++23
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/dr2867-4_a.H -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-3_a.C -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/linkage-3_a.C -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/oacc-1_a.C -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/oacc-1_a.C -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-1_a.C -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-1_a.C -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-2_a.C -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-2_a.C -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-3_a.C -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/omp-3_a.C -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/openmp-1.C -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/openmp-1.C -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/openmp-1.C -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99023_a.X -std=c++23
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/pr99023_a.X -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-aarch64-1_a.C -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-aarch64-1_a.C -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-powerpc-1_a.C -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-powerpc-1_a.C -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-powerpc-2_a.C -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/target-powerpc-2_a.C -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-1_c.C -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-1_c.C -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-1_c.C -std=c++26
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-2_c.C -std=c++17
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-2_c.C -std=c++20
+    g++:g++.dg/modules/modules.exp=g++.dg/modules/tls-2_c.C -std=c++26
+  Executed from: g++:g++.dg/sarif-output/sarif-output.exp
+    g++:g++.dg/sarif-output/sarif-output.exp=g++.dg/sarif-output/logical-locations-1.C verify-sarif-file: check-jsonschema is missing
+    g++:g++.dg/sarif-output/sarif-output.exp=g++.dg/sarif-output/logical-locations-2.C verify-sarif-file: check-jsonschema is missing
+    g++:g++.dg/sarif-output/sarif-output.exp=g++.dg/sarif-output/logical-locations-3.C verify-sarif-file: check-jsonschema is missing
+    g++:g++.dg/sarif-output/sarif-output.exp=logical-locations-1.py pytest python3 is missing
+    g++:g++.dg/sarif-output/sarif-output.exp=logical-locations-2.py pytest python3 is missing
+    g++:g++.dg/sarif-output/sarif-output.exp=logical-locations-3.py pytest python3 is missing
+  Executed from: gcc:gcc.dg/html-output/html-output.exp
+    gcc:gcc.dg/html-output/html-output.exp=missing-semicolon.py pytest python3 is missing
+  Executed from: gcc:gcc.dg/plugin/plugin.exp
+    gcc:gcc.dg/plugin/plugin.exp=diagnostic-test-metadata-html.py pytest python3 is missing
+    gcc:gcc.dg/plugin/plugin.exp=diagnostic-test-paths-2.py pytest python3 is missing
+    gcc:gcc.dg/plugin/plugin.exp=diagnostic-test-paths-4.py pytest python3 is missing
+    gcc:gcc.dg/plugin/plugin.exp=diagnostic-test-show-locus.py pytest python3 is missing
+  Executed from: gcc:gcc.dg/torture/dg-torture.exp
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-78.c   -O0 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-78.c   -O1 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-78.c   -O2 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-78.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-78.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-78.c   -O3 -g 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-78.c   -Os 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-79.c   -O0 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-79.c   -O1 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-79.c   -O2 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-79.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-79.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-79.c   -O3 -g 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-79.c   -Os 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-80.c   -O0 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-80.c   -O1 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-80.c   -O2 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-80.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-80.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-80.c   -O3 -g 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-80.c   -Os 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-81.c   -O0 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-81.c   -O1 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-81.c   -O2 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-81.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-81.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-81.c   -O3 -g 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-81.c   -Os 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-82.c   -O0 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-82.c   -O1 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-82.c   -O2 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-82.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-82.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-82.c   -O3 -g 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/bitint-82.c   -Os 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120182.c   -O0 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120182.c   -O1 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120182.c   -O2 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120182.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120182.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120182.c   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120182.c   -O3 -g 
+    gcc:gcc.dg/torture/dg-torture.exp=gcc.dg/torture/pr120182.c   -Os 
+  Executed from: gcc:gcc.dg/vect/vect.exp
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/bb-slp-pr119960-1.c
+    gcc:gcc.dg/vect/vect.exp=gcc.dg/vect/bb-slp-pr119960-1.c -flto -ffat-lto-objects
+  Executed from: libstdc++:libstdc++-dg/conformance.exp
+    libstdc++:libstdc++-dg/conformance.exp=26_numerics/pstl/numeric_ops/move_only.cc  -std=gnu++17
+    libstdc++:libstdc++-dg/conformance.exp=experimental/filesystem/path/concat/120029.cc  -std=gnu++17
 
 
 
