This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r130824 - in /trunk/gcc/ada: clean.adb g-comlin...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 13 Dec 2007 10:23:29 -0000
- Subject: r130824 - in /trunk/gcc/ada: clean.adb g-comlin...
Author: charlet
Date: Thu Dec 13 10:23:29 2007
New Revision: 130824
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130824
Log:
2007-12-06 Bob Duff <duff@adacore.com>
* clean.adb (Usage): Add line for -aP
(Check_Version_And_Help): Change Check_Version_And_Help to be generic,
with a parameter "procedure Usage", instead of passing a pointer to a
procedure. This is to eliminate trampolines (since the Usage procedure
is often nested in a main procedure, and it would be inconvenient to
unnest it).
* g-comlin.adb (For_Each_Simple_Switch): Change For_Each_Simple_Switch
to be generic, with a parameter "procedure Callback (...)", instead of
passing a pointer to a procedure. This is to eliminate trampolines
(since the Callback procedure is usually nested).
* gnatfind.adb, switch.adb, switch.ads, gnatlink.adb, gnatls.adb,
gnatname.adb, gnatxref.adb, gnatchop.adb, gprep.adb, gnatbind.adb
(Check_Version_And_Help): Change Check_Version_And_Help to be generic.
* g-pehage.adb (Compute_Edges_And_Vertices, Build_Identical_Key_Sets):
Use the generic Heap_Sort_G instead of Heap_Sort_A.
Modified:
trunk/gcc/ada/clean.adb
trunk/gcc/ada/g-comlin.adb
trunk/gcc/ada/g-pehage.adb
trunk/gcc/ada/gnatbind.adb
trunk/gcc/ada/gnatchop.adb
trunk/gcc/ada/gnatfind.adb
trunk/gcc/ada/gnatlink.adb
trunk/gcc/ada/gnatls.adb
trunk/gcc/ada/gnatname.adb
trunk/gcc/ada/gnatxref.adb
trunk/gcc/ada/gprep.adb
trunk/gcc/ada/switch.adb
trunk/gcc/ada/switch.ads