diff options
author | Robert Dewar <dewar@adacore.com> | 2006-10-31 18:51:38 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2006-10-31 18:51:38 +0100 |
commit | cce685621b46adb534ec20fcf9a76606596288be (patch) | |
tree | 82f467f6771df85b9ce495a5af4527dc1f9635c0 /gcc/ada/clean.adb | |
parent | c064e066027cb688449ce4e3fd28126fe45b0e11 (diff) | |
download | gcc-cce685621b46adb534ec20fcf9a76606596288be.zip gcc-cce685621b46adb534ec20fcf9a76606596288be.tar.gz gcc-cce685621b46adb534ec20fcf9a76606596288be.tar.bz2 |
clean.adb, [...]: Fix bad table increment values (much too small)
2006-10-31 Robert Dewar <dewar@adacore.com>
* clean.adb, gnatname.adb, gnatsym.adb, prep.adb, prep.ads,
prepcomp.adb, prj.ads, prj-strt.adb, sem_maps.ads,
vms_conv.adb: Fix bad table increment values (much too small)
* table.adb (Realloc): Make sure we get at least some new elements
Defends against silly small values for table increment
From-SVN: r118249
Diffstat (limited to 'gcc/ada/clean.adb')
-rw-r--r-- | gcc/ada/clean.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/clean.adb b/gcc/ada/clean.adb index 0845906..0897c27 100644 --- a/gcc/ada/clean.adb +++ b/gcc/ada/clean.adb @@ -120,7 +120,7 @@ package body Clean is Table_Index_Type => Natural, Table_Low_Bound => 0, Table_Initial => 10, - Table_Increment => 10, + Table_Increment => 100, Table_Name => "Clean.Processed_Projects"); -- Table to keep track of what project files have been processed, when -- switch -r is specified. @@ -130,7 +130,7 @@ package body Clean is Table_Index_Type => Natural, Table_Low_Bound => 0, Table_Initial => 10, - Table_Increment => 10, + Table_Increment => 100, Table_Name => "Clean.Processed_Projects"); -- Table to store all the source files of a library unit: spec, body and -- subunits, to detect .dg files and delete them. |