public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-1278] ada: Reorder components in Ada.Containers.Bounded_Doubly_Linked_Lists
@ 2023-05-26  7:37 Marc Poulhi?s
  0 siblings, 0 replies; only message in thread
From: Marc Poulhi?s @ 2023-05-26  7:37 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2688795b716b1ec75826e150c2d1dd04c88f3ad6

commit r14-1278-g2688795b716b1ec75826e150c2d1dd04c88f3ad6
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Thu Mar 23 15:55:15 2023 +0100

    ada: Reorder components in Ada.Containers.Bounded_Doubly_Linked_Lists
    
    gcc/ada/
    
            * libgnat/a-cbdlli.ads (List): Move Nodes component to the end.

Diff:
---
 gcc/ada/libgnat/a-cbdlli.ads | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ada/libgnat/a-cbdlli.ads b/gcc/ada/libgnat/a-cbdlli.ads
index 961a00726c4..b8810536458 100644
--- a/gcc/ada/libgnat/a-cbdlli.ads
+++ b/gcc/ada/libgnat/a-cbdlli.ads
@@ -276,12 +276,12 @@ private
    type Node_Array is array (Count_Type range <>) of Node_Type;
 
    type List (Capacity : Count_Type) is tagged record
-      Nodes  : Node_Array (1 .. Capacity);
       Free   : Count_Type'Base := -1;
       First  : Count_Type := 0;
       Last   : Count_Type := 0;
       Length : Count_Type := 0;
       TC     : aliased Tamper_Counts;
+      Nodes  : Node_Array (1 .. Capacity);
    end record with Put_Image => Put_Image;
 
    procedure Put_Image

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-26  7:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-26  7:37 [gcc r14-1278] ada: Reorder components in Ada.Containers.Bounded_Doubly_Linked_Lists Marc Poulhi?s

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).