diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-11-15 18:21:54 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-11-15 18:21:54 +0100 |
commit | 5ec0b2e592ff9e94001f834c1d967a08fab8c6e9 (patch) | |
tree | c4a6ce4162f3307b2f75518323ccff1fb1fed5f4 | |
parent | 089aaefeba28e15f27c16aca7542bc5cee773a33 (diff) | |
download | gcc-5ec0b2e592ff9e94001f834c1d967a08fab8c6e9.zip gcc-5ec0b2e592ff9e94001f834c1d967a08fab8c6e9.tar.gz gcc-5ec0b2e592ff9e94001f834c1d967a08fab8c6e9.tar.bz2 |
Minor reformatting.
Update comments.
From-SVN: r107028
-rw-r--r-- | gcc/ada/exp_intr.ads | 2 | ||||
-rw-r--r-- | gcc/ada/exp_smem.adb | 2 | ||||
-rw-r--r-- | gcc/ada/g-heasor.ads | 15 | ||||
-rw-r--r-- | gcc/ada/sem_aggr.ads | 2 |
4 files changed, 12 insertions, 9 deletions
diff --git a/gcc/ada/exp_intr.ads b/gcc/ada/exp_intr.ads index 0d00949..8182123 100644 --- a/gcc/ada/exp_intr.ads +++ b/gcc/ada/exp_intr.ads @@ -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- -- diff --git a/gcc/ada/exp_smem.adb b/gcc/ada/exp_smem.adb index 32aea3f..746025d 100644 --- a/gcc/ada/exp_smem.adb +++ b/gcc/ada/exp_smem.adb @@ -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- -- diff --git a/gcc/ada/g-heasor.ads b/gcc/ada/g-heasor.ads index 67c3ebe..e3b4067 100644 --- a/gcc/ada/g-heasor.ads +++ b/gcc/ada/g-heasor.ads @@ -37,16 +37,19 @@ -- 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; diff --git a/gcc/ada/sem_aggr.ads b/gcc/ada/sem_aggr.ads index ab1fff5..808747a 100644 --- a/gcc/ada/sem_aggr.ads +++ b/gcc/ada/sem_aggr.ads @@ -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- -- |