From: Nathaniel Shead Date: Sat, 11 Jan 2025 17:35:08 +0000 (+1100) Subject: testsuite: Fix flag used for modules test X-Git-Tag: releases/gcc-14.3.0~595 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7ddb2b6dbacd2a6559bf47d43f6d907904cdd89;p=thirdparty%2Fgcc.git testsuite: Fix flag used for modules test 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 --- diff --git a/gcc/testsuite/g++.dg/modules/pr114630_a.C b/gcc/testsuite/g++.dg/modules/pr114630_a.C index ecfd7ca0b281..dde8388e7437 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 52fe04e2ce05..e41ddcdfb8eb 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 54a21f08057f..61d898295880 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;