OSDN Git Service

2007-04-20 Robert Dewar <dewar@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jun 2007 10:28:31 +0000 (10:28 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jun 2007 10:28:31 +0000 (10:28 +0000)
* g-hesorg.ads, g-heasor.ads,
g-busorg.ads, g-bubsor.ads: Update documentation
GNAT.Heap/Bubble_Sort_G is now pure

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125412 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 19dcbef..d88a175 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 1e90d34..e99ba2a 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 e3b4067..a30d0b6 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 04f2371..e7b3880 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