OSDN Git Service

* gcc.dg/vect/O3-vect-pr34223.c: Check vect_int_mult.
[pf3gnuchains/gcc-fork.git] / gcc / ada / alloc.ads
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                         GNAT COMPILER COMPONENTS                         --
4 --                                                                          --
5 --                                A L L O C                                 --
6 --                                                                          --
7 --                                 S p e c                                  --
8 --                                                                          --
9 --          Copyright (C) 1992-2008, Free Software Foundation, Inc.         --
10 --                                                                          --
11 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
12 -- terms of the  GNU General Public License as published  by the Free Soft- --
13 -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
14 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
15 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
16 -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
17 -- for  more details.  You should have  received  a copy of the GNU General --
18 -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
19 -- to  the  Free Software Foundation,  51  Franklin  Street,  Fifth  Floor, --
20 -- Boston, MA 02110-1301, USA.                                              --
21 --                                                                          --
22 -- As a special exception,  if other files  instantiate  generics from this --
23 -- unit, or you link  this unit with other files  to produce an executable, --
24 -- this  unit  does not  by itself cause  the resulting  executable  to  be --
25 -- covered  by the  GNU  General  Public  License.  This exception does not --
26 -- however invalidate  any other reasons why  the executable file  might be --
27 -- covered by the  GNU Public License.                                      --
28 --                                                                          --
29 -- GNAT was originally developed  by the GNAT team at  New York University. --
30 -- Extensive contributions were provided by Ada Core Technologies Inc.      --
31 --                                                                          --
32 ------------------------------------------------------------------------------
33
34 --  This package contains definitions for initial sizes and growth increments
35 --  for the various dynamic arrays used for principle compiler data strcutures.
36 --  The indicated initial size is allocated for the start of each file, and
37 --  the increment factor is a percentage used to increase the table size when
38 --  it needs expanding (e.g. a value of 100 = 100% increase = double)
39
40 --  Note: the initial values here are multiplied by Table_Factor, as set
41 --  by the -gnatTnn switch. This variable is defined in Opt, as is the
42 --  default value for the table factor.
43
44 package Alloc is
45
46    --  The comment shows the unit in which the table is defined
47
48    All_Interp_Initial               : constant := 1_000;   -- Sem_Type
49    All_Interp_Increment             : constant := 100;
50
51    Branches_Initial                 : constant := 1_000;   -- Sem_Warn
52    Branches_Increment               : constant := 100;
53
54    Conditionals_Initial             : constant := 1_000;   -- Sem_Warn
55    Conditionals_Increment           : constant := 100;
56
57    Conditional_Stack_Initial        : constant := 50;      -- Sem_Warn
58    Conditional_Stack_Increment      : constant := 100;
59
60    Elists_Initial                   : constant := 200;     -- Elists
61    Elists_Increment                 : constant := 100;
62
63    Elmts_Initial                    : constant := 1_200;   -- Elists
64    Elmts_Increment                  : constant := 100;
65
66    Inlined_Bodies_Initial           : constant := 50;      -- Inline
67    Inlined_Bodies_Increment         : constant := 200;
68
69    Inlined_Initial                  : constant := 100;     -- Inline
70    Inlined_Increment                : constant := 100;
71
72    In_Out_Warnings_Initial          : constant := 100;     -- Sem_Warn
73    In_Out_Warnings_Increment        : constant := 100;
74
75    Interp_Map_Initial               : constant := 200;     -- Sem_Type
76    Interp_Map_Increment             : constant := 100;
77
78    Lines_Initial                    : constant := 500;     -- Sinput
79    Lines_Increment                  : constant := 150;
80
81    Linker_Option_Lines_Initial      : constant := 5;       -- Lib
82    Linker_Option_Lines_Increment    : constant := 200;
83
84    Lists_Initial                    : constant := 4_000;   -- Nlists
85    Lists_Increment                  : constant := 200;
86
87    Load_Stack_Initial               : constant := 10;      -- Lib
88    Load_Stack_Increment             : constant := 100;
89
90    Name_Chars_Initial               : constant := 50_000;  -- Namet
91    Name_Chars_Increment             : constant := 100;
92
93    Name_Qualify_Units_Initial       : constant := 200;     -- Exp_Dbug
94    Name_Qualify_Units_Increment     : constant := 300;
95
96    Names_Initial                    : constant := 6_000;   -- Namet
97    Names_Increment                  : constant := 100;
98
99    Nodes_Initial                    : constant := 50_000;  -- Atree
100    Nodes_Increment                  : constant := 100;
101
102    Obsolescent_Warnings_Initial     : constant := 50;      -- Sem_Prag
103    Obsolescent_Warnings_Increment   : constant := 200;
104
105    Orig_Nodes_Initial               : constant := 50_000;  -- Atree
106    Orig_Nodes_Increment             : constant := 100;
107
108    Pending_Instantiations_Initial   : constant := 10;      -- Inline
109    Pending_Instantiations_Increment : constant := 100;
110
111    Rep_Table_Initial                : constant := 1000;    -- Repinfo
112    Rep_Table_Increment              : constant := 200;
113
114    Scope_Stack_Initial              : constant := 10;      -- Sem
115    Scope_Stack_Increment            : constant := 200;
116
117    SFN_Table_Initial                : constant := 10;      -- Fname
118    SFN_Table_Increment              : constant := 200;
119
120    Source_File_Initial              : constant := 10;      -- Sinput
121    Source_File_Increment            : constant := 200;
122
123    String_Chars_Initial             : constant := 2_500;   -- Stringt
124    String_Chars_Increment           : constant := 150;
125
126    Strings_Initial                  : constant := 5_00;    -- Stringt
127    Strings_Increment                : constant := 150;
128
129    Successors_Initial               : constant := 2_00;    -- Inline
130    Successors_Increment             : constant := 100;
131
132    Udigits_Initial                  : constant := 10_000;  -- Uintp
133    Udigits_Increment                : constant := 100;
134
135    Uints_Initial                    : constant := 5_000;   -- Uintp
136    Uints_Increment                  : constant := 100;
137
138    Units_Initial                    : constant := 30;      -- Lib
139    Units_Increment                  : constant := 100;
140
141    Ureals_Initial                   : constant := 200;     -- Urealp
142    Ureals_Increment                 : constant := 100;
143
144    Unreferenced_Entities_Initial    : constant := 1_000;   -- Sem_Warn
145    Unreferenced_Entities_Increment  : constant := 100;
146
147    Warnings_Off_Pragmas_Initial     : constant := 500;     -- Sem_Warn
148    Warnings_Off_Pragmas_Increment   : constant := 100;
149
150    With_List_Initial                : constant := 10;      -- Features
151    With_List_Increment              : constant := 300;
152
153    Xrefs_Initial                    : constant := 5_000;   -- Cross-refs
154    Xrefs_Increment                  : constant := 300;
155
156 end Alloc;