aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2023-01-12 23:15:04 +0000
committerGaius Mulley <gaiusmod2@gmail.com>2023-01-12 23:15:04 +0000
commitd84eab46cb656bde25b97b19e22973ac59e6c86a (patch)
tree15cdfb29b98c6dc4d713ddeb218fc598baa62548 /gcc/testsuite/lib
parentfd1f5373b8647a5da2f7f4b42282e676a4b04d98 (diff)
downloadgcc-d84eab46cb656bde25b97b19e22973ac59e6c86a.zip
gcc-d84eab46cb656bde25b97b19e22973ac59e6c86a.tar.gz
gcc-d84eab46cb656bde25b97b19e22973ac59e6c86a.tar.bz2
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 <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r--gcc/testsuite/lib/gm2.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/gm2.exp b/gcc/testsuite/lib/gm2.exp
index 9eba195..a2169b9 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};
}