Message ID | 20220906071559.GA1280483@poulhies-Precision-5550 |
---|---|
State | New, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp505846wrt; Tue, 6 Sep 2022 00:25:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR5ZemqTE5LCVfZdOvBK05EjKaz6LtbPRihMjWCs6joFheMm0JB/9ynGBQ/iXeNqb84YXELo X-Received: by 2002:a17:906:8449:b0:73d:d822:3085 with SMTP id e9-20020a170906844900b0073dd8223085mr36617002ejy.270.1662449129228; Tue, 06 Sep 2022 00:25:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662449129; cv=none; d=google.com; s=arc-20160816; b=hkX8FR/kVS/XvO2T9mUyyc3dTCGwa1kWqTfB0Xsee2tN3T0ZO21TYmNd1o8+gZddsX WLZdNtSyoQ+SO01rBIZCsVsHHpugx36S2BzYRan2INcykjRieT3zu6hpHTwfFegF/nV/ LrHOGvZPRTaVq0ZW0QqTWqVnRuVPw7Y0KIUIj+f947A6th6zg77Lz2D1nNcmqnA2lPDo C8Oxo0vhiXk42G9AwcHyh4Syc7rv1CUY2iUpWv8J3vrc9guLn+o3OMygoq0uZXjCQdLT pOs1v7VnfmvtaFcbTI2/HK5MN8fCRHckc7nhcELkv9q8e1MFhSk7iVBEFqoJ1GTtH9S7 UQvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=Cl2PzTmQmOPzO9ChBSIO4QI54Odg3VHhYOZ11GwxhZE=; b=gWNW8PmPKjZ1XuuI97SlOk0ZekOKt9U9DhcifCdiOhapLdCB5UpJI665dIDvnUubK/ z/3n4cDDuTwf4OkO5o6XxHVKARqvypV0GUnQMkT6zfwDH/ObQ5DM88forHxudyqn0HJ5 nzghsSRcfqxgB7vu0PPY2i5pZEA40sdfpaONP+TkLPtbxL3ZXF4zpIR4acM9OJ7Np5qv GsQWWtmyPDrw35bIqygbf9SZfVGCSUTySR0fRfw6B3LmwVhJTIEL2WPEFJS8v6hgQDCj NeroWd8bK7m1uH+7AuAUiWNCwUaNdSy95b+g4dedV0gEMa22QWXMp4pPt1CLjn+RQGs4 kjmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=rsYhmapQ; 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 v9-20020a056402348900b004481f0f9abdsi557799edc.600.2022.09.06.00.25.29 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 00:25:29 -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=rsYhmapQ; 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 61B44395203E for <ouuuleilei@gmail.com>; Tue, 6 Sep 2022 07:20:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61B44395203E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662448838; bh=Cl2PzTmQmOPzO9ChBSIO4QI54Odg3VHhYOZ11GwxhZE=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=rsYhmapQP1qTg6PM+9LfpzkDiJr8MgLII7VkV0o+0dC0l3aL3O5u/ivZyHb2A6YUa 7W8d4vJLHPbex0sYTzTxH+TmmXo1oaPDcIRwytaDqUZSIeaICgrRcWx1rVXLgUS0S6 OAjdkzocBxChRLcBsgL5rpo7G1tocLsk3IjNG3uU= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by sourceware.org (Postfix) with ESMTPS id 2ABA138515F8 for <gcc-patches@gcc.gnu.org>; Tue, 6 Sep 2022 07:16:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2ABA138515F8 Received: by mail-wm1-x32c.google.com with SMTP id m3-20020a05600c3b0300b003a5e0557150so7750582wms.0 for <gcc-patches@gcc.gnu.org>; Tue, 06 Sep 2022 00:16:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=Cl2PzTmQmOPzO9ChBSIO4QI54Odg3VHhYOZ11GwxhZE=; b=rx1BxuEeoPvTsOp2nByX6R9z+Wxz82KZtvf5MgC/cPhkgouW8irkKbjQtkpCLvs3XB LGpU6uXQDGxZUfHNKzEH899hbQU91TX2dffv3Glqz+wfMZ21+1smAKBbDFAt7X4nsRPu JVa9OOk5XHyGZMReaYTADZjXSI4jXLmX0n60hgEAu0fDF+ZHPnNrAVV1zwmwxYF6zIqq BjQvaZPxscDnfr+qXvp5eUwgcHSi15SZnxTleF+Xfz5+pvSOa7Y57AhVNTLnpIq69Ix1 ITgN6sohd5tYP2u9Nj9bA7pNDlOcITtXanycI9x62MPdufsqrRp/aF+UrdHtMh6K+/QB Pcyw== X-Gm-Message-State: ACgBeo0vKQkM1yLA8B/7q8U96wt6LNeD00v40PjwcJ8C0wyu7jjd6VZJ TO1lRW4qKl03mban8wex/J6C0hs6SbrJTA== X-Received: by 2002:a7b:cc90:0:b0:3a5:3899:7be1 with SMTP id p16-20020a7bcc90000000b003a538997be1mr12388951wma.19.1662448559998; Tue, 06 Sep 2022 00:15:59 -0700 (PDT) Received: from poulhies-Precision-5550 (static-176-191-105-132.ftth.abo.bbox.fr. [176.191.105.132]) by smtp.gmail.com with ESMTPSA id bs30-20020a056000071e00b002287513f169sm6173104wrb.55.2022.09.06.00.15.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 00:15:59 -0700 (PDT) Date: Tue, 6 Sep 2022 09:15:59 +0200 To: gcc-patches@gcc.gnu.org Subject: [Ada] Fix formal parameters list for secondary stack allocation procedure Message-ID: <20220906071559.GA1280483@poulhies-Precision-5550> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="5vNYLRcllDrimb99" Content-Disposition: inline X-Spam-Status: No, score=-13.0 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, T_SCC_BODY_TEXT_LINE 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: =?utf-8?q?Marc_Poulhi=C3=A8s_via_Gcc-patches?= <gcc-patches@gcc.gnu.org> Reply-To: Marc =?iso-8859-1?q?Poulhi=E8s?= <poulhies@adacore.com> Cc: Marc =?iso-8859-1?q?Poulhi=E8s?= <poulhies@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?1743204258121905368?= X-GMAIL-MSGID: =?utf-8?q?1743204258121905368?= |
Series |
[Ada] Fix formal parameters list for secondary stack allocation procedure
|
|
Commit Message
Marc Poulhiès
Sept. 6, 2022, 7:15 a.m. UTC
The introduction of the Alignment parameter for the secondary stack allocator in previous change was missing the corresponding change in the Build_Allocate_Deallocate_Proc when creating the formal parameters list. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * exp_util.adb (Build_Allocate_Deallocate_Proc): Add Alignment_Param in the formal list for calls to SS_Allocate.
diff --git a/gcc/ada/exp_util.adb b/gcc/ada/exp_util.adb --- a/gcc/ada/exp_util.adb +++ b/gcc/ada/exp_util.adb @@ -1293,7 +1293,8 @@ package body Exp_Util is -- Gigi expects a different profile in the Secondary_Stack_Pool -- case. There must be no uses of the two missing formals -- (i.e., Pool_Param and Alignment_Param) in this case. - Formal_Params := New_List (Address_Param, Size_Param); + Formal_Params := New_List + (Address_Param, Size_Param, Alignment_Param); else Formal_Params := New_List ( Pool_Param, Address_Param, Size_Param, Alignment_Param);