From d84eab46cb656bde25b97b19e22973ac59e6c86a Mon Sep 17 00:00:00 2001 From: Gaius Mulley Date: Thu, 12 Jan 2023 23:15:04 +0000 Subject: [PATCH] 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 --- gcc/testsuite/lib/gm2.exp | 1 + 1 file changed, 1 insertion(+) 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}; } -- 2.47.2