aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prepcomp.adb
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2006-10-31 18:51:38 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2006-10-31 18:51:38 +0100
commitcce685621b46adb534ec20fcf9a76606596288be (patch)
tree82f467f6771df85b9ce495a5af4527dc1f9635c0 /gcc/ada/prepcomp.adb
parentc064e066027cb688449ce4e3fd28126fe45b0e11 (diff)
downloadgcc-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/prepcomp.adb')
-rw-r--r--gcc/ada/prepcomp.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/prepcomp.adb b/gcc/ada/prepcomp.adb
index 7fd1984..763654c 100644
--- a/gcc/ada/prepcomp.adb
+++ b/gcc/ada/prepcomp.adb
@@ -105,7 +105,7 @@ package body Prepcomp is
Table_Index_Type => Int,
Table_Low_Bound => 1,
Table_Initial => 5,
- Table_Increment => 5,
+ Table_Increment => 100,
Table_Name => "Prepcomp.Preproc_Data_Table");
-- Table to store the specific preprocessing data
@@ -117,8 +117,8 @@ package body Prepcomp is
(Table_Component_Type => Source_File_Index,
Table_Index_Type => Int,
Table_Low_Bound => 1,
- Table_Initial => 5,
- Table_Increment => 5,
+ Table_Initial => 10,
+ Table_Increment => 100,
Table_Name => "Prepcomp.Dependencies");
-- Table to store the dependencies on preprocessing files