Tested on x86_64-pc-linux-gnu, committing as obvious.
-- >8 --
GCC14 doesn't have the new spelling '-fmodules' for enabling modules;
use the old '-fmodules-ts' spelling instead.
gcc/testsuite/ChangeLog:
* g++.dg/modules/pr114630_a.C: Use -fmodules-ts instead of
-fmodules in testcase.
* g++.dg/modules/pr114630_b.C: Likewise.
* g++.dg/modules/pr114630_c.C: Likewise.
Signed-off-by: Nathaniel Shead <[email protected]>
---
gcc/testsuite/g++.dg/modules/pr114630_a.C | 2 +-
gcc/testsuite/g++.dg/modules/pr114630_b.C | 2 +-
gcc/testsuite/g++.dg/modules/pr114630_c.C | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/testsuite/g++.dg/modules/pr114630_a.C
b/gcc/testsuite/g++.dg/modules/pr114630_a.C
index ecfd7ca0b28..dde8388e743 100644
--- a/gcc/testsuite/g++.dg/modules/pr114630_a.C
+++ b/gcc/testsuite/g++.dg/modules/pr114630_a.C
@@ -1,4 +1,4 @@
-// { dg-additional-options "-fmodules" }
+// { dg-additional-options "-fmodules-ts" }
// { dg-module-cmi X }
module;
diff --git a/gcc/testsuite/g++.dg/modules/pr114630_b.C
b/gcc/testsuite/g++.dg/modules/pr114630_b.C
index 52fe04e2ce0..e41ddcdfb8e 100644
--- a/gcc/testsuite/g++.dg/modules/pr114630_b.C
+++ b/gcc/testsuite/g++.dg/modules/pr114630_b.C
@@ -1,4 +1,4 @@
-// { dg-additional-options "-fmodules" }
+// { dg-additional-options "-fmodules-ts" }
// { dg-module-cmi Y }
module;
diff --git a/gcc/testsuite/g++.dg/modules/pr114630_c.C
b/gcc/testsuite/g++.dg/modules/pr114630_c.C
index 54a21f08057..61d89829588 100644
--- a/gcc/testsuite/g++.dg/modules/pr114630_c.C
+++ b/gcc/testsuite/g++.dg/modules/pr114630_c.C
@@ -1,4 +1,4 @@
-// { dg-additional-options "-fmodules" }
+// { dg-additional-options "-fmodules-ts" }
#include "pr114630.h"
import Y;
--
2.47.0