From: Steve Baird Date: Fri, 19 Aug 2022 17:26:29 +0000 (-0700) Subject: [Ada] Restore missing Aggregate aspect for Ada.Containers.Ordered_Sets.Set X-Git-Tag: basepoints/gcc-14~4728 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc737a6c2001e303a3509df7b1125b8e3d7ea651;p=thirdparty%2Fgcc.git [Ada] Restore missing Aggregate aspect for Ada.Containers.Ordered_Sets.Set 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. 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 index 8888a8c1e57c..fed41ec5d2db 100644 --- 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);