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: 1674540 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=DnQPG0cJ; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MMGyk00h0z1yhP for ; Tue, 6 Sep 2022 17:21:16 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 533C33954C40 for ; Tue, 6 Sep 2022 07:21:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 533C33954C40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662448874; bh=E5UELWTP1ylxOeBdf7VRvd1rrpQQAYnPKTPgRbduMww=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=DnQPG0cJ63Fn97mMFrWabnoafKTZRVg69TKCY6mPHkvwCLnrl3SSpFZFb50hSZsxy DbCLsA/92W19ai2LPrkiiKcOJjVS/DXmS+tL1S3/UNXRw3+7vAI8n+B2AuOpwVDfiV F5GyWKNsdbfRo/9uXjySHTCHHtaQv4fTCsWjU6yE= 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-Google-Smtp-Source: AA6agR56HGHiuMkIfv4dJM1GEbQOi5n6I3Gf/4rpfBS6QOK1z254gbpqPxV4L04zfU29dZ3Rp5gfsQ== 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+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" 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);