]> gcc.gnu.org Git - gcc.git/commitdiff
Add -fno-exceptions to gcc/testsuite/lib/gm2.exp
authorGaius Mulley <gaiusmod2@gmail.com>
Thu, 12 Jan 2023 23:15:04 +0000 (23:15 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Thu, 12 Jan 2023 23:15:04 +0000 (23:15 +0000)
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>
gcc/testsuite/lib/gm2.exp

index 9eba195291a105e46153c35fecf16fd4ed5be3e3..a2169b952794fb8a591f0b0b6a249e7dfd7c0122 100644 (file)
@@ -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};
 }
This page took 0.067215 seconds and 5 git commands to generate.