From patchwork Tue Sep 6 07:16:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marc_Poulhi=C3=A8s?= X-Patchwork-Id: 1024 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp506249wrt; Tue, 6 Sep 2022 00:27:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR5mfq4L8A+6cQ64qV/dxSN59fEc3//Du2Z+7ii5EHRGP5VM1LPsntDRfve9sgTGujH6cp/g X-Received: by 2002:a17:907:2701:b0:741:51eb:2338 with SMTP id w1-20020a170907270100b0074151eb2338mr31687299ejk.501.1662449235182; Tue, 06 Sep 2022 00:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662449235; cv=none; d=google.com; s=arc-20160816; b=w9EuYmW0vcA++hxZLkUnqgVcTHmr30mY3yD4gsL6Kvc3GFpzkSqpzrIR/vMTSaIOcQ 8sGOGytpPD5R7WPlswCQHF7yOyMKvpMOVkqo6cyJkZaeNLmvZ4z5HdeWX90WFOyA7SyM 6ShrXjVUb9RRsCarqhend7Grzg5WXp5iCYlTXoVQc2KlTbYvpqyetj6CeG2ZM/mnNDfD tn6hNQxNjRIYMJiSMT588GSVyxXv+sneN3gXziFFjBycI6k+OHUdQNMltCeuNo9l8G3e jaa0vFCEGKAxhQQZ3JEFVXqtw0Y+zG6XfUOQieQ/phQH5MEy0ecT2vzjIa43/v7YM/dK WGfQ== 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=E5UELWTP1ylxOeBdf7VRvd1rrpQQAYnPKTPgRbduMww=; b=r0MFr5cf6KkMRRu4zXg55J3klyloU5QSBNMdY7BcQdpKAo/IcF3DAdLdPXFsf1oUYL Dd0xThWGlSttYUlmbFUKwFdHRdFbDbGvAPREqgzsK/I6luLBuWT9SKczTAfMp0yHNzNs R8Zs9W9rapu4V1Qnsn1M6m9TQg9HLul+PUsUusGiiBrPfMwo+GqyG9wQ/YlfGxyHngdp OiPwb5d1tAMl+J+j/0IPHInxA3FzwB4cxm5qIwr6vyzXbvZ9yTEcfLaUy/5qTb3TSg4r 5su4sE7fC9ao8oxC9hvBb8CFHZmJbKEYg8pP9fqbQJUaATpKWUJi3IBfxiqLDAShZF2/ pVjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=yil+dh4i; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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. [8.43.85.97]) by mx.google.com with ESMTPS id s3-20020a17090699c300b0076fa2a81bf8si50268ejn.142.2022.09.06.00.27.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 00:27:15 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=yil+dh4i; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 576CE3959C73 for ; Tue, 6 Sep 2022 07:21:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 576CE3959C73 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662448901; bh=E5UELWTP1ylxOeBdf7VRvd1rrpQQAYnPKTPgRbduMww=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=yil+dh4ixz3wbNNxMWX4/JY+p9VwXGIaX3V2XUou5iKtAvHcFcXXj1zS7xjOyOc/g Dr27osl6FCiTJjEBeU7BomFgDVob+3FA8Ont+kOO+2+XPmkd6vILUNJzfeRsEdHGMh OblBkTcyZQQZGcbkRKzUOby7GJgwsXznMQHGPLyw= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id 0B8F33858CDA for ; Tue, 6 Sep 2022 07:16:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0B8F33858CDA Received: by mail-wr1-x42a.google.com with SMTP id bz13so10606194wrb.2 for ; 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=E5UELWTP1ylxOeBdf7VRvd1rrpQQAYnPKTPgRbduMww=; b=tMqVlKnNJnCL+o1sKOha4luZyaYZaqlObOPuVztd1yFOz2brflPZN6sRH3J+pnyXK7 9FhZGcXR65wJkxVTiT6TWmH+LQVXzRUJMR2ncVJw7RPzOllxT3SDUXgEGa5HYXDw7VaT tBFzcshcubNCwjj5VbGA1kshFy2pRkiOVBe2gnsGMOgQb/ss+/pol2lLbjt79sHkZNDi sGbJYONG9aIHelV5dWaWpg4cblF507fA32c6aiN5qR3/NV6SfcAWW1HmBJGxC8j7r7CE Hxuw566NQ6Lqo7zFfd/hs7ag0UkZOQlWP+5jrj0T13pt8uz5KqmXYODsPa/PLHhAzJ7x kGiA== X-Gm-Message-State: ACgBeo2APNdQ+PiBu3kgoZKhb6VidcbnM8HWs25QYmD3Ry1eTEKk49ok 6Vt1GbpgiaC1AyK5l67jCBwTRUDvDRwhJA== X-Received: by 2002:adf:b30d:0:b0:228:a963:3642 with SMTP id j13-20020adfb30d000000b00228a9633642mr3570765wrd.444.1662448560921; Tue, 06 Sep 2022 00:16:00 -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 f16-20020adff590000000b0022865038308sm6813239wro.93.2022.09.06.00.16.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 00:16:00 -0700 (PDT) Date: Tue, 6 Sep 2022 09:16:00 +0200 To: gcc-patches@gcc.gnu.org Subject: [Ada] Restore missing Aggregate aspect for Ada.Containers.Ordered_Sets.Set Message-ID: <20220906071600.GA1280498@poulhies-Precision-5550> MIME-Version: 1.0 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Marc_Poulhi=C3=A8s_via_Gcc-patches?= From: =?utf-8?q?Marc_Poulhi=C3=A8s?= Reply-To: Marc =?iso-8859-1?q?Poulhi=E8s?= Cc: Steve Baird Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1743204369066616947?= X-GMAIL-MSGID: =?utf-8?q?1743204369066616947?= Ada RM A.18.9 includes a specification of the Aggregate aspect for the type Ada.Containers.Ordered_Sets. That aspect specification was deliberately commented out in a-coorse.ads at one time, but that workaround is no longer needed. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * libgnat/a-coorse.ads: Restore Aggregate aspect specification for type Set. diff --git a/gcc/ada/libgnat/a-coorse.ads b/gcc/ada/libgnat/a-coorse.ads --- a/gcc/ada/libgnat/a-coorse.ads +++ b/gcc/ada/libgnat/a-coorse.ads @@ -57,9 +57,9 @@ is type Set is tagged private with Constant_Indexing => Constant_Reference, Default_Iterator => Iterate, - Iterator_Element => Element_Type; - -- Aggregate => (Empty => Empty, - -- Add_Unnamed => Include); + Iterator_Element => Element_Type, + Aggregate => (Empty => Empty, + Add_Unnamed => Include); pragma Preelaborable_Initialization (Set);