summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_maps.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-31 17:51:38 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-31 17:51:38 +0000
commit7ba213b24c8d525b987df71de788b596e7924849 (patch)
tree82f467f6771df85b9ce495a5af4527dc1f9635c0 /gcc/ada/sem_maps.ads
parent0577b0b1ffa590c60a05740d2f2daa895d02db9f (diff)
downloadgcc-7ba213b24c8d525b987df71de788b596e7924849.tar.gz
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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118249 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_maps.ads')
-rw-r--r--gcc/ada/sem_maps.ads8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/sem_maps.ads b/gcc/ada/sem_maps.ads
index eb126790665..d6f51859651 100644
--- a/gcc/ada/sem_maps.ads
+++ b/gcc/ada/sem_maps.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1996-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 1996-2006, 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- --
@@ -140,7 +140,7 @@ private
Table_Index_Type => Map,
Table_Low_Bound => 0,
Table_Initial => 100,
- Table_Increment => 10,
+ Table_Increment => 100,
Table_Name => "Maps_Table");
-- All headers for hash tables are allocated in one global table. Each
@@ -151,7 +151,7 @@ private
Table_Index_Type => Header_Index,
Table_Low_Bound => 0,
Table_Initial => 1000,
- Table_Increment => 10,
+ Table_Increment => 100,
Table_Name => "Headers_Table");
-- All associations are allocated in one global table. Each map stores
@@ -162,7 +162,7 @@ private
Table_Index_Type => Assoc_Index,
Table_Low_Bound => 1,
Table_Initial => 1000,
- Table_Increment => 10,
+ Table_Increment => 100,
Table_Name => "Associations_Table");
end Sem_Maps;