Message ID | 1806820.atdPhlSkOF@fomalhaut |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp332278wru; Mon, 24 Oct 2022 01:58:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5NxzjUyxKlclL77JxUvhX5u8cf7neKLe3VyMUeu64NE3KW5wPkCK/UQa12238CPtfScJP9 X-Received: by 2002:a17:907:7628:b0:7a7:45d4:ed9 with SMTP id jy8-20020a170907762800b007a745d40ed9mr3928807ejc.132.1666601935758; Mon, 24 Oct 2022 01:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666601935; cv=none; d=google.com; s=arc-20160816; b=Cf1zER3/fme/6ptqqGuhder5LQmrz2zL6GPvl6SjHDQud8IzmOdCIKg6LIXqBi4P1d hGy8iY0YIl8u3DH++fG+xZaCLzDgq7Md8h/rKAN+v2xo2ex3OQRypwWtHhpwgWgRMiGZ 4yVOTJ4K+O8zg7xKZ1vldzr7ZvpZlqx8vUdCrNguI5Kb9o5zKmRtKNz7dluOI+Dn0uwf lqloJorFNlROHfntzDRw75uoZnTVQYv3sDHJASi0YgHhPS710B8KBcxkit+TZyS+krnD 3Voqy4NhDtS6o8UqPw1wdRaMEW78sRwhPA7sXdF3ESc6yjUcU+swkQvQyn1KtEHBDJ8D 826A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=z0TxwbMhZ9r4qaUFjDwefQbkoBtGJVtvrIYLEbgpQcs=; b=K6K5MHHmAI1KUblEyVECHSzMT2Z8cX46AwKB8bw9aR5PKZ7JHk9u5Q8GBPDg1q6cck g+KERsCNF/3KJi7bE1NM9JouyzLItZqZMMVNZ5X2rkN7cKAK8E7t08nfJYFE8q+/gpTS 5W2zsIjVX2H8zhOIeecjnZF3Za7CQU2AW/7/fEgAnpB2lks80Fiw7aVSf7ROdSWg87/t ZIIYOyyqnBj8Itdheos6Po2IN+ixqDvK4kX85GsrTY9mXuktqpoAkn3nOb0LDJsA4s/Q YmNTmgkgQ0JC/ezXaOOl4SzL7m2dH4fom7wL0OnCMcrGTj1kCbceilznBfp3bCMEvWyq +1dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=dSaj6ztX; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id q7-20020a1709060e4700b0078e176ef65csi24006515eji.723.2022.10.24.01.58.55 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 01:58:55 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=dSaj6ztX; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 864853857BB3 for <ouuuleilei@gmail.com>; Mon, 24 Oct 2022 08:58:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 864853857BB3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666601934; bh=z0TxwbMhZ9r4qaUFjDwefQbkoBtGJVtvrIYLEbgpQcs=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=dSaj6ztXUDZ43Ka0GBvkg1jZWtXQxKpcSBASkB1Ro7qFGfQAyU+xXQMYfMDnHlDXw WXy1xe7YqPJDckbxZtEl8z0NaYMNMa4L3MHSR1bbZ/ZeZMQOmTNuUEk0wzjPyoYOAN cUzG+yp/1PbtR69G4ToVOlq9/hrU7o0f2dQoaj2k= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id 388B3385840A for <gcc-patches@gcc.gnu.org>; Mon, 24 Oct 2022 08:58:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 388B3385840A Received: by mail-wm1-x32d.google.com with SMTP id 186-20020a1c02c3000000b003c6c154d528so9459403wmc.4 for <gcc-patches@gcc.gnu.org>; Mon, 24 Oct 2022 01:58:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=z0TxwbMhZ9r4qaUFjDwefQbkoBtGJVtvrIYLEbgpQcs=; b=joAGQCOPGg/vHdvumqSqb+I3tEeXAQRTaTECpDj2HjrUJJvS3Io8UncZEr8+W7DDg4 Wv6HrZq0fJo+oQZZTT2ubAMEACvG66YWvMooXLnyalH2kys1k9BtFL9VSwRG8tOCE9Wf 4fa8sFD3VORKZuEamHNpYtUqkhWiczF54jsLfX2QVfpDdTSlpuNPkUKtGkUD5Af4/8yq DxEfD3y2C2x1AJLjrgEscziVbkDMcqd44JC2PnML9pdJ0AXYuBEz44R+U5X5EFEdMR1A 5m/ya9110liv4bHZTf5cNBi4aeuG19GJnFGsPJ/a8T7zDFKOzA0DdUlAqSe+3tJEL55V HKrA== X-Gm-Message-State: ACrzQf3GApGuwj0AeFj27XPXGgz8z5oecn9xOYDMGGRtJlexgh+UcTWw noWXr2J8AlbiL7oOMzwZ1HX6mC/edWiv0A== X-Received: by 2002:a05:600c:681:b0:3c6:bafd:cb48 with SMTP id a1-20020a05600c068100b003c6bafdcb48mr42978266wmn.57.1666601885865; Mon, 24 Oct 2022 01:58:05 -0700 (PDT) Received: from fomalhaut.localnet ([2a01:e0a:8d5:d990:e654:e8ff:fe8f:2ce6]) by smtp.gmail.com with ESMTPSA id h12-20020a5d688c000000b0022cc0a2cbecsm6102034wru.15.2022.10.24.01.58.04 for <gcc-patches@gcc.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 01:58:05 -0700 (PDT) X-Google-Original-From: Eric Botcazou <ebotcazou@adacore.com> To: gcc-patches@gcc.gnu.org Subject: [PATCH] Aarch64: Do not define DONT_USE_BUILTIN_SETJMP Date: Mon, 24 Oct 2022 10:57:31 +0200 Message-ID: <1806820.atdPhlSkOF@fomalhaut> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart45046432.fMDQidcC6G" Content-Transfer-Encoding: 7Bit X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Eric Botcazou via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Eric Botcazou <botcazou@adacore.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747558791316883036?= X-GMAIL-MSGID: =?utf-8?q?1747558791316883036?= |
Series |
Aarch64: Do not define DONT_USE_BUILTIN_SETJMP
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Eric Botcazou
Oct. 24, 2022, 8:57 a.m. UTC
Hi, we have been using an Ada compiler for the Aarch64 architecture configured with SJLJ exceptions as for the other architectures for some time, and have not run into any problems so far so the setting looks obsolete now. OK for the mainline? 2022-10-24 Eric Botcazou <ebotcazou@adacore.com> * config/aarch64/aarch64.h (DONT_USE_BUILTIN_SETJMP): Delete.
Comments
Eric Botcazou via Gcc-patches <gcc-patches@gcc.gnu.org> writes: > Hi, > > we have been using an Ada compiler for the Aarch64 architecture configured > with SJLJ exceptions as for the other architectures for some time, and have > not run into any problems so far so the setting looks obsolete now. > > OK for the mainline? OK, thanks. Sorry for the slow reply on this. I think you posted the same (or a related) patch a while back and it wasn't reviewed. I was a bit reluctant to say anything because it sounds like this was defined for a reason, perhaps to avoid treating the current expansion as ABI without further testing. But if it has been used for some time in Ada (and works) then it's already de facto ABI. And it seems very unlikely that anyone would spend time trying to tweak the expansion for other languages. Richard > > > 2022-10-24 Eric Botcazou <ebotcazou@adacore.com> > > * config/aarch64/aarch64.h (DONT_USE_BUILTIN_SETJMP): Delete.
diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index 05da9af0367..e60f9bce023 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -571,10 +571,6 @@ enum class aarch64_feature : unsigned char { #define EH_RETURN_STACKADJ_RTX gen_rtx_REG (Pmode, R4_REGNUM) #define EH_RETURN_HANDLER_RTX aarch64_eh_return_handler_rtx () -/* Don't use __builtin_setjmp until we've defined it. */ -#undef DONT_USE_BUILTIN_SETJMP -#define DONT_USE_BUILTIN_SETJMP 1 - #undef TARGET_COMPUTE_FRAME_LAYOUT #define TARGET_COMPUTE_FRAME_LAYOUT aarch64_layout_frame