From: Gaius Mulley Date: Thu, 12 Jan 2023 23:15:04 +0000 (+0000) Subject: Add -fno-exceptions to gcc/testsuite/lib/gm2.exp X-Git-Tag: basepoints/gcc-14~2078 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d84eab46cb656bde25b97b19e22973ac59e6c86a;p=thirdparty%2Fgcc.git Add -fno-exceptions to gcc/testsuite/lib/gm2.exp The gm2 minimal libraries do not have exception handler capability. Therefore we want the front end to suppress generation of runtime exception code. gcc/testsuite/ChangeLog: * lib/gm2.exp (gm2_init_min): Append -fno-exceptions to args. Signed-off-by: Gaius Mulley --- diff --git a/gcc/testsuite/lib/gm2.exp b/gcc/testsuite/lib/gm2.exp index 9eba195291a1..a2169b952794 100644 --- a/gcc/testsuite/lib/gm2.exp +++ b/gcc/testsuite/lib/gm2.exp @@ -533,5 +533,6 @@ proc gm2_init_minx { dialect {path ""} args } { # proc gm2_init_min { {path ""} args } { + append args " -fno-exceptions" gm2_init_minx -fpim {*}${path} {*}${args}; }