]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix flag used for modules test
authorNathaniel Shead <nathanieloshead@gmail.com>
Sat, 11 Jan 2025 17:35:08 +0000 (04:35 +1100)
committerNathaniel Shead <nathanieloshead@gmail.com>
Sat, 11 Jan 2025 17:35:08 +0000 (04:35 +1100)
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 <nathanieloshead@gmail.com>
gcc/testsuite/g++.dg/modules/pr114630_a.C
gcc/testsuite/g++.dg/modules/pr114630_b.C
gcc/testsuite/g++.dg/modules/pr114630_c.C

index ecfd7ca0b281b90d78ab5fd0ef99baec6ba56c69..dde8388e74371797864013f75079ecfe445d6b6d 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-additional-options "-fmodules" }
+// { dg-additional-options "-fmodules-ts" }
 // { dg-module-cmi X }
 
 module;
index 52fe04e2ce056563a2c97e28a71905fbfa35745b..e41ddcdfb8eb455269762c6533cc361e31b13fb9 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-additional-options "-fmodules" }
+// { dg-additional-options "-fmodules-ts" }
 // { dg-module-cmi Y }
 
 module;
index 54a21f08057f489649661ac291e8e86c1e9cba31..61d898295880faad50a5151af56dcaae024e9de3 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-additional-options "-fmodules" }
+// { dg-additional-options "-fmodules-ts" }
 
 #include "pr114630.h"
 import Y;