Minor reformatting.
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 17:21:54 +0000 (18:21 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 17:21:54 +0000 (18:21 +0100)
Update comments.

From-SVN: r107028

gcc/ada/exp_intr.ads
gcc/ada/exp_smem.adb
gcc/ada/g-heasor.ads
gcc/ada/sem_aggr.ads

index 0d0094924bfc4f32fd31e62d267360c04f8b2c3f..8182123587271a0ec3e9f891813e73dce0f218f7 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---        Copyright (C) 1992,1993,1994 Free Software Foundation, Inc.       --
+--          Copyright (C) 1992-2005, Free Software Foundation, Inc.        --
 --                                                                          --
 -- 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- --
index 32aea3fcb18d9ac445811a64a1544af31e1916ba..746025d87942ca7e2c5fa6e1ef74645152385cd8 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1998-2005 Free Software Foundation, Inc.          --
+--          Copyright (C) 1998-2005, Free Software Foundation, Inc.         --
 --                                                                          --
 -- 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- --
index 67c3ebe6f3016d978e9d868ae66f602b44735794..e3b406728cba6b028a594177c6fe14cc61adbd2a 100644 (file)
 --  subprogram parameters, so that it can be used with different types with
 --  shared sorting code.
 
---  See also GNAT.Heap_Sort_G and GNAT.Heap_Sort_A. These are older versions
---  of this routine. In some cases GNAT.Heap_Sort_G may be a little faster
---  than GNAT.Heap_Sort, at the expense of generic code duplication and a
---  less convenient interface. The generic version also has the advantage
---  of being Pure, while this unit can only be Preelaborate.
-
 --  This heapsort algorithm uses approximately N*log(N) compares in the
 --  worst case and is in place with no additional storage required. See
 --  the body for exact details of the algorithm used.
 
+--  See also GNAT.Heap_Sort_G which is a generic version that will be faster
+--  since the overhead of the indirect calls is avoided, at the expense of
+--  generic code duplication and less convenient interface. The generic version
+--  also has the advantage of being Pure, while this unit can only be
+--  Preelaborate, because of the access types.
+
+--  Note: GNAT.Heap_Sort replaces and obsoletes GNAT.Heap_Sort_A, which is
+--  retained in the GNAT library for backwards compatibility.
+
 package GNAT.Heap_Sort is
    pragma Preelaborate;
 
index ab1fff58a2eeaa899c62569901f18a83f64cb69b..808747abc64d603bd04fecc9554aa4a525dfb08c 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---        Copyright (C) 1992,1993,1994 Free Software Foundation, Inc.       --
+--          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
 --                                                                          --
 -- 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- --