g-hesorg.ads, [...]: Update documentation GNAT.Heap/Bubble_Sort_G is now pure
authorRobert Dewar <dewar@adacore.com>
Wed, 6 Jun 2007 10:28:31 +0000 (12:28 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Jun 2007 10:28:31 +0000 (12:28 +0200)
2007-04-20  Robert Dewar  <dewar@adacore.com>

* g-hesorg.ads, g-heasor.ads,
g-busorg.ads, g-bubsor.ads: Update documentation
GNAT.Heap/Bubble_Sort_G is now pure

From-SVN: r125412

gcc/ada/g-bubsor.ads
gcc/ada/g-busorg.ads
gcc/ada/g-heasor.ads
gcc/ada/g-hesorg.ads

index 19dcbef7db9ca5ca40931b73d3cdac6f51198573..d88a1753ec911154f485f5e358825b24fd803d26 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                     Copyright (C) 1995-2005, AdaCore                     --
+--                     Copyright (C) 1995-2006, AdaCore                     --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -44,7 +44,7 @@
 --  has the advantage of being Pure, while this unit can only be Preelaborate.
 
 package GNAT.Bubble_Sort is
-   pragma Preelaborate;
+   pragma Pure;
 
    --  The data to be sorted is assumed to be indexed by integer values from
    --  1 to N, where N is the number of items to be sorted.
index 1e90d347a32c379d1ef261dccb004fcdc0861544..e99ba2a7c15dcbd08003017d965b4a0364b4f4b3 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                     Copyright (C) 1995-2005, AdaCore                     --
+--                     Copyright (C) 1995-2006, AdaCore                     --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -39,8 +39,7 @@
 --  See also GNAT.Bubble_Sort, a version that works with subprogram access
 --  parameters, allowing code sharing. The generic version is slightly more
 --  efficient but does not allow code sharing and has an interface that is
---  more awkward to use. The generic version is also Pure, while the access
---  subprograqm version can only be Preelaborate.
+--  more awkward to use.
 
 --  There is also GNAT.Bubble_Sort_A, which is now considered obsolete, but
 --  was an older version working with subprogram parameters. This version
index e3b406728cba6b028a594177c6fe14cc61adbd2a..a30d0b6325bd8723d0cfec1568bf43dc76ec45bf 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                     Copyright (C) 1995-2005, AdaCore                     --
+--                     Copyright (C) 1995-2006, AdaCore                     --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -51,7 +51,7 @@
 --  retained in the GNAT library for backwards compatibility.
 
 package GNAT.Heap_Sort is
-   pragma Preelaborate;
+   pragma Pure;
 
    --  The data to be sorted is assumed to be indexed by integer values
    --  from 1 to N, where N is the number of items to be sorted.
index 04f2371d5b094827b861fc5c2e5f8b9ea5eee948..e7b38808c086cdc2c730421d210b4e1087612035 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                     Copyright (C) 1995-2005, AdaCore                     --
+--                     Copyright (C) 1995-2006, AdaCore                     --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -39,8 +39,7 @@
 --  See also GNAT.Heap_Sort, a version that works with subprogram access
 --  parameters, allowing code sharing. The generic version is slightly more
 --  efficient but does not allow code sharing and has an interface that is
---  more awkward to use. The generic version is also Pure, while the access
---  subprogram version can only be Preelaborate.
+--  more awkward to use.
 
 --  There is also GNAT.Heap_Sort_A, which is now considered obsolete, but
 --  was an older version working with subprogram parameters. This version