OSDN Git Service

* gcc-interface/gigi.h (gnat_mark_addressable): Rename parameter.
[pf3gnuchains/gcc-fork.git] / gcc / ada / g-heasor.ads
index e3b4067..177f40c 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                     Copyright (C) 1995-2005, AdaCore                     --
+--                     Copyright (C) 1995-2008, 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- --
 
 --  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.
+--  generic code duplication and less convenient interface.
 
 --  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;
+   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.