public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Gaius Mulley <gaius@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-5129] Add -fno-exceptions to gcc/testsuite/lib/gm2.exp
Date: Thu, 12 Jan 2023 23:16:28 +0000 (GMT)	[thread overview]
Message-ID: <20230112231628.A209F3858C74@sourceware.org> (raw)

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};
 }

                 reply	other threads:[~2023-01-12 23:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230112231628.A209F3858C74@sourceware.org \
    --to=gaius@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).