public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5129] Add -fno-exceptions to gcc/testsuite/lib/gm2.exp
@ 2023-01-12 23:16 Gaius Mulley
  0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2023-01-12 23:16 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d84eab46cb656bde25b97b19e22973ac59e6c86a

commit r13-5129-gd84eab46cb656bde25b97b19e22973ac59e6c86a
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Thu Jan 12 23:15:04 2023 +0000

    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>

Diff:
---
 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 9eba195291a..a2169b95279 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};
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-12 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-12 23:16 [gcc r13-5129] Add -fno-exceptions to gcc/testsuite/lib/gm2.exp Gaius Mulley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).