From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1499) id A209F3858C74; Thu, 12 Jan 2023 23:16:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A209F3858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673565388; bh=tMKOLziozm2g4HPBhPKccfHt8GEtXgYojQGcQHyEhH8=; h=From:To:Subject:Date:From; b=Fv3/g6aLw5ztXVT/xD3tedD7UqoYH4UAhpC91hhkq/ssMrG7DzZcRxa6z6452h3Ii 6xVynRttscTgqnMrCXe8SBGrl+InzT3cyBnXanAeJ2S76s5VgBSEtFBjkjD5GI3gsl 8jbcsaYwUF++Fv5D4dpiaTUmM7MsBHNTY8qRMkT4= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Gaius Mulley To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5129] Add -fno-exceptions to gcc/testsuite/lib/gm2.exp X-Act-Checkin: gcc X-Git-Author: Gaius Mulley X-Git-Refname: refs/heads/master X-Git-Oldrev: fd1f5373b8647a5da2f7f4b42282e676a4b04d98 X-Git-Newrev: d84eab46cb656bde25b97b19e22973ac59e6c86a Message-Id: <20230112231628.A209F3858C74@sourceware.org> Date: Thu, 12 Jan 2023 23:16:28 +0000 (GMT) List-Id: https://gcc.gnu.org/g:d84eab46cb656bde25b97b19e22973ac59e6c86a commit r13-5129-gd84eab46cb656bde25b97b19e22973ac59e6c86a Author: Gaius Mulley 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 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}; }