From patchwork Tue Oct 5 10:34:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 45829 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 54363385AC08 for ; Tue, 5 Oct 2021 10:37:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 54363385AC08 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1633430232; bh=Az4kLtuUm7txxdW27Rf/qpt3T4BR8A8rVwqpOtv9opU=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=J260L0LiOQOOSVYnvnlkgk30ldJbA0Li4PZSICdS3TaRkYKX6prnF/NQX376s5GCj L6ZdUZ1bzqeCZd73tZScysr94NLMuudxvHesy09bZQcVpDgDzPDS/FzMtQir/RX7Nu AkA40eIo9m47T9IeDDxgxQabDganhuqGqPizvsaM= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id 445AF385AC21 for ; Tue, 5 Oct 2021 10:36:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 445AF385AC21 Received: by mail-wm1-x331.google.com with SMTP id o4-20020a05600c510400b0030d55d6449fso2518551wms.5 for ; Tue, 05 Oct 2021 03:36:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Az4kLtuUm7txxdW27Rf/qpt3T4BR8A8rVwqpOtv9opU=; b=dvVupMnB0+4gpWuprEW0XCQ3VdmKX3vbTGjBG7V280VbSn8ItZfgARgp4qzMHZl1su q8DY7bEHMZjznrJDUp3AAof6W19yWYQwoSj3tKrPP0yNnNL1McbW6AGX8KXZBgZ/dhgv VUBC/GNgc+oTdmBakTGMhG31io51ff3AQk995+ZoWz/fHyQm8UKXIW2PbIqk7h88G+Ej QemPvurumX8ZtWdrVbgludHzIW9TkVTGYgZ/xv0aPySabUqN0c7g6yqRD+JhpJoZwOuJ 4WfMFdVAauhXHoQGzbAOo23vYbXTaVwQFsLwy3yFwiTkSLNLtpCMQeR7lvhtCCa5ojUP 2Cvg== X-Gm-Message-State: AOAM532xqFeqWiXZ8E6TcZ1Y6bjgPtPi+jvc621wOOa8GI/g9c1pf0ne xbejyKgyaqeZOZHrIpJbKEjSciUMueioVA== X-Google-Smtp-Source: ABdhPJzZ5YIVy06Nbda9XUiyJOJbTSg6xVbBdqwq6zjW5wC8Zad1lSHLQ/3OQ2CtYj3nOQxngk8jBQ== X-Received: by 2002:a05:600c:3b8c:: with SMTP id n12mr2516863wms.7.1633430159010; Tue, 05 Oct 2021 03:35:59 -0700 (PDT) Received: from fomalhaut.localnet ([2a01:e0a:41b:84f0:cf71:f5e0:b050:bede]) by smtp.gmail.com with ESMTPSA id x17sm17315600wrc.51.2021.10.05.03.35.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Oct 2021 03:35:58 -0700 (PDT) X-Google-Original-From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: [Aarch64] Do not define DONT_USE_BUILTIN_SETJMP Date: Tue, 05 Oct 2021 12:34:22 +0200 Message-ID: <4347593.LvFx2qVVIh@fomalhaut> MIME-Version: 1.0 X-Spam-Status: No, score=-11.8 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Eric Botcazou via Gcc-patches From: Eric Botcazou Reply-To: Eric Botcazou Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" 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 up to now so the setting looks obsolete. OK for the mainline? 2021-10-05 Eric Botcazou * config/aarch64/aarch64.h (DONT_USE_BUILTIN_SETJMP): Delete. diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index 2792bb29adb..f7829baefd8 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -656,10 +656,6 @@ extern unsigned aarch64_architecture_version; #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