]>
Commit | Line | Data |
---|---|---|
8785609e | 1 | 2004-11-02 Andrew Pinski <pinskia@physics.uc.edu> |
bb342a77 AP |
2 | |
3 | PR ada/18228 | |
4 | * Makefile.in (darwin): Set soext to .dylib. | |
5 | ||
0ca5fab2 AC |
6 | 2004-10-26 Vincent Celier <celier@gnat.com> |
7 | Thomas Quinot <quinot@act-europe.fr> | |
8 | ||
9 | * g-socthi-vms.adb, g-socthi-mingw.adb, g-socthi-vxworks.ads: | |
10 | (C_Writev): Change MSG_Forced_Flags to Constants.MSG_Forced_Flags as | |
11 | there is no use of GNAT.Sockets.Constants. | |
12 | Remove remaining pragma Import for C_Write | |
13 | Remove C_Read and C_Write from internal implementation unit | |
14 | GNAT.Sockets.Thin, as their usage for sockets is non-portable (using | |
15 | the read and write functions from the system runtime library is fine | |
16 | on UNIX but won't work under Windows). | |
17 | ||
18 | * g-socket.adb: (Abort_Selector): Use C_Send instead of C_Write. | |
19 | (Check_Selector): Use C_Recv instead of C_Read. | |
20 | Selectors are the GNAT.Sockets abstraction to perform a select() | |
21 | call on a set of descriptors. To allow abortion of an ongoing | |
22 | select operation, some data is written to a dedicated socket that | |
23 | is always monitored. | |
24 | Under Windows, the write and read library functions cannot operate | |
25 | on sockets, so we need to use send and recv instead, which is portable | |
26 | across all supported platforms. | |
27 | ||
28 | * g-socthi.ads: Remove C_Read and C_Write from internal implementation | |
29 | unit GNAT.Sockets.Thin, as their usage for sockets is non-portable | |
30 | (using the read and write functions from the system runtime library is | |
31 | fine on UNIX but won't work under Windows). | |
32 | ||
33 | 2004-10-26 Nicolas Setton <setton@act-europe.fr> | |
34 | ||
35 | * mlib-tgt-darwin.adb: New file. | |
36 | ||
37 | * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, | |
38 | mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, | |
39 | mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, | |
40 | mlib-tgt-mingw.adb, mlib-tgt-vxworks.adb (Archive_Indexer_Options): New | |
41 | subprogram body. | |
42 | ||
43 | * Makefile.in: Add support for building shared libraries under Darwin. | |
44 | (EXTRA_GNATRTL_NONTASKING_OBJS, ppc-vxworks): Add s-vxwexc.o, containing | |
45 | the low level EH init subprogram to be called from __gnat_initialize. | |
46 | ||
47 | * mlib-tgt.ads, mlib-tgt.adb (Archive_Indexer_Options): New subprogram, | |
48 | indicates which options to pass to the archive indexer. | |
49 | ||
50 | * mlib-utl.adb: Add support for calling ranlib with additional | |
51 | options. This is needed for instance under Mac OS X. | |
52 | (Ranlib_Options): New global variable, used to store the potential | |
53 | options to pass to ranlib. | |
54 | (Ar): Use Ranlib_Options when spawning ranlib. | |
55 | (Initialize): Set the value of ranlib option. | |
56 | ||
57 | 2004-10-26 Olivier Hainque <hainque@act-europe.fr> | |
58 | ||
59 | * s-parame-linux.adb (Minimum_Stack_Size): Adjust to return 12K | |
60 | instead of 8K, to reflect the real potential needs for stack-checking | |
61 | in the ZCX case. | |
62 | ||
63 | 2004-10-26 Pascal Obry <obry@gnat.com> | |
64 | ||
65 | * s-parame-mingw.adb (Default_Stack_Size): Add some comments. | |
66 | ||
67 | * s-taprop-mingw.adb (Create_Task): Set initial stack size to 1024. On | |
68 | Windows only the initial thread stack size can be set so it is good to | |
69 | start we a low stack size. | |
70 | The OS will adjust the size as needed. | |
71 | ||
72 | 2004-10-26 Olivier Hainque <hainque@act-europe.fr> | |
73 | Nicolas Setton <setton@act-europe.fr> | |
74 | ||
75 | * expect.c, adaint.c, link.c, sysdep.c (unix sections): Guard with | |
76 | "__unix__" instead of "unix". | |
77 | The latter is implicitly defined by gcc3.2 but not by gcc >= 3.4, so the | |
78 | sections were just mistakenly ignored. The former is | |
79 | implicitely defined by gcc2.8, gcc3.2 and gcc3.4. | |
80 | Update #ifdef preprocessor macro to detect the symbol __hpux__ instead | |
81 | of hpux. This prevents an unwanted definition of the symbol | |
82 | convert_addresses in adaint.o. | |
83 | ||
84 | 2004-10-26 Gary Dismukes <dismukes@gnat.com> | |
85 | ||
86 | * a-exexpr.adb (Setup_Key): Change initial value to 16#DEAD#, for | |
87 | compatibility with type Unwind_Word on 16-bit targets such as AAMP. | |
88 | ||
89 | 2004-10-26 Cyrille Comar <comar@act-europe.fr> | |
90 | ||
91 | * a-filico.ads, a-filico.adb: fix incorrect header. | |
92 | ||
93 | 2004-10-26 Javier Miranda <miranda@gnat.com> | |
94 | ||
95 | * a-ststio.ads: Fix typo in identifier | |
96 | ||
97 | 2004-10-26 Thomas Quinot <quinot@act-europe.fr> | |
98 | ||
99 | * sem_ch4.adb: Minor reformatting. | |
100 | ||
101 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
102 | ||
103 | * checks.adb (Expr_Known_Valid): If floating-point validity checks are | |
104 | enabled, check the result of unary and binary operations when the | |
105 | expression is the right-hand side of an assignment. | |
106 | ||
107 | 2004-10-26 Vincent Celier <celier@gnat.com> | |
108 | ||
109 | * clean.adb (Delete): Do not output warnings when in quiet output and | |
110 | not in verbose mode. | |
111 | (Force_Deletions): New Boolean flag, defaulted to False | |
112 | (Delete): Only delete a file if it is writable, and when | |
113 | Force_Deletions is True. | |
114 | (Parse_Cmd_Line): New switch -f: set Force_Deletions to True | |
115 | (Usage): Line for new switch -f | |
116 | (Clean_Directory): Use GNAT.OS_Lib.Set_Writable instead of rolling our | |
117 | own. | |
118 | ||
119 | 2004-10-26 Eric Botcazou <ebotcazou@act-europe.fr> | |
120 | ||
121 | * decl.c (gnat_to_gnu_field): Use the type of the inner object for a | |
122 | JM type only if its size matches that of the wrapper. When a size is | |
123 | prescribed and the field is not aliased, remove the wrapper of a JM | |
124 | type only if the size is not greater than that of the packed array. | |
125 | (gnat_to_gnu_entity): Change the extension of packed array wrappers | |
126 | from LJM to JM. | |
127 | ||
128 | 2004-10-26 Geert Bosch <bosch@gnat.com> | |
129 | ||
130 | * eval_fat.adb (Eps_Model,Eps_Denorm): Remove, no longer used. | |
131 | (Succ): Re-implement using Scaling, Exponent and Ceiling attributes. | |
132 | (Pred): Implement in terms of Succ. | |
133 | ||
134 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
135 | ||
136 | * exp_aggr.adb (Safe_Component): An aggregate component that is an | |
137 | unchecked conversion is safe for in-place use if the expression of the | |
138 | conversion is safe. | |
139 | (Expand_Array_Aggregate): An aggregate that initializes an allocator may | |
140 | be expandable in place even if the aggregate does not come from source. | |
141 | (Convert_Array_Aggr_In_Allocator): New procedure to initialize the | |
142 | designated object of an allocator in place, rather than building it | |
143 | first on the stack. The previous scheme forces a full copy of the array, | |
144 | and may be altogether unsusable if the size of the array is too large | |
145 | for stack allocation. | |
146 | ||
147 | 2004-10-26 Robert Dewar <dewar@gnat.com> | |
148 | ||
149 | * exp_ch4.adb (Expand_N_Op_Eq): Make sure we expand a loop for array | |
150 | compares if the component is atomic. | |
151 | ||
152 | * exp_ch5.adb (Expand_Assign_Array): Make sure we expand a loop for | |
153 | array assignment if the component type is atomic. | |
154 | ||
155 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
156 | Eric Botcazou <ebotcazou@act-europe.fr> | |
157 | ||
158 | * exp_ch6.adb (Expand_Actuals): If the actual for an in-out parameter | |
159 | is aliased and is a by_reference type, do not pass by copy. | |
160 | (Expand_N_Function_Call) <Rhs_Of_Assign_Or_Decl>: New function to | |
161 | detect whether the call is in the right side of an assignment or | |
162 | the expression of an object declaration. Recurse on component | |
163 | association within aggregates. | |
164 | Call it in the condition that determines whether the temporary is | |
165 | necessary for correct stack-checking. | |
166 | ||
167 | 2004-10-26 Thomas Quinot <quinot@act-europe.fr> | |
168 | ||
169 | * exp_dist.adb (Build_General_Calling_Stubs): New formal parameter | |
170 | RACW_Type, used in the PolyORB version. | |
171 | Rename RCI_Info to RCI_Locator, for consistency between the PolyORB | |
172 | version and the GARLIC version. | |
173 | ||
174 | * snames.ads, snames.adb, s-parint.ads, s-parint.adb: | |
175 | Rename RCI_Info to RCI_Locator for better consistency between the | |
176 | GARLIC and PolyORB versions of the distributed systems annex. | |
177 | (DSA_Implementation_Name): This enumeration lists the possible | |
178 | implementations of the Partition Communication Subsystem for the | |
179 | Distributed Systems Annex (DSA). The three available implementations | |
180 | are the dummy stub implementation (No_DSA), and two versions based on | |
181 | two different distribution runtime libraries: GARLIC and PolyORB. Both | |
182 | the GARLIC PCS and the PolyORB PCS are part of the GLADE distribution | |
183 | technology. | |
184 | Change the literal GLADE_DSA to GARLIC_DSA to accurately describe | |
185 | that organization. | |
186 | ||
187 | * rtsfind.ads: Rename RCI_Info to RCI_Locator for better consistency | |
188 | between the GARLIC and PolyORB versions of the distributed systems | |
189 | annex. | |
190 | Remove RE_Unbounded_Reclaim_Pool since it is unused. | |
191 | ||
192 | 2004-10-26 Gary Dismukes <dismukes@gnat.com> | |
193 | ||
194 | * gnat1drv.adb: Suppress calling the back end when | |
195 | Frontend_Layout_On_Target is true. | |
196 | ||
197 | 2004-10-26 Thomas Quinot <quinot@act-europe.fr> | |
198 | ||
199 | * g-os_lib.ads, g-os_lib.adb (Set_Executable, Set_Writable, | |
200 | Set_Read_Only): New subprograms. | |
201 | These new routines allow the user to set or unset the Owner execute | |
202 | and Owner write permission flags on a file. | |
203 | ||
204 | * makegpr.adb, mlib.adb, mlib-prj.adb: Use | |
205 | GNAT.OS_Lib.Set_Executable instead of rolling our own. | |
206 | ||
207 | 2004-10-26 Matthew Gingell <gingell@gnat.com> | |
208 | ||
209 | * i-cpp.ads, i-cpp.adb: Change layout of VTable for new C++ ABI. | |
210 | ||
211 | 2004-10-26 Pascal Obry <obry@gnat.com> | |
212 | ||
213 | * init.c (__gnat_error_handler) [Win32]: Instead of trying to read the | |
214 | memory before the faulting page we properly test the process read | |
215 | access for this address using appropriate Win32 routine. | |
216 | (HPUX sections): guard with "__hpux__" instead of "hpux". | |
217 | ||
218 | 2004-10-26 Robert Dewar <dewar@gnat.com> | |
219 | ||
220 | * lib-xref.adb (Generate_Reference): Don't complain about reference to | |
221 | entry parameter if pragma Unreferenced set, since we do not properly | |
222 | handle the case of multiple parameters. | |
223 | ||
224 | 2004-10-26 Vincent Celier <celier@gnat.com> | |
225 | ||
226 | * prj-env.adb: (Contains_ALI_Files): New Boolean function | |
227 | (Ada_Objects_Path.Add): For a library project, add to the object path | |
228 | the library directory only if there is no object directory or if the | |
229 | library directory contains ALI files. | |
230 | (Set_Ada_Paths.Add.Recursive_Add): Ditto | |
231 | ||
232 | 2004-10-26 Vincent Celier <celier@gnat.com> | |
233 | ||
234 | * prj-nmsc.adb (Language_Independent_Check): Do not forbid virtual | |
235 | extension of library projects. | |
236 | ||
237 | * prj-part.adb: If env var ADA_PROJECT_PATH is not defined, project | |
238 | path defaults to ".:<prefix>/lib/gnat". | |
239 | (Parse): For an extending all project, allow direct import of a project | |
240 | that is virtually extended. | |
241 | ||
242 | * prj-proc.adb (Imported_Or_Extended_Project_From): If a project with | |
243 | the specified name is directly imported, return its ID. Otherwise, if | |
244 | an extension of this project is imported, return the ID of the | |
245 | extension. | |
246 | ||
247 | 2004-10-26 Robert Dewar <dewar@gnat.com> | |
248 | ||
249 | * s-arit64.adb: (Le3): New function, used by Scaled_Divide | |
250 | (Sub3): New procedure, used by Scaled_Divide | |
251 | (Scaled_Divide): Substantial rewrite, avoid duplicated code, and also | |
252 | correct more than one instance of failure to propagate carries | |
253 | correctly. | |
254 | (Double_Divide): Handle overflow case of largest negative number | |
255 | divided by minus one. | |
256 | ||
257 | * s-arit64.ads (Double_Divide): Document that overflow can occur in | |
258 | the case of a quotient value out of range. | |
259 | Fix comments. | |
260 | ||
261 | 2004-10-26 Robert Dewar <dewar@gnat.com> | |
262 | ||
263 | * s-bitops.adb (Bit_Eq): Remove redundant check. | |
264 | ||
265 | * s-bitops.ads: Minor comment updates | |
266 | Change some occurrences of Address to System.Address | |
267 | ||
268 | * s-carsi8.ads: Fix minor cut-and-paste error in comments | |
269 | ||
270 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
271 | ||
272 | * sem_attr.adb (Resolve_Attribute, case 'Access): Apply proper | |
273 | accessibility check to prefix that is a protected operation. | |
274 | ||
275 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
276 | ||
277 | * sem_ch10.adb (Optional_Subunit): If file of expected subunit is | |
278 | empty, post message on stub. | |
279 | ||
280 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
281 | Javier Miranda <miranda@gnat.com> | |
282 | ||
283 | * sem_ch12.adb (In_Main_Context): Predicate to determine whether the | |
284 | current instance appears within a unit that is directly in the context | |
285 | of the main unit. | |
286 | Used to determine whether the body of the instance should be analyzed | |
287 | immediately after its spec, to make its subprogram bodies available | |
288 | for front-end inlining. | |
289 | (Analyze_Formal_Array_Type): Cleanup condition that checks that range | |
290 | constraint is not allowed on the component type (AARM 12.5.3(3)) | |
291 | ||
292 | 2004-10-26 Cyrille Comar <comar@act-europe.fr> | |
293 | ||
294 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case | |
295 | 'Storage_Pool): enhance, document & limit detection of non-sharable | |
296 | internal pools. | |
297 | ||
298 | * impunit.adb: Make System.Pool_Global and System.Pool_Local visible. | |
299 | ||
300 | * s-pooglo.ads: Add more documentation now that this pool is properly | |
301 | documented. | |
302 | ||
303 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
304 | ||
305 | * sem_ch3.adb (Complete_Private_Subtype): If the full view is a task | |
306 | or protected type with discriminants, do not constrain the | |
307 | corresponding record type if the subtype declaration has no | |
308 | discriminant constraints. This can be the case in source code, or in | |
309 | the subtype declaration created to rename an actual type within an | |
310 | instantiation. | |
311 | ||
312 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
313 | ||
314 | * sem_ch6.adb (Analyze_Subprogram_Body): If body is a subunit for a | |
315 | different kind of stub (possibly wrong name for file), do not check | |
316 | for conformance. | |
317 | (Uses_Secondary_Stack): New subsidiary to Build_Body_To_Inline. If body | |
318 | includes call to some function that returns an unconstrained type, do | |
319 | not inline. | |
320 | ||
321 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
322 | ||
323 | * sem_elab.adb (Check_Elab_Call): Do not check a call that does not | |
324 | appear in the code for the main unit. Dependencies among units in the | |
325 | context of the main unit are established when those other units are | |
326 | compiled. Otherwise spurious elaboration constraints can generate | |
327 | incorrect elaboration circularities. | |
328 | ||
329 | 2004-10-26 Thomas Quinot <quinot@act-europe.fr> | |
330 | Ed Schonberg <schonberg@gnat.com> | |
331 | ||
332 | * sem_util.adb (Is_Aliased_View): Defend against the case where this | |
333 | subprogram is called with a parameter that is not an object name. This | |
334 | situation arises for some cases of illegal code, which is diagnosed | |
335 | later, and in this case it is wrong to call Is_Aliased, as that might | |
336 | cause a compiler crash. | |
337 | (Explain_Limited_Type): Refine previous fix to include | |
338 | inherited components of derived types, to provide complete information. | |
339 | ||
340 | * exp_ch9.adb (Set_Privals): Set the Ekind of the actual object that | |
341 | is the prival for a protected object. | |
342 | It is necessary to mark this entity as a variable, in addition to | |
343 | flagging it as Aliased, because Sem_Util.Is_Aliased_View has been | |
344 | modified to avoid checking the Aliased flag on entities that are not | |
345 | objects. (Checking that flag for non-objects is erroneous and could | |
346 | lead to a compiler crash). | |
347 | ||
348 | 2004-10-26 Robert Dewar <dewar@gnat.com> | |
349 | ||
350 | * s-fatgen.adb (Pred): Fix redundant test for X > 0.0, since if | |
351 | X_Frac = 0.5, then we know that the number X must be positive. | |
352 | (Succ): Remove the same redundant test, and also fix the primary test | |
353 | to test for X_Frac = -0.5 (used to be 0.5) which is clearly wrong. | |
354 | Minor reformatting | |
355 | (Decompose): Add fuller comments to spec | |
356 | ||
357 | 2004-10-26 Pascal Obry <obry@gnat.com> | |
358 | ||
359 | * tracebak.c (IS_BAD_PTR): Use IsBadCodePtr on Win32 to check for ptr | |
360 | validity (process must have read access). Set to 0 in all other cases. | |
361 | (STOP_FRAME): Now check for ptr validity to avoid a segmentation | |
362 | violation on Win32. | |
363 | (VALID_STACK_FRAME): Check for ptr validity on Win32 to avoid a | |
364 | segmentation violation. | |
365 | ||
366 | 2004-10-26 Eric Botcazou <ebotcazou@act-europe.fr> | |
367 | ||
368 | * trans.c (call_to_gnu): For an (in-)out parameter passed by reference | |
369 | whose type is a constructed subtype of an aliased object with an | |
370 | unconstrained nominal subtype, convert the actual to the constructed | |
371 | subtype before taking its address. | |
372 | ||
373 | 2004-10-26 Vincent Celier <celier@gnat.com> | |
374 | ||
375 | * a-dirval.ads, a-dirval.adb, a-dirval-vms.adb, a-dirval-mingw.adb | |
376 | (Is_Path_Name_Case_Sensitive): New function | |
377 | ||
378 | * a-direct.adb (To_Lower_If_Case_Insensitive): New procedure | |
379 | (Base_Name, Simple_Name, Current_Directory, Compose, | |
380 | Containing_Directory, Full_Name): Call To_Lower_If_Case_Insensitive on | |
381 | the result. | |
382 | ||
383 | 2004-10-26 Cyrille Comar <comar@act-europe.fr> | |
384 | Vasiliy Fofanov <fofanov@act-europe.fr> | |
385 | Vincent Celier <celier@gnat.com> | |
386 | ||
387 | * gnat_ugn.texi: Generalize "finding memory problems" section into a | |
388 | "memory management issues" section and document some of the useful | |
389 | memory pools provided as part of the GNAT library. | |
390 | Remove "virtual" from declaration of A::method2 in | |
391 | the simple example of Ada/C++ mixed system. | |
392 | Library Projects may be virtually extended: their virtual extensions | |
393 | are not Library Projects. | |
394 | Added section on extending project hierarchies. | |
395 | ||
d65c6710 | 396 | 2004-10-19 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
aa75e737 AL |
397 | |
398 | * adaint.c (__gnat_get_libraries_from_registry): Cast value | |
399 | to LPBYTE. | |
400 | (__gnat_portable_spawn): Remove const. | |
401 | ||
402 | * mingw32.h (MAXPATHLEN): Check for previous definition. | |
403 | ||
95e19580 MK |
404 | 2004-10-17 Matthias Klose <doko@debian.org> |
405 | ||
406 | * gnatvsn.ads: Set gnat library version to 4.0. | |
407 | ||
88a6ecb6 VC |
408 | 2004-10-05 Vincent Celier <celier@gnat.com> |
409 | ||
410 | * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Options_2 | |
411 | ||
110aba14 LG |
412 | 2004-10-04 Laurent GUERBY <laurent@guerby.net> |
413 | ||
414 | PR ada/15156 | |
415 | * Makefile.in: Define and use RANLIB_FLAGS. | |
88a6ecb6 | 416 | |
09552763 PO |
417 | 2004-10-04 Pascal Obry <obry@gnat.com> |
418 | ||
419 | * tracebak.c: Always set LOWEST_ADDR to 0 on Win32 (as done on all | |
420 | other x86 platforms). | |
421 | ||
a8e490b7 OH |
422 | 2004-10-04 Olivier Hainque <hainque@act-europe.fr> |
423 | ||
424 | * s-tassta.adb (Task_Wrapper): Make it Convention C, which makes sense | |
425 | in general and triggers stack alignment adjustment for thread entry | |
426 | points on targets where this is necessary. | |
427 | ||
71c10a83 BB |
428 | 2004-10-04 Bernard Banner <banner@gnat.com> |
429 | ||
430 | PR ada/13897 | |
431 | ||
432 | * Makefile.in: Add section for powerpc linux | |
433 | Add variant i-vxwork-x86.ads | |
434 | ||
435 | * i-vxwork-x86.ads, system-linux-ppc.ads: New files. | |
436 | ||
9a03df55 OH |
437 | 2004-10-04 Olivier Hainque <hainque@act-europe.fr> |
438 | ||
439 | * init.c (__gnat_initialize): Call an Ada subprogram to perform the | |
440 | table registration calls when need be. Ensures no reference to the crt | |
441 | ctors symbol are issued in the SJLJ case, which avoids possible | |
442 | undefined symbol errors in the case of modules to be statically linked | |
443 | with the kernel. | |
444 | ||
28d6470f JM |
445 | 2004-10-04 Javier Miranda <miranda@gnat.com> |
446 | ||
447 | * sem_ch4.adb (Try_Object_Operation): Reformat the code to expand | |
448 | in-line the code corresponding to subprogram Analyze_Actuals. In | |
449 | addition, analyze the actuals only in case of subprogram call. | |
450 | ||
06237875 EF |
451 | 2004-10-04 Ed Falis <falis@gnat.com> |
452 | ||
453 | * s-vxwork-x86.ads: (FP_CONTEXT): Defined to be correct size | |
454 | ||
259d6c3a SR |
455 | 2004-10-04 Sergey Rybin <rybin@act-europe.fr> |
456 | ||
457 | * g-dirope.ads (Base_Name): Clarify the meaning of the Suffix parameter | |
458 | in the documentation. | |
459 | ||
6f21ed26 RD |
460 | 2004-10-04 Robert Dewar <dewar@gnat.com> |
461 | ||
462 | * sem_ch5.adb (Unblocked_Exit_Count): Now used for blocks as well as | |
463 | IF and CASE. | |
464 | (Analyze_Block_Statement): Add circuitry to detect following dead code | |
465 | (Check_Unreachable_Code): Handle case of block exit | |
466 | ||
4cded177 RD |
467 | 2004-10-04 Robert Dewar <dewar@gnat.com> |
468 | ||
469 | * g-spipat.adb: (XMatch): Avoid warning for Logic_Error call | |
470 | (XMatchD): Avoid warning for Logic_Error call | |
471 | ||
c6a60aa1 RD |
472 | 2004-10-04 Robert Dewar <dewar@gnat.com> |
473 | ||
474 | * exp_ch4.adb (Is_Procedure_Actual): Correct so that this does not | |
475 | consider expressions buried within a procedure actual to be an actual. | |
476 | This caused some blowups with uses of packed slices within a procedure | |
477 | actual. | |
478 | ||
1fdebfe5 RD |
479 | 2004-10-04 Robert Dewar <dewar@gnat.com> |
480 | ||
481 | * exp_ch3.adb (Needs_Simple_Initialization): Modular packed arrays no | |
482 | longer need to be initialized to zero. | |
483 | (Get_Simple_Init_Val): Modular packed arrays no longer need to be | |
484 | initialized to zero. | |
485 | ||
486 | * checks.adb (Expr_Known_Valid): Packed arrays are now always | |
487 | considered valid, even if the representation is modular. That's correct | |
488 | now that we no longer initialize packed modular arrays to zero. | |
489 | ||
490 | * exp_dbug.ads: Clarify documentation on handling of PAD and JM | |
491 | suffixes. These are now documented as the only cases in which the | |
492 | debugger ignores outer records. | |
493 | Previously, the spec allowed arbitrary suffixes for this purpose. | |
494 | Change name of LJM to JM for packed array pad records | |
495 | Create separate section on packed array handling, and add a whole new | |
496 | set of comments to this section describing the situation with packed | |
497 | modular types and justification requirements depending on endianness. | |
498 | ||
cd91501c RD |
499 | 2004-10-04 Robert Dewar <dewar@gnat.com> |
500 | ||
501 | * a-except.adb: Add a comment for last change | |
502 | ||
503 | * einfo.ads: Minor spelling correction in comment | |
504 | ||
505 | * exp_pakd.adb, gnatdll.adb, prj-attr.ads: Minor reformatting | |
506 | ||
507 | * sem_ch11.adb: Fix a case of using | instead of \ for continuation | |
508 | messages. | |
509 | ||
510 | * sem_util.ads: Minor comment update | |
511 | ||
c71c53a8 ES |
512 | 2004-10-04 Ed Schonberg <schonberg@gnat.com> |
513 | ||
514 | * sem_ch6.adb (Analyze_Subprogram_Body): Do not treat Inline as | |
515 | Inline_Always when in Configurable_Run_Time mode. | |
516 | ||
517 | * sem_prag.adb (Process_Convention): If entity is an inherited | |
518 | subprogram, apply convention to parent subprogram if in same scope. | |
519 | (Analyze_Pragma, case Inline): Do not treat Inline as Inline_Always | |
520 | when in Configurable_Run_Time mode. | |
521 | ||
71d9e9f2 ES |
522 | 2004-10-04 Ed Schonberg <schonberg@gnat.com> |
523 | ||
524 | * sem_ch3.adb (Build_Derived_Record_Type): Set First/Last entity of | |
525 | class_wide type after component list has been inherited. | |
526 | ||
0b525bee ES |
527 | 2004-10-04 Ed Schonberg <schonberg@gnat.com> |
528 | ||
529 | * sem_ch12.adb (Check_Generic_Actuals): New predicate | |
530 | Denotes_Previous_Actual, to handle properly the case of a private | |
531 | actual that is also the component type of a subsequent array actual. | |
532 | The visibility status of the first actual is not affected when the | |
533 | second is installed. | |
534 | (Process_Nested_Formal): Subsidiary of Instantiate_Formal_Package, to | |
535 | make fully recursive the treatment of formals of packages declared | |
536 | with a box. | |
537 | (Restore_Nested_Formal): Subsidiary of Restore_Private_Views, to undo | |
538 | the above on exit from an instantiation. | |
539 | (Denotes_Formal_Package): When called from Restore_Private_Views, ignore | |
540 | current instantiation which is now complete. | |
541 | (Analyze_Package_Instantiation): No instantiated body is needed if the | |
542 | main unit is generic. Efficient, and avoid anomalies when a instance | |
543 | appears in a package accessed through rtsfind. | |
544 | ||
27ad9660 ES |
545 | 2004-10-04 Ed Schonberg <schonberg@gnat.com> |
546 | ||
547 | * exp_ch6.adb (Expand_N_Function_Call): If stack checking is enabled, | |
548 | do not generate a declaration for a temporary if the call is part of a | |
549 | library-level instantiation. | |
550 | ||
1c6c6771 ES |
551 | 2004-10-04 Ed Schonberg <schonberg@gnat.com> |
552 | ||
553 | * sem_util.adb (Explain_Limited_Type): Ignore internal components when | |
554 | searching for a limited component to flag. | |
555 | ||
556 | * exp_attr.adb (Freeze_Stream_Subprogram): Subsidiary procedure to | |
557 | expansion of Input, to account for the fact that the implicit call | |
558 | generated by the attribute reference must freeze the user-defined | |
559 | stream subprogram. This is only relevant to 'Input, because it can | |
560 | appear in an object declaration, prior to the body of the subprogram. | |
561 | ||
562 | * sem_ch13.adb (Rep_Item_Too_Late): Make the error non-serious, so that | |
563 | expansion can proceed and further errors uncovered. | |
564 | (Minor clean up): Fix cases of using | instead of \ for continuation | |
565 | messages. | |
566 | ||
8005f3e5 RK |
567 | 2004-10-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
568 | ||
569 | * cuintp.c, decl.c, utils2.c: Use gcc_assert and gcc_unreachable. | |
570 | ||
571 | * trans.c (assoc_to_constructor): Fix unused var warning if no checking. | |
572 | (gnat_gimplify_expr, case ADDR_EXPR): Fix error in last change. | |
573 | Use gcc_assert and gcc_unreachable. | |
574 | ||
575 | * decl.c (gnat_to_gnu_entity, case object): Check and process a | |
576 | specified alignment before validating size. | |
577 | (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>: Create a | |
578 | stripped-down declaration for the type of the inner field when making | |
579 | a JM type. | |
580 | ||
581 | * utils.c (finish_record_type): Do not compute the size in units | |
582 | incrementally. Instead compute it once for the rep clause case. | |
583 | Use gcc_assert and gcc_unreachable. | |
584 | ||
6a294a29 VC |
585 | 2004-10-04 Vincent Celier <celier@gnat.com> |
586 | ||
587 | * a-dirval-mingw.adb (Invalid_Character): Add '\' as invalid character | |
588 | in file name. | |
589 | (Is_Valid_Path_Name): Take '/' as a directory separator. | |
590 | ||
9a080ea3 VC |
591 | 2004-10-04 Vincent Celier <celier@gnat.com> |
592 | ||
593 | * prj-part.adb (Parse_Single_Project): Call Is_Extending_All | |
594 | (Extended_Project) only if Extended_Project is defined, to avoid | |
595 | assertion error. | |
596 | (Post_Parse_Context_Clause): Always call Set_Path_Name_Of with a | |
597 | resolved path. | |
598 | (Parse_Single_Project): Ditto. | |
599 | ||
600 | * prj-env.adb (Set_Ada_Paths.Add.Recursive_Add): Do not call | |
601 | Add_To_Project_Path for virtual projects. | |
602 | ||
51004cb5 VC |
603 | 2004-10-04 Vincent Celier <celier@gnat.com> |
604 | ||
605 | * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, | |
606 | mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, | |
607 | mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-mingw.adb, | |
608 | mlib-tgt-vxworks.adb, mlib-tgt.adb (Build_Dynamic_Library): New | |
609 | parameter Options_2. | |
610 | ||
611 | * mlib-prj.ads, mlib-prj.adb (Build_Library): Call | |
612 | Build_Dynamic_Library with an empty Options_2. | |
613 | ||
614 | * mlib-utl.ads, mlib-utl.adb (Gcc): Parameter Options_2 has no | |
615 | default anymore. | |
616 | ||
617 | * makegpr.adb (Get_Imported_Directories.add): Remove trailing | |
618 | directory separator, if any. | |
619 | (Gprmake): Do not allow mains on the command line for library projects. | |
620 | Do not attempt to link when the project is a library project. | |
621 | (Library_Opts): New table to store Library_Options. | |
622 | (Build_Library): If Library_Options is specified, pass these options | |
623 | when building a shared library. | |
624 | ||
3b37ffbf JR |
625 | 2004-10-04 Jose Ruiz <ruiz@act-europe.fr> |
626 | ||
627 | * s-tposen.adb (Service_Entry): The object must be always unlocked at | |
628 | the end of this procedure now that the unlock operation was inserted | |
629 | by the expander. | |
630 | ||
b23e28d5 JR |
631 | 2004-10-04 Jose Ruiz <ruiz@act-europe.fr> |
632 | ||
633 | * targparm.ads, targparm.adb (Targparm_Tags): Add PAS value | |
634 | corresponding to the Preallocated_Stacks flags in System. | |
635 | (Get_Target_Parameters): Including the processing for | |
636 | Preallocated_Stacks. | |
637 | ||
638 | * system.ads, system-vxworks-x86.ads, system-darwin-ppc.ads, | |
639 | system-vms_64.ads, system-unixware.ads, system-linux-ia64.ads, | |
640 | system-freebsd-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads, | |
641 | system-linux-x86_64.ads, system-tru64.ads, system-aix.ads, | |
642 | system-vxworks-sparcv9.ads, system-vxworks-xscale.ads, | |
643 | system-solaris-x86.ads, system-irix-o32.ads, system-irix-n32.ads, | |
644 | system-hpux.ads, system-vxworks-m68k.ads, system-linux-x86.ads, | |
645 | system-vxworks-mips.ads, system-os2.ads, system-interix.ads, | |
646 | system-solaris-sparc.ads, system-solaris-sparcv9.ads, system-vms.ads, | |
647 | system-mingw.ads, system-vms-zcx.ads, system-vxworks-ppc.ads, | |
648 | system-vxworks-alpha.ads: Add the flag Preallocated_Stacks, that is | |
649 | used to signal whether the compiler creates the required stacks and | |
650 | descriptors for the different tasks (when True) or it is done by the | |
651 | underlying operating system at run time (when False). | |
652 | It is initially set to False in all targets. | |
653 | ||
654 | * exp_ch9.adb (Expand_N_Task_Type_Declaration): Create the task stack | |
655 | if it is supported by the target. | |
656 | (Make_Task_Create_Call): Pass the stack address if it has been | |
657 | previously created. Otherwise pass a Null_Address. | |
658 | ||
659 | * snames.adb: Add _stack. | |
660 | ||
661 | * snames.ads: Add Name_uStack. Required to allow the expander to | |
662 | statically allocated task stacks. | |
663 | ||
664 | * s-tarest.ads, s-tarest.adb (Create_Restricted_Task): Add | |
665 | Stack_Address argument. | |
666 | Check that its value is equal to Null_Address because this target does | |
667 | not support the static stack allocation. | |
668 | ||
6fd459bb TQ |
669 | 2004-10-04 Thomas Quinot <quinot@act-europe.fr> |
670 | ||
671 | * usage.adb: Change "pragma inline" to "pragma Inline" in information | |
672 | and error messages | |
673 | ||
5885facb TQ |
674 | 2004-10-04 Thomas Quinot <quinot@act-europe.fr> |
675 | ||
676 | * exp_dist.adb: Split declaration of asynchronous flag out of | |
677 | Add_RACW_Read_Attribute. | |
678 | Minor reformatting for better alignment with PolyORB version. | |
679 | Store the entity for the asynchronous flag of an RACW, rather than the | |
680 | expression, in the asynchronous flags table. This will allow this flag | |
681 | to be used in other subprograms beside Add_RACW_Read_Attribute. | |
682 | ||
d6c7ed50 TQ |
683 | 2004-10-04 Thomas Quinot <quinot@act-europe.fr> |
684 | ||
685 | * g-socket.ads, g-socket.adb, g-socthi.adb, socket.c, | |
686 | g-soccon-aix.ads, g-soccon-irix.ads, g-soccon-hpux.ads, | |
687 | g-soccon-interix.ads, g-soccon-solaris.ads, g-soccon-vms.adb, | |
688 | g-soccon-mingw.ads, g-soccon-vxworks.ads, g-soccon-freebsd.ads, | |
689 | g-soccon.ads, g-soccon-unixware.ads, g-soccon-tru64.ads: Add new | |
690 | sockets constant MSG_NOSIGNAL (Linux-specific). | |
691 | Add new sockets constant MSG_Forced_Flags, list of flags to be set on | |
692 | all Send operations. | |
693 | For Linux, set MSG_NOSIGNAL on all send operations to prevent them | |
694 | from trigerring SIGPIPE. | |
695 | Rename components to avoid clash with Ada 2005 possible reserved | |
696 | word 'interface'. | |
697 | (Check_Selector): When the select system call returns with an error | |
698 | condition, propagate Socket_Error to the caller. | |
699 | ||
0f0377f6 JH |
700 | 2004-10-01 Jan Hubicka <jh@suse.cz> |
701 | ||
702 | * misc.c (gnat_expand_body): Update call of tree_rest_of_compilation. | |
703 | ||
2c9beb8a RD |
704 | 2004-09-23 Robert Dewar <dewar@gnat.com> |
705 | ||
706 | PR ada/17540 | |
707 | ||
708 | * sem_prag.adb (Process_Import_Or_Interface): Don't set Is_Public here, | |
709 | instead do this at freeze time (we won't do it if there is an address | |
710 | clause). | |
711 | Change "pragma inline" to "pragma Inline" in information and error | |
712 | messages. | |
713 | Minor reformatting. | |
714 | ||
715 | * freeze.adb (Check_Address_Clause): Remove previous change, not the | |
716 | right way of doing things after all. | |
717 | (Freeze_Entity): For object, set Is_Public for imported entities | |
718 | unless there is an address clause present. | |
719 | ||
2494e673 OH |
720 | 2004-09-21 Olivier Hainque <hainque@act-europe.fr> |
721 | ||
722 | * decl.c (gnat_to_gnu_entity) <E_General_Access_Type>: Check for a | |
723 | dummy designated type via TYPE_MODE instead of COMPLETE_TYPE_P. This | |
724 | ensures proper handling of types with rep clauses, which might have | |
725 | their TYPE_SIZE set already. | |
726 | ||
910d20fc RD |
727 | 2004-09-21 Robert Dewar <dewar@gnat.com> |
728 | ||
729 | * decl.c (gnat_to_gnu_type, case E_Modular_Integer_Type): Wrap modular | |
730 | packed array types in both little- and big-endian cases. This change | |
731 | ensures that we no longer count on the unused bits being initialized | |
732 | for such types (and in particular ensures that equality testing will | |
733 | only read the relevant bits). | |
734 | Change name TYPE_LEFT_JUSTIFIED_MODULAR_P to TYPE_JUSTIFIED_MODULAR_P | |
735 | These changes mean that we no longer need to initialize small packed | |
736 | arrays. | |
737 | (gnat_to_gnu_entity) <E_Record_Subtype>: Apply the same | |
738 | optimization to an LJM field as to its parent field. | |
739 | ||
740 | * ada-tree.h, trans.c, utils.c, utils2.c: | |
741 | Change name TYPE_LEFT_JUSTIFIED_MODULAR_P to TYPE_JUSTIFIED_MODULAR_P | |
742 | ||
8f235343 JH |
743 | 2004-09-20 Jan Hubicka <jh@suse.cz> |
744 | ||
745 | * utils.c (gnat_finalize): Remove. | |
746 | (end_subprog_body): Directly call cgraph_finalize_function; | |
747 | do not lower the nested functions. | |
748 | ||
bb9be5eb RD |
749 | 2004-09-20 Robert Dewar <dewar@gnat.com> |
750 | ||
751 | PR ada/17540 | |
752 | ||
753 | * freeze.adb (Check_Address_Clause): Reset Is_Imported and Is_Public | |
754 | if an address clause is present, since that means that the Import | |
755 | should be ignored. | |
756 | ||
796ef2e2 AC |
757 | 2004-09-20 Arnaud Charlet <charlet@act-europe.fr> |
758 | ||
759 | * 5tsystem.ads: Removed, no longer used. | |
760 | ||
6615c446 JO |
761 | 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com> |
762 | Zack Weinberg <zack@codesourcery.com> | |
763 | ||
764 | * ada-tree.def: Use tree_code_class enumeration constants | |
765 | instead of code letters. | |
766 | * ada-tree.h, decl.c, misc.c, trans.c, utils.c, utils2.c: | |
767 | Update for new tree-class enumeration constants. | |
768 | ||
93ed8a01 VC |
769 | 2004-09-17 Vincent Celier <celier@gnat.com> |
770 | ||
771 | * prj-attr-pm.ads, prj-attr-pm.adb: New files, to split some private | |
772 | capabilities of the general project manager. | |
773 | ||
c885d7a1 AC |
774 | 2004-09-09 Vincent Celier <celier@gnat.com> |
775 | ||
776 | * a-direct.ads: Add pragma Ada_05 | |
777 | (Directory_Entry_Type): Give default value to component Kind to avoid | |
778 | not initialized warnings. | |
779 | ||
780 | * a-direct.adb (Current_Directory): Remove directory separator at the | |
781 | end. | |
782 | (Delete_Directory, Delete_Tree): Raise Name_Error if Directory is not | |
783 | an existing directory. | |
784 | (Fetch_Next_Entry): Give default value to variable Kind to avoid warning | |
785 | (Size (String)): Function C_Size returns Long_Integer, not File_Size. | |
786 | Convert the result to File_Size. | |
787 | ||
788 | * prj.ads: (Project_Error): New exception | |
789 | ||
790 | * prj-attr.adb: Except in procedure Initialize, Fail comes from | |
791 | Prj.Com, not from Osint. | |
792 | (Attrs, Package_Attributes): Tables moved to private part of spec | |
793 | (Add_Attribute, Add_Unknown_Package): Moved to new child package | |
794 | Prj.Attr.PM. | |
795 | (Register_New_Package (Name, Attributes), Register_New_Attribute): Raise | |
796 | Prj.Project_Error after call to Fail. | |
797 | (Register_New_Package (Name, Id)): Set Id to Empty_Package after calling | |
798 | Fail. Check that package name is not already in use. | |
799 | ||
800 | * prj-attr.ads: Comment updates to indicate that all subprograms may be | |
801 | used by tools, not only by the project manager, and to indicate that | |
802 | exception Prj.Prj_Error may be raised in case of problem. | |
803 | (Add_Unknown_Package, Add_Attribute): Moved to new child package | |
804 | Prj.Attr.PM. | |
805 | (Attrs, Package_Attributes): Table instantiations moved from the body to | |
806 | the private part to be accessible from Prj.Attr.PM body. | |
807 | ||
808 | * prj-dect.adb (Parse_Package_Declaration): Call Add_Unknown_Package | |
809 | from new package Prj.Attr.PM. | |
810 | (Parse_Attribute_Declaration): Call Add_Attribute from new package | |
811 | Prj.Attr.PM. | |
812 | ||
813 | * Makefile.in: Add prj-attr-pm.o to gnatmake object list | |
814 | ||
815 | * gnatbind.adb (Gnatbind): Correct warning message (Elaboration_Check | |
816 | instead of Elaboration_Checks). | |
817 | ||
818 | * a-calend.adb: Minor reformatting | |
819 | ||
820 | 2004-09-09 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
821 | ||
822 | * gigi.h (maybe_pad_type): New declaration. | |
823 | (create_subprog_type): New arg RETURNS_BY_TARGET_PTR. | |
824 | ||
825 | * ada-tree.h: (TYPE_RETURNS_BY_TARGET_PTR_P): New macro. | |
826 | ||
827 | * cuintp.c: Convert to use buildN. | |
828 | ||
829 | * decl.c (maybe_pad_type): No longer static. | |
830 | (gnat_to_gnu_entity, case E_Function): Handle case of returning by | |
831 | target pointer. | |
832 | Convert to use buildN. | |
833 | ||
834 | * trans.c (call_to_gnu): Add arg GNU_TARGET; support | |
835 | TYPE_RETURNS_BY_TARGET_PTR_P. All callers changed. | |
836 | (gnat_to_gnu, case N_Assignment_Statement): Call call_to_gnu if call on | |
837 | RHS. | |
838 | (gnat_to_gnu, case N_Return): Handle TYPE_RETURN_BY_TARGET_PTR_P. | |
839 | (gnat_gimplify_expr, case ADDR_EXPR): New case. | |
840 | Convert to use buildN. | |
841 | ||
842 | * utils2.c (gnat_build_constructor): Also set TREE_INVARIANT and | |
843 | TREE_READONLY for const. | |
844 | Convert to use buildN. | |
845 | ||
846 | * utils.c (create_subprog_type): New operand RETURNS_BY_TARGET_PTR. | |
847 | (create_var_decl): Refine when TREE_STATIC is set. | |
848 | Convert to use buildN. | |
849 | ||
850 | 2004-09-09 Gary Dismukes <dismukes@gnat.com> | |
851 | ||
852 | * gnat_ugn.texi: Delete text relating to checking of ali and object | |
853 | consistency. | |
854 | ||
855 | * a-except.adb (Rcheck_*): Add pragmas No_Return for each of these | |
856 | routines. | |
857 | ||
858 | 2004-09-09 Jose Ruiz <ruiz@act-europe.fr> | |
859 | ||
860 | * gnat_ugn.texi: Add Detect_Blocking to the list of configuration | |
861 | pragmas recognized by GNAT. | |
862 | ||
863 | * gnat_rm.texi: Document pragma Detect_Blocking. | |
864 | ||
865 | * s-solita.adb (Timed_Delay_T): When pragma Detect_Blocking is active, | |
866 | raise Program_Error if called from a protected operation. | |
867 | ||
868 | * s-taprob.adb (Lock): When pragma Detect_Blocking is active increase | |
869 | the protected action nesting level. | |
870 | (Lock_Read_Only): When pragma Detect_Blocking is active increase the | |
871 | protected action nesting level. | |
872 | (Unlock): When pragma Detect_Blocking is active decrease the protected | |
873 | action nesting level. | |
874 | ||
875 | * s-taskin.adb (Initialize_ATCB): Initialize to 0 the | |
876 | Protected_Action_Nesting. | |
877 | ||
878 | * s-taskin.ads: Adding the field Protected_Action_Nesting to the | |
879 | Common_ATCB record. It contains the dynamic level of protected action | |
880 | nesting for each task. It is needed for checking whether potentially | |
881 | blocking operations are called from protected operations. | |
882 | (Detect_Blocking): Adding a Boolean constant reflecting whether pragma | |
883 | Detect_Blocking is active or not in the partition. | |
884 | ||
885 | * s-tasren.adb (Call_Simple): When pragma Detect_Blocking is active, | |
886 | raise Program_Error if called from a protected operation. | |
887 | (Task_Entry_Call): When pragma Detect_Blocking is active, raise | |
888 | Program_Error if called from a protected operation. | |
889 | (Timed_Task_Entry_Call): When pragma Detect_Blocking is active, raise | |
890 | Program_Error if called from a protected operation. | |
891 | ||
892 | * s-tassta.adb (Abort_Tasks): When pragma Detect_Blocking is active, | |
893 | raise Program_Error if called from a protected operation. | |
894 | ||
895 | * s-tpoben.adb (Lock_Entries): When pragma Detect_Blocking is active, | |
896 | raise Program_Error if called from a protected operation, and increase | |
897 | the protected action nesting level. | |
898 | (Lock_Read_Only_Entries): When pragma Detect_Blocking is active, raise | |
899 | Program_Error if called from a protected operation, and increase the | |
900 | protected action nesting level. | |
901 | (Unlock_Entries): When pragma Detect_Blocking is active decrease the | |
902 | protected action nesting level. | |
903 | ||
904 | * s-tposen.adb (Lock_Entry): When pragma Detect_Blocking is active, | |
905 | raise Program_Error if called from a protected operation, and increase | |
906 | the protected action nesting level. | |
907 | (Lock_Read_Only_Entry): When pragma Detect_Blocking is active, raise | |
908 | Program_Error if called from a protected operation, and increase the | |
909 | protected action nesting level. | |
910 | (Protected_Single_Entry_Call): When pragma Detect_Blocking is active, | |
911 | raise Program_Error if called from a protected operation. | |
912 | (Timed_Protected_Single_Entry_Call): When pragma Detect_Blocking is | |
913 | active, raise Program_Error if called from a protected operation. | |
914 | (Unlock_Entry): When pragma Detect_Blocking is active decrease the | |
915 | protected action nesting level. | |
916 | ||
917 | * sem_util.adb (Check_Potentially_Blocking_Operation): Remove the | |
918 | insertion of the statement raising Program_Error. The run time | |
919 | contains the required machinery for handling that. | |
920 | ||
921 | * sem_util.ads: Change comment associated to procedure | |
922 | Check_Potentially_Blocking_Operation. | |
923 | This procedure does not insert a call for raising the exception because | |
924 | that is currently done by the run time. | |
925 | ||
926 | * raise.h (__gnat_set_globals): Pass the detect_blocking parameter. | |
927 | ||
928 | * init.c: Add the global variable __gl_detect_blocking that indicates | |
929 | whether pragma Detect_Blocking is active (1) or not (0). Needed for | |
930 | making the pragma available at run time. | |
931 | (__gnat_set_globals): Pass and update the detect_blocking parameter. | |
932 | ||
933 | * lib-writ.adb (Write_ALI): Set the DB flag in the ali file if | |
934 | pragma Detect_Blocking is active. | |
935 | ||
936 | * lib-writ.ads: Document the Detect_Blocking flag (DB) in ali files. | |
937 | ||
938 | * ali.adb (Scan_ALI): Set the Detect_Blocking value to true if the flag | |
939 | DB is found in the ali file. Any unit compiled with pragma | |
940 | Detect_Blocking active forces its effect in the whole partition. | |
941 | ||
942 | * a-retide.adb (Delay_Until): Raise Program_Error if pragma | |
943 | Detect_Blocking is active and delay is called from a protected | |
944 | operation. | |
945 | ||
946 | * bindgen.adb (Gen_Adainit_Ada): When generating the call to | |
947 | __gnat_set_globals, pass 1 as Detect_Blocking parameter if pragma | |
948 | Detect_Blocking is active (0 otherwise). | |
949 | (Gen_Adainit_C): When generating the call to __gnat_set_globals, pass 1 | |
950 | as Detect_Blocking parameter if pragma Detect_Blocking is active (0 | |
951 | otherwise). | |
952 | ||
953 | 2004-09-09 Thomas Quinot <quinot@act-europe.fr> | |
954 | ||
955 | * gnat_rm.texi: Rename GNAT.Perfect_Hash.Generators to | |
956 | GNAT.Perfect_Hash_Generators, and remove the empty GNAT.Perfect_Hash | |
957 | package. | |
958 | ||
959 | * s-parint.ads, s-parint.adb (Get_RAS_Info): New subprogram. | |
960 | (Register_Receiving_Stub): Add Subp_Info formal parameter. | |
961 | Update API in placeholder implemetation of s-parint to reflect changes | |
962 | in distribution runtime library. | |
963 | ||
964 | * sem_ch3.adb (Expand_Derived_Record): Rename to | |
965 | Expand_Record_Extension. | |
966 | ||
967 | * sem_disp.adb (Check_Controlling_Formals): Improve error message for | |
968 | primitive operations of potentially distributed object types that have | |
969 | non-controlling anonymous access formals. | |
970 | ||
971 | * sem_dist.ads, sem_dist.adb (Build_RAS_Primitive_Specification): New | |
972 | subprogram. | |
973 | New implementation of expansion for remote access-to-subprogram types, | |
974 | based on the RACW infrastructure. | |
975 | This version of sem_dist is compatible with PolyORB/DSA as well as | |
976 | GLADE. | |
977 | ||
978 | * sem_prag.adb (Analyze_Pragma, case Pragma_Asynchronous): For a pragma | |
979 | Asynchrronous that applies to a remote access-to-subprogram type, mark | |
980 | the underlying RACW type as asynchronous. | |
981 | ||
982 | * link.c: FreeBSD uses GNU ld: set __gnat_objlist_file_supported and | |
983 | __gnat_using_gnu_linker to 1. | |
984 | ||
985 | * Makefile.rtl, impunit.adb, g-perhas.ads, g-pehage.ads, | |
986 | g-pehage.adb: Rename GNAT.Perfect_Hash.Generators to | |
987 | GNAT.Perfect_Hash_Generators, and remove the empty | |
988 | GNAT.Perfect_Hash package. | |
989 | ||
990 | * atree.adb: Minor reformatting | |
991 | ||
992 | * exp_ch3.adb (Expand_Derived_Record): Rename to | |
993 | Expand_Record_Extension. | |
994 | (Build_Record_Init_Proc.Build_Assignment): The default expression in | |
995 | a component declaration must remain attached at that point in the | |
996 | tree so New_Copy_Tree copies it if the enclosing record type is derived. | |
997 | It is therefore necessary to take a copy of the expression when building | |
998 | the corresponding assignment statement in the init proc. | |
999 | As a side effect, in the case of a derived record type, we now see the | |
1000 | original expression, without any rewriting that could have occurred | |
1001 | during expansion of the ancestor type's init proc, and we do not need | |
1002 | to go back to Original_Node. | |
1003 | ||
1004 | * exp_ch3.ads (Expand_Derived_Record): Rename to | |
1005 | Expand_Record_Extension. | |
1006 | ||
1007 | * exp_dist.ads, exp_dist.adb (Underlying_RACW_Type): New subprogram. | |
1008 | Returns the RACW type used to implement a remote access-to-subprogram | |
1009 | type. | |
1010 | (Add_RAS_Proxy_And_Analyze, Build_Remote_Subprogram_Proxy_Type): | |
1011 | New subprograms. Used to create a proxy tagged object for a remote | |
1012 | subprogram. The proxy object is used as the designated object | |
1013 | for RAS values on the same partition (unless All_Calls_Remote applies). | |
1014 | (Build_Get_Unique_RP_Call): New subprogram. Build a call to | |
1015 | System.Partition_Interface.Get_Unique_Remote_Pointer. | |
1016 | (Add_RAS_Access_TSS, Add_RAS_Dereference_TSS): | |
1017 | Renamed from Add_RAS_*_Attribute. | |
1018 | (Add_Receiving_Stubs_To_Declarations): Generate a table of local | |
1019 | subprograms. | |
1020 | New implementation of expansion for remote access-to-subprogram types, | |
1021 | based on the RACW infrastructure. | |
1022 | ||
1023 | * exp_dist.ads (Copy_Specification): Update comment to note that this | |
1024 | function can copy the specification from either a subprogram | |
1025 | specification or an access-to-subprogram type definition. | |
1026 | ||
1027 | 2004-09-09 Ed Schonberg <schonberg@gnat.com> | |
1028 | ||
1029 | * sem_type.adb (Disambiguate): Handle properly an accidental ambiguity | |
1030 | in an instance, between an explicit subprogram an one inherited from a | |
1031 | type derived from an actual. | |
1032 | ||
1033 | * exp_ch6.adb (Expand_N_Subprogram_Body): If polling is enabled, do not | |
1034 | add a polling call if the subprogram is to be inlined by the back-end, | |
1035 | to avoid repeated calls with multiple inlinings. | |
1036 | ||
1037 | * checks.adb (Apply_Alignment_Check): If the expression in the address | |
1038 | clause is a call whose name is not a static entity (e.g. a dispatching | |
1039 | call), treat as dynamic. | |
1040 | ||
1041 | 2004-09-09 Robert Dewar <dewar@gnat.com> | |
1042 | ||
1043 | * g-trasym.ads: Minor reformatting | |
1044 | ||
1045 | * exp_ch3.adb (Component_Needs_Simple_Initialization): Don't except | |
1046 | packed arrays, since unused bits are expected to be zero for a | |
1047 | comparison. | |
1048 | ||
1049 | 2004-09-09 Eric Botcazou <ebotcazou@act-europe.fr> | |
1050 | ||
1051 | * exp_pakd.ads: Fix an inacurracy and a couple of typos in the head | |
1052 | comment. | |
1053 | ||
1054 | 2004-09-09 Pascal Obry <obry@gnat.com> | |
1055 | ||
1056 | * mdll.ads, mdll.adb (Build_Dynamic_Library): New parameter Map_File to | |
1057 | enable map file generation. Add the right option to generate the map | |
1058 | file if Map_File is set to True. | |
1059 | ||
1060 | * gnatdll.adb (Gen_Map_File): New variable. | |
1061 | (Syntax): Add info about new -m (Map_File) option. | |
1062 | (Parse_Command_Line): Add support for -m option. | |
1063 | (gnatdll): Pass Gen_Map_File to Build_Dynamic_Library calls. | |
1064 | Minor reformatting. | |
1065 | ||
1066 | 2004-09-09 Laurent Pautet <pautet@act-europe.fr> | |
1067 | ||
1068 | * gnatls.adb: Add a very verbose mode -V. Such mode is required by the | |
1069 | new gnatdist implementation. | |
1070 | Define a subpackage isolating the output routines specific to this | |
1071 | verbose mode. | |
1072 | ||
1073 | 2004-09-09 Joel Brobecker <brobecker@gnat.com> | |
1074 | ||
1075 | * Makefile.rtl: (GNATRTL_NONTASKING_OBJS): Add g-dynhta. | |
1076 | ||
1077 | * gnat_ugn.texi (Main Subprograms): Fix typo. Deduced, not deducted. | |
1078 | ||
1079 | 2004-09-09 Cyrille Comar <comar@act-europe.fr> | |
1080 | ||
1081 | * opt.adb (Set_Opt_Config_Switches): Use Ada_Version_Runtime to compile | |
1082 | internal unit. | |
1083 | ||
1084 | * opt.ads: Add Ada_Version_Runtime constant used to decide which | |
1085 | version of the language is used to compile the run time. | |
1086 | ||
1087 | 2004-09-09 Arnaud Charlet <charlet@act-europe.fr> | |
1088 | ||
1089 | * sem_util.adb (Requires_Transient_Scope): Re-enable handling | |
1090 | of variable length temporaries for function return now that the | |
1091 | back-end and gigi support it. | |
1092 | ||
23c7b149 | 1093 | 2004-09-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6cdb2c6e AC |
1094 | |
1095 | * misc.c (gnat_print_type): Use TYPE_RM_SIZE_NUM. | |
1096 | ||
1097 | * trans.c (struct stmt_group): Delete field GLOBAL. | |
1098 | (gnat_init_stmt_group): Do not initialize it. | |
1099 | (call_to_gnu): Use save_expr, not protect_multiple_eval. | |
1100 | (Exception_Handler_to_gnu_sjlj): Call build_int_cst, not build_int_2 | |
1101 | (gnat_to_gnu, case N_Character_Literal, N_String_Literal): Likewise. | |
1102 | (gnat_to_gnu, case N_Compilation_Unit): Do not set GLOBAL in stmt group. | |
1103 | (start_stmt_group): Likewise. | |
1104 | (add_stmt, add_decl_expr): Rework handling of global DECL_EXPRs. | |
1105 | ||
1106 | * utils2.c (ggc.h): Include. | |
1107 | (build_call_raise): Call build_int_cst, not build_int_2. | |
1108 | ||
1109 | * utils.c (gnat_init_decl_processing): Fix arg to | |
1110 | build_common_tree_nodes. | |
1111 | (create_subprog_type): Do not use SET_TYPE_CI_CO_LIST. | |
1112 | (gnat_define_builtin): Set built_in_decls. | |
1113 | (init_gigi_decls): Call build_int_cst, not build_int_2. | |
1114 | ||
1115 | * ada-tree.h (struct lang_decl, struct lang_type): Field is type tree. | |
1116 | (GET_TYPE_LANG_SPECIFIC, SET_TYPE_LANG_SPECIFIC): New macros. | |
1117 | (GET_DECL_LANG_SPECIFIC, SET_DECL_LANG_SPECIFIC): Likewise. | |
1118 | (TYPE_CI_CO_LIST, SET_TYPE_CI_CO_LIST, TYPE_MODULE, | |
1119 | SET_TYPE_MODULE): Use them. | |
1120 | (TYPE_INDEX_TYPE, SET_TYPE_INDEX_TYPE, TYPE_DIGITS_VALUE): Likewise. | |
1121 | (SET_TYPE_DIGITS_VALUE, TYPE_UNCONSTRAINED_ARRAY): Likewise. | |
1122 | (SET_TYPE_UNCONSTRAINED_ARRAY, TYPE_ADA_SIZE, | |
1123 | SET_TYPE_ADA_SIZE): Likewise. | |
1124 | (TYPE_ACTUAL_BOUNDS, SET_TYPE_ACTUAL_BOUNDS): Likewise. | |
1125 | (DECL_CONST_CORRESPONDING_VAR, | |
1126 | SET_DECL_CONST_CORRESPONDING_VAR): Likewise. | |
1127 | (DECL_ORIGINAL_FIELD, SET_DECL_ORIGINAL_FIELD): Likewise. | |
1128 | (TYPE_RM_SIZE_INT, TYPE_RM_SIZE_ENUM, SET_TYPE_RM_SIZE_ENUM): Deleted. | |
1129 | (TYPE_RM_SIZE_NUM): New macro. | |
1130 | (TYPE_RM_SIZE): Modified to use above. | |
1131 | ||
1132 | * cuintp.c: (build_cst_from_int): New function. | |
1133 | (UI_To_gnu): Use it. | |
1134 | ||
1135 | * decl.c (gnat_to_gnu_entity): Use TYPE_RM_SIZE_NUM. | |
1136 | (make_type_from_size): Avoid changing TYPE_UNSIGNED of a type. | |
1137 | (gnat_substitute_in_type, case ARRAY_TYPE): If old had a | |
1138 | MIN_EXPR for the size, copy it into new. | |
1139 | ||
23c7b149 | 1140 | 2004-09-01 Robert Dewar <dewar@gnat.com> |
6cdb2c6e AC |
1141 | |
1142 | * exp_ch6.adb (Expand_Call): Properly handle validity checks for | |
1143 | packed indexed component where array is an IN OUT formal. This | |
1144 | generated garbage code previously. | |
1145 | ||
1146 | * gnat_ugn.texi: Document -fverbose-asm | |
1147 | ||
1148 | * gnat-style.texi: Minor updates (note that boolean constants and | |
1149 | variables are joined with AND/OR rather than short circuit forms). | |
1150 | ||
23c7b149 | 1151 | 2004-09-01 Ed Schonberg <schonberg@gnat.com> |
6cdb2c6e AC |
1152 | |
1153 | * exp_util.adb (Safe_Unchecked_Type_Conversion): Conversion is safe if | |
1154 | it is an upward conversion of an untagged type with no representation | |
1155 | change. | |
1156 | ||
23c7b149 | 1157 | 2004-09-01 Thomas Quinot <quinot@act-europe.fr> |
6cdb2c6e AC |
1158 | |
1159 | * rtsfind.ads: Move RCI_Subp_Info and RCI_Subp_Info_Array to | |
1160 | System.Partition_Interface. | |
1161 | ||
1162 | * checks.adb (Apply_Access_Checks): Do not generate checks when | |
1163 | expander is not active (but check for unset reference to prefix of | |
1164 | dereference). | |
1165 | ||
1166 | * sem_prag.adb (Analyze_Pragma, case Pragma_Debug): Uniformly rewrite | |
1167 | pragma Debug as an if statement with a constant condition, for | |
1168 | consistent treatment of entity references contained within the | |
1169 | enclosed procedure call. | |
1170 | ||
23c7b149 | 1171 | 2004-09-01 Vincent Celier <celier@gnat.com> |
6cdb2c6e AC |
1172 | |
1173 | * bindgen.adb: (Set_EA_Last): New procedure | |
1174 | (Gen_Exception_Table_Ada, Gen_Exception_Table_C): Use new procedure | |
1175 | Set_EA_Last. | |
1176 | (Gen_Adafinal_Ada): If no finalization, adafinal does nothing | |
1177 | (Gen_Output_File_Ada): Always call Gen_Adafinal_Ada, so that SAL can be | |
1178 | linked without errors. | |
1179 | (Gen_Exception_Table_Ada): Correct bugs when generating code for arrays | |
1180 | ST and EA. | |
1181 | (Gen_Exception_Table_C): Correct same bugs | |
1182 | ||
1183 | * vms_data.ads: Add new qualifier /VERBOSE_ASM to GCC_Switches | |
1184 | ||
1185 | * g-os_lib.adb (Normalize_Pathname.Get_Directory): When Dir is empty, | |
1186 | on Windows, make sure that the drive letter is in upper case. | |
1187 | ||
1188 | * g-os_lib.ads (Normalize_Pathname): Add a comment to indicate that on | |
1189 | Windows, when the drive letter is added and Case_Sensitive is True, the | |
1190 | drive letter is forced to upper case. | |
1191 | ||
1192 | * mlib-tgt-irix.adb (Build_Dynamic_Library): Transfer all -lxxx options | |
1193 | to Options_2 for the call to MLib.Utl.Gcc. | |
1194 | ||
1195 | * bld.adb (Put_Include_Project): Use '/', not '\' on Windows as | |
1196 | directory separator when defining BASE_DIR. | |
1197 | ||
23c7b149 | 1198 | 2004-09-01 Pascal Obry <obry@gnat.com> |
6cdb2c6e AC |
1199 | |
1200 | * gprcmd.adb (Extend): Do not output trailing directory separator. This | |
1201 | is not needed and it confuses Windows GNU/make which does not report | |
1202 | directory terminated by a slash as a directory. | |
1203 | (gprcmd): Idem for "pwd" internal command. | |
1204 | ||
1205 | * Makefile.generic: Use __GPRCOLON__ instead of pipe character in | |
1206 | target names rewrite to fix regressions with recent version of | |
1207 | GNU/make. Starting with GNU/make 3.80 the pipe character was not | |
1208 | handled properly anymore. | |
1209 | ||
4eb104c1 AS |
1210 | 2004-09-01 Andreas Schwab <schwab@suse.de> |
1211 | ||
1212 | * Make-lang.in (EXTRA_GNATBIND_OBJS): Revert last change. | |
1213 | * raise.c [!IN_RTS]: Undef abort. | |
1214 | ||
6a6bfc8e NS |
1215 | 2004-08-27 Nathan Sidwell <nathan@codesourcery.com> |
1216 | ||
ce552f75 NS |
1217 | * utils2.c (build_allocator): Use ssize_int. |
1218 | ||
6a6bfc8e NS |
1219 | * utils.c (gnat_init_decl_processing): Ada has a signed sizetype. |
1220 | ||
f8b7bf58 AS |
1221 | 2004-08-27 Andreas Schwab <schwab@suse.de> |
1222 | ||
1223 | * Make-lang.in (EXTRA_GNATBIND_OBJS): Add errors.o. | |
1224 | ||
15793d0c NS |
1225 | 2004-08-25 Nathan Sidwell <nathan@codesourcery.com> |
1226 | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6615c446 | 1227 | |
15793d0c NS |
1228 | * ada-tree.h (TYPE_RM_SIZE_INT): Use TYPE_LANG_SLOT_1. |
1229 | ||
7d60be94 NS |
1230 | 2004-08-25 Nathan Sidwell <nathan@codesourcery.com> |
1231 | ||
1232 | * cuintp.c (UI_To_gnu): Adjust build_int_cst calls. | |
1233 | * trans.c (Exception_Handler_to_gnu_sjlj, gnat_to_gnu): Likewise. | |
1234 | * utils.c (init_gigi_decls): Likewise. | |
1235 | * utils2.c (build_call_raise, build_allocator): Likewise. | |
6615c446 | 1236 | |
8c1d6d62 NS |
1237 | 2004-08-24 Nathan Sidwell <nathan@codesourcery.com> |
1238 | ||
7d60be94 | 1239 | * utils.c (gnat_init_decl_processing): Adjust |
8c1d6d62 NS |
1240 | build_common_tree_nodes call. |
1241 | ||
3224bead NS |
1242 | 2004-08-20 Nathan Sidwell <nathan@codesourcery.com> |
1243 | ||
1244 | * utils2.c (build_allocator): Use build_int_cst for negative | |
1245 | size types. | |
1246 | ||
4766261d RH |
1247 | 2004-08-18 Richard Henderson <rth@redhat.com> |
1248 | ||
1249 | * misc.c (LANG_HOOKS_HONOR_READONLY): Remove. | |
1250 | ||
1f6c00df NS |
1251 | 2004-08-16 Nathan Sidwell <nathan@codesourcery.com> |
1252 | ||
1253 | * cuintp.c (UI_To_gnu): Be more conservative with build_int_cst | |
1254 | call.s | |
1255 | * trans.c (Exception_Handler_to_gnu_sjlj): Likewise. | |
1256 | (gnat_to_gnu): Likewise. | |
1257 | ||
4c46b835 AC |
1258 | 2004-08-16 Pascal Obry <obry@gnat.com> |
1259 | ||
1260 | * adaint.c (__gnat_prj_add_obj_files): Set to 0 only on Win32 for GCC | |
1261 | backend prior to GCC 3.4. With GCC 3.4 we are using the GCC's shared | |
1262 | option and not mdll anymore. Update comment. | |
1263 | ||
1264 | 2004-08-16 Pascal Obry <obry@gnat.com> | |
1265 | ||
1266 | * bld.adb (Put_Include_Project): Properly handle directory separators | |
1267 | on Windows. | |
1268 | ||
1269 | 2004-08-16 Ed Schonberg <schonberg@gnat.com> | |
1270 | ||
1271 | * sem_ch4.adb (Try_Object_Operation): Restructure code. Optimize by | |
1272 | decreasing the number of allocated junk nodes while searching for the | |
1273 | appropriate subprogram. | |
1274 | ||
4a90aeeb NS |
1275 | 2004-08-15 Nathan Sidwell <nathan@codesourcery.com> |
1276 | ||
1277 | * cuintp.c (UI_To_gnu): Use build_int_cst.. | |
1278 | * trans.c (Exception_Handler_to_gnu_sjlj, gnat_to_gnu): Likewise. | |
1279 | * utils.c (init_gigi_decls): Likewise. | |
1280 | * utils2.c (build_call_raise): Likewise. | |
1281 | ||
244e5a2c AC |
1282 | 2004-08-13 Olivier Hainque <hainque@act-europe.fr> |
1283 | ||
1284 | * decl.c (gnat_to_gnu_entity) <E_Variable>: When building an allocator | |
1285 | for a global aliased object with a variable size and an unconstrained | |
1286 | nominal subtype, pretend there is no initializer if the one we have is | |
1287 | incomplete, and avoid referencing an inexistant component in there. The | |
1288 | part we have will be rebuilt anyway and the reference may confuse | |
1289 | further operations. | |
1290 | ||
1291 | 2004-08-13 Thomas Quinot <quinot@act-europe.fr> | |
1292 | ||
1293 | * einfo.ads: Minor reformatting | |
1294 | ||
1295 | * lib-writ.adb (Output_Main_Program_Line): Do not set parameter | |
1296 | restrictions in the ALI if we only want to warn about violations. | |
1297 | ||
1298 | 2004-08-13 Vincent Celier <celier@gnat.com> | |
1299 | ||
1300 | * ali.adb (Scan_ALI): Initialize component Body_Needed_For_SAL to False | |
1301 | when creating a new Unit_Record in table Units. | |
1302 | ||
1303 | * gnatls.adb (Output_Unit): In verbose mode, output the restrictions | |
1304 | that are violated, if any. | |
1305 | ||
1306 | * prj-nmsc.adb (Ada_Check.Get_Path_Names_And_Record_Sources): Do not | |
1307 | add directory separator if path already ends with a directory separator. | |
1308 | ||
1309 | 2004-08-13 Ed Schonberg <schonberg@gnat.com> | |
1310 | ||
1311 | * rtsfind.adb (Entity_Not_Defined): If the error ocurrs in a predefined | |
1312 | unit, this is an attempt to inline a construct that is not available in | |
1313 | the current restricted mode, so abort rather than trying to continue. | |
1314 | ||
1315 | * sem_ch3.adb (Build_Underlying_Full_View): If the new type has | |
1316 | discriminants that rename those of the parent, recover names of | |
1317 | original discriminants for the constraint on the full view of the | |
1318 | parent. | |
1319 | (Complete_Private_Subtype): Do not create a subtype declaration if the | |
1320 | subtype is an itype. | |
1321 | ||
1322 | * gnat_rm.texi: Added section on implementation of discriminated | |
1323 | records with default values for discriminants. | |
1324 | ||
1325 | 2004-08-13 Ed Schonberg <schonberg@gnat.com> | |
1326 | ||
1327 | PR ada/15601 | |
1328 | * sem_res.adb (Make_Call_Into_Operator): Handle properly the case where | |
1329 | the second operand is overloaded. | |
1330 | ||
1a186ec5 RH |
1331 | 2004-08-10 Richard Henderson <rth@redhat.com> |
1332 | ||
1333 | * utils.c (gnat_install_builtins): Remove __builtin_stack_alloc, | |
1334 | add __builtin_alloca. | |
1335 | ||
89f1a702 RH |
1336 | 2004-08-10 Richard Henderson <rth@redhat.com> |
1337 | ||
1338 | * config-lang.in (boot_language): Yes. | |
1339 | ||
5d09245e AC |
1340 | 2004-08-09 Thomas Quinot <quinot@act-europe.fr> |
1341 | ||
1342 | * g-socket.adb (Abort_Selector): Initialize Buf to prevent valgrind | |
1343 | from complaining on potential uninitialized reference. | |
1344 | Change calls to GNAT.Sockets.Thin.Is_Socket_In_Set to account for | |
1345 | new specification and test explicitly for non-zero return value. | |
1346 | ||
1347 | * g-socthi.ads (Is_Socket_In_Set): Declare imported function as | |
1348 | returning C.int, to avoid using a derived boolean type. | |
1349 | ||
1350 | * exp_ch5.adb (Make_Tag_Ctrl_Assignments): Use | |
1351 | Duplicate_Subexpr_No_Checks in preference to direct use of | |
1352 | Remove_Side_Effects and New_Copy_Tree. | |
1353 | Clear Comes_From_Source on prefix of 'Size attribute reference. | |
1354 | ||
1355 | * g-socthi.adb, g-socthi-vms.adb, g-socthi-mingw.adb, | |
1356 | g-socthi-vxworks.adb: Change calls to | |
1357 | GNAT.Sockets.Thin.Is_Socket_In_Set to account for new specification | |
1358 | and test explicitly for non-zero return value. | |
1359 | ||
6615c446 | 1360 | * g-socthi-vms.ads, g-socthi-mingw.ads, g-socthi-vxworks.ads: |
5d09245e AC |
1361 | (Is_Socket_In_Set): Declare imported function as returning C.int, to |
1362 | avoid using a derived boolean type. | |
1363 | ||
1364 | 2004-08-09 Albert Lee <lee@gnat.com> | |
1365 | ||
1366 | * system-irix-n32.ads: Refine tasking priority constants for IRIX. | |
1367 | ||
1368 | 2004-08-09 Pascal Obry <obry@gnat.com> | |
1369 | ||
1370 | * gnat_ugn.texi: Document new way to build DLLs on Windows using | |
1371 | GCC's -shared option. | |
1372 | ||
1373 | * mlib-tgt-mingw.adb (Build_Dynamic_Library): Pass GCC's options into | |
1374 | Options_2 parameter (options put after object files). | |
1375 | ||
1376 | 2004-08-09 Olivier Hainque <hainque@act-europe.fr> | |
1377 | ||
1378 | * decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Adjust condition to | |
1379 | ignore overflows on low and high bounds of an index to also account for | |
1380 | differences in signedness between sizetype and gnu_index_subtype. | |
1381 | These are as legitimate as the ones caused by a lower TYPE_PRECISION | |
1382 | on sizetype. | |
1383 | ||
1384 | 2004-08-09 Robert Dewar <dewar@gnat.com> | |
1385 | ||
1386 | * s-solita.ads, s-solita.adb: Minor reformatting | |
1387 | ||
1388 | * gnat_rm.texi: Add documentation for pragma Profile (Restricted) | |
1389 | Move pragma Restricted_Run_Time, No_Run_Time, Ravenscar to new | |
1390 | obsolescent section | |
1391 | Add note that No_Implicit_Conditionals does not suppress | |
1392 | run time constraint checks. | |
1393 | ||
1394 | * vms_conv.ads: Minor reformatting | |
1395 | ||
1396 | * s-secsta.adb: Use SS_Ptr instead of Mark_Id as stack pointer (cleanup | |
1397 | and necessary for following change). | |
1398 | (Mark): Return new format Mark_Id containing sec stack address | |
1399 | (Release): Use sec stack address from Mark_Id avoiding Self call | |
1400 | ||
1401 | * s-secsta.ads: Define SS_Ptr to be used instead of Mark_Id as stack | |
1402 | pointer (cleanup and necessary for following change). | |
1403 | Define Mark_Id as record containing address of secondary stack, that way | |
1404 | Release does not need to find the stack again, decreasing the number of | |
1405 | calls to Self and improving efficiency. | |
1406 | ||
1407 | * sem_util.ads: Add a ??? comment for Is_Local_Variable_Reference | |
1408 | ||
1409 | * sem_ch5.adb (Analyze_Case_Statement): Add circuitry to track value of | |
1410 | case variable into the individual case branches when possible. | |
1411 | ||
1412 | * sem_ch11.adb: Minor reformatting | |
1413 | ||
1414 | * prj.ads: Correct spelling of suffixs | |
1415 | ||
1416 | * prj-nmsc.adb: Minor reformatting | |
1417 | Correct spelling suffixs throughout (also in identifiers) | |
1418 | ||
1419 | * freeze.adb: Minor spelling correction | |
1420 | ||
1421 | * exp_ch2.adb: Cleanups to handling of Current_Value | |
1422 | (no functional effect). | |
1423 | ||
1424 | * bld.adb: Correct spelling of suffixs | |
1425 | ||
1426 | * einfo.adb (Enclosing_Dynamic_Scope): Defend against junk argument | |
1427 | ||
1428 | 2004-08-09 Ed Schonberg <schonberg@gnat.com> | |
1429 | ||
1430 | PR ada/15408 | |
1431 | ||
1432 | * sem_ch7.adb (Install_Private_Declarations): In the body of the | |
1433 | package or of a child, private entities are both immediately_visible | |
1434 | and not hidden. | |
1435 | ||
1436 | 2004-08-09 Ed Schonberg <schonberg@gnat.com> | |
1437 | ||
1438 | * sem_eval.adb (Eval_Integer_Literal): If the context is Any_Integer, | |
1439 | there are no range checks on the value of the literal. | |
1440 | ||
1441 | * exp_ch7.adb (Insert_Actions_In_Scope_Around): If the node being | |
1442 | wrapped is the triggering alternative of an asynchronous select, action | |
1443 | statements mustbe inserted before the select itself. | |
1444 | ||
1445 | * sem_attr.adb (Analyze_Attribute, case 'Size): Handle properly the | |
1446 | case where the prefix is a protected function call. | |
1447 | (Resolve_Attribute, case 'Access): The attribute reference on a | |
1448 | subprogram is legal in a generic body if the subprogram is declared | |
1449 | elsewhere. | |
1450 | ||
1451 | 2004-08-09 Vincent Celier <celier@gnat.com> | |
1452 | ||
1453 | * makegpr.adb (Build_Library): Link with g++ if C++ is one of the | |
1454 | languages, otherwise building the library may fail with unresolved | |
1455 | symbols. | |
1456 | (Compile_Sources): Do not build libraries if -c switch is used | |
1457 | ||
1458 | * gnatlink.adb (Process_Args): New switches -M and -Mmap | |
1459 | (Write_Usage): If map file creation is supported, output new switches | |
1460 | -M and -Mmap. | |
1461 | (Gnatlink): When -M is specified, add the necessary switch(es) to the | |
1462 | gcc call, when supported. | |
1463 | ||
1464 | * Makefile.in: Added indepsw.o to the object list for gnatlink | |
1465 | Specified the AIX, GNU/Linux and Windows versions of indepsw.adb | |
1466 | ||
1467 | * indepsw-aix.adb, indepsw-linux.adb, indepsw-mingw.adb, | |
1468 | indepsw.adb, indepsw.ads: New files. | |
1469 | ||
1470 | 2004-08-09 Bernard Banner <banner@gnat.com> | |
1471 | ||
1472 | * system-vxworks-x86.ads, s-vxwork-x86.ads: New files. | |
1473 | ||
1474 | * Makefile.in: add section for vxworks x86 | |
1475 | ||
1476 | 2004-08-09 Hristian Kirtchev <kirtchev@gnat.com> | |
1477 | ||
1478 | * exp_ch3.adb (Build_Init_Statements): Add extra condition to deal with | |
1479 | per-object constrained components where the discriminant is of an | |
1480 | Access type. | |
1481 | (Build_Record_Init_Proc): Add condition to prevent the inheritance of | |
1482 | the parent initialization procedure for derived Unchecked_Unions. | |
1483 | Instead, derived Unchecked_Unions build their own initialization | |
1484 | procedure. | |
1485 | (Build_Variant_Record_Equality): Implement Unchecked_Union equality. | |
1486 | Check the body of the subprogram for details. | |
1487 | (Freeze_Record_Type): Prevent the inheritance of discriminant checking | |
1488 | functions for derived Unchecked_Union types by introducing a condition. | |
1489 | Allow the creation of TSS equality functions for Unchecked_Unions. | |
1490 | (Make_Eq_Case): Rename formal parameter Node to E in function signature. | |
1491 | Add formal parameter Discr to function signature. Discr is used to | |
1492 | control the generated case statement for Unchecked_Union types. | |
1493 | (Make_Eq_If): Rename formal parameter Node to E in function signature. | |
1494 | ||
1495 | * exp_ch4.adb (Build_Equality_Call): Implement equality calls for | |
1496 | Unchecked_Unions. | |
1497 | Check the body of the subprogram for details. | |
1498 | (Expand_Composite_Equality): Augment composite type equality to include | |
1499 | correct handling of Unchecked_Union components. | |
1500 | (Expand_N_In): Add condition to detect illegal membership tests when the | |
1501 | subtype mark is a constrained Unchecked_Union and the expression lacks | |
1502 | inferable discriminants, and build a Raise_Program_Error node. | |
1503 | (Expand_N_Op_Eq): Add function Has_Unconstrained_UU_Component. Used | |
1504 | to detect types that contain components of unconstrained Unchecked_Union | |
1505 | subtype. Add condition to detect equality between types that have an | |
1506 | unconstrained Unchecked_Union component, and build a Raise_Program_Error | |
1507 | node. Add condition to detect equality between Unchecked_Union types | |
1508 | that lack inferable discriminants, and build a Raise_Program_Error node. | |
1509 | Otherwise build a TSS equality function call. | |
1510 | (Expand_N_Type_Conversion): Add condition to detect illegal conversions | |
1511 | from a derived Unchecked_Union to an unconstrained non-Unchecked_Union | |
1512 | with the operand lacking inferable discriminants, and build a Raise_ | |
1513 | Program_Error node. | |
1514 | (Expand_Record_Equality): Remove guard that prevents Unchecked_Union | |
1515 | composite equality. | |
1516 | (Has_Inferable_Discriminants): Implement new predicate for objects and | |
1517 | expressions of Unchecked_Union type. Check the body of subprogram for | |
1518 | details. | |
1519 | (Has_Unconstrained_UU_Components): Add function | |
1520 | Component_Is_Unconstrained_UU. It is used to detect whether a single | |
1521 | component is of an unconstrained Unchecked_Union subtype. Add function | |
1522 | Variant_Is_Unconstrained_UU. It is used to detect whether a single | |
1523 | component inside a variant is of an unconstrained Unchecked_Union type. | |
1524 | ||
1525 | * exp_ch5.adb (Expand_Assign_Record): Add condition to copy the | |
1526 | inferred discriminant values. Add condition to generate a case | |
1527 | statement with an inferred discriminant as the switch. | |
1528 | (Make_Component_List_Assign): Introduce a Boolean flag that determines | |
1529 | the behaviour of the subprogram in the presence of an Unchecked_Union. | |
1530 | Add condition to trigger the usage of the inferred discriminant value | |
1531 | as the generated case statement switch. | |
1532 | (Make_Field_Assign): Introduce a Boolean flag that determines the | |
1533 | behaviour of the subprogram in the presence of an Unchecked_Union. Add | |
1534 | condition to trigger the usage of the inferred discriminant value as | |
1535 | the right-hand side of the generated assignment. | |
1536 | ||
1537 | * exp_ch6.adb (Expand_Call): Add condition to skip extra actual | |
1538 | parameter generation when dealing with Unchecked_Unions. | |
1539 | ||
1540 | * checks.adb (Apply_Discriminant_Check): Do not apply discriminant | |
1541 | checks for Unchecked_Unions. | |
1542 | ||
1543 | * einfo.ads: Update comment on usage of flag Has_Per_Object_Constraint | |
1544 | ||
1545 | * exp_attr.adb (Expand_N_Attribute_Reference): Produce | |
1546 | Raise_Program_Error nodes for the execution of Read and Write | |
1547 | attributes of Unchecked_Union types and the execution of Input and | |
1548 | Output attributes of Unchecked_Union types that lack default | |
1549 | discriminant values. | |
1550 | ||
1551 | * sem_prag.adb (Analyze_Pragma): Remodel the analysis of pragma | |
1552 | Unchecked_Union. Add procedure Check_Component. It is used to inspect | |
1553 | per-object constrained components of Unchecked_Unions for being | |
1554 | Unchecked_Unions themselves. Add procedure Check_Variant. It is used to | |
1555 | check individual components withing a variant. | |
1556 | ||
1557 | * sem_res.adb (Resolve_Comparison_Op): Remove guard that prevents | |
1558 | comparison of Unchecked_Unions. | |
1559 | (Resolve_Equality_OP): Remove guard that prevents equality between | |
1560 | Unchecked_Unions. | |
1561 | ||
1562 | * sem_util.adb (Build_Component_Subtype): Add guard to prevent creation | |
1563 | of component subtypes for Unchecked_Union components. | |
1564 | (Get_Actual_Subtype): Add condition that returs the Unchecked_Union type | |
1565 | since it is the actual subtype. | |
1566 | ||
1567 | * sem_ch12.adb (Instantiate_Type): Add condition to detect the correct | |
1568 | pass of Unchecked_Union subtypes as generic actuals to formal types | |
1569 | that lack known_discriminant_parts or that are derived Unchecked_Union | |
1570 | types, and do nothing. In any other case, produce an error message. | |
1571 | ||
1572 | * sem_ch3.adb (Analyze_Component_Declaration): Add function | |
1573 | Contains_POC. It determines whether a constraint uses the discriminant | |
1574 | of an enclosing record type. | |
1575 | Add condition to detect per-object constrained component and set the | |
1576 | appropriate flag. | |
1577 | (Derived_Type_Declaration): Remove guard that prevents derivation from | |
1578 | Unchecked_Union types. | |
1579 | (Process_Subtype): Remove quard that prevents the creation of Unchecked_ | |
1580 | Union subtypes. | |
1581 | ||
1582 | * sem_ch4.adb (Analyze_Selected_Component): Correct the detection of | |
1583 | references to Unchecked_Union discriminants. | |
1584 | ||
1585 | * sem_ch6.adb (Create_Extra_Formals): Add condition to skip extra | |
1586 | formal generation when dealing with Unchecked_Unions. | |
1587 | (Set_Actual_Subtypes): Add condition to prevent generation of actual | |
1588 | subtypes for Unchecked_Unions. | |
1589 | ||
1590 | * sem_ch7.adb (Analyze_Package_Specification): Add procedure | |
1591 | Inspect_Unchecked_Union_Completion. It is used to detect incorrect | |
1592 | completions of discriminated partial views by Unchecked_Unions and | |
1593 | produce an error message. | |
1594 | ||
1595 | 2004-08-09 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
1596 | ||
1597 | * trans.c (struct stmt_group): New field, GLOBAL. | |
1598 | (global_stmt_group, gnu_elab_proc_decl, build_unit_elab): Deleted. | |
1599 | (struct elab_info): New struct. | |
1600 | (elab_info_list, gnu_elab_proc_stack): New variables. | |
1601 | (Compilation_Unit_to_gnu): New procedure. | |
1602 | (gigi): Call it and also handle elaboration procs we've saved. | |
1603 | (gnat_init_stmt_group): Don't set global_stmt_group; instead initialize | |
1604 | global field from parent. | |
1605 | (gnat_to_gnu): Get decl from gnu_elab_proc_stack. | |
1606 | (gnat_to_gnu, case N_Compilation_Unit): Call Compilation_Unit_to_gnu. | |
1607 | (start_stmt_group): Initialize global field from parent. | |
1608 | (add_decl_expr): Set to global for current statement group. | |
1609 | (gnat_gimplify_expr, case NULL_EXPR): Add operand 0 to pre list, not | |
1610 | post. | |
1611 | ||
1612 | * utils.c (global_bindings_p): True when no current_function_decl; no | |
1613 | longer check current_binding_level. | |
1614 | ||
1615 | 2004-08-09 Ben Brosgol <brosgol@gnat.com> | |
1616 | ||
1617 | * xgnatugn.adb: Added logic to deal with @ifset/@ifclear for edition | |
1618 | choice. | |
1619 | ||
1620 | * gnat_rm.texi, gnat_ugn.texi: Added edition conditionalization logic. | |
1621 | ||
160ff372 AS |
1622 | 2004-08-06 Andreas Schwab <schwab@suse.de> |
1623 | ||
1624 | * utils.c (gnat_define_builtin): Remove second parameter of | |
1625 | make_decl_rtl. | |
1626 | (begin_subprog_body): Likewise. | |
1627 | ||
615cbd95 AC |
1628 | 2004-07-26 Arnaud Charlet <charlet@act-europe.fr> |
1629 | ||
1630 | * sem_util.adb (Requires_Transient_Scope): Temporarily disable | |
1631 | optimization, not supported by the tree-ssa back-end. | |
1632 | ||
1633 | 2004-07-26 Olivier Hainque <hainque@act-europe.fr> | |
1634 | ||
1635 | * s-mastop-irix.adb: Update comments. | |
1636 | ||
1637 | * a-except.adb (Exception_Information): Raise Constraint_Error if | |
1638 | exception Id is Null_Id. | |
1639 | This is required behavior, which is more reliably and clearly checked | |
1640 | at the top level interface level. | |
1641 | ||
1642 | 2004-07-26 Javier Miranda <miranda@gnat.com> | |
1643 | ||
1644 | * exp_aggr.adb (Build_Array_Aggr_Code): Do not build the initialization | |
1645 | call if a component has no default_expression and the box is used. | |
1646 | ||
1647 | * sem_aggr.adb (Resolve_Array_Aggregate): If a component has no | |
1648 | default_expression and you use box, it behaves as if you had declared a | |
1649 | stand-alone object. | |
1650 | (Resolve_Record_Aggregate): If a component has no default_expression and | |
1651 | you use box, it behaves as if you had declared a stand-alone object. | |
1652 | ||
1653 | * sem_ch10.adb (Install_Siblings): Do not make visible the private | |
1654 | entities of private-with siblings. | |
1655 | ||
1656 | 2004-07-26 Ed Schonberg <schonberg@gnat.com> | |
1657 | ||
1658 | * sem_ch3.adb (Build_Underlying_Full_View): If this is the full view | |
1659 | for a component of an itype, set the parent pointer for analysis, | |
1660 | there is no list in which to insert it. | |
1661 | ||
1662 | * sem_res.adb (Resolve): Call Rewrite_Renamed_Operator only for | |
1663 | bona-fide renamings, not for inherited operations. | |
1664 | ||
1665 | * exp_ch4.adb (Expand_Allocator_Expression): If the allocator is an | |
1666 | actual for a formal that is an access parameter, create local | |
1667 | finalization list even if the expression is not an aggregate. | |
1668 | ||
1669 | 2004-07-26 Ed Schonberg <schonberg@gnat.com> | |
1670 | ||
1671 | PR ada/16213 | |
1672 | * sem_ch8.adb (Attribute_Renaming, Check_Library_Level_Renaming): | |
1673 | Diagnose properly illegal subprogram renamings that are library units. | |
1674 | ||
1675 | 2004-07-26 Ed Schonberg <schonberg@gnat.com> | |
1676 | ||
1677 | PR ada/15588 | |
1678 | * sem_util.adb (Is_OK_Variable_For_Out_Formal): If actual is a type | |
1679 | conversion rewritten as an unchecked conversion, check that original | |
1680 | expression is a variable. | |
1681 | ||
1682 | * exp_ch4.adb (Expand_N_Type_Conversion): If rewriting as an | |
1683 | unchecked_conversion, create new node rather than rewriting in place, | |
1684 | to preserve original construct. | |
1685 | ||
1686 | 2004-07-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
1687 | ||
1688 | * gigi.h (gnat_expand_body): Deleted. | |
1689 | ||
1690 | * Make-lang.in: (trans.o): Depends on function.h. | |
1691 | ||
1692 | * misc.c: (gnat_expand_body): Moved to here. | |
1693 | ||
1694 | * trans.c (gnat_expand_body_1): Deleted. | |
1695 | (gnat_expand_body): Moved from here. | |
1696 | (gnat_to_gnu): N_Implicit_Label_Declaration forces being in elab proc. | |
1697 | (add_stmt): Check for marked visited with global_bindings_p. | |
1698 | (gnat_gimplify_expr, case COMPONENT_REF): New case. | |
1699 | (gnat_gimplify_expr, case NULL_EXPR): Set TREE_NO_WARNING for temp. | |
1700 | ||
1701 | * utils2.c (build_binary_op, case MODIFY_EXPR): Put LHS in a | |
1702 | VIEW_CONVERT_EXPR if not operation type. | |
1703 | ||
1704 | * utils.c (update_pointer_to): Set DECL_ORIGINAL_FIELD for | |
1705 | fat pointer. | |
1706 | ||
1707 | * decl.c, cuintp.c, gigi.h, misc.c, trans.c, utils.c, utils2.c: Minor | |
1708 | changes: reformatting of negation operators, removing unneeded | |
1709 | inequality comparison with zero, converting equality comparisons with | |
1710 | zero to negations, changing int/0/1 to bool/false/true, replace calls | |
1711 | to gigi_abort with abort, and various other similar changes. | |
1712 | ||
1713 | 2004-07-26 Vincent Celier <celier@gnat.com> | |
1714 | ||
1715 | * gnatcmd.adb (GNATCmd): Add processing for new built-in command | |
1716 | "setup". | |
1717 | ||
1718 | * make.adb (Gnatmake): Fail when a library is not present and there is | |
1719 | no object directory. | |
1720 | ||
1721 | * mlib-prj.adb (Check_Library): No need to check if the library needs | |
1722 | to be rebuilt if there is no object directory, hence no object files | |
1723 | to build the library. | |
1724 | ||
1725 | * opt.ads (Setup_Projects): New Boolean flag. | |
1726 | ||
1727 | * prj-nmsc.adb (Locate_Directory): New parameter Project, Kind and | |
1728 | Location. | |
1729 | Create directory when Kind /= "" and in "gnat setup". Report error if | |
1730 | directory cannot be created. | |
1731 | (Ada_Check): Create library interface copy dir if it does not exist | |
1732 | and we are in "gnat setup". | |
1733 | (Find_Sources): No error if in "gnat setup" and no Ada sources were | |
1734 | found. | |
1735 | (Language_Independent_Check): Create object directory, exec directory | |
1736 | and/or library directory if they do not exist and we are in | |
1737 | "gnat setup". | |
1738 | ||
1739 | * vms_conv.ads: (Command_Type): New command Setup. | |
1740 | ||
1741 | * vms_conv.adb (Initialize): Add Setup component of Cammand_List. | |
1742 | ||
1743 | * vms_data.ads: Add qualifiers/switches for new built-in command | |
1744 | "setup". | |
1745 | ||
b785f485 RH |
1746 | 2004-07-25 Richard Henderson <rth@redhat.com> |
1747 | ||
1748 | * utils.c (create_subprog_decl): Set DECL_ARTIFICIAL and | |
1749 | DECL_IGNORED_P on RESULT_DECL. | |
1750 | ||
35ae2ed8 AC |
1751 | 2004-07-20 Olivier Hainque <hainque@act-europe.fr> |
1752 | ||
1753 | * a-elchha.adb (Last_Chance_Handler): Remove the bogus buffer dynamic | |
1754 | allocation and potentially overflowing update with | |
1755 | Tailored_Exception_Information. Use the sec-stack free procedural | |
1756 | interface to output Exception_Information instead. | |
1757 | ||
1758 | * a-except.adb (To_Stderr): New subprogram for character, and string | |
1759 | version moved from a-exextr to be visible from other separate units. | |
1760 | (Tailored_Exception_Information): Remove the procedural version, | |
1761 | previously used by the default Last_Chance_Handler and not any more. | |
1762 | Adjust various comments. | |
1763 | ||
1764 | * a-exexda.adb: Generalize the exception information procedural | |
1765 | interface, to minimize the use of secondary stack and the need for | |
1766 | local buffers when the info is to be output to stderr: | |
1767 | (Address_Image): Removed. | |
1768 | (Append_Info_Character): New subprogram, checking for overflows and | |
1769 | outputing to stderr if buffer to fill is of length 0. | |
1770 | (Append_Info_String): Output to stderr if buffer to fill is of length 0. | |
1771 | (Append_Info_Address, Append_Info_Exception_Name, | |
1772 | Append_Info_Exception_Message, Append_Info_Basic_Exception_Information, | |
1773 | Append_Info_Basic_Exception_Traceback, | |
1774 | Append_Info_Exception_Information): New subprograms. | |
1775 | (Append_Info_Nat, Append_Info_NL): Use Append_Info_Character. | |
1776 | (Basic_Exception_Info_Maxlength, Basic_Exception_Tback_Maxlength, | |
1777 | Exception_Info_Maxlength, Exception_Name_Length, | |
1778 | Exception_Message_Length): New subprograms. | |
1779 | (Exception_Information): Use Append_Info_Exception_Information. | |
1780 | (Tailored_Exception_Information): Use | |
1781 | Append_Info_Basic_Exception_Information. | |
1782 | Export services for the default Last_Chance_Handler. | |
1783 | ||
1784 | * a-exextr.adb (To_Stderr): Remove. Now in a-except to be usable by | |
1785 | other separate units. | |
1786 | ||
1787 | 2004-07-20 Vincent Celier <celier@gnat.com> | |
1788 | ||
1789 | * clean.adb, mlib-utl.adb, osint.adb, makegpr.adb: Minor reformatting. | |
1790 | ||
1791 | 2004-07-20 Ed Schonberg <schonberg@gnat.com> | |
1792 | ||
1793 | * freeze.adb (Freeze_Entity): If entity is a discriminated record type, | |
1794 | emit itype references for the designated types of component types that | |
1795 | are declared outside of the full record declaration, and that may | |
1796 | denote a partial view of that record type. | |
1797 | ||
1798 | 2004-07-20 Ed Schonberg <schonberg@gnat.com> | |
1799 | ||
1800 | PR ada/15607 | |
1801 | * sem_ch3.adb (Build_Discriminated_Subtype): Do not attach a subtype | |
1802 | which is the designated type in an access component declaration, to the | |
1803 | list of incomplete dependents of the parent type, to avoid elaboration | |
1804 | issues with out-of-scope subtypes. | |
1805 | (Complete_Private_Subtype): Recompute Has_Unknown_Discriminants from the | |
1806 | full view of the parent. | |
1807 | ||
1808 | 2004-07-20 Ed Schonberg <schonberg@gnat.com> | |
1809 | ||
1810 | PR ada/15610 | |
1811 | * sem_ch8.adb (Find_Expanded_Name): If name is overloaded, reject | |
1812 | entities that are hidden, such as references to generic actuals | |
1813 | outside an instance. | |
1814 | ||
1815 | 2004-07-20 Javier Miranda <miranda@gnat.com> | |
1816 | ||
1817 | * sem_ch4.adb (Try_Object_Operation): New subprogram that gives | |
1818 | support to the new notation. | |
1819 | (Analyze_Selected_Component): Add call to Try_Object_Operation. | |
1820 | ||
1821 | 2004-07-20 Jose Ruiz <ruiz@act-europe.fr> | |
1822 | ||
1823 | * s-taprob.adb: Adding the elaboration code required for initializing | |
1824 | the tasking soft links that are common to the full and the restricted | |
1825 | run times. | |
1826 | ||
1827 | * s-tarest.adb (Init_RTS): Tasking soft links that are shared with the | |
1828 | restricted run time has been moved to the package | |
1829 | System.Soft_Links.Tasking. | |
1830 | ||
1831 | * s-tasini.adb (Init_RTS): Tasking soft links that are shared with the | |
1832 | restricted run time has been moved to the package | |
1833 | System.Soft_Links.Tasking. | |
1834 | ||
1835 | * Makefile.rtl: Add entry for s-solita.o in run-time library list. | |
1836 | ||
1837 | * s-solita.ads, s-solita.adb: New files. | |
1838 | ||
1839 | 2004-07-20 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
1840 | ||
1841 | * trans.c (Identifier_to_gnu, Pragma_to_gnu, Attribute_to_gnu, | |
1842 | Case_Statement_to_gnu): Split off from gnat_to_gnu. | |
1843 | (Loop_Statement_to_gnu, Subprogram_Body_to_gnu, call_to_gnu, | |
1844 | Handled_Sequence_Of_Statements_to_gnu, Exception_Handler_to_gnu_sjlj, | |
1845 | Exception_Handler_to_gnu_zcx): Likewise. | |
1846 | ||
6e34d3a3 JM |
1847 | 2004-07-17 Joseph S. Myers <jsm@polyomino.org.uk> |
1848 | ||
1849 | * gigi.h (builtin_function): Declare. | |
1850 | ||
523456db AC |
1851 | 2004-07-15 Robert Dewar <dewar@gnat.com> |
1852 | ||
1853 | * makegpr.adb, s-secsta.ads, sem_ch3.adb, sem_case.adb: Minor | |
1854 | reformatting | |
1855 | ||
1856 | * gnat_ugn.texi: Add instantiation of direct_io or sequential_io with | |
1857 | access values as an example of a warning. | |
1858 | ||
1859 | * gnat_rm.texi: Document new attribute Has_Access_Values | |
1860 | ||
1861 | * gnat-style.texi: Document that box comments belong on nested | |
1862 | subprograms | |
1863 | ||
1864 | * sem_util.ads (Has_Access_Values): Improved documentation | |
1865 | ||
1866 | * s-finimp.ads, s-finimp.adb: Fix spelling error in comment | |
1867 | ||
1868 | * sem_prag.adb (Check_Duplicated_Export_Name): New procedure | |
1869 | (Process_Interface_Name): Call to this new procedure | |
1870 | (Set_Extended_Import_Export_External_Name): Call to this new procedure | |
1871 | ||
1872 | * s-mastop-x86.adb, 9drpc.adb: Fix spelling error in comment | |
1873 | ||
1874 | * a-direio.ads, a-sequio.ads: Warn if Element_Type has access values | |
1875 | ||
1876 | * einfo.ads: Minor comment typo fixed | |
1877 | ||
1878 | 2004-07-15 Jose Ruiz <ruiz@act-europe.fr> | |
1879 | ||
1880 | * snames.adb: Add _atcb. | |
1881 | ||
1882 | * snames.ads: Add Name_uATCB. | |
1883 | ||
1884 | * s-tarest.adb (Create_Restricted_Task): ATCBs are always preallocated | |
1885 | (in the expanded code) when using the restricted run time. | |
1886 | ||
1887 | * s-tarest.ads (Create_Restricted_Task): Created_Task transformed into | |
1888 | a in parameter in order to allow ATCBs to be preallocated (in the | |
1889 | expanded code). | |
1890 | ||
1891 | * s-taskin.adb (Initialize_ATCB): T converted into a in parameter in | |
1892 | order to allow ATCBs to be preallocated. In case of error, the ATCB is | |
1893 | deallocated in System.Tasking.Stages. | |
1894 | ||
1895 | * s-taskin.ads (Initialize_ATCB): T converted into a in parameter in | |
1896 | order to allow ATCBs to be preallocated. | |
1897 | ||
1898 | * s-tassta.adb (Create_Task): In case of error the ATCB is deallocated | |
1899 | here. It was previously done in Initialize_ATCB. | |
1900 | ||
1901 | * rtsfind.ads: Make the Ada_Task_Control_Block visible. | |
1902 | ||
1903 | * exp_ch9.adb: Preallocate the Ada_Task_Control_Block when using the | |
1904 | Restricted run time. | |
1905 | ||
1906 | * exp_ch3.adb: When using the Restricted run time, pass the | |
1907 | preallocated Ada_Task_Control_Block when creating a task. | |
1908 | ||
1909 | 2004-07-15 Ed Schonberg <schonberg@gnat.com> | |
1910 | ||
1911 | * sem_util.adb (Normalize_Actuals): If there are no actuals on a | |
1912 | function call that is itself an actual in an enclosing call, diagnose | |
1913 | problem here rather than assuming that resolution will catch it. | |
1914 | ||
1915 | * sem_ch7.adb (Analyze_Package_Specification): If the specification is | |
1916 | the local copy of a generic unit for a formal package, and the generic | |
1917 | is a child unit, install private part of ancestors before compiling | |
1918 | private part of spec. | |
1919 | ||
1920 | * sem_cat.adb (Validate_Categorization_Dependency): Simplify code to | |
1921 | use scope entities rather than tree structures, to handle properly | |
1922 | parent units that are instances rewritten as bodies for inlining | |
1923 | purposes. | |
1924 | ||
1925 | * sem_ch10.adb (Get_Parent_Entity, Implicit_With_On_Parent, | |
1926 | Remove_Parents): Handle properly a parent unit that is an | |
1927 | instantiation, when the unit has been rewritten as a body for inlining | |
1928 | purposes. | |
1929 | ||
1930 | * par.adb (Goto_List): Global variable to collect goto statements in a | |
1931 | given unit, for use in detecting natural loops. | |
1932 | ||
1933 | * par-ch5.adb (P_Goto_Statement): Add goto to global Goto_List, for | |
1934 | use in detecting natural loops. | |
1935 | ||
1936 | * par-labl.adb (Find_Natural_Loops): Recognize loops create by | |
1937 | backwards goto's, and rewrite as a infinite loop, to improve locality | |
1938 | of temporaries. | |
1939 | ||
1940 | * exp_util.adb (Force_Evaluation): Recognize a left-hand side | |
1941 | subcomponent that includes an indexed reference, to prevent the | |
1942 | generation of copies that would miscompile the desired assignment | |
1943 | statement. | |
1944 | (Build_Task_Image_Decls): Add a numeric suffix to | |
1945 | generated name for string variable, to avoid spurious conflicts with | |
1946 | the name of the type of a single protected object. | |
1947 | ||
1948 | * exp_ch4.adb (Expand_Array_Equality): If indices are distinct, use a | |
1949 | loop with an explicit exit statement, to avoid generating an | |
1950 | out-of-range value with 'Succ leading to spurious constraint_errors | |
1951 | when compiling with -gnatVo. | |
1952 | ||
1953 | 2004-07-15 Thomas Quinot <quinot@act-europe.fr> | |
1954 | ||
1955 | * sem_ch4.adb (Analyze_Slice): Always call Analyze on the prefix: it | |
1956 | might not be analyzed yet, even if its Etype is already set (case of an | |
1957 | unchecked conversion built using Unchecked_Convert_To, for example). | |
1958 | If the prefix has already been analyzed, this will be a nop anyway. | |
1959 | ||
1960 | * exp_ch5.adb (Make_Tag_Ctrl_Assignment): For an assignment of a | |
1961 | controller type, or an assignment of a record type with controlled | |
1962 | components, copy only user data, and leave the finalization chain | |
1963 | pointers untouched. | |
1964 | ||
1965 | 2004-07-15 Vincent Celier <celier@gnat.com> | |
1966 | ||
1967 | * make.adb (Collect_Arguments): Improve error message when attempting | |
1968 | to compile a source not part of any project, when -x is not used. | |
1969 | ||
1970 | * prj.ads: (Defined_Variable_Kind): New subtype | |
1971 | ||
1972 | * prj-attr.adb (Register_New_Package): Two new procedures to register | |
1973 | a package with or without its attributes. | |
1974 | (Register_New_Attribute): Mew procedure to register a new attribute in a | |
1975 | package. | |
1976 | New attribute oriented subprograms: Attribute_Node_Id_Of, | |
1977 | Attribute_Kind_Of, Set_Attribute_Kind_Of, Attribute_Name_Of, | |
1978 | Variable_Kind_Of, Set_Variable_Kind_Of, Optional_Index_Of, | |
1979 | Next_Attribute. | |
1980 | New package oriented subprograms: Package_Node_Id_Of, | |
1981 | Add_Unknown_Package, First_Attribute_Of, Add_Attribute. | |
1982 | ||
1983 | * prj-attr.ads (Attribute_Node_Id): Now a private, self initialized | |
1984 | type. | |
1985 | (Package_Node_Id): Now a private, self initialized type | |
1986 | (Register_New_Package): New procedure to register a package with its | |
1987 | attributes. | |
1988 | New attribute oriented subprograms: Attribute_Node_Id_Of, | |
1989 | Attribute_Kind_Of, Set_Attribute_Kind_Of, Attribute_Name_Of, | |
1990 | Variable_Kind_Of, Set_Variable_Kind_Of, Optional_Index_Of, | |
1991 | Next_Attribute. | |
1992 | New package oriented subprograms: Package_Node_Id_Of, | |
1993 | Add_Unknown_Package, First_Attribute_Of, Add_Attribute. | |
1994 | ||
1995 | * prj-dect.adb (Parse_Attribute_Declaration, | |
1996 | Parse_Package_Declaration): Adapt to new spec of Prj.Attr. | |
1997 | ||
1998 | * prj-makr.adb (Make): Parse existing project file before creating | |
1999 | other files. Fail if there was an error during parsing. | |
2000 | ||
2001 | * prj-proc.adb (Add_Attributes, Process_Declarative_Items): Adapt to | |
2002 | new spec of Prj.Attr. | |
2003 | ||
2004 | * prj-strt.adb (Attribute_Reference, Parse_Variable_Reference): Adapt | |
2005 | to new spec of Prj.Attr. | |
2006 | ||
2007 | 2004-07-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
2008 | ||
2009 | * utils2.c: Fix typo in comment. | |
2010 | ||
2011 | 2004-07-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
54805e13 RK |
2012 | |
2013 | * trans.c (add_decl_expr): Clear TREE_READONLY if clear DECL_INITIAL. | |
2014 | * utils.c (unchecked_convert): Don't do two VIEW_CONVERT_EXPRs. | |
2015 | ||
a1c7af89 AS |
2016 | 2004-07-14 Andreas Schwab <schwab@suse.de> |
2017 | ||
2018 | * trans.c (gnat_init_stmt_group): Remove duplicate definition. | |
2019 | ||
a5cb3b30 AC |
2020 | 2004-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2021 | ||
2022 | * decl.c: (gnat_to_gnu_entity, object case): Convert initializer to | |
2023 | object type. | |
2024 | (gnat_to_gnu_entity, case E_Record_Subtype): Properly set | |
2025 | TYPE_STUB_DECL. | |
2026 | ||
2027 | * misc.c (gnat_types_compatible_p): New function. | |
2028 | (LANG_HOOKS_TYPES_COMPATIBLE_P): New hook, to use it. | |
2029 | (LANG_HOOKS_TYPE_MAX_SIZE, gnat_type_max_size): New. | |
2030 | ||
2031 | * trans.c (gigi): Move processing of main N_Compilation_Unit here. | |
2032 | (gnat_to_gnu, case N_Compilation_Unit): Just handle nested case here. | |
2033 | (add_stmt): Force walking of sizes and DECL_INITIAL for DECL_EXPR. | |
2034 | (mark_visited): Don't mark dummy type. | |
6615c446 | 2035 | (tree_transform <N_Procedure_Call_Statement>): Unless this is an In |
a5cb3b30 AC |
2036 | parameter, we must remove any LJM building from GNU_NAME. |
2037 | (gnat_to_gnu, case N_String_Literal): Fill in indices in CONSTRUCTOR. | |
2038 | (pos_to_constructor): Use int_const_binop. | |
2039 | (gnat_to_gnu, case N_Identifier): Don't reference DECL_INITIAL of | |
2040 | PARM_DECL. | |
2041 | ||
2042 | * utils.c (gnat_init_decl_processing): Don't make two "void" decls. | |
2043 | (gnat_pushlevel): Set TREE_USE on BLOCK node. | |
2044 | (gnat_install_builtins): Add __builtin_memset. | |
2045 | ||
2046 | 2004-07-13 Olivier Hainque <hainque@act-europe.fr> | |
2047 | ||
2048 | * decl.c (gnat_to_gnu_entity <E_Variable>): If we are making a pointer | |
2049 | for a renaming, stabilize the initialization expression if we are at a | |
2050 | local level. At the local level, uses of the renaming may be performed | |
2051 | by a direct dereference of the initializing expression, and we don't | |
2052 | want possible variables there to be evaluated for every use. | |
2053 | ||
2054 | * trans.c (gnat_stabilize_reference, gnat_stabilize_reference_1): | |
2055 | Propagate TREE_SIDE_EFFECTS and TREE_THIS_VOLATILE to avoid loosing | |
2056 | them on the way. Account for the fact that we may introduce side | |
2057 | effects in the process. | |
2058 | ||
0976078c RH |
2059 | 2004-07-13 Richard Henderson <rth@redhat.com> |
2060 | ||
2061 | * misc.c (default_pass_by_ref): Use pass_by_reference. | |
2062 | ||
9dcf6e73 JM |
2063 | 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk> |
2064 | ||
2065 | * misc.c (LANG_HOOKS_CLEAR_BINDING_STACK, LANG_HOOKS_PUSHLEVEL, | |
2066 | LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK): Remove. | |
2067 | ||
ac45df5d RH |
2068 | 2004-07-08 Richard Henderson <rth@redhat.com> |
2069 | ||
2070 | * trans.c (gnat_to_gnu <N_Handled_Sequence_Of_Statements>): Update | |
2071 | commentary. | |
2072 | ||
15ce9ca2 AC |
2073 | 2004-07-06 Vincent Celier <celier@gnat.com> |
2074 | ||
2075 | * vms_conv.ads: Minor reformatting. | |
2076 | Alphabetical order for enumerated values of type Command_Type, to have | |
2077 | the command in alphabetical order for the usage. | |
2078 | ||
2079 | * vms_conv.adb (Process_Argument): Set Keep_Temporary_Files to True for | |
2080 | the special qualifier /KEEP_TEMPORARY_FILES (minimum 6 characters). | |
2081 | ||
2082 | * gnat_ugn.texi: Document new switch -dn for the GNAT driver. | |
2083 | ||
2084 | * makegpr.adb (Global_Archive_Exists): New global Boolean variable | |
2085 | (Add_Archive_Path): Only add the global archive if there is one. | |
2086 | (Build_Global_Archive): Set Global_Archive_Exists depending if there is | |
2087 | or not any object file to put in the global archive, and don't build | |
2088 | a global archive if there is none. | |
2089 | (X_Switches): New table | |
2090 | (Compile_Link_With_Gnatmake): Pass to gnatmake the -X switches stored | |
2091 | in the X_Switches table, if any. | |
2092 | (Initialize): Make sure the X_Switches table is empty | |
2093 | (Scan_Arg): Record -X switches in table X_Switches | |
2094 | ||
2095 | * opt.ads (Keep_Temporary_Files): New Boolean flag, defaulted to False. | |
2096 | ||
2097 | * make.adb: Minor comment fix | |
2098 | ||
2099 | * gnatname.adb (Gnatname): When not on VMS, and gnatname has been | |
2100 | invoked with directory information, add the directory in front of the | |
2101 | path. | |
2102 | ||
2103 | * gnatchop.adb (Gnatchop): When not on VMS, and gnatchop has been | |
2104 | invoked with directory information, add the directory in front of the | |
2105 | path. | |
2106 | ||
2107 | * gnatcmd.adb (Delete_Temp_Config_Files): Only delete temporary files | |
2108 | when Keep_Temporary_Files is False. | |
2109 | (GNATCmd): When not on VMS, and the GNAT driver has been invoked with | |
2110 | directory information, add the directory in front of the path. | |
2111 | When not on VMS, handle new switch -dn before the command to set | |
2112 | Keep_Temporary_Files to True. | |
2113 | (Non_VMS_Usage): Use lower case for the non VMS usage: this is valid | |
2114 | everywhere. | |
2115 | ||
2116 | * gnatlink.adb (Gnatlink): When not on VMS, and gnatlink has been | |
2117 | invoked with directory information, add the directory in front of the | |
2118 | path. | |
2119 | ||
2120 | 2004-07-06 Thomas Quinot <quinot@act-europe.fr> | |
2121 | ||
2122 | * snames.ads, snames.adb (Name_Stub): New name for the distributed | |
2123 | systems annex. | |
2124 | ||
2125 | * rtsfind.ads: New RTE TC_Object, for DSA/PolyORB. | |
2126 | New RTEs RAS_Proxy_Type and RAS_Proxy_Type_Access, for DSA. | |
2127 | ||
2128 | * g-socket.adb (To_Timeval): Fix incorrect conversion of | |
2129 | Selector_Duration to Timeval for the case of 0.0. | |
2130 | ||
2131 | * exp_util.ads (Evolve_Or_Else): Fix overenthusiastic copy/paste of | |
2132 | documentation from Evolve_And_Then. | |
2133 | ||
2134 | 2004-07-06 Jose Ruiz <ruiz@act-europe.fr> | |
2135 | ||
2136 | * s-taprop-tru64.adb, s-taprop-os2.adb, | |
2137 | s-taprop-mingw.adb, s-taprop-posix.adb: Update comment. | |
2138 | ||
2139 | 2004-07-06 Robert Dewar <dewar@gnat.com> | |
2140 | ||
2141 | * s-osinte-hpux.ads, s-osinte-freebsd.ads, | |
2142 | s-osinte-lynxos.ads, s-taprop-lynxos.adb, s-osinte-tru64.ads, | |
2143 | s-osinte-aix.ads, s-osinte-irix.ads, s-taprop-irix.adb, | |
2144 | s-interr-sigaction.adb, s-taprop-irix-athread.adb, | |
2145 | s-osinte-hpux-dce.adb, s-taprop-hpux-dce.adb, | |
2146 | s-taprop-linux.adb, s-taprop-dummy.adb, s-taprop-solaris.adb, | |
2147 | s-interr-vms.adb, s-osinte-vms.ads, s-taprop-vms.adb, | |
2148 | s-osinte-vxworks.ads, s-osprim-vxworks.adb, a-numaux-x86.adb, | |
2149 | a-except.adb, a-exexpr.adb, a-intsig.adb, a-tags.adb, | |
2150 | a-tags.ads, bindgen.ads, checks.adb, checks.adb, | |
2151 | csets.ads, einfo.ads, einfo.ads, elists.adb, exp_ch4.adb, | |
2152 | exp_ch7.adb, exp_dist.adb, exp_util.adb, freeze.adb, | |
2153 | g-dynhta.adb, gnatmem.adb, g-regexp.adb, inline.adb, | |
2154 | i-os2thr.ads, osint.adb, prj.adb, scng.adb, sem_cat.adb, | |
2155 | sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, sem_ch7.adb, | |
2156 | sem_ch8.adb, sem_disp.adb, sem_prag.adb, sem_res.adb, | |
2157 | sem_type.adb, sem_type.ads, sem_warn.adb, s-ficobl.ads, | |
2158 | s-finimp.adb, s-htable.adb, sinfo.ads, sinput-l.ads, | |
2159 | s-interr.adb, s-interr.ads, sprint.adb, s-tarest.adb, | |
2160 | s-tasini.ads, s-taskin.ads, s-taskin.ads, uname.adb, | |
2161 | vms_data.ads: Minor reformatting, | |
2162 | Fix bad box comment format. | |
2163 | ||
2164 | * gnat_rm.texi: Fix minor grammatical error | |
2165 | ||
2166 | * sem_attr.adb, exp_attr.adb: New attribute Has_Access_Values | |
2167 | ||
2168 | * sem_util.ads, sem_util.adb (Requires_Transient_Scope): Allow many | |
2169 | more cases of discriminated records to be recognized as not needing a | |
2170 | secondary stack. | |
2171 | (Has_Access_Values): New function. | |
2172 | ||
2173 | * snames.h, snames.adb, snames.ads: New attribute Has_Access_Values | |
2174 | ||
2175 | * cstand.adb, layout.ads, layout.adb, sem_ch13.ads: Change name | |
2176 | Set_Prim_Alignment to Set_Elem_Alignment (more accurate correspondence | |
2177 | with LRM terminology). | |
2178 | Change terminology in comments primitive type => elementary type. | |
2179 | ||
2180 | 2004-07-06 Ed Schonberg <schonberg@gnat.com> | |
2181 | ||
2182 | PR ada/15602 | |
2183 | * sem_ch7.adb (Unit_Requires_Body): For a generic package, the formal | |
2184 | parameters do not impose any requirements on the presence of a body. | |
2185 | ||
2186 | 2004-07-06 Ed Schonberg <schonberg@gnat.com> | |
2187 | ||
2188 | PR ada/15593 | |
2189 | * sem_ch12.adb (Analyze_Package_Instantiation): If the generic is not a | |
2190 | compilation unit and is in an open scope at the point of instantiation, | |
2191 | assume that a body may be present later. | |
2192 | ||
2193 | 2004-07-06 Ed Schonberg <schonberg@gnat.com> | |
2194 | ||
2195 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case 'Size): | |
2196 | Improve error message when specified size is not supported. | |
2197 | ||
2198 | * sem_ch6.adb (Maybe_Primitive_Operation): A library-level subprogram | |
2199 | is never a primitive operation. | |
2200 | ||
cb42deba AS |
2201 | 2004-07-05 Andreas Schwab <schwab@suse.de> |
2202 | ||
2203 | * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Use | |
2204 | RECORD_OR_UNION_CHECK. | |
2205 | (TYPE_CONTAINS_TEMPLATE_P): Likewise. | |
2206 | ||
98877933 KC |
2207 | 2004-07-04 Kelley Cook <kcook@gcc.gnu.org> |
2208 | ||
2209 | * Make-lang.in (doc/gnat_ugn_unw.texi): Eliminate explicit | |
2210 | dependency on xgnatugn, instead build it via a submake. | |
2211 | (ADA_INFOFILES): Add doc/gnat_ugn_unw.texi. | |
2212 | ||
8fff4fc1 RH |
2213 | 2004-07-04 Richard Henderson <rth@redhat.com> |
2214 | ||
2215 | * utils2.c (gnat_mark_addressable): Don't put_var_into_stack. | |
2216 | ||
4dfa0342 RH |
2217 | 2004-07-01 Richard Henderson <rth@redhat.com> |
2218 | ||
2219 | * trans.c (gnat_stabilize_reference): Don't handle RTL_EXPR. | |
2220 | * utils.c (max_size): Likewise. | |
2221 | ||
909f21b3 RK |
2222 | 2004-06-28 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2223 | ||
2224 | * decl.c: Remove calls to add_decl_expr, pushdecl, rest_of_compilation, | |
2225 | and rest_of_type_compilation; add arg to create_*_decl. | |
2226 | (annotate_decl_with_node): Deleted. | |
2227 | (gnat_to_gnu_entity, case E_Array_Type): Set location of fields. | |
2228 | * gigi.h (get_decls, block_has_vars, pushdecl): Deleted. | |
2229 | (get_current_block_context, gnat_pushdecl): New declarations. | |
2230 | (gnat_init_stmt_group): Likewise. | |
2231 | (create_var_decl, create_type_decl, create_subprog_decl): Add new arg. | |
2232 | * misc.c (LANG_HOOKS_CLEAR_BINDING_STACK): Deleted. | |
2233 | (LANG_HOOKS_GETDECLS, LANG_HOOKS_PUSHDECL): Deleted. | |
2234 | (gnat_init): Call gnat_init_stmt_group. | |
2235 | * trans.c (global_stmt_group, gnu_elab_proc_decl): New variables. | |
2236 | (gnu_pending_elaboration_list): Deleted. | |
2237 | (mark_visited, mark_unvisited, gnat_init_stmt_group): New functions. | |
2238 | (gigi): Rearrange initialization calls and move some to last above. | |
2239 | (gnat_to_gnu): If statement and not in procedure, go into elab proc. | |
2240 | Delete calls to add_decl_expr; add arg to create_*_decl. | |
2241 | (gnat_to_gnu, case N_Loop): Recalculate side effects on COND_EXPR. | |
6615c446 | 2242 | (gnat_to_gnu, case N_Subprogram_Body): Move some code to |
909f21b3 RK |
2243 | begin_subprog_body and call it. |
2244 | Don't push and pop ggc context. | |
2245 | (gnat_to_gnu, case N_Compilation_Unit): Rework to support elab proc. | |
2246 | (add_stmt): Remove handling of DECL_EXPR from here. | |
2247 | If not in function, mark visited. | |
2248 | (add_decl_expr): Put global at top level. | |
2249 | Check for cases of DECL_INITIAL we have to handle here. | |
2250 | (process_type): Add extra arg to create_type_decl. | |
2251 | (build_unit_elab): Rework to just gimplify. | |
2252 | * utils.c (pending_elaborations, elist_stack, getdecls): Deleted. | |
2253 | (block_has_vars, mark_visited, add_pending_elaborations): Likewise. | |
2254 | (get_pending_elaborations, pending_elaborations_p): Likewise. | |
2255 | (push_pending_elaborations, pop_pending_elaborations): Likewise. | |
2256 | (get_elaboration_location, insert_elaboration_list): Likewise. | |
2257 | (gnat_binding_level): Renamed from ada_binding_level. | |
2258 | (init_gnat_to_gnu): Don't clear pending_elaborations. | |
2259 | (global_bindings_p): Treat as global if no current_binding_level. | |
2260 | (set_current_block_context): New function. | |
2261 | (gnat_pushdecl): Renamed from pushdecl; major rework. | |
2262 | All callers changed. | |
2263 | (create_type_decl, create_var_decl, create_subprog_decl): Add new arg. | |
2264 | (finish_record_type): Call call pushdecl for stub decl. | |
2265 | (function_nesting_depth): Deleted. | |
2266 | (begin_subprog_body): Delete obsolete code. | |
2267 | * utils2.c (build_call_alloc_dealloc): Add new arg to create_var_decl. | |
6615c446 | 2268 | |
246d2ceb AC |
2269 | 2004-06-28 Robert Dewar <dewar@gnat.com> |
2270 | ||
2271 | * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, | |
2272 | mlib-tgt-irix.adb, mlib-tgt-hpux.adb, mlib-tgt-linux.adb, | |
2273 | mlib-tgt-linux.adb, mlib-tgt-solaris.adb, mlib-tgt-solaris.adb, | |
2274 | mlib-tgt-vms-alpha.adb, mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, | |
2275 | a-strmap.adb, a-strmap.ads, clean.adb: Minor reformatting | |
2276 | ||
2277 | * exp_util.adb (Is_Possibly_Unaligned_Slice): Completely rewritten, to | |
2278 | deal with problem of inefficient slices on machines with strict | |
2279 | alignment, when the slice is a component of a composite. | |
2280 | ||
2281 | * checks.adb (Apply_Array_Size_Check): Do not special case 64-bit | |
2282 | machines, we need the check there as well. | |
2283 | ||
2284 | 2004-06-28 Ed Schonberg <schonberg@gnat.com> | |
2285 | ||
2286 | * exp_ch5.adb (Expand_Assign_Array): Use correct condition to | |
2287 | determine safe copying direction for overlapping slice assignments | |
2288 | when component is controlled. | |
2289 | ||
2290 | * sem_ch12.adb (Instantiate_Formal_Package): Implicit operations of a | |
2291 | formal derived type in the actual for a formal package are visible in | |
2292 | the enclosing instance. | |
2293 | ||
2294 | 2004-06-28 Ed Schonberg <schonberg@gnat.com> | |
2295 | ||
2296 | PR ada/15600 | |
2297 | * sem_util.adb (Trace_Components): Diagnose properly an illegal | |
2298 | circularity involving a private type whose completion includes a | |
2299 | self-referential component. | |
2300 | (Enter_Name): Use Is_Inherited_Operation to distinguish a source | |
2301 | renaming or an instantiation from an implicit derived operation. | |
2302 | ||
2303 | 2004-06-28 Pascal Obry <obry@gnat.com> | |
2304 | ||
2305 | * mlib-tgt-mingw.adb: (Library_Exists_For): Remove "lib" prefix from | |
2306 | DLL. | |
2307 | (Library_File_Name_For): Idem. | |
2308 | ||
2309 | 2004-06-28 Matthew Gingell <gingell@gnat.com> | |
2310 | ||
2311 | * g-traceb.ads: Add explanatory note on the format of addresses | |
2312 | expected by addr2line. | |
2313 | ||
2314 | 2004-06-28 Jerome Guitton <guitton@act-europe.fr> | |
2315 | ||
2316 | * Makefile.in: Force debugging information on s-tasdeb.adb, | |
2317 | a-except.adb and s-assert.adb needed by the debugger. | |
2318 | ||
2319 | 2004-06-28 Vincent Celier <celier@gnat.com> | |
2320 | ||
2321 | * make.adb (Collect_Arguments_And_Compile): Change Flag1 to | |
2322 | Need_To_Build_Lib. | |
2323 | (Gnatmake): Ditto. | |
2324 | ||
2325 | * mlib-prj.adb (Check_Library): Replace Flag1 with Need_To_Build_Lib | |
2326 | ||
2327 | * prj.adb: Minor reformatting | |
2328 | (Project_Empty): Change Flag1 to Need_To_Build_Lib. Remove Flag2. | |
2329 | ||
2330 | * prj.ads: Comment updates | |
2331 | Minor reformatting | |
2332 | (Project_Data): Change Flag1 to Need_To_Build_Lib. | |
2333 | Remove Flag2: not used. | |
2334 | ||
2335 | * prj-dect.adb (Parse_Declarative_Items): Accept "null" as a | |
2336 | declaration. | |
2337 | ||
2338 | * gnat_ugn.texi: Put a "null;" declaration in one project file example | |
2339 | ||
2340 | * gnat_rm.texi: Document Empty declarations "null;". | |
2341 | ||
2342 | * makegpr.adb (Compile_Link_With_Gnatmake): Put the global archives in | |
2343 | front of the linker options. | |
2344 | (Link_Foreign): Put the global archives and the libraries in front of | |
2345 | the linker options. | |
2346 | ||
2347 | 2004-06-28 Javier Miranda <miranda@gnat.com> | |
2348 | ||
2349 | * rtsfind.adb: (Get_Unit_Name): Fix typo in comment | |
2350 | (RTU_Loaded): Code cleanup | |
2351 | (Set_RTU_Loaded): New procedure to register as *loaded* explicitly | |
2352 | withed predefined units. | |
2353 | ||
2354 | * rtsfind.ads (Set_RTU_Loaded): New procedure to register as *loaded* | |
2355 | explicitly withed predefined units. | |
2356 | Fix typo in comment | |
2357 | ||
2358 | * sem_ch10.adb (Analyze_Compilation_Unit): Register as *loaded* | |
2359 | explicitly withed predefined units. | |
2360 | ||
bce3da32 RK |
2361 | 2004-06-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2362 | ||
2363 | * ada-tree.def (DECL_STMT): Deleted. | |
2364 | * ada-tree.h (IS_ADA_STMT): Now test against STMT_STMT. | |
2365 | (DECL_STMT_VAR): Deleted. | |
2366 | * decl.c: add_decl_stmt now add_decl_expr. | |
2367 | * gigi.h: Likewise. | |
2368 | * trans.c: Likewise. | |
2369 | (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted. | |
2370 | (gnat_to_gnu, case N_Subprogram_Body): Set cfun->function_end_locus. | |
2371 | (add_stmt): Only handle padded type here. | |
2372 | (add_stmt_with_node): Allow gnat_node to not be present. | |
2373 | (gnat_gimplify_stmt, case USE_STMT): Set *STMT_P to null. | |
2374 | (gnat_gimplify_stmt, case DECL_STMT): Deleted. | |
2375 | (gnat_stabilize_reference_1): If COMPONENT_REF of fat pointer, | |
2376 | make a SAVE_EXPR for the entire fat pointer. | |
2377 | * utils.c (pushdecl): Walk a DECL_EXPR in global case. | |
2378 | (create_index_type): Make a DECL_EXPR. | |
2379 | (end_subprog_body): Don't call allocate_struct_function here but | |
2380 | do clear cfun. | |
2381 | ||
0da2c8ac AC |
2382 | 2004-06-25 Pascal Obry <obry@gnat.com> |
2383 | ||
2384 | * makegpr.adb (Build_Library): Remove parameter Lib_Address and | |
2385 | Relocatable from Build_Dynamic_Library call. | |
2386 | ||
2387 | * gnat_ugn.texi: Change documentation about Library_Kind. Dynamic and | |
2388 | Relocatable are now synonym. | |
2389 | ||
2390 | * Makefile.in: Use s-parame-mingw.adb on MingW platform. | |
2391 | ||
2392 | * mlib-prj.adb (Build_Library): Remove DLL_Address constant definition. | |
2393 | Remove parameter Lib_Address and Relocatable from Build_Dynamic_Library | |
2394 | call. | |
2395 | ||
2396 | * mlib-tgt.ads, mlib-tgt.adb (Build_Dynamic_Library): Remove parameter | |
2397 | Lib_Address and Relocatable. | |
2398 | (Default_DLL_Address): Removed. | |
2399 | ||
6615c446 JO |
2400 | * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, |
2401 | mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, | |
0da2c8ac AC |
2402 | mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-vxworks.adb: |
2403 | (Build_Dynamic_Library): Remove parameter Lib_Address and Relocatable. | |
2404 | (Default_DLL_Address): Removed. | |
2405 | ||
2406 | * mlib-tgt-mingw.adb: Ditto. | |
2407 | (Build_Dynamic_Library): Do not add "lib" prefix to the DLL name. | |
2408 | ||
2409 | * s-taprop-mingw.adb (Create_Task): Use Adjust_Storage_Size to compute | |
2410 | the initial thread stack size. | |
2411 | ||
2412 | * a-strmap.ads: Move package L to private part as it is not used in | |
2413 | the spec. Found while reading code. | |
2414 | ||
2415 | 2004-06-25 Olivier Hainque <hainque@act-europe.fr> | |
2416 | ||
2417 | * tracebak.c: Introduce support for a GCC infrastructure based | |
2418 | implementation of __gnat_backtrace. | |
2419 | ||
2420 | * raise.c: Don't rely on a C mapping of the GNAT_GCC_Exception record | |
2421 | any more. Use accessors instead. This eases maintenance and relaxes | |
2422 | some alignment constraints. | |
2423 | (_GNAT_Exception structure): Remove the Ada specific fields | |
2424 | (EID_For, Adjust_N_Cleanups_For): New accessors, exported by | |
2425 | a-exexpr.adb. | |
2426 | (is_handled_by, __gnat_eh_personality): Replace component references to | |
2427 | exception structure by use of the new accessors. | |
2428 | ||
2429 | * init.c (__gnat_initialize): Adjust comments to match the just | |
2430 | reverted meaning of the -static link-time option. | |
2431 | ||
2432 | * adaint.c (convert_addresses): Arrange not to define a stub for | |
2433 | mips-irix any more, as we now want to rely on a real version from a | |
2434 | recent libaddr2line. | |
2435 | ||
2436 | * a-exexpr.adb: Provide new accessors to a GNAT_GCC occurrence, so that | |
2437 | the personality routine can use them and not have to rely on a C | |
2438 | counterpart of the record anymore. This simplifies maintenance and | |
2439 | relaxes the constraint of having Standard'Maximum_Alignment match | |
2440 | BIGGEST_ALIGNMENT. | |
2441 | Update comments, and add a section on the common header alignment issue. | |
2442 | ||
2443 | 2004-06-25 Geert Bosch <bosch@gnat.com> | |
2444 | ||
2445 | * a-ngelfu.adb (Tanh): Use full 20 digit precision for constants in | |
2446 | polynomial approximation. Fixes inconsistency with Cody/Waite algorithm. | |
2447 | ||
2448 | 2004-06-25 Robert Dewar <dewar@gnat.com> | |
2449 | ||
2450 | * gnat_rm.texi: Fix section on component clauses to indicate that the | |
2451 | restriction on byte boundary placement still applies for bit packed | |
2452 | arrays. | |
2453 | Add comment on stack usage from Initialize_Scalars | |
2454 | ||
2455 | * gnat_ugn.texi: Add documentation for -gnatyLnnn | |
2456 | ||
2457 | * stylesw.ads, stylesw.adb: Implement new -gnatyLnnn option for | |
2458 | limiting nesting level. | |
2459 | ||
2460 | * usage.adb: Add line for -gnatyLnnn switch | |
2461 | ||
2462 | * g-debpoo.ads, xtreeprs.adb, sinput.ads, sem_ch13.ads, | |
2463 | sem_ch13.adb, exp_aggr.adb: Minor reformatting | |
2464 | ||
2465 | * sem_prag.adb (Process_Atomic_Shared_Volatile): Set Is_Atomic on base | |
2466 | type as well as on the subtype. This corrects a problem in freeze in | |
2467 | setting alignments of atomic types. | |
2468 | ||
2469 | * sem_eval.ads: Minor comment typo fixed | |
2470 | ||
2471 | * par-util.adb (Push_Scope_Stack): Check for violation of max nesting | |
2472 | level. Minor reformatting. | |
2473 | ||
2474 | * fname.adb (Is_Predefined_File_Name): Require a letter after the | |
2475 | minus sign. This means that file names like a--b.adb will not be | |
2476 | considered predefined. | |
2477 | ||
2478 | * freeze.adb: Propagate new flag Must_Be_On_Byte_Boundary to containing | |
2479 | record Test new flag and give diagnostic for bad component clause. | |
2480 | (Freeze_Entity): Set alignment of array from component alignment in | |
2481 | cases where this is safe to do. | |
2482 | ||
2483 | * exp_pakd.adb: Set new flag Must_Be_On_Byte_Boundary for large packed | |
2484 | arrays. | |
2485 | ||
2486 | * cstand.adb: (Create_Standard): Set alignment of String to 1 | |
2487 | ||
2488 | * einfo.ads, einfo.adb: Introduce new flag Must_Be_On_Byte_Boundary | |
2489 | ||
2490 | * exp_ch4.adb (Expand_Array_Equality): Improve efficiency of generated | |
2491 | code in the common constrained array cases. | |
2492 | ||
2493 | * a-storio.adb: Change implementation to avoid possible alignment | |
2494 | problems on machines requiring strict alignment (data should be moved | |
2495 | as type Buffer, not type Elmt). | |
2496 | ||
2497 | * checks.adb (Apply_Array_Size_Check): Improve these checks by | |
2498 | killing the overflow checks which we really do not need (64-bits is | |
2499 | enough). | |
2500 | ||
2501 | 2004-06-25 Vincent Celier <celier@gnat.com> | |
2502 | ||
2503 | * makegpr.adb (Is_Included_In_Global_Archive): New Boolean function | |
2504 | (Add_Archives.Recursive_Add_Archives): Call Add_Archive_Path | |
2505 | inconditionally for the main project. | |
2506 | (Recursive_Add_Archives.Add_Archive_Path): New procedure | |
2507 | (Link_Executables.Check_Time_Stamps): New procedure | |
2508 | (Link_Executables.Link_Foreign): New procedure | |
2509 | Changes made to reduce nesting level of this package | |
2510 | (Check): New procedure | |
2511 | (Add_Switches): When not in quiet output, check that a switch is not | |
2512 | the concatenation of several valid switches. If it is, issue a warning. | |
2513 | (Build_Global_Archive): If the global archive is rebuilt, linking need | |
2514 | to be done. | |
2515 | (Compile_Sources): Rebuilding a library archive does not imply | |
2516 | rebuilding the global archive. | |
2517 | (Build_Global_Archive): New procedure | |
2518 | (Build_Library): New name for Build_Archive, now only for library | |
2519 | project | |
2520 | (Check_Archive_Builder): New procedure | |
2521 | (Create_Global_Archive_Dependency_File): New procedure | |
2522 | (Gprmake): Call Build_Global_Archive before linking | |
2523 | * makegpr.adb: Use Other_Sources_Present instead of Sources_Present | |
2524 | throughout. | |
2525 | (Scan_Arg): Display the Copyright notice when -v is used | |
2526 | ||
2527 | * gnat_ugn.texi: Document new switch -files= (VMS qualifier /FILES=) | |
2528 | for gnatls. | |
2529 | ||
2530 | * vms_data.ads: Add qualifier /MAX_NESTING=nnn (-gnatyLnnn) for GNAT | |
2531 | COMPILE. | |
2532 | Add new GNAT LIST qualifier /FILES= | |
2533 | Added qualifier /DIRECTORY= to GNAT METRIC | |
2534 | Added qualifier /FILES= to GNAT METRIC | |
2535 | Added qualifier /FILES to GNAT PRETTY | |
2536 | ||
2537 | * switch.adb (Is_Front_End_Switch): Refine the test for --RTS or -fRTS, | |
2538 | to take into account both versions of the switch. | |
2539 | ||
2540 | * switch-c.adb (Scan_Front_End_Switches): New switch -gnatez. Should | |
2541 | always be the last switch to the gcc driver. Disable switch storing so | |
2542 | that switches automatically added by the gcc driver are not put in the | |
2543 | ALI file. | |
2544 | ||
2545 | * prj.adb (Project_Empty): Take into account changes in components of | |
2546 | Project_Data. | |
2547 | ||
2548 | * prj.ads (Languages_Processed): New enumaration value All_Languages. | |
2549 | ||
2550 | * prj.ads (Project_Data): Remove component Lib_Elaboration: never | |
2551 | used. Split Boolean component Ada_Sources_Present in two Boolean | |
2552 | components Ada_Sources_Present and Other_Sources_Present. | |
2553 | Minor reformatting | |
2554 | ||
2555 | * prj-env.adb (For_All_Source_Dirs.Add): Use Ada_Sources_Present | |
2556 | instead of Sources_Present. | |
2557 | (Set_Ada_Paths.Add.Recursive_Add): Ditto | |
2558 | ||
2559 | * prj-nmsc.adb: Minor reformatting | |
2560 | (Check_Ada_Naming_Scheme): New name of procedure Check_Naming_Scheme | |
2561 | (Check_Ada_Naming_Scheme_Validity): New name of previous procedure | |
2562 | Check_Ada_Naming_Scheme. | |
2563 | Change Sources_Present to Ada_Sources_Present or Other_Sources_Present | |
2564 | throughout. | |
2565 | ||
2566 | * prj-part.adb (Post_Parse_Context_Clause): New Boolean parameter | |
2567 | In_Limited. | |
2568 | Make sure that all cycles where there is at least one "limited with" | |
2569 | are detected. | |
2570 | (Parse_Single_Project): New Boolean parameter In_Limited | |
2571 | ||
2572 | * prj-proc.adb (Recursive_Check): When Process_Languages is | |
2573 | All_Languages, call first Prj.Nmsc.Ada_Check, then | |
2574 | Prj.Nmsc.Other_Languages_Check. | |
2575 | ||
2576 | * prj-proc.adb (Process): Use Ada_Sources_Present or | |
2577 | Other_Sources_Present (instead of Sources_Present) depending on | |
2578 | Process_Languages. | |
2579 | ||
2580 | * lang-specs.h: Keep -g and -m switches in the same order, and as the | |
2581 | last switches. | |
2582 | ||
2583 | * lib.adb (Switch_Storing_Enabled): New global Boolean flag | |
2584 | (Disable_Switch_Storing): New procedure. Set Switch_Storing_Enabled to | |
2585 | False. | |
2586 | (Store_Compilation_Switch): Do nothing if Switch_Storing_Enabled is | |
2587 | False. | |
2588 | ||
2589 | * lib.ads (Disable_Switch_Storing): New procedure. | |
2590 | ||
2591 | * make.adb: Modifications to reduce nesting level of this package. | |
2592 | (Check_Standard_Library): New procedure | |
2593 | (Gnatmake.Check_Mains): New procedure | |
2594 | (Gnatmake.Create_Binder_Mapping_File): New procedure | |
2595 | (Compile_Sources.Compile): Add switch -gnatez as the last option | |
2596 | (Display): Never display -gnatez | |
2597 | ||
6615c446 | 2598 | * Makefile.generic: |
0da2c8ac AC |
2599 | When using $(MAIN_OBJECT), always use $(OBJ_DIR)/$(MAIN_OBJECT) |
2600 | ||
2601 | * gnatcmd.adb (Check_Project): New function | |
2602 | (Process_Link): New procedure to reduce nesting depth | |
2603 | (Check_Files): New procedure to reduce the nesting depth. | |
2604 | For GNAT METRIC, include the inherited sources in extending projects. | |
2605 | (GNATCmd): When GNAT LS is invoked with a project file and no files, | |
2606 | add the list of files from the sources of the project file. If this list | |
2607 | is too long, put it in a temp text files and use switch -files= | |
2608 | (Delete_Temp_Config_Files): Delete the temp text file that contains | |
2609 | a list of source for gnatpp or gnatmetric, if one has been created. | |
2610 | (GNATCmd): For GNAT METRIC and GNAT PRETTY, if the number of sources | |
2611 | in the project file is too large, create a temporary text file that | |
2612 | list them and pass it to the tool with "-files=<temp text file>". | |
2613 | (GNATCmd): For GNAT METRIC add "-d=<abject dir>" as the first switch | |
2614 | ||
2615 | * gnatlink.adb (Gnatlink): Do not compile with --RTS= when the | |
2616 | generated file is in not in Ada. | |
2617 | ||
2618 | * gnatls.adb: Remove all parameters And_Save that are no longer used. | |
2619 | (Scan_Ls_Arg): Add processing for -files= | |
2620 | (Usage): Add line for -files= | |
2621 | ||
2622 | * g-os_lib.adb (On_Windows): New global constant Boolean flag | |
2623 | (Normalize_Pathname): When on Windows and the path starts with a | |
2624 | directory separator, make sure that the resulting path will start with | |
2625 | a drive letter. | |
2626 | ||
2627 | * clean.adb (Clean_Archive): New procedure | |
2628 | (Clean_Project): When there is non-Ada code, delete the global archive, | |
2629 | the archive dependency files, the object files and their dependency | |
2630 | files, if they exist. | |
2631 | (Gnatclean): Call Prj.Pars.Parse for All_Languages, not for Ada only. | |
2632 | ||
2633 | 2004-06-25 Thomas Quinot <quinot@act-europe.fr> | |
2634 | ||
2635 | * sinfo.ads: Fix typo in comment. | |
2636 | ||
2637 | * sem_dist.adb (Process_Remote_AST_Attribute): Simplify code that uses | |
2638 | the TSS for remote access-to-subprogram types, since these TSS are | |
2639 | always present once the type has been analyzed. | |
2640 | (RAS_E_Dereference): Same. | |
2641 | ||
2642 | * sem_attr.adb (Analyze_Attribute): When analysis of an attribute | |
2643 | reference raises Bad_Attribute, mark the reference as analyzed so the | |
2644 | node (and any children resulting from rewrites that could have occurred | |
2645 | during the analysis that ultimately failed) is not analyzed again. | |
2646 | ||
2647 | * exp_ch7.ads (Find_Final_List): Fix misaligned comment. | |
2648 | ||
2649 | * exp_dist.adb: Minor comment fix. | |
2650 | ||
2651 | * exp_ch4.adb (Expand_N_Allocator): For an allocator whose expected | |
2652 | type is an anonymous access type, no unchecked deallocation of the | |
2653 | allocated object can occur. If the object is controlled, attach it with | |
2654 | a count of 1. This allows attachment to the Global_Final_List, if | |
2655 | no other relevant list is available. | |
2656 | (Get_Allocator_Final_List): For an anonymous access type that is | |
2657 | the type of a discriminant or record component, the corresponding | |
2658 | finalisation list is the one of the scope of the type. | |
2659 | ||
2660 | 2004-06-25 Ed Schonberg <schonberg@gnat.com> | |
2661 | ||
2662 | * sem_ch3.adb (Replace_Type): When computing the signature of an | |
2663 | inherited subprogram, use the first subtype if the derived type | |
2664 | declaration has no constraint. | |
2665 | ||
2666 | * exp_ch6.adb (Add_Call_By_Copy_Code): Check that formal is an array | |
2667 | before applying previous optimization. Minor code cleanup. | |
2668 | ||
2669 | * exp_util.adb (Is_Possibly_Unaligned_Slice): If the component is | |
2670 | placed at the beginning of an unpacked record without explicit | |
2671 | alignment, a slice of it will be aligned and does not need a copy when | |
2672 | used as an actual. | |
2673 | ||
2674 | 2004-06-25 Ed Schonberg <schonberg@gnat.com> | |
2675 | ||
2676 | PR ada/15591 | |
2677 | PR ada/15592 | |
2678 | * sem_ch8.adb (Attribute_Renaming): Reject renaming if the attribute | |
2679 | reference is written with expressions mimicking parameters. | |
2680 | ||
2681 | 2004-06-25 Hristian Kirtchev <kirtchev@gnat.com> | |
2682 | ||
2683 | PR ada/15589 | |
2684 | * sem_ch3.adb (Build_Derived_Record_Type): Add additional check to | |
2685 | STEP 2a. The constraints of a full type declaration of a derived record | |
2686 | type are checked for conformance with those declared in the | |
2687 | corresponding private extension declaration. The message | |
2688 | "not conformant with previous declaration" is emitted if an error is | |
2689 | detected. | |
2690 | ||
2691 | 2004-06-25 Vasiliy Fofanov <fofanov@act-europe.fr> | |
2692 | ||
2693 | * g-traceb.ads: Document the need for -E binder switch in the spec. | |
2694 | ||
2695 | * g-trasym.ads: Document the need for -E binder switch in the spec. | |
2696 | ||
2697 | 2004-06-25 Jose Ruiz <ruiz@act-europe.fr> | |
2698 | ||
2699 | * sem_prag.adb: Add handling of pragma Detect_Blocking. | |
2700 | ||
2701 | * snames.h, snames.ads, snames.adb: Add entry for pragma | |
2702 | Detect_Blocking. | |
2703 | ||
2704 | * s-rident.ads: Change reference to pragma Detect_Blocking. | |
2705 | ||
2706 | * targparm.ads, targparm.adb: Allow pragma Detect_Blocking in | |
2707 | system.ads. | |
2708 | ||
2709 | * opt.ads (Detect_Blocking): New Boolean variable (defaulted to False) | |
2710 | to indicate whether pragma Detect_Blocking is active. | |
2711 | ||
2712 | * par-prag.adb: Add entry for pragma Detect_Blocking. | |
2713 | ||
2714 | * rtsfind.adb (RTU_Loaded): Fix the temporary kludge to get past bug | |
2715 | of not handling WITH. | |
2716 | Note that this replaces the previous update which was incorrect. | |
2717 | ||
2718 | 2004-06-25 Javier Miranda <miranda@gnat.com> | |
2719 | ||
2720 | * sem_ch10.adb (Re_Install_Use_Clauses): Force the installation of the | |
2721 | use-clauses to have a clean environment. | |
2722 | ||
2723 | * sem_ch8.adb (Install_Use_Clauses): Addition of a new formal to force | |
2724 | the installation of the use-clauses to stablish a clean environment in | |
2725 | case of compilation of a separate unit; otherwise the call to | |
2726 | use_one_package is protected by the barrier Applicable_Use. | |
2727 | ||
2728 | * sem_ch8.ads (Install_Use_Clauses): Addition of a new formal to force | |
2729 | the installation of the use-clauses to stablish a clean environment in | |
2730 | case of compilation of a separate unit. | |
2731 | (End_Use_Clauses): Minor comment cleanup. | |
2732 | ||
2733 | 2004-06-25 Sergey Rybin <rybin@act-europe.fr> | |
2734 | ||
2735 | * gnat_ugn.texi: Add description of the gnatpp 'files' switch | |
2736 | ||
65355d53 RH |
2737 | 2004-06-23 Richard Henderson <rth@redhat.com> |
2738 | ||
2739 | * trans.c (gnat_gimplify_stmt): Update gimplify_type_sizes call. | |
2740 | ||
c0e3aa48 RK |
2741 | 2004-06-20 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2742 | ||
2743 | * decl.c (elaborate_expression, elaborate_expression_1): Arguments | |
2744 | now bool instead of int. | |
2745 | (gnat_to_gnu_entity, elaborate_expression_1): New arg to COMPONENT_REF. | |
2746 | * trans.c (gnu_switch_label_stack): New function. | |
2747 | (gnat_to_gnu, N_Object_Renaming_Declaration): Result is what the | |
2748 | elaboration of renamed entity returns. | |
2749 | (gnat_to_gnu, case N_Case_Statement): Add branches to end label. | |
2750 | (add_decl_stmt): Don't add TYPE_DECL for UNCONSTRAINED_ARRAY_TYPE. | |
2751 | (gnat_gimplify_stmt): Use alloc_stmt_list, not build_empty_stmt. | |
2752 | (gnat_gimplify_stmt, case DECL_STMT): gimplify DECL_SIZE and | |
2753 | DECL_SIZE_UNIT and simplify variable-sized case. | |
2754 | (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted. | |
2755 | Callers changes to call gimplify_type_sizes and gimplify_one_sizepos. | |
2756 | (gnat_stabilize_reference): Add arg to COMPONENT_REF. | |
2757 | (build_unit_elab): Disable for now. | |
2758 | * utils.c (mark_visited): New function. | |
2759 | (pushdecl): Walk tree to call it for global decl. | |
2760 | (update_pointer_to): Update all variants of pointer and ref types. | |
2761 | Add arg to COMPONENT_REF. | |
2762 | (convert): Likewise. | |
2763 | Move check for converting between variants lower down. | |
2764 | * utils2.c (build_simple_component_ref): Add arg to COMPONENT_REF. | |
2765 | (build_allocator): Don't force type of MODIFY_EXPR. | |
2766 | (gnat_mark_addressable, case VAR_DECL): Unconditionally call | |
2767 | put_var_into_stack. | |
2768 | ||
966389ee RK |
2769 | 2004-06-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2770 | ||
2771 | * ada-tree.def (LOOP_STMT, EXIT_STMT): Update documentation. | |
2772 | * ada-tree.h (EXIT_STMT_LABEL): Renamed from EXIT_STMT_LOOP. | |
2773 | * decl.c (gnat_to_gnu_entity): Also set force_global for imported | |
2774 | subprograms. | |
2775 | * trans.c (gnu_loop_label_stack): Renamed from gnu_loop_stmt_stack; | |
2776 | all callers changed. | |
2777 | (gnat_to_gnu, case N_Loop_Statement, case N_Exit_Statement): Change | |
2778 | the way that EXIT_STMT finds the loop label. | |
2779 | (gnat_gimplify_stmt, case LOOP_STMT, EXIT_STMT): Likewise. | |
2780 | (gnat_gimplify_stmt, case DECL_STMT): Handle variable-sized decls here. | |
2781 | (add_stmt): Use annotate_with_locus insted of setting directly. | |
2782 | (pos_to_construct): Set TREE_PURPOSE of each entry to index. | |
2783 | (gnat_stabilize_reference, case ARRAY_RANGE_REF): Merge with ARRAY_REF. | |
2784 | * utils.c (gnat_install_builtins): Install __builtin_memcmp. | |
2785 | (build_vms_descriptor): Add extra args to ARRAY_REF. | |
2786 | (convert): Use VIEW_CONVERT_EXPR between aggregate types. | |
2787 | * utils2.c (gnat_truthvalue_conversion, case INTEGER_CST, REAL_CST): | |
2788 | New cases. | |
2789 | (build_binary_op): Don't make explicit CONVERT_EXPR. | |
2790 | Add extra rgs to ARRAY_REF. | |
2791 | ||
cc335f43 AC |
2792 | 2004-06-14 Pascal Obry <obry@gnat.com> |
2793 | ||
2794 | * gnat_ugn.texi: Document relocatable vs. dynamic Library_Kind on | |
2795 | Windows. Fix minor typo. | |
2796 | ||
2797 | * mlib-tgt-mingw.adb: New implementation using the GCC -shared option | |
2798 | which is now supported on Windows. With this implementation using the | |
2799 | Library Project feature is no different on Windows than on UNIX. | |
2800 | ||
2801 | 2004-06-14 Vincent Celier <celier@gnat.com> | |
2802 | ||
2803 | * makegpr.adb (Compile_Sources): Nothing to do when there are no | |
2804 | non-Ada sources. | |
2805 | ||
2806 | * mlib-tgt-vxworks.adb (Library_Exists_For): Remove incorrect comment | |
2807 | ||
2808 | * prj-part.adb (Parse_Single_Project): When a duplicate project name is | |
2809 | found, show the project name and the path of the previously parsed | |
2810 | project file. | |
2811 | ||
2812 | 2004-06-14 Ed Schonberg <schonberg@gnat.com> | |
2813 | ||
2814 | * exp_ch6.adb (Add_Call_By_Copy_Code): For an out-parameter that is an | |
2815 | array, avoid copying the actual before the call. | |
2816 | ||
2817 | 2004-06-14 Thomas Quinot <quinot@act-europe.fr> | |
2818 | ||
2819 | * g-debpoo.adb: Remove alignment assumptions from GNAT.Debug_Pools. | |
2820 | Instead, allocate memory on worst-case alignment assumptions, and then | |
2821 | return an aligned address within the allocated zone. | |
2822 | ||
2823 | 2004-06-14 Robert Dewar <dewar@gnat.com> | |
2824 | ||
2825 | * bindgen.adb (Gen_Adainit_Ada): Do not generate external references to | |
2826 | elab entities in predefined units in No_Run_Time_Mode. | |
2827 | (Gen_Adainit_C): Same fix | |
2828 | (Gen_Elab_Calls_Ada): Do not generate calls to elaborate predefined | |
2829 | units in No_Run_Time_Mode | |
2830 | (Gen_Elab_Calls_C): Same fix | |
2831 | ||
2832 | * symbols-vms-alpha.adb: Minor reformatting | |
2833 | ||
2834 | * g-debpoo.ads: Minor reformatting | |
2835 | ||
2836 | * lib.adb (In_Same_Extended_Unit): Version working on node id's | |
2837 | ||
2838 | * lib.ads (In_Same_Extended_Unit): Version working on node id's | |
2839 | ||
2840 | * lib-xref.adb: Minor cleanup, use new version of In_Same_Extended_Unit | |
2841 | working on nodes. | |
2842 | ||
2843 | * make.adb: Minor reformatting | |
2844 | ||
2845 | * par-ch12.adb: Minor reformatting | |
2846 | ||
2847 | * par-prag.adb: Add dummy entry for pragma Profile_Warnings | |
2848 | ||
2849 | * prj-strt.adb: Minor reformatting | |
2850 | ||
2851 | * restrict.ads, restrict.adb: Redo handling of profile restrictions to | |
2852 | be more general. | |
2853 | ||
2854 | * sem_attr.adb: Minor reformatting | |
2855 | ||
2856 | * sem_ch7.adb: Minor reformatting | |
2857 | ||
2858 | * sem_elab.adb (Check_A_Call): Deal with problem of calling init proc | |
2859 | for type in the same unit as the object declaration. | |
2860 | ||
2861 | * sem_prag.adb (Check_Arg_Is_External_Name): New procedure, allows | |
2862 | static string expressions and not just string literals. | |
2863 | Minor reformatting | |
2864 | (Set_Warning): Reset restriction warning flag for restriction pragma | |
2865 | Implement pragma Profile_Warnings | |
2866 | Implement pragma Profile (Restricted) | |
2867 | Give obolescent messages for old restrictions and pragmas | |
2868 | ||
2869 | * snames.h, snames.ads, snames.adb: Add new entry for pragma | |
2870 | Profile_Warnings. | |
2871 | ||
2872 | * s-rident.ads: Add declarations for restrictions required by profile | |
2873 | Restricted and profile Ravenscar. | |
2874 | ||
2875 | * targparm.ads, targparm.adb: Allow pragma Profile in system.ads | |
2876 | ||
2877 | * gnat_ugn.texi: Correct some missing entries in the list of GNAT | |
2878 | configuration pragmas. | |
2879 | ||
5453d5bd AC |
2880 | 2004-06-11 Vincent Celier <celier@gnat.com> |
2881 | ||
2882 | * mlib-tgt-vms-alpha.adb (Build_Dynamic_Library): Issue switch -R to | |
2883 | gnatsym, when symbol policy is Restricted. | |
2884 | ||
2885 | * mlib-tgt-vms-ia64.adb (Build_Dynamic_Library): Issue switch -R to | |
2886 | gnatsym, when symbol policy is Restricted. | |
2887 | ||
2888 | * symbols-vms-alpha.adb (Initialize): When symbol policy is Restricted, | |
2889 | read the symbol file. | |
2890 | (Finalize): Fail in symbol policy Restricted if a symbol in the original | |
2891 | symbol file is not in the object files. Do not create a new symbol file | |
2892 | when symbol policy is Restricted. | |
2893 | ||
2894 | * gnatbind.adb (Gnatbind): Initialize Snames, because Snames is used | |
2895 | in Scng. | |
2896 | ||
2897 | * gnatsym.adb (Parse_Vmd_Line): Process new switch -R for symbol policy | |
2898 | Restricted. | |
2899 | (Usage): Line for new switch -R | |
2900 | ||
2901 | * make.adb (Initialize): When the platform is not VMS, add the | |
2902 | directory where gnatmake is invoked in the front of the path, if | |
2903 | gnatmake is invoked with directory information. Change the Scan_Args | |
2904 | while loop to a for loop. | |
2905 | (Recursive_Compute_Depth): Remove parameter Visited. Improve efficiency: | |
2906 | if Depth is equal or greater than the proposed depth, there is nothing | |
2907 | to do. | |
2908 | (Initialize): Call Recursive_Compute_Depth with initial Depth equal to 1 | |
2909 | instead of 0. | |
2910 | ||
2911 | * prj.ads: Add new symbol policy Restricted. | |
2912 | ||
2913 | * prj-dect.adb (Parse_Case_Construction): Call End_Case_Construction | |
2914 | with the new parameters Check_All_Labels and Case_Location. | |
2915 | ||
2916 | * prj-nmsc.adb (Ada_Check): Process new symbol policy Restricted | |
2917 | (Library_Symbol_File needs to be defined). | |
2918 | ||
2919 | * prj-strt.adb (End_Case_Construction): New parameters Check_All_Labels | |
2920 | and Case_Location If Check_All_Labels is True, check that all values of | |
2921 | the string type are used, and output warning(s) if they are not. | |
2922 | ||
2923 | * prj-strt.ads (End_Case_Construction): New parameters Check_All_Labels | |
2924 | and Case_Location. | |
2925 | ||
2926 | * gnat_ugn.texi: Reorder subclauses in menus "Switches for gcc" | |
2927 | ||
2928 | * gnat_ugn.texi: Update documentation about the library directory in | |
2929 | Library Projects. | |
2930 | ||
2931 | * makegpr.adb (Display_Command): In verbose mode, also display the | |
2932 | value of the CPATH env var, when the compiler is gcc. | |
2933 | (Initialize): Change the Scan_Args while loop to a for loop | |
2934 | (Compile_Individual_Sources): Change directory to object directory | |
2935 | before compilations. | |
2936 | ||
2937 | * symbols.ads: New symbol policy Restricted. | |
2938 | ||
2939 | 2004-06-11 Olivier Hainque <hainque@act-europe.fr> | |
2940 | ||
2941 | * a-except.adb (Raise_After_Setup family): Remove. The responsibility | |
2942 | is now taken care of internally in the Exception_Propagation package | |
2943 | and does not require clients assistance any more. | |
2944 | ||
2945 | * a-exexpr.adb (Is_Setup_And_Not_Propagated, | |
2946 | Set_Setup_And_Not_Propagated, and Clear_Setup_And_Not_Propagated): New | |
2947 | functions. Helpers to maintain a predicate required in the handling of | |
2948 | occurrence transfer between tasks. | |
2949 | This is now handled internally and does not require clients assistance | |
2950 | for the setup/propagate separation anymore. | |
2951 | (Setup_Exception, Propagate_Exception): Simplify the Private_Data | |
2952 | allocation strategy, handle the Setup_And_Not_Propagated predicate and | |
2953 | document. | |
2954 | ||
2955 | * s-taenca.adb (Check_Exception): Use raise_with_msg instead of | |
2956 | raise_after_setup, now that everything is handled internally within the | |
2957 | setup/propagation engine. | |
2958 | ||
2959 | 2004-06-11 Hristian Kirtchev <kirtchev@gnat.com> | |
2960 | ||
2961 | * exp_ch6.adb (Expand_Inlined_Call): Add function Formal_Is_Used_Once. | |
2962 | Add additional conditions for the case of an actual being a simple | |
2963 | name or literal. Improve inlining by preventing the generation | |
2964 | of temporaries with a short lifetime (one use). | |
2965 | ||
2966 | 2004-06-11 Hristian Kirtchev <kirtchev@gnat.com> | |
2967 | ||
2968 | PR ada/15587 | |
2969 | ||
2970 | * einfo.ads: Minor comment updates for Has_Completion and | |
2971 | E_Constant list of flags. | |
2972 | ||
2973 | * sem_ch3.adb (Analyze_Object_Declaration): Full constant declarations | |
2974 | and constant redeclarations now set the Has_Completion flag of their | |
2975 | defining identifiers. | |
2976 | ||
2977 | * sem_ch7.adb (Analyze_Package_Spec): Add procedure | |
2978 | Inspect_Deferred_Constant_Completion. | |
2979 | Used to detect private deferred constants that have not been completed | |
2980 | either by a constant redeclaration or pragma Import. Emits error message | |
2981 | "constant declaration requires initialization expression". | |
2982 | ||
2983 | * sem_prag.adb (Process_Import_Or_Interface): An Import pragma now | |
2984 | completes a deferred constant. | |
2985 | ||
2986 | 2004-06-11 Geert Bosch <bosch@gnat.com> | |
2987 | ||
2988 | * eval_fat.adb (Decompose_Int): Fix rounding of negative numbers. | |
2989 | ||
2990 | * s-fatgen.adb (Gradual_Scaling): Correct off-by-one error in | |
2991 | calculating exponent for scaling denormal numbers. | |
2992 | (Leading_Part): Properly raise Constraint_Error for zero or negative | |
2993 | Adjustment. | |
2994 | (Remainder): Properly raise Constraint_Error for zero divisor. | |
2995 | ||
2996 | 2004-06-11 Thomas Quinot <quinot@act-europe.fr> | |
2997 | ||
2998 | * sem_util.adb: Minor reformatting. | |
2999 | ||
3000 | * exp_ch2.adb (Expand_Entry_Parameter): Generate an explicit | |
3001 | dereference when accessing the entry parameter record. | |
3002 | (Check_Array_Type): Always check for possible implicit dereference. | |
3003 | (maybe_implicit_dereference): Rename to check_no_implicit_derefence. | |
3004 | Abort if a pointer is still present (denoting that an implicit | |
3005 | dereference was left in the tree by the front-end). | |
3006 | ||
3007 | * sem_attr.adb (Expand_Entry_Parameter): Generate an explicit | |
3008 | dereference when accessing the entry parameter record. | |
3009 | (Check_Array_Type): Always check for possible implicit dereference. | |
3010 | (maybe_implicit_dereference): Rename to check_no_implicit_derefence. | |
3011 | Abort if a pointer is still present (denoting that an implicit | |
3012 | dereference was left in the tree by the front-end). | |
3013 | ||
3014 | 2004-06-11 Emmanuel Briot <briot@act-europe.fr> | |
3015 | ||
3016 | * g-debpoo.adb (Deallocate, Dereference): Add prefix "error:" to error | |
3017 | message, like the compiler itself does. Easier to parse the output. | |
3018 | ||
3019 | * g-debpoo.ads: (Allocate, Deallocate, Dereference): Add comments. | |
3020 | ||
3021 | * gnat_ugn.texi (gnatxref, gnatfind): Clarify that source names should | |
3022 | be base names, and not includes directories. | |
3023 | ||
3024 | 2004-06-11 Arnaud Charlet <charlet@act-europe.fr> | |
3025 | ||
3026 | * Makefile.generic ($(EXEC)): Depend on $(OBJECTS), not $(OBJ_FILES), | |
3027 | so that dependencies are properly taken into account by make. | |
3028 | ||
3029 | 2004-06-11 Arnaud Charlet <charlet@act-europe.fr> | |
3030 | ||
3031 | PR ada/15622 | |
3032 | * s-unstyp.ads, s-maccod.ads, sem_ch8.adb, s-auxdec.ads, | |
3033 | exp_intr.adb, s-auxdec-vms_64.ads: Fix typo: instrinsic -> intrinsic | |
3034 | ||
3035 | 2004-06-11 Jerome Guitton <guitton@act-europe.fr> | |
3036 | ||
3037 | * Makefile.in (install-gnatlib): install target-specific run-time files. | |
3038 | ||
3039 | * Make-lang.in: Remove obsolete targets. | |
3040 | ||
3041 | 2004-06-11 Ed Schonberg <schonberg@gnat.com> | |
3042 | ||
3043 | * par-ch12.adb (P_Generic): Add scope before analyzing subprogram | |
3044 | specification, to catch misuses of program unit names. | |
3045 | ||
3046 | * sem_res.adb (Resolve_Type_Conversion): Do not emit warnings on | |
3047 | superfluous conversions in an instance. | |
3048 | ||
3049 | 2004-06-11 Ed Schonberg <schonberg@gnat.com> | |
3050 | ||
3051 | PR ada/15403 | |
3052 | ||
3053 | * sem_ch12.adb (Save_References): If operator node has been folded to | |
3054 | enumeration literal, associated_node must be discarded. | |
3055 | ||
3056 | 2004-06-11 Jose Ruiz <ruiz@act-europe.fr> | |
3057 | ||
3058 | * s-stchop-vxworks.adb: Add required pragma Convention to | |
3059 | Task_Descriptor because it is updated by a C function. | |
3060 | ||
a98f59be AC |
3061 | 2004-06-08 Arnaud Charlet <charlet@act-europe.fr> |
3062 | ||
3063 | PR ada/15568 | |
3064 | ||
3065 | * Makefile.in: Remove target specific SO_OPT on IRIX | |
3066 | ||
821e1ea1 RK |
3067 | 2004-06-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3068 | ||
3069 | * ada-tree.def (TRANSFORM_EXPR, ALLOCATE_EXPR, USE_EXPR): Deleted. | |
3070 | (GNAT_NOP_EXPR, GNAT_LOOP_ID, EXPR_STMT, NULL_STMT): Likewise. | |
3071 | (BLOCK_STMT, IF_STMT, GOTO_STMT, LABEL_STMT, RETURN_STMT): Likewise. | |
3072 | (ASM_STMT, BREAK_STMT, REGION_STMT,HANDLER_STMT): Likewise. | |
3073 | (STMT_STMT, USE_STMT): New statement codes. | |
3074 | (LOOP_STMT, EXIT_STMT): Make slight semantic changes. | |
3075 | * ada-tree.h: Reflect above changes. | |
3076 | (struct tree_loop_id): Deleted. | |
3077 | (union lang_tree_node, struct lang_decl, struct lang_type): | |
3078 | Now just contains a tree node; update macros using TYPE_LANG_SPECIFIC | |
3079 | and DECL_LANGUAGE_SPECIFIC to reflect these changes. | |
3080 | (DECL_INIT_BY_ASSIGN_P, TRE_LOOP_NODE_ID, TREE_SLOC): Deleted. | |
3081 | (IS_ADA_STMT): New macro. | |
3082 | * decl.c (annotate_decl_with_node): New function. | |
3083 | (gnat_to_gnu_entity): Use it and Sloc_to_locus instead of set_lineno. | |
3084 | (gnat_to_gnu_entity, case object): Remove call to expand CONVERT_EXPR. | |
3085 | Call add_stmt_with_node to do needed assignments. | |
3086 | Add call to update setjmp buffer directly, not via EXPR_STMT. | |
3087 | (maybe_variable): Argment GNAT_NODE deleted. | |
3088 | * gigi.h (maybe_variable): Likewise. | |
3089 | (make_transform, add_stmt_with_node, set_block_for_group): New. | |
3090 | (gnat_gimplify_expr, gnat_expand_body, Sloc_to_locus): Likewise. | |
3091 | (set_block_jmpbuf_decl, get_block_jmpbuf_decl): Likewise. | |
3092 | (discard_file_names, gnu_block_stack, gnat_to_code): Deleted. | |
3093 | (set_lineno, set_lineno_from_sloc): Likewise. | |
3094 | (record_code_position, insert_code_for): Likewise. | |
3095 | (gnat_poplevel): Now returns void. | |
3096 | (end_subprog_body): Now takes argument. | |
3097 | * misc.c (cgraph.h, tree-inline.h): New includes. | |
3098 | (gnat_tree_size, LANG_HOOKS_TREE_SIZE): Deleted. | |
3099 | (gnat_post_options, LANG_HOOKS_POST_OPTIONS): New. | |
3100 | (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Likewise. | |
3101 | (LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_GIMPLIFY_EXPR): Likewise. | |
3102 | (gnat_parse_file): Don't set immediate_size_expand. | |
3103 | Call cgraph functions. | |
3104 | (gnat_expand_expr): Remove most cases. | |
3105 | (record_code_position, insert_code_for): Remove from here. | |
3106 | * trans.c (toplev.h, tree-gimple.h): Now included. | |
3107 | (discard_file_names): Deleted. | |
3108 | (gnu_block_stack, gnu_block_stmt_node, gnu_block_stmt_free_list): Del. | |
3109 | (first_nondeleted_insn, make_expr_stmt_from_rtl): Likewise. | |
3110 | (struct stmt_group, current_stmt_group, stmt_group_free_list): New. | |
3111 | (gnu_stack_free_list, record_cost_position, insert_code_for): Likewise. | |
3112 | (add_cleanup, push_stack, gnat_gimplify_stmt, add_cleanup): Likewise. | |
3113 | (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Likewise. | |
3114 | (gnat_expand_body_1, gnat_gimplify_expr, annotate_with_node): Likewise. | |
3115 | (set_block_for_group, add_stmt_list): Likewise. | |
3116 | (start_stmt_group): Renamed from start_block_stmt. | |
3117 | (end_stmt_group): Likewise, from end_block_stmt. | |
3118 | (build_stmt_group): Likewise, from build_block_stmt, also add arg. | |
3119 | (gigi): Don't set discard_file_names or call set_lineno. | |
3120 | Disallow front end ZCX; call gnat_to_gnu, not gnat_to_code. | |
3121 | (tree_transform): Deleted, now renamed to be gnat_to_gnu. | |
3122 | Numerous changes throughout to reflect new names and complete | |
3123 | function-at-a-time implementation. | |
3124 | (gnat_expand_stmt): Delete or comment out all cases. | |
3125 | (process_inlined_subprograms): Use add_stmt. | |
3126 | (process_decls): Use gnat_to_gnu, not gnat_to_code, and don't | |
3127 | call set_lineno; also remove unneeded block handling. | |
3128 | (process_type): Remove unneeded block handling. | |
3129 | (build_unit_elab): Remove calls to deleted functions. | |
3130 | * utils.c (cgraph.h, tree-inline.h, tree-gimple.h): Now include. | |
3131 | (tree-dump.h): Likewise. | |
3132 | (struct ada_binding_level): Add field jmpbuf_decl. | |
3133 | (gnat_define_builtin, gnat_install_builtins): New. | |
3134 | (gnat_gimplify_function, gnat_finalize): Likewise. | |
3135 | (gnat_poplevel): No longer return BLOCK, set it instead. | |
3136 | Remove code dealing with nested functions. | |
3137 | (gnat_init_decl_processing): Also set size_type_node. | |
3138 | Call gnat_install_builtins. | |
3139 | (create_var_decl): Don't set DECL_INIT_BY_ASSIGN. | |
3140 | (create_subprog_decl): Change handling of inline_flag; set TREE_STATIC. | |
3141 | Remove special-case for "main". | |
3142 | (end_subprog_body): Add arg and rework for tree-ssa. | |
3143 | (convert): Don't use GNAT_NOP_EXPR or look for TRANSFORM_EXPR. | |
3144 | Add case for BOOLEAN_TYPE. | |
3145 | * utils2.c (rtl.h): Now include. | |
3146 | (build_call_raise): Test Debug_Flag_NN directly. | |
3147 | (build_call_alloc_dealloc): Don't use local stack allocation for now. | |
3148 | (gnat_mark_addressable, case GNAT_NOP_EXPR): Deleted. | |
3149 | (gnat_mark_addressable, case VAR_DECL): Handle both early & late cases. | |
3150 | ||
0ab80019 AC |
3151 | 2004-06-07 Robert Dewar <dewar@gnat.com> |
3152 | ||
3153 | * a-direct.ads, einfo.ads: Minor comment updates | |
3154 | ||
3155 | * s-taprop-lynxos.adb, s-taprop-tru64.adb, s-taprop-irix.adb, | |
3156 | s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb, | |
3157 | s-taprop-dummy.adb, s-taprop-os2.adb, s-taprop-solaris.adb, | |
3158 | s-taprop-vms.adb, s-taprop-mingw.adb, s-taprop-vxworks.adb, | |
3159 | s-taprop-posix.adb, s-taprop.ads, exp_dbug.adb: Minor reformatting. | |
3160 | ||
3161 | * s-interr-sigaction.adb: Remove unreferenced variable | |
3162 | (Attached_Interrupts). Minor reformatting. | |
3163 | Avoid use of variable I (replace by J). | |
3164 | ||
3165 | * par-ch10.adb: Fix text of one error message | |
3166 | ||
3167 | * checks.adb, checks.ads, cstand.adb, vms_data.ads, errout.ads, | |
3168 | exp_aggr.adb, exp_ch3.adb, exp_ch3.ads, exp_ch5.adb, exp_ch6.adb, | |
3169 | exp_ch9.adb, exp_code.adb, gnat1drv.adb, lib-load.adb, lib-writ.adb, | |
3170 | opt.adb, par.adb, opt.ads, par-ch11.adb, par-ch3.adb, par-ch4.adb, | |
3171 | par-ch5.adb, par-ch6.adb, par-ch8.adb, par-ch9.adb, par-prag.adb, | |
3172 | par-util.adb, scng.adb, sem_aggr.adb, sem_attr.adb, sem_cat.adb, | |
6615c446 | 3173 | sem_ch10.adb, sem_ch10.adb, sem_ch11.adb, sem_ch12.adb, sem_ch2.adb, |
0ab80019 AC |
3174 | sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, |
3175 | sem_ch7.adb, sem_ch8.adb, sem_ch9.adb, sem_eval.adb, sem_prag.adb, | |
3176 | sem_res.adb, sem_type.adb, sem_util.adb, sinfo.ads, snames.adb, | |
3177 | snames.ads, snames.h, sprint.adb, switch-c.adb: Modifications for Ada | |
3178 | 2005 support. | |
3179 | ||
3180 | 2004-06-07 Doug Rupp <rupp@gnat.com> | |
3181 | ||
3182 | * mlib-tgt-vms.adb: Rename mlib-tgt-vms.adb mlib-tgt-vms-alpha.adb | |
3183 | ||
3184 | * s-vaflop-vms.adb: Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb | |
3185 | ||
3186 | * mlib-tgt-vms-ia64.adb: New file. | |
3187 | ||
3188 | * Makefile.in: Rename mlib-tgt-vms.adb to mlib-tgt-vms-alpha.adb | |
3189 | Add mlib-tgt-vms-ia64.adb | |
3190 | Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb. | |
3191 | Move to alpha specific ifeq section. | |
3192 | Add VMS specific versions of symbols.adb | |
3193 | Renaming of 5q vms files. | |
3194 | ||
3195 | * 5qsystem.ads renamed to system-vms_64.ads. | |
3196 | ||
3197 | 2004-06-07 Vincent Celier <celier@gnat.com> | |
3198 | ||
3199 | * a-calend.ads: Add a GNAT Note comment after function Time_Of to | |
3200 | explain that when a time of day corresponding to the non existing hour | |
3201 | on the day switching to DST is specified, Split may return a different | |
3202 | value for Seconds. | |
3203 | ||
3204 | * gnatcmd.adb: Add processing of GNAT METRIC (for gnatmetric), similar | |
3205 | to GNAT PRETTY. | |
3206 | ||
3207 | * g-os_lib.adb (OpenVMS): New Boolean value imported from System. | |
3208 | (Normalize_Pathname): Only resolve VMS logical names when on VMS. | |
3209 | ||
3210 | * mlib-prj.adb (Build_Library): New flag Gtrasymobj_Needed, initialize | |
3211 | to False. | |
3212 | If Gtrasymobj_Needed is True, add the full path of g-trasym.obj to | |
3213 | the linking options. | |
3214 | (Build_Library.Check_Libs): On VMS, if there is a dependency on | |
3215 | g-trasym.ads, set Gtrasymobj_Needed to True. | |
3216 | ||
3217 | * prj-attr.adb: Add new package Metrics for gnatmetric | |
3218 | ||
3219 | * prj-nmsc.adb (Record_Other_Sources): Put source file names in | |
3220 | canonical case to take into account files with upper case characters on | |
3221 | Windows. | |
3222 | (Ada_Check): Load the reference symbol file name in the name buffer to | |
3223 | check it, not the symbol file name. | |
3224 | ||
3225 | * snames.ads, snames.adb: Add standard name Metrics (name of project | |
3226 | file package for gnatmetric). | |
3227 | ||
3228 | * vms_conv.ads: Add Metric to Comment_Type | |
3229 | ||
3230 | * vms_conv.adb (Initialize): Add component dor Metric in Command_List | |
3231 | ||
3232 | * vms_data.ads: Add qualifiers for GNAT METRIC | |
3233 | ||
3234 | * makegpr.adb (Link_Executables): Take into account the switches | |
3235 | specified in package Linker of the main project. | |
3236 | ||
3237 | 2004-06-07 Thomas Quinot <quinot@act-europe.fr> | |
3238 | ||
3239 | * bindgen.adb (Set_Unit_Number): Units is an instance of Table, and so | |
3240 | the index of the last element is Units.Last, not Units.Table'Last | |
3241 | (which is usually not a valid index within the actually allocated | |
3242 | storage for the table). | |
3243 | ||
3244 | * exp_ch4.adb (Insert_Dereference_Action): Change predicate that | |
3245 | determines whether to generate a call to a checked storage pool | |
3246 | Dereference action. | |
3247 | Generate such a call only for a dereference that either comes from | |
3248 | source, or is the result of rewriting a dereference that comes from | |
3249 | source. | |
3250 | ||
3251 | 2004-06-07 Romain Berrendonner <berrendo@act-europe.fr> | |
3252 | ||
3253 | * bindgen.adb (Gen_Output_File): Add support for GAP builds. | |
3254 | ||
3255 | 2004-06-07 Eric Botcazou <ebotcazou@act-europe.fr> | |
3256 | ||
3257 | (gnat_to_gnu_entity) <E_Array_Subtype>: For multi-dimensional arrays at | |
3258 | file level, elaborate the stride for inner dimensions in alignment | |
3259 | units, not bytes. | |
3260 | ||
3261 | * exp_ch5.adb: Correct wrong reference to Component_May_Be_Bit_Aligned | |
3262 | in a comment. | |
3263 | ||
3264 | 2004-06-07 Javier Miranda <miranda@gnat.com> | |
3265 | ||
3266 | * exp_ch6.adb: Correct wrong modification in previous patch | |
3267 | ||
3268 | 2004-06-07 Vasiliy Fofanov <fofanov@act-europe.fr> | |
3269 | ||
3270 | * g-trasym.ads: Corrected comment to properly reflect level of support | |
3271 | on VMS. | |
3272 | ||
3273 | 2004-06-07 Hristian Kirtchev <kirtchev@gnat.com> | |
3274 | ||
3275 | * lib-xref.adb (Generate_Reference): Add nested function Is_On_LHS. It | |
3276 | includes case of a variable referenced on the left hand side of an | |
3277 | assignment, therefore remove redundant code. Variables and prefixes of | |
3278 | indexed or selected components are now marked as referenced on left | |
3279 | hand side. Warnings are now properly emitted when variables or prefixes | |
3280 | are assigned but not read. | |
3281 | ||
3282 | * sem_warn.adb (Output_Unreferenced_Messages): Add additional checks to | |
3283 | left hand side referenced variables. Private access types do not | |
3284 | produce the warning "variable ... is assigned but never read". | |
3285 | Add also additional checks to left hand side referenced variables. | |
3286 | Aliased, renamed objects and access types do not produce the warning | |
3287 | "variable ... is assigned but never read" since other entities may read | |
3288 | the memory location. | |
3289 | ||
3290 | 2004-06-07 Jerome Guitton <guitton@act-europe.fr> | |
3291 | ||
3292 | * Makefile.in: In the powerpc/vxworks-specific section, restore | |
3293 | EXTRA_GNATRTL_NONTASKING_OBJS and EXTRA_GNATRTL_TASKING_OBJS (removed | |
3294 | by mistake). | |
3295 | ||
3296 | 2004-06-07 Ed Schonberg <schonberg@gnat.com> | |
3297 | ||
3298 | * sem_ch4.adb (Remove_Abstract_Operations): Refine the removal of | |
3299 | predefined operators. | |
3300 | Removes spurious type errors from g-trasym-vms.adb. | |
3301 | ||
3302 | * sem_res.adb (Rewrite_Renamed_Operator): If intrinsic operator is | |
3303 | distinct from the operator appearing in the source, call appropriate | |
3304 | routine to insert conversions when needed, and complete resolution of | |
3305 | node. | |
3306 | (Resolve_Intrinsic_Operator): Fix cut-and-paste bug on transfer of | |
3307 | interpretations for rewritten right operand. | |
3308 | (Set_Mixed_Mode_Operand): Handle properly a universal real operand when | |
3309 | the other operand is overloaded and the context is a type conversion. | |
3310 | ||
3311 | 2004-06-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
3312 | ||
3313 | * ada-tree.def (BLOCK_STMT): Now has two operands. | |
3314 | (BREAK_STMT): New. | |
3315 | ||
3316 | * ada-tree.h: (BLOCK_STMT_BLOCK): New macro. | |
3317 | ||
3318 | * gigi.h: (gnat_poplevel): Now returns a tree. | |
3319 | ||
3320 | * trans.c (end_block_stmt): Add arg; all callers changed. | |
3321 | (tree_transform, case N_Case_Statement): Make a BLOCK_STMT for a WHEN. | |
3322 | (start_block_stmt): Clear BLOCK_STMT_BLOCK. | |
3323 | (add_stmt): Set TREE_TYPE. | |
3324 | (gnat_expand_stmt, case BLOCK_STMT): Handle BLOCK_STMT_BLOCK. | |
3325 | (gnat_expand_stmt, case BREAK_STMT): New case. | |
3326 | ||
3327 | * utils.c (gnat_poplevel): Return a BLOCK, if we made one. | |
3328 | ||
3329 | 2004-06-07 Jose Ruiz <ruiz@act-europe.fr> | |
3330 | ||
3331 | * s-stchop.adsm s-stchop.adb, s-stchop-vxworks.adb: Remove the | |
3332 | procedure Set_Stack_Size that is not needed. | |
3333 | ||
3334 | 2004-06-07 Sergey Rybin <rybin@act-europe.fr> | |
3335 | ||
3336 | * gnat_ugn.texi: Clarify the case when non-standard naming scheme is | |
3337 | used for gnatpp input file and for the files upon which it depends | |
3338 | ||
3339 | 2004-06-07 Ben Brosgol <brosgol@gnat.com> | |
3340 | ||
3341 | * gnat_ugn.texi: Wordsmithing of "GNAT and Libraries" chapter | |
3342 | ||
3343 | 2004-06-07 Arnaud Charlet <charlet@act-europe.fr> | |
3344 | ||
3345 | * gnatvsn.ads: Bump version numbers appropriately. | |
3346 | Add new build type. | |
3347 | ||
3348 | 2004-06-07 Pascal Obry <obry@gnat.com> | |
3349 | ||
3350 | * gnat_ugn.texi: Improve comments about imported names and link names | |
3351 | on Windows. Add a note about the requirement to use -k gnatdll's option | |
3352 | when working with a DLL which has stripped stdcall symbols (no @nn | |
3353 | suffix). | |
3354 | ||
8a36a0cc AC |
3355 | 2004-05-27 Vincent Celier <celier@gnat.com> |
3356 | ||
3357 | * vms_data.ads: Add new GNAT PRETTY qualifiers /NO_BACKUP and | |
3358 | COMMENTS_LAYOUT=UNTOUCHED | |
3359 | ||
3360 | * symbols-vms.adb, symbols-vms-alpha.adb: Renamed symbols-vms.adb to | |
3361 | symbols-vms-alpha.adb | |
3362 | ||
3363 | 2004-05-27 Thomas Quinot <quinot@act-europe.fr> | |
3364 | ||
3365 | * sem.ads: Clarify documentation on checks suppression. | |
3366 | ||
3367 | * einfo.ads (Is_Known_Non_Null): Minor comment typo fix and rephrasing. | |
3368 | ||
3369 | 2004-05-27 Ed Schonberg <schonberg@gnat.com> | |
3370 | ||
3371 | * sem_util.adb (Is_Descendent_Of): Examine properly all ancestors in | |
3372 | the case of multiple derivations. | |
3373 | (Is_Object_Reference): For a selected component, verify that the prefix | |
3374 | is itself an object and not a value. | |
3375 | ||
3376 | * sem_ch12.adb (Same_Instantiated_Constant): New name for | |
3377 | Same_Instantiated_Entity. | |
3378 | (Same_Instantiated_Variable): Subsidiary to | |
3379 | Check_Formal_Package_Instance, to recognize actuals for in-out generic | |
3380 | formals that are obtained from a previous formal package. | |
3381 | (Instantiate_Subprogram_Body): Emit proper error when | |
3382 | generating code and the proper body of a stub is missing. | |
3383 | ||
3384 | * sem_ch4.adb (Remove_Address_Interpretations): If the operation still | |
3385 | has a universal interpretation, do the disambiguation here. | |
3386 | ||
3387 | * exp_ch4.adb (Expand_N_Type_Conversion, | |
3388 | Expand_N_Unchecked_Type_Conversion): Special handling when target type | |
3389 | is Address, to avoid typing anomalies when Address is a visible integer | |
3390 | type. | |
3391 | ||
3392 | * exp_ch6.adb (Expand_N_Subprogram_Body): Use Is_Descendent_Of_Address | |
3393 | to determine whether a subprogram should not be marked Pure, even when | |
3394 | declared in a pure package. | |
3395 | ||
3396 | 2004-05-27 Jose Ruiz <ruiz@act-europe.fr> | |
3397 | ||
3398 | * gnat_ugn.texi: Replace pragma Ravenscar by pragma Profile. | |
3399 | ||
3400 | * gnat_rm.texi: Replace Max_Entry_Queue_Depth by Max_Entry_Queue_Length | |
3401 | Document No_Dynamic_Attachment, that supersedes No_Dynamic_Interrupts. | |
3402 | Update the documentation about the Ravenscar profile, following the | |
3403 | definition found in AI-249. | |
3404 | ||
3405 | * sem_prag.adb: Use FIFO_Within_Priorities and Ceiling_Locking when | |
3406 | setting the Profile (Ravenscar). This must be done in addition to | |
3407 | setting the required restrictions. | |
3408 | ||
3409 | * rtsfind.ads: Add the set of operations defined in package | |
3410 | Ada.Interrupts. | |
3411 | ||
3412 | * exp_ch6.adb: Check whether we are violating the No_Dynamic_Attachment | |
3413 | restriction. | |
3414 | ||
3415 | 2004-05-27 Eric Botcazou <ebotcazou@act-europe.fr> | |
3416 | ||
3417 | lang-specs.h: Always require -c or -S and always redirect to /dev/null | |
3418 | if -gnatc or -gnats is passed. | |
3419 | ||
3420 | 2004-05-27 Hristian Kirtchev <kirtchev@gnat.com> | |
3421 | ||
3422 | * sem_prag.adb (Sig_Flags): A Pragma_Unchecked_Union does not count as | |
3423 | a significant reference. Warnings are now properly emitted when a | |
3424 | discriminated type is not referenced. | |
3425 | ||
3426 | * lib-xref.adb (Generate_Reference): A deferred constant completion, | |
3427 | record representation clause or record type discriminant does not | |
3428 | produce a reference to its corresponding entity. Warnings are now | |
3429 | properly emitted when deferred constants and record types are not | |
3430 | referenced. | |
3431 | ||
3432 | 2004-05-27 Geert Bosch <bosch@gnat.com> | |
3433 | ||
3434 | * Makefile.in: Use long version of libm routines on ia64 gnu/linux. | |
3435 | Fixes ACATS Annex G tests. | |
3436 | ||
3437 | 2004-05-27 Robert Dewar <dewar@gnat.com> | |
3438 | ||
3439 | * rtsfind.adb (RTU_Loaded): Temporary kludge to get past bug of not | |
3440 | handling WITH | |
3441 | ||
3442 | 2004-05-27 Arnaud Charlet <charlet@act-europe.fr> | |
3443 | ||
3444 | * s-interr.adb (Server_Task): Take into account case of early return | |
3445 | from sigwait under e.g. linux. | |
3446 | ||
3447 | 2004-05-27 Sergey Rybin <rybin@act-europe.fr> | |
3448 | ||
3449 | * gnat_ugn.texi: Add description for the new gnatpp options: | |
3450 | -rnb - replace the original source without creating its backup copy | |
3451 | -c0 - do not format comments | |
3452 | ||
0fb2ea01 AC |
3453 | 2004-05-24 Geert Bosch <bosch@gnat.com> |
3454 | ||
3455 | * a-numaux-x86.adb (Reduce): Reimplement using an approximation of Pi | |
3456 | with 192 bits of precision, sufficient to reduce a double-extended | |
3457 | arguments X with a maximum relative error of T'Machine_Epsilon, for X | |
3458 | in -2.0**32 .. 2.0**32. | |
3459 | (Cos, Sin): Always reduce arguments of 1/4 Pi or larger, to prevent | |
3460 | reduction by the processor, which only uses a 68-bit approximation of | |
3461 | Pi. | |
3462 | (Tan): Always reduce arguments and compute function either using | |
3463 | the processor's fptan instruction, or by dividing sin and cos as needed. | |
3464 | ||
3465 | 2004-05-24 Doug Rupp <rupp@gnat.com> | |
3466 | ||
3467 | * adaint.c (__gnat_readdir): Cast CRTL function retun value to avoid | |
3468 | gcc error on 32/64 bit VMS. | |
3469 | ||
3470 | 2004-05-24 Olivier Hainque <hainque@act-europe.fr> | |
3471 | ||
3472 | * init.c (__gnat_error_handler): Handle EEXIST as EACCES for SIGSEGVs, | |
3473 | since this is what we get for stack overflows although not documented | |
3474 | as such. | |
3475 | Document the issues which may require adjustments to our signal | |
3476 | handlers. | |
3477 | ||
3478 | 2004-05-24 Ed Schonberg <schonberg@gnat.com> | |
3479 | ||
3480 | * inline.adb (Add_Scope_To_Clean): Do not add cleanup actions to the | |
3481 | enclosing dynamic scope if the instantiation is within a generic unit. | |
3482 | ||
3483 | 2004-05-24 Arnaud Charlet <charlet@act-europe.fr> | |
3484 | ||
3485 | * exp_dbug.ads: Fix typo. | |
3486 | ||
3487 | * Makefile.in: s-osinte-linux-ia64.ads was misnamed. | |
3488 | Rename it to its proper name: system-linux-ia64.ads | |
3489 | (stamp-gnatlib1): Remove extra target specific run time files when | |
3490 | setting up the rts directory. | |
3491 | ||
3492 | 2004-05-24 Javier Miranda <miranda@gnat.com> | |
3493 | ||
3494 | * einfo.ads, einfo.adb (Limited_Views): Removed. | |
3495 | (Limited_View): New attribute that replaces the previous one. It is | |
3496 | now a bona fide package with the limited-view list through the | |
3497 | first_entity and first_private attributes. | |
3498 | ||
3499 | * sem_ch10.adb (Install_Private_With_Clauses): Give support to | |
3500 | limited-private-with clause. | |
3501 | (Install_Limited_Withed_Unit): Install the private declarations of a | |
3502 | limited-private-withed package. Update the installation of the shadow | |
3503 | entities according to the new structure (see Build_Limited_Views) | |
3504 | (Build_Limited_Views): Replace the previous implementation of the | |
3505 | limited view by a package entity that references the first shadow | |
3506 | entity plus the first shadow private entity (required for limited- | |
3507 | private-with clause) | |
3508 | (New_Internal_Shadow_Entity): Code cleanup. | |
3509 | (Remove_Limited_With_Clause): Update the implementation to undo the | |
3510 | new work carried out by Build_Limited_Views. | |
3511 | (Build_Chain): Complete documentation. | |
3512 | Replace Ada0Y by Ada 0Y in comments | |
3513 | Minor reformating | |
3514 | ||
3515 | * sem_ch3.adb (Array_Type_Declaration): In case of anonymous access | |
3516 | types the level of accessibility depends on the enclosing type | |
3517 | declaration. | |
3518 | ||
3519 | * sem_ch8.adb (Find_Expanded_Name): Fix condition to detect shadow | |
3520 | entities. Complete documentation of previous change. | |
3521 | ||
3522 | 2004-05-24 Robert Dewar <dewar@gnat.com> | |
3523 | ||
3524 | * namet.adb: Minor reformatting | |
3525 | Avoid use of name I (replace by J) | |
3526 | Minor code restructuring | |
3527 | ||
3528 | * sem_ch6.adb: Minor reformatting | |
3529 | ||
3530 | * lib-writ.adb: Do not set restriction as active if this is a | |
3531 | Restriction_Warning case. | |
3532 | ||
3533 | * sem_prag.adb: Reset restriction warning flag if real pragma | |
3534 | restriction encountered. | |
3535 | ||
3536 | * s-htable.adb: Minor reformatting | |
3537 | Change rotate count to 3 in Hash (improves hash for small strings) | |
3538 | ||
3539 | * 5qsystem.ads: Add comments for type Address (no literals allowed). | |
3540 | ||
3541 | * gnat_ugn.texi: Add new section of documentation "Code Generation | |
3542 | Control", which describes the use of -m switches. | |
3543 | ||
3544 | 2004-05-24 Eric Botcazou <ebotcazou@act-europe.fr> | |
3545 | ||
a1db9d9c AC |
3546 | trans.c (tree_transform) <N_Identifier>: Do the dereference directly |
3547 | through the DECL_INITIAL for renamed variables. | |
0fb2ea01 | 3548 | |
7599f1b0 AC |
3549 | 2004-05-24 Arnaud Charlet <charlet@act-europe.fr> |
3550 | ||
3551 | * s-osinte-linux-ia64.ads: Renamed system-linux-ia64.ads | |
3552 | ||
c37bb106 AC |
3553 | 2004-05-19 Joel Brobecker <brobecker@gnat.com> |
3554 | ||
3555 | * exp_dbug.ads: Correct comments concerning handling of overloading, | |
3556 | since we no longer use $ anymore. | |
3557 | ||
3558 | 2004-05-19 Sergey Rybin <rybin@act-europe.fr> | |
3559 | ||
3560 | * sem_ch10.adb (Optional_Subunit): When loading a subunit, do not | |
3561 | ignore errors if ASIS_Mode is set. This prevents creating ASIS trees | |
3562 | with illegal subunits. | |
3563 | ||
3564 | 2004-05-19 Ed Schonberg <schonberg@gnat.com> | |
3565 | ||
3566 | * sem_ch6.adb (Check_Following_Pragma): When compiling a subprogram | |
3567 | body with front-end inlining enabled, check whether an inline pragma | |
3568 | appears immediately after the body and applies to it. | |
3569 | ||
3570 | * sem_prag.adb (Cannot_Inline): Emit warning if front-end inlining is | |
3571 | enabled and the pragma appears after the body of the subprogram. | |
3572 | ||
b5e792e2 AC |
3573 | 2004-05-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3574 | ||
3575 | Part of function-at-a-time conversion | |
3576 | ||
3577 | * misc.c (adjust_decl_rtl): Deleted. | |
3578 | (LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK): | |
3579 | Define. | |
3580 | ||
3581 | * gigi.h: (adjust_decl_rtl, kept_level_p, set_block): Deleted. | |
3582 | (add_decl_stmt, add_stmt, block_has_vars): New functions. | |
3583 | (gnat_pushlevel, gnat_poplevel): Renamed from pushlevel and poplevel. | |
3584 | ||
3585 | * decl.c (elaborate_expression, maybe_pad_type): Call add_decl_stmt | |
3586 | when making a decl. | |
3587 | (gnat_to_gnu_entity): Likewise. | |
3588 | Use add_stmt to update setjmp buffer. | |
3589 | Set TREE_ADDRESSABLE instead of calling put_var_into_stack and | |
3590 | flush_addressof. | |
3591 | No longer call adjust_decl_rtl. | |
3592 | (DECL_INIT_BY_ASSIGN_P): New macro. | |
3593 | (DECL_STMT_VAR): Likewise. | |
3594 | ||
3595 | * trans.c (gigi): Call start_block_stmt to make the outermost | |
3596 | BLOCK_STMT. | |
3597 | (gnat_to_code, gnu_to_gnu, tree_transform, process_decls, process_type): | |
3598 | Call start_block_stmt and end_block_stmt temporarily. | |
3599 | Use gnat_expand_stmt instead of expand_expr_stmt. | |
3600 | (add_decl_stmt): New function. | |
3601 | (tree_transform): Call it. | |
3602 | (add_stmt): Also emit initializing assignment for DECL_STMT if needed. | |
3603 | (end_block_stmt): Set type and NULL_STMT. | |
3604 | (gnat_expand_stmt): Make recursize call instead of calling | |
3605 | expand_expr_stmt. | |
3606 | (gnat_expand_stmt, case DECL_STMT): New case. | |
3607 | (set_lineno_from_sloc): Do nothing if global. | |
3608 | (gnu_block_stmt_node, gnu_block_stmt_free_list): New variables. | |
3609 | (start_block_stmt, add_stmt, end_block_stmt): New functions. | |
3610 | (build_block_stmt): Call them. | |
3611 | (gnat_to_code): Don't expand NULL_STMT. | |
3612 | (build_unit_elab): Rename pushlevel and poplevel to gnat_* and change | |
3613 | args. | |
3614 | (tree_transform): Likewise. | |
3615 | (tree_transform, case N_Null_Statement): Return NULL_STMT. | |
3616 | (gnat_expand_stmt, case NULL_STMT): New case. | |
3617 | (gnat_expand_stmt, case IF_STMT): Allow nested IF_STMT to have no | |
3618 | IF_STMT_TRUE. | |
3619 | ||
3620 | * utils2.c (gnat_mark_addressable, case VAR_DECL): Do not set | |
3621 | TREE_ADDRESSABLE. | |
3622 | ||
3623 | * utils.c (create_var_decl): Do not call expand_decl or | |
3624 | expand_decl_init. | |
3625 | Set TREE_ADDRESSABLE instead of calling gnat_mark_addressable. | |
3626 | Set DECL_INIT_BY_ASSIGN_P when needed and do not generate MODIFY_EXPR | |
3627 | here. | |
3628 | (struct e_stack): Add chain_next to GTY. | |
3629 | (struct binding_level): Deleted. | |
3630 | (struct ada_binding_level): New struct. | |
3631 | (free_block_chain): New. | |
3632 | (global_binding_level, clear_binding_level): Deleted. | |
3633 | (global_bindings_p): Rework to see if no chain. | |
3634 | (kept_level_p, set_block): Deleted. | |
3635 | (gnat_pushlevel): Renamed from pushlevel and extensive reworked to use | |
3636 | new data structure and work directly on BLOCK node. | |
3637 | (gnat_poplevel): Similarly. | |
3638 | (get_decls): Look at BLOCK_VARS. | |
3639 | (insert_block): Work directly on BLOCK node. | |
3640 | (block_has_var): New function. | |
3641 | (pushdecl): Rework for new binding structures. | |
3642 | (gnat_init_decl_processing): Rename and rework calls to pushlevel and | |
3643 | poplevel. | |
3644 | (build_subprog_body): Likewise. | |
3645 | (end_subprog_body): Likewise; also set up BLOCK in DECL_INITIAL. | |
3646 | ||
3647 | * ada-tree.def (DECL_STMT, NULL_STMT): New codes. | |
3648 | ||
3649 | * ada-tree.h: (DECL_INIT_BY_ASSIGN_P): New macro. | |
3650 | (DECL_STMT_VAR): Likewise. | |
3651 | ||
3652 | 2004-05-17 Robert Dewar <dewar@gnat.com> | |
3653 | ||
3654 | * restrict.ads, restrict.adb (Process_Restriction_Synonym): New | |
3655 | procedure | |
3656 | ||
3657 | * sem_prag.adb (Analyze_Pragma, case Restrictions): Cleanup handling | |
3658 | of restriction synonyums by using | |
3659 | Restrict.Process_Restriction_Synonyms. | |
3660 | ||
3661 | * snames.ads, snames.adb: Add entries for Process_Restriction_Synonym | |
3662 | ||
3663 | * s-restri.ads (Tasking_Allowed): Correct missing comment | |
3664 | ||
3665 | * s-rident.ads: Add entries for restriction synonyms | |
3666 | ||
3667 | * ali.adb: Fix some problems with badly formatted ALI files that can | |
3668 | result in infinite loops. | |
3669 | ||
3670 | * s-taprop-lynxos.adb, s-tpopsp-lynxos.adb, s-taprop-tru64.adb, | |
3671 | s-tpopsp-posix-foreign.adb, s-taprop-irix.adb, s-interr-sigaction.adb, | |
3672 | s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb, | |
3673 | s-taprop-dummy.adb, s-interr-dummy.adb, s-taprop-os2.adb, | |
3674 | s-taprop-solaris.adb, s-tpopsp-solaris.adb, s-asthan-vms.adb, | |
3675 | s-inmaop-vms.adb, s-interr-vms.adb, s-taprop-vms.adb, | |
3676 | s-tpopde-vms.adb, s-taprop-mingw.adb, s-interr-vxworks.adb, | |
3677 | s-taprop-vxworks.adb, s-tpopsp-vxworks.adb, s-taprop-posix.adb, | |
3678 | s-tpopsp-posix.adb, s-tratas-default.adb, a-dynpri.adb, | |
3679 | a-tasatt.adb, a-taside.adb, a-taside.ads, exp_attr.adb, | |
3680 | exp_ch9.adb, g-thread.adb, rtsfind.ads, sem_attr.adb, | |
3681 | s-interr.adb, s-interr.ads, s-soflin.ads, s-taasde.adb, | |
3682 | s-taasde.ads, s-taenca.adb, s-taenca.ads, s-taprop.ads, | |
3683 | s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads, | |
3684 | s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads, | |
3685 | s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads, | |
3686 | s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads, | |
3687 | s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads, | |
3688 | s-tpoben.adb, s-tpobop.adb, s-tpobop.ads, s-tporft.adb, | |
3689 | s-tposen.adb, s-tposen.ads, s-tratas.adb, s-tratas.ads: Change Task_ID | |
3690 | to Task_Id (minor cleanup). | |
3691 | ||
3692 | 2004-05-17 Vincent Celier <celier@gnat.com> | |
3693 | ||
3694 | * g-os_lib.adb (Normalize_Pathname.Final_Value): Remove trailing | |
3695 | directory separator. | |
3696 | ||
3697 | * prj-proc.adb (Recursive_Process): Inherit attribute Languages from | |
3698 | project being extended, if Languages is not declared in extending | |
3699 | project. | |
3700 | ||
3701 | 2004-05-17 Javier Miranda <miranda@gnat.com> | |
3702 | ||
3703 | * sem_ch10.adb (Install_Limited_Withed_Unit): Do not install the | |
3704 | limited view of a visible sibling. | |
3705 | ||
9bc856dd AC |
3706 | 2004-05-14 Robert Dewar <dewar@gnat.com> |
3707 | ||
3708 | * gnat_ugn.texi: Minor change to -gnatS documentation | |
3709 | ||
3710 | * sprint.adb: Remove some instances of Assert (False) and for this | |
3711 | purpose replace them by output of a ??? string. | |
3712 | ||
3713 | * checks.adb, exp_aggr.adb, sem_elim.adb: Remove useless pragma | |
3714 | Assert (False). | |
3715 | ||
3716 | * lib-writ.adb, lib-load.adb, lib.ads, lib.adb: Remove Dependent_Unit | |
3717 | flag processing. This was suppressing required dependencies in | |
3718 | No_Run_Time mode and is not needed since the binder does not generate | |
3719 | references for things in libgnat anyway. | |
3720 | ||
3721 | * sem_ch3.adb (Access_Type_Declaration): Reorganize code to avoid GCC | |
3722 | warning. | |
3723 | ||
3724 | 2004-05-14 Thomas Quinot <quinot@act-europe.fr> | |
3725 | ||
3726 | * gnat_ugn.texi: Document AIX-specific issue with initialization of | |
3727 | resolver library. | |
3728 | ||
3729 | * exp_ch4.adb (Insert_Dereference_Action): Do not generate dereference | |
3730 | action for the case of an actual parameter in an init proc call. | |
3731 | ||
3732 | 2004-05-14 Ed Schonberg <schonberg@gnat.com> | |
3733 | ||
3734 | * sem_ch4.adb (Analyze_Selected_Component): If prefix is a protected | |
3735 | subtype, check visible entities in base type. | |
3736 | ||
3737 | * exp_ch7.adb (Clean_Simple_Protected_Objects): Do not generate cleanup | |
3738 | actions if the object is a renaming. | |
3739 | ||
3740 | * sem_ch12.adb (Same_Instantiated_Entity): Predicate for | |
3741 | Check_Formal_Package_Instance, to determine more precisely when the | |
3742 | formal and the actual denote the same entity. | |
3743 | ||
3744 | 2004-05-14 Javier Miranda <miranda@gnat.com> | |
3745 | ||
3746 | * par-ch10.adb (P_Context_Clause): Complete documentation on AI-262 | |
3747 | ||
3748 | * sem_ch10.adb (Analyze_With_Clause): After analyzed, the entity | |
3749 | corresponding to a private_with must be removed from visibility; it | |
3750 | will be made visible later, just before we analyze the private part of | |
3751 | the package. | |
3752 | (Check_Private_Child_Unit): Allow private_with clauses in public | |
3753 | siblings. | |
3754 | (Install_Siblings): Make visible the private entities of private-withed | |
3755 | siblings. | |
3756 | (Install_Withed_Unit): Do not install the private withed unit if we | |
3757 | are compiling a package declaration and the Private_With_OK flag was | |
3758 | not set by the caller. These declarations will be installed later, | |
3759 | just before we analyze the private part of the package. | |
3760 | ||
3761 | * sem_ch3.adb (Analyze_Object_Declaration): In case of errors detected | |
3762 | during the evaluation of the expression that initializes the object, | |
3763 | decorate it with the expected type to avoid cascade errors. | |
3764 | Code cleanup. | |
3765 | ||
3766 | * sem_ch6.adb (Analyze_Subprogram_Body): If we are compiling a library | |
3767 | subprogram we have to install the private_with clauses after its | |
3768 | specification has been analyzed (as documented in AI-262.TXT). | |
3769 | ||
3770 | * sem_ch8.adb (Has_Private_With): New function. Determines if the | |
3771 | current compilation unit has a private with on a given entity. | |
3772 | (Find_Direct_Name): Detect the Beaujolais problem described in | |
3773 | AI-262.TXT | |
3774 | ||
3775 | * sem_utils.ads, sem_util.adb (Is_Ancestor_Package): New function. It | |
3776 | provides the functionality of the function Is_Ancestor that was | |
3777 | previously available in sem_ch10. It has been renamed to avoid | |
3778 | overloading. | |
3779 | ||
3780 | * sprint.adb (Sprint_Node_Actual): Print limited_with clauses | |
3781 | ||
3782 | 2004-05-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
3783 | ||
3784 | * utils.c (build_vms_descriptor): Use SImode pointers. | |
3785 | ||
3786 | 2004-05-14 Vasiliy Fofanov <fofanov@act-europe.fr> | |
3787 | ||
3788 | * gnat_ugn.texi: Revised chapter "GNAT and Libraries". | |
3789 | ||
3790 | 2004-05-14 GNAT Script <nobody@gnat.com> | |
3791 | ||
3792 | * Make-lang.in: Makefile automatically updated | |
3793 | ||
084c663c AC |
3794 | 2004-05-14 Arnaud Charlet <charlet@act-europe.fr> |
3795 | ||
3796 | Renaming of target specific files for clarity | |
3797 | ||
6615c446 | 3798 | * Makefile.in: Rename GNAT target specific files. |
084c663c AC |
3799 | |
3800 | * 31soccon.ads, 31soliop.ads 35soccon.ads, 3asoccon.ads, | |
3801 | 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3psoccon.ads, | |
3802 | 3ssoccon.ads, 3ssoliop.ads, 3veacodu.adb, 3vexpect.adb, | |
3803 | 3vsoccon.ads, 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, | |
3804 | 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, 3wsoliop.ads, | |
3805 | 3zsoccon.ads, 3zsocthi.adb, 3zsocthi.ads, 41intnam.ads, | |
3806 | 42intnam.ads, 45intnam.ads, 4aintnam.ads, 4cintnam.ads, | |
3807 | 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, 4lintnam.ads, | |
3808 | 4nintnam.ads, 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, | |
3809 | 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, 4vcalend.ads, | |
3810 | 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, 4wintnam.ads, | |
3811 | 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, 4zsytaco.ads, | |
3812 | 51osinte.adb, 51osinte.ads, 51system.ads, | |
3813 | 52osinte.adb, 52osinte.ads, 53osinte.ads, 54osinte.ads, | |
3814 | 55osinte.adb, 55osinte.ads, 55system.ads, 56osinte.adb, | |
3815 | 56osinte.ads, 56system.ads, 56taprop.adb, 56taspri.ads, | |
3816 | 56tpopsp.adb, 57system.ads, 58system.ads, | |
3817 | 5amastop.adb, 5aml-tgt.adb, 5aosinte.adb, 5aosinte.ads, | |
3818 | 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, | |
3819 | 5atpopsp.adb, 5avxwork.ads, 5bml-tgt.adb, 5bosinte.adb, | |
3820 | 5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5csystem.ads, | |
3821 | 5dsystem.ads, 5esystem.ads, 5fintman.adb, 5fosinte.adb, | |
3822 | 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads, | |
3823 | 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gml-tgt.adb, | |
3824 | 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads, | |
3825 | 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb, | |
3826 | 5hml-tgt.adb, 5hosinte.adb, 5hosinte.ads, 5hparame.ads, | |
3827 | 5hsystem.ads, 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, | |
3828 | 5iosinte.adb, 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, | |
3829 | 5ksystem.ads, 5kvxwork.ads, 5lml-tgt.adb, 5losinte.ads, | |
3830 | 5lparame.adb, 5lsystem.ads, 5msystem.ads, 5mvxwork.ads, | |
3831 | 5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5nsystem.ads, | |
3832 | 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb, | |
3833 | 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb, | |
3834 | 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads, | |
3835 | 5posprim.adb, 5psystem.ads, 5pvxwork.ads, 5sintman.adb, | |
3836 | 5sml-tgt.adb, 5sosinte.adb, 5sosinte.ads, 5sosprim.adb, | |
3837 | 5sparame.adb, 5ssystem.ads, 5staprop.adb, 5stasinf.adb, | |
3838 | 5stasinf.ads, 5staspri.ads, 5stpopsp.adb, 5svxwork.ads, | |
3839 | 5tosinte.ads, 5usystem.ads, 5vasthan.adb, 5vdirval.adb, | |
3840 | 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads, | |
3841 | 5vmastop.adb, 5vml-tgt.adb, 5vosinte.adb, 5vosinte.ads, | |
3842 | 5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsymbol.adb, | |
3843 | 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb, | |
3844 | 5vtpopde.ads, 5vtraent.adb, 5vtraent.ads, 5vvaflop.adb, | |
3845 | 5wdirval.adb, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb, | |
3846 | 5wml-tgt.adb, 5wosinte.ads, 5wosprim.adb, 5wsystem.ads, | |
3847 | 5wtaprop.adb, 5wtaspri.ads, 5xparame.ads, 5xsystem.ads, | |
3848 | 5xvxwork.ads, 5yparame.ads, 5ysystem.ads, 5zinterr.adb, | |
3849 | 5zintman.adb, 5zintman.ads, 5zml-tgt.adb, 5zosinte.adb, | |
3850 | 5zosinte.ads, 5zosprim.adb, 5zparame.ads, 5zstchop.adb, | |
3851 | 5zsystem.ads, 5ztaprop.adb, 5ztaspri.ads, 5ztfsetr.adb, | |
3852 | 5ztpopsp.adb, 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, | |
3853 | 7sinmaop.adb, 7sintman.adb, 7sosinte.adb, 7sosprim.adb, | |
3854 | 7staprop.adb, 7staspri.ads, 7stfsetr.adb, 7stpopsp.adb, | |
3855 | 7straceb.adb, 7straces.adb, 7strafor.adb, 7strafor.ads, | |
3856 | 7stratas.adb, 86numaux.adb, 86numaux.ads: Replaced by files below. | |
3857 | ||
3858 | * a-caldel-vms.adb, a-calend-mingw.adb, a-calend-vms.adb, | |
3859 | a-calend-vms.ads, a-dirval-mingw.adb, a-dirval-vms.adb, | |
3860 | a-excpol-abort.adb, a-excpol-interix.adb, a-intnam-aix.ads, | |
3861 | a-intnam-dummy.ads, a-intnam-freebsd.ads, a-intnam-hpux.ads, | |
3862 | a-intnam-interix.ads, a-intnam-irix.ads, a-intnam-linux.ads, | |
3863 | a-intnam-lynxos.ads, a-intnam-mingw.ads, a-intnam-os2.ads, | |
3864 | a-intnam-solaris.ads, a-intnam-tru64.ads, a-intnam-unixware.ads, | |
3865 | a-intnam-vms.ads, a-intnam-vxworks.ads, a-numaux-libc-x86.ads, | |
3866 | a-numaux-vxworks.ads, a-numaux-x86.adb, a-numaux-x86.ads, | |
3867 | a-sytaco-vxworks.adb, a-sytaco-vxworks.ads, g-eacodu-vms.adb, | |
3868 | g-expect-vms.adb, g-soccon-aix.ads, g-soccon-freebsd.ads, | |
3869 | g-soccon-hpux.ads, g-soccon-interix.ads, g-soccon-irix.ads, | |
3870 | g-soccon-mingw.ads, g-soccon-solaris.ads, g-soccon-tru64.ads, | |
3871 | g-soccon-unixware.ads, g-soccon-vms.adb, g-soccon-vxworks.ads, | |
3872 | g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi-vms.adb, | |
3873 | g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads, | |
3874 | g-soliop-mingw.ads, g-soliop-solaris.ads, g-soliop-unixware.ads, | |
3875 | g-trasym-vms.adb, i-cpp-vms.adb, i-cstrea-vms.adb, | |
3876 | interfac-vms.ads, mlib-tgt-aix.adb, mlib-tgt-hpux.adb, | |
3877 | mlib-tgt-irix.adb, mlib-tgt-linux.adb, mlib-tgt-mingw.adb, | |
3878 | mlib-tgt-solaris.adb, mlib-tgt-tru64.adb, mlib-tgt-vms.adb, | |
3879 | mlib-tgt-vxworks.adb, s-asthan-vms.adb, s-gloloc-mingw.adb, | |
3880 | s-inmaop-dummy.adb, s-inmaop-posix.adb, s-inmaop-vms.adb, | |
3881 | s-interr-dummy.adb, s-interr-sigaction.adb, s-interr-vms.adb, | |
3882 | s-interr-vxworks.adb, s-intman-dummy.adb, s-intman-irix.adb, | |
3883 | s-intman-irix-athread.adb, s-intman-mingw.adb, s-intman-posix.adb, | |
3884 | s-intman-solaris.adb, s-intman-vms.adb, s-intman-vms.ads, | |
3885 | s-intman-vxworks.adb, s-intman-vxworks.ads, s-mastop-irix.adb, | |
3886 | s-mastop-tru64.adb, s-mastop-vms.adb, s-mastop-x86.adb, | |
3887 | s-memory-mingw.adb, s-osinte-aix.adb, s-osinte-aix.ads, | |
3888 | s-osinte-aix-fsu.ads, s-osinte-dummy.ads, s-osinte-freebsd.adb, | |
3889 | s-osinte-freebsd.ads, s-osinte-fsu.adb, s-osinte-hpux.ads, | |
3890 | s-osinte-hpux-dce.adb, s-osinte-hpux-dce.ads, s-osinte-interix.ads, | |
3891 | s-osinte-irix.adb, s-osinte-irix.ads, s-osinte-irix-athread.ads, | |
3892 | s-osinte-linux.ads, s-osinte-linux-fsu.ads, s-osinte-linux-ia64.ads, | |
3893 | s-osinte-lynxos-3.adb, s-osinte-lynxos-3.ads, s-osinte-lynxos.adb, | |
3894 | s-osinte-lynxos.ads, s-osinte-mingw.ads, s-osinte-os2.adb, | |
3895 | s-osinte-os2.ads, s-osinte-posix.adb, s-osinte-solaris.adb, | |
3896 | s-osinte-solaris.ads, s-osinte-solaris-fsu.ads, | |
3897 | s-osinte-solaris-posix.ads, s-osinte-tru64.adb, s-osinte-tru64.ads, | |
3898 | s-osinte-unixware.adb, s-osinte-unixware.ads, s-osinte-vms.adb, | |
3899 | s-osinte-vms.ads, s-osinte-vxworks.adb, | |
3900 | s-osinte-vxworks.ads, s-osprim-mingw.adb, | |
3901 | s-osprim-os2.adb, s-osprim-posix.adb, s-osprim-solaris.adb, | |
3902 | s-osprim-unix.adb, s-osprim-vms.adb, s-osprim-vms.ads, | |
3903 | s-osprim-vxworks.adb, s-parame-ae653.ads, s-parame-hpux.ads, | |
3904 | s-parame-linux.adb, s-parame-os2.adb, s-parame-solaris.adb, | |
3905 | s-parame-vms.ads, s-parame-vms-restrict.ads, s-parame-vxworks.ads, | |
3906 | s-proinf-irix-athread.adb, s-proinf-irix-athread.ads, | |
3907 | s-stchop-vxworks.adb, s-taprop-dummy.adb, | |
3908 | s-taprop-hpux-dce.adb, s-taprop-irix.adb, | |
3909 | s-taprop-irix-athread.adb, s-taprop-linux.adb, s-taprop-lynxos.adb, | |
3910 | s-taprop-mingw.adb, s-taprop-os2.adb, s-taprop-posix.adb, | |
3911 | s-taprop-solaris.adb, s-taprop-tru64.adb, s-taprop-vms.adb, | |
3912 | s-taprop-vxworks.adb, s-tasinf-irix.ads, s-tasinf-irix-athread.adb, | |
3913 | s-tasinf-irix-athread.ads, s-tasinf-solaris.adb, s-tasinf-solaris.ads, | |
3914 | s-tasinf-tru64.ads, s-taspri-dummy.ads, s-taspri-hpux-dce.ads, | |
3915 | s-taspri-linux.ads, s-taspri-lynxos.ads, s-taspri-mingw.ads, | |
3916 | s-taspri-os2.ads, s-taspri-posix.ads, s-taspri-solaris.ads, | |
3917 | s-taspri-tru64.ads, s-taspri-vms.ads, s-taspri-vxworks.ads, | |
3918 | s-tfsetr-default.adb, s-tfsetr-vxworks.adb, s-tpopde-vms.adb, | |
3919 | s-tpopde-vms.ads, s-tpopsp-lynxos.adb, s-tpopsp-posix.adb, | |
3920 | s-tpopsp-posix-foreign.adb, s-tpopsp-solaris.adb, s-tpopsp-vxworks.adb, | |
3921 | s-traceb-hpux.adb, s-traceb-mastop.adb, s-traces-default.adb, | |
3922 | s-traent-vms.adb, s-traent-vms.ads, s-trafor-default.adb, | |
3923 | s-trafor-default.ads, s-tratas-default.adb, s-vaflop-vms.adb, | |
3924 | s-vxwork-alpha.ads, s-vxwork-m68k.ads, s-vxwork-mips.ads, | |
3925 | s-vxwork-ppc.ads, s-vxwork-sparcv9.ads, s-vxwork-xscale.ads, | |
3926 | symbols-vms.adb, system-aix.ads, system-freebsd-x86.ads, | |
3927 | system-hpux.ads, system-interix.ads, system-irix-n32.ads, | |
3928 | system-irix-o32.ads, system-linux-x86_64.ads, | |
3929 | system-linux-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads, | |
3930 | system-mingw.ads, system-os2.ads, system-solaris-sparc.ads, | |
3931 | system-solaris-sparcv9.ads, system-solaris-x86.ads, system-tru64.ads, | |
3932 | system-unixware.ads, system-vms.ads, system-vms-zcx.ads, | |
3933 | system-vxworks-alpha.ads, system-vxworks-m68k.ads, | |
3934 | system-vxworks-mips.ads, system-vxworks-ppc.ads, | |
3935 | system-vxworks-sparcv9.ads, system-vxworks-xscale.ads: Replace files | |
3936 | above. | |
3937 | ||
90afe2c9 ZW |
3938 | 2004-05-13 Zack Weinberg <zack@codesourcery.com> |
3939 | ||
3940 | * trans.c (gnat_stabilize_reference_1): Remove case 'b'. | |
3941 | ||
6de9cd9a DN |
3942 | 2004-05-13 Diego Novillo <dnovillo@redhat.com> |
3943 | ||
3944 | Merge from tree-ssa-20020619-branch. | |
3945 | ||
3946 | * config-lang.in (boot_language, build_by_default): Set | |
3947 | to no. | |
3948 | * utils.c (unchecked_convert): Use OEP_ONLY_CONST. | |
3949 | (max_size): Add static chain op for call_expr. | |
3950 | ||
f5657d67 RS |
3951 | 2004-05-12 Richard Sandiford <rsandifo@redhat.com> |
3952 | ||
3953 | PR target/15331 | |
3954 | * 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '. | |
3955 | ||
4413b636 RS |
3956 | 2004-05-11 Roger Sayle <roger@eyesopen.com> |
3957 | ||
3958 | * utils.c (max_size): Use MIN_EXPR to find the minimum value of a | |
3959 | COND_EXPR. | |
3960 | ||
5950a3ac AC |
3961 | 2004-05-10 Doug Rupp <rupp@gnat.com> |
3962 | ||
3963 | * 5qsystem.ads: Remove Short_Address subtype declaration. Moved to | |
3964 | system.aux_dec. | |
3965 | ||
3966 | * s-auxdec.ads: Add Short_Address subtype (moved here from System). | |
3967 | ||
3968 | * Makefile.in: [VMS]: Add translation for 5qauxdec.ads. | |
3969 | ||
3970 | * init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha. | |
3971 | Fixes undefined symbols in IA64 gnatlib. | |
3972 | ||
3973 | * 5vinmaop.adb: Reference s-auxdec for Short_Address. | |
3974 | ||
3975 | * 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype | |
3976 | Short_Address). This will be moved to system.auxdec. | |
3977 | ||
3978 | 2004-05-10 Thomas Quinot <quinot@act-europe.fr> | |
3979 | ||
3980 | * sem_util.adb: Replace test for presence of a node that is always | |
3981 | present with a call to Discard_Node. | |
3982 | ||
3983 | * sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to | |
3984 | Analyze on the library unit node after generation of distribution stub | |
3985 | constructs. The call was a no-op because Unit_Node has already been | |
3986 | Analyzed, and the tree fragments for the distribution stubs are | |
3987 | analyzed as they are inserted in Exp_Dist. | |
3988 | Update comment regarding to distribution stubs to reflect that we | |
3989 | do not generate stub in separate files anymore. | |
3990 | ||
3991 | * einfo.ads: Clarify the fact that a tagged private type has the | |
3992 | E_Record_Type_With_Private Ekind. | |
3993 | ||
3994 | * erroutc.adb: Minor reformatting | |
3995 | ||
3996 | * erroutc.ads (Max_Msg_Length): Increase to cover possible larger | |
3997 | values if line length is increased using -gnatyM (noticed during code | |
3998 | reading). | |
3999 | ||
4000 | * eval_fat.adb: Minor reformatting | |
4001 | Put spaces around exponentiation operator | |
4002 | ||
4003 | 2004-05-10 Ed Schonberg <schonberg@gnat.com> | |
4004 | ||
4005 | PR ada/15005 | |
4006 | * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix | |
4007 | has been rewritten as an explicit dereference, retrieve type of | |
4008 | original node to check for possibly unconstrained record type. | |
4009 | ||
4010 | 2004-05-10 Ed Schonberg <schonberg@gnat.com> | |
4011 | ||
4012 | * exp_ch7.adb (Check_Visibly_Controlled): If given operation is not | |
4013 | overriding, use the operation of the parent unconditionally. | |
4014 | ||
4015 | * sem_ch4.adb (Remove_Address_Interpretations): Remove address | |
4016 | operation when either operand is a literal, to avoid further | |
4017 | ambiguities. | |
4018 | ||
4019 | * sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and | |
4020 | overridden by a previous explicit declaration, mark the previous entity | |
4021 | as overriding. | |
4022 | ||
4023 | * sem_disp.adb (Check_Dispatching_Operation): New predicate | |
4024 | Is_Visibly_Controlled, to determine whether a declaration of a | |
4025 | primitive control operation for a derived type overrides an inherited | |
4026 | one. Add warning if the explicit declaration does not override. | |
4027 | ||
4028 | 2004-05-10 Vincent Celier <celier@gnat.com> | |
4029 | ||
4030 | * gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in | |
4031 | some cases when the sources are no longer present. | |
4032 | ||
4033 | * make.adb (Collect_Arguments): Fail if an external source, not part | |
4034 | of any project need to be compiled, when switch -x has not been | |
4035 | specified. | |
4036 | ||
4037 | * makeusg.adb: Document new switch -x | |
4038 | ||
4039 | * opt.ads (External_Unit_Compilation_Allowed): New Boolean flag, | |
4040 | defaulted to False. | |
4041 | ||
4042 | * switch-m.adb (Scan_Make_Switches): New switch -x | |
4043 | ||
4044 | * vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for | |
4045 | gnatmake switch -x. | |
4046 | ||
4047 | * gnat_ugn.texi: Document new gnatmake switch -x | |
4048 | ||
4049 | 2004-05-10 Eric Botcazou <ebotcazou@act-europe.fr> | |
4050 | ||
4051 | * misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0. | |
4052 | ||
4053 | * utils.c (create_var_decl): Do not modify the DECL_COMMON flag. | |
4054 | (process_attributes): Likewise. | |
4055 | ||
4056 | 2004-05-10 Joel Brobecker <brobecker@gnat.com> | |
4057 | ||
4058 | * s-inmaop.ads: Fix spelling mistake in one of the comments. | |
4059 | ||
4060 | 2004-05-10 Robert Dewar <dewar@gnat.com> | |
4061 | ||
4062 | * gnat_ugn.texi: Document that for config pragma files, the maximum | |
4063 | line length is always 32767. | |
4064 | ||
4065 | * gnat_rm.texi: For pragma Eliminate, note that concatenation of string | |
4066 | literals is now allowed. | |
4067 | ||
4068 | * gnat-style.texi: Remove statement about splitting long lines before | |
4069 | an operator rather than after, since we do not follow this rule at all. | |
4070 | Clarify rule (really lack of rule) for spaces around exponentiation | |
4071 | ||
4072 | * sem_elim.adb: Allow concatenation of string literals as well as a | |
4073 | single string literal for pragma arguments. | |
4074 | ||
4075 | * sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function | |
4076 | ||
4077 | * a-textio.adb (Terminate_Line): Do not add line feed if nothing | |
4078 | written for append case. | |
4079 | ||
4080 | * frontend.adb: Changes to avoid checking max line length in config | |
4081 | pragma files. | |
4082 | ||
4083 | * g-os_lib.ads: Minor reformatting | |
4084 | ||
4085 | * mlib-utl.adb: Do not define Max_Line_Length locally (definition was | |
4086 | wrong in any case. Instead use standard value. Noticed during code | |
4087 | reading. | |
4088 | ||
4089 | * opt.ads (Max_Line_Length): New field, used to implement removal of | |
4090 | limitation on length of lines when scanning config pragma files. | |
4091 | ||
4092 | * osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb, | |
4093 | makeutl.ads, makeutl.adb: Minor reformatting | |
4094 | ||
4095 | * scn.adb: Do not check line length while scanning config pragma files | |
4096 | Do not check line length while scanning out license information | |
4097 | ||
4098 | * scng.adb: Changes to avoid line length checks while parsing config | |
4099 | pragma files. | |
4100 | ||
4101 | 2004-05-10 GNAT Script <nobody@gnat.com> | |
4102 | ||
4103 | * Make-lang.in: Makefile automatically updated | |
4104 | ||
48664302 AC |
4105 | 2004-05-05 Arnaud Charlet <charlet@act-europe.fr> |
4106 | ||
4107 | * osint.adb (Find_Program_Name): Fix handling of VMS version | |
4108 | number. | |
4109 | ||
aa720a54 AC |
4110 | 2004-05-05 Emmanuel Briot <briot@act-europe.fr> |
4111 | ||
4112 | * g-os_lib.ads (Invalid_Time): New constant | |
4113 | ||
4114 | * adaint.h, adaint.c (__gnat_file_time_name, __gnat_file_time_fd): Now | |
4115 | return OS_Time instead of time_t to match what is imported by Ada. | |
4116 | Now return -1 if the file doesn't exist, instead of a random value | |
4117 | ||
4118 | 2004-05-05 Robert Dewar <dewar@gnat.com> | |
4119 | ||
4120 | * usage.adb: Add line for -gnatR?s switch | |
4121 | ||
4122 | * sem_ch13.adb, exp_ch2.adb: Minor reformatting | |
4123 | ||
4124 | * g-regpat.ads, g-regpat.adb: Add documentation on handling of Size | |
4125 | and for Match (Data_First, Data_last) | |
4126 | ||
4127 | * lib-writ.adb (Write_With_Lines): Ensure that correct index number is | |
4128 | written when we are dealing with multi-unit files. | |
4129 | ||
4130 | 2004-05-05 Jerome Guitton <guitton@act-europe.fr> | |
4131 | ||
4132 | * Makefile.in: Remove unused targets and variables. | |
4133 | ||
4134 | 2004-05-05 Vincent Celier <celier@gnat.com> | |
4135 | ||
4136 | * switch-m.adb: New gnatmake switch -eI | |
4137 | ||
4138 | * vms_data.ads: Add VMS equivalents of new gnatclean swith -innn and | |
4139 | of new gnatmake switch -eInnn. | |
4140 | ||
4141 | * makegpr.adb: Take into account new parameters Index and Src_Index in | |
4142 | Prj.Util. | |
4143 | ||
4144 | * clean.adb: Implement support for multi-unit sources, including new | |
4145 | switch -i. | |
4146 | ||
4147 | * gnatcmd.adb (GNATCmd): Call Prj.Util.Value_Of with new parameter | |
4148 | Src_Index. | |
4149 | ||
4150 | * make.ads, make.adb (Insert_Q): New parameter Index, defaulted to 0 | |
4151 | (Extract_From_Q): New out parameter Index | |
4152 | (Mark, Is_Marked): Subprograms moved to Makeutl | |
4153 | (Switches_Of): New parameter Source_Index | |
4154 | (Add_Switch): New parameter Index | |
4155 | (Check): New parameter Source_Index | |
4156 | (Collect_Arguments): New parameter Source_Index | |
4157 | (Collect_Arguments_And_Compile): New parameter Source_Index | |
4158 | (Compile): New parameter Source_Index | |
4159 | Put subprograms in alphabetical order | |
4160 | Add support for multi-source sources, including in project files. | |
4161 | ||
4162 | * makeutl.ads, makeutl.adb (Unit_Index_Of): New function | |
4163 | (Mark, Is_Marked, Delete_All_Marks): New subprograms, moved from | |
4164 | Make. | |
4165 | ||
4166 | * makeusg.adb: New gnatmake switch -eInnn | |
4167 | ||
4168 | * mlib-prj.adb (Build_Library): Add new parameter Src_Index to call to | |
4169 | Prj.Util.Value_Of. | |
4170 | ||
4171 | * opt.ads (Main_Index): New variable, defaulted to 0. | |
4172 | ||
4173 | * osint.ads, osinte.adb (Add_File): New parameter Index | |
4174 | (Current_Source_Index): New function | |
4175 | ||
4176 | * prj.adb: Take into account new components Index and Src_Index | |
4177 | ||
4178 | * prj.ads (String_Element): New component Index | |
4179 | (Variable_Value): New component Index | |
4180 | (Array_Element): New component Src_Index | |
4181 | ||
4182 | * prj-attr.adb: Indicate that optional index may be specified for | |
4183 | attributes Main, Executable, Spec, Body and some of Switches. | |
4184 | ||
4185 | * prj-attr.ads (Attribute_Kind): New values for optional indexes | |
4186 | (Attribute_Record): New component Optional_Index | |
4187 | ||
4188 | * prj-com.ads (File_Name_Data): New component Index | |
4189 | ||
4190 | * prj-dect.adb (Parse_Attribute_Declaration): Process optional index | |
4191 | ||
4192 | * prj-env.adb (Put): Output optional index | |
4193 | ||
4194 | * prj-makr.adb: Put indexes for multi-unit sources in SFN pragmas and | |
4195 | attributes Spec and Body. | |
4196 | ||
4197 | * prj-nmsc.adb: Process optional indexes | |
4198 | ||
4199 | * prj-pp.adb: Ouput "at" for optional indexes | |
4200 | ||
4201 | * prj-proc.adb: Take into account optional indexes | |
4202 | ||
4203 | * prj-strt.ads, prj-strt.adb (Terms): New Boolean parameter | |
4204 | Optional_Index. For string literal, | |
4205 | process optional index when Optional_Index is True. | |
4206 | (Parse_Expresion): New Boolean parameter Optional_Index | |
4207 | ||
4208 | * prj-tree.ads, prj-tree.adb (Source_Index_Of): New function | |
4209 | (Set_Source_Index_Of): New procedure | |
4210 | ||
4211 | * prj-util.adb (Executable_Of, Value_Of): Take into account optional | |
4212 | index. | |
4213 | ||
4214 | * prj-util.ads (Executable_Of): New parameter Index | |
4215 | (Value_Of (Name_Id, Array_Element_Id) returning Variable_Value): | |
4216 | New parameter Src_Index, defaulted to 0. | |
4217 | ||
4218 | 2004-05-05 Ed Schonberg <schonberg@gnat.com> | |
4219 | ||
4220 | PR ada/15257 | |
4221 | * sem_ch3.adb (Access_Definition): If this is an access parameter | |
4222 | whose designated type is imported through a limited_with clause, do | |
4223 | not add the enclosing subprogram to the list of private dependents of | |
4224 | the type. | |
4225 | ||
4226 | 2004-05-05 Ed Schonberg <schonberg@gnat.com> | |
4227 | ||
4228 | PR ada/15258 | |
4229 | * sem_ch6.adb (Base_Types_Match): True if one type is imported through | |
4230 | a limited_with clause, and the other is its non-limited view. | |
4231 | ||
4232 | 2004-05-05 Thomas Quinot <quinot@act-europe.fr> | |
4233 | ||
4234 | * cstand.adb (Create_Standard): Initialize Stand.Boolean_Literals. | |
4235 | ||
90afe2c9 | 4236 | * exp_attr.adb, exp_ch5.adb, exp_ch9.adb, exp_disp.adb, |
aa720a54 AC |
4237 | exp_fixd.adb, sem_attr.adb, sem_dist.adb, sem_util.adb: Use |
4238 | Stand.Boolean_Literals to produce references to entities | |
4239 | Standard_False and Standard_True from compile-time computed boolean | |
4240 | values. | |
4241 | ||
4242 | * stand.ads (Boolean_Literals): New variable, provides the entity | |
4243 | values for False and True, for use by the expander. | |
4244 | ||
4245 | 2004-05-05 Doug Rupp <rupp@gnat.com> | |
4246 | ||
4247 | * 5vinmaop.adb, 5[vx]system.ads: Add Short_Address subtype | |
4248 | 5vinmaop.adb: Unchecked convert Short_Address vice Address | |
4249 | ||
4250 | * adaint.c, raise.c: Caste CRTL function return value | |
4251 | to avoid gcc error on 32/64 bit IVMS. | |
4252 | ||
4253 | * Makefile.in [VMS]: Use iar archiver if host = Alpha/VMS and | |
4254 | target = IA64/VMS. | |
4255 | ||
4256 | * init.c[VMS]: Only call Alpha specific __gnat_error_prehandler IN_RTS. | |
4257 | ||
4258 | * 5qsystem.ads (Address): Declare as Long_Integer | |
4259 | (Short_Address): Declare as 32 bit subtype of Address | |
4260 | Declare abstract address operations to avoid gratuitous ambiguities. | |
4261 | ||
4262 | 2004-05-05 Jose Ruiz <ruiz@act-europe.fr> | |
4263 | ||
4264 | * gnat_rm.texi: Use the new restriction Simple_Barriers (AI-249) | |
4265 | instead of the old Boolean_Entry_Barriers. | |
4266 | Ditto for No_Task_Attributes_Package instead of No_Task_Attributes. | |
4267 | ||
4268 | 2004-05-05 GNAT Script <nobody@gnat.com> | |
4269 | ||
4270 | * Make-lang.in: Makefile automatically updated | |
4271 | ||
1ab2888d AC |
4272 | 2004-05-03 Arnaud Charlet <charlet@act-europe.fr> |
4273 | ||
4274 | * 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used. | |
4275 | ||
9f4fd324 AC |
4276 | 2004-05-03 Olivier Hainque <hainque@act-europe.fr> |
4277 | ||
4278 | PR ada/15152 | |
4279 | ||
4280 | * exp_ch2.adb (Expand_Current_Value): Leave Machine_Code Asm arguments | |
4281 | alone. Replacing object references by literals is inappropriate in a | |
4282 | so low level context. | |
4283 | ||
4284 | 2004-05-03 Arnaud Charlet <charlet@act-europe.fr> | |
4285 | ||
4286 | * a-exexpr.adb: Add comments | |
4287 | ||
4288 | 2004-05-03 Joel Brobecker <brobecker@gnat.com> | |
4289 | ||
4290 | * a-tags.adb (Tag_Table): Add Index_Check pragma Suppress. Allows us to | |
4291 | declare the Ancestor_Tags array in Type_Specific_Data with a small size | |
4292 | without risking a bounds check error when accessing one of its | |
4293 | components. | |
4294 | (Type_Specific_Data): Define Ancestor_Tags as a small array. | |
4295 | This prevents us from hitting a limitation during the debug info | |
4296 | generation when using stabs. | |
4297 | ||
4298 | * a-tags.adb (Dispatch_Table): Define the Prims_Ptr component as a | |
4299 | small array. | |
4300 | This prevents us from hitting a limitation during the debug info | |
4301 | generation when using stabs. | |
4302 | ||
4303 | 2004-05-03 Eric Botcazou <ebotcazou@act-europe.fr> | |
4304 | ||
4305 | lang-specs.h: Remove -gnatz* from specs. | |
4306 | ||
4307 | 2004-05-03 Vincent Celier <celier@gnat.com> | |
4308 | ||
4309 | * gprmake.adb, makegpr.ads, makegpr.adb: New files. | |
4310 | ||
4311 | * Make-lang.in, Makefile.in: Add gprmake | |
4312 | ||
4313 | 2004-05-03 Thomas Quinot <quinot@act-europe.fr> | |
4314 | ||
4315 | * sem_aggr.adb: Fix typo in comment. | |
4316 | ||
4317 | 2004-05-03 Robert Dewar <dewar@gnat.com> | |
4318 | ||
4319 | * make.adb: Minor reformatting | |
4320 | ||
4321 | * rtsfind.ads, rtsfind.adb: (RTU_Loaded): New function | |
4322 | ||
4323 | * sem_attr.adb (Eval_Attribute, case Type_Class): Fix check for address | |
4324 | so that it works when address is not a private type. | |
4325 | ||
4326 | * sem_ch13.adb (Check_Expr_Constants, case N_Integer_Literal): Deal | |
4327 | properly with rewritten unchecked conversions. This prevents | |
4328 | order-of-elaboration issues that can otherwise arise. | |
4329 | (Minimum_Size): Don't check size of access types under VMS | |
4330 | ||
4331 | * sem_ch4.adb (Remove_Address_Interpretation): New circuit to remove | |
4332 | interpretations of integer literals as type System.Address. | |
4333 | ||
4334 | * sem_util.ads, sem_util.adb (Is_Descendent_Of_Address): New function | |
4335 | (Is_Descendent_Of): New function | |
4336 | ||
4337 | 2004-05-03 Jose Ruiz <ruiz@act-europe.fr> | |
4338 | ||
4339 | * sem_prag.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers. | |
4340 | Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length. | |
4341 | No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment. | |
4342 | ||
4343 | * sem_res.adb: Use the new restriction Max_Entry_Queue_Length instead | |
4344 | of the old Max_Entry_Queue_Depth. | |
4345 | ||
4346 | * snames.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers. | |
4347 | Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length | |
4348 | No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment | |
4349 | ||
4350 | * snames.ads: New entry for proper handling of Boolean_Entry_Barriers. | |
4351 | New entry for proper handling of Max_Entry_Queue_Depth. | |
4352 | New entry for proper handling of No_Dynamic_Interrupts. | |
4353 | ||
4354 | * s-rident.ads: Adding restriction Simple_Barriers (AI-00249) that | |
4355 | supersedes the GNAT specific restriction Boolean_Entry_Barriers. | |
4356 | Adding restriction Max_Entry_Queue_Length (AI-00249) that supersedes | |
4357 | the GNAT specific restriction Max_Entry_Queue_Depth. | |
4358 | Adding restriction No_Dynamic_Attachment (AI-00249) that supersedes | |
4359 | the GNAT specific restriction No_Dynamic_Interrupts. | |
4360 | ||
4361 | * restrict.ads, restrict.adb: Use the new restriction Simple_Barriers | |
4362 | instead of the old Boolean_Entry_Barriers. | |
4363 | Use the new restriction No_Dynamic_Attachment instead of the old | |
4364 | No_Dynamic_Interrupts. | |
4365 | ||
4366 | * exp_ch9.adb: Check restriction Simple_Barriers (AI-00249) that | |
4367 | supersedes the GNAT specific restriction Boolean_Entry_Barriers. | |
4368 | ||
4369 | * gnatbind.adb: Use the new restriction Max_Entry_Queue_Length instead | |
4370 | of the old Max_Entry_Queue_Depth. | |
4371 | ||
4372 | 2004-05-03 GNAT Script <nobody@gnat.com> | |
4373 | ||
4374 | * Make-lang.in: Makefile automatically updated | |
4375 | ||
d935a36e AC |
4376 | 2004-04-29 Ed Schonberg <schonberg@gnat.com> |
4377 | ||
4378 | * checks.adb (Enable_Range_Check): If the prefix of an index component | |
4379 | is an access to an unconstrained array, perform check unconditionally. | |
4380 | ||
4381 | 2004-04-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
4382 | ||
4383 | * decl.c (gnat_to_gnu_field): Also call make_packable_type if | |
4384 | Component_Clause. | |
4385 | ||
4386 | 2004-04-29 Olivier Hainque <hainque@act-europe.fr> | |
4387 | ||
4388 | * init.c (__gnat_install_handler, __gnat_error_handler): Remove | |
4389 | alternate stack setting. There was no support for the tasking cases | |
4390 | and the changes eventually caused a number of side-effect failures in | |
4391 | the non-tasking case too. | |
4392 | ||
4393 | 2004-04-29 Eric Botcazou <ebotcazou@act-europe.fr> | |
4394 | ||
4395 | lang-specs.h: Redirect output to /dev/null if -gnatc or -gnatz or | |
4396 | -gnats is passed. | |
4397 | ||
4398 | 2004-04-29 Vincent Celier <celier@gnat.com> | |
4399 | ||
4400 | * make.adb (Gnatmake): Increase max size of argument array for | |
4401 | gnatbind for the potential addition of -F. | |
4402 | If there are Stand-Alone Library projects, invoke gnatbind with -F to | |
4403 | be sure that elaboration flags will be checked. | |
4404 | ||
4405 | * switch-c.adb: Correct call to Scan_Pos for -gnateI | |
4406 | ||
4407 | 2004-04-29 Thomas Quinot <quinot@act-europe.fr> | |
4408 | ||
4409 | * sem_warn.adb (Check_References): Move '<access-variable> may be | |
4410 | null' warning out of under Warn_On_No_Value_Assigned. | |
4411 | ||
4412 | 2004-04-29 Ed Falis <falis@gnat.com> | |
4413 | ||
4414 | * gnat_ugn.texi: Fixed texi error | |
4415 | ||
4416 | 2004-04-29 Robert Dewar <dewar@gnat.com> | |
4417 | ||
4418 | * sem_ch4.adb (Remove_Abstract_Operations): Unconditionally remove | |
4419 | abstract operations if they come from predefined files. | |
4420 | ||
4421 | * gnat_rm.texi: Fix bad doc for pragma Elaboration_Checks (should be | |
4422 | Dynamic, not RM). | |
4423 | ||
4424 | * s-addope.adb: Correct obvious error in mod function | |
4425 | ||
4426 | 2004-04-28 Andrew W. Reynolds <awreynolds@mac.com> | |
4427 | ||
4428 | * Makefile.in: Add target pairs for powerpc darwin* | |
4429 | tasking support. | |
4430 | ||
4431 | * a-intnam-darwin.ads, s-osinte-darwin.adb, | |
4432 | s-osinte-darwin.ads, system-darwin-ppc.ads: New files. | |
4433 | ||
ea16c81b UW |
4434 | 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
4435 | ||
4436 | * Makefile.in: Add target macro definitions for s390*-linux*. | |
4437 | * system-linux-s390.ads: New file. | |
4438 | * system-linux-s390x.ads: New file. | |
4439 | ||
f0e6f845 JM |
4440 | 2004-04-28 Joseph S. Myers <jsm@polyomino.org.uk> |
4441 | ||
4442 | * gnat_ugn.texi: Correct argument to @setfilename. | |
4443 | ||
e8c2eedc UW |
4444 | 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
4445 | ||
4446 | * a-exexpr.adb (Unwind_Word): New data type. | |
4447 | (Unwind_Exception): Use it as type of Private1 and Private2. | |
4448 | ||
4449 | * raise.c (db_action_for): Fix debug printf. | |
4450 | ||
f2c9e65a AC |
4451 | 2004-04-27 Ed Schonberg <schonberg@gnat.com> |
4452 | ||
4453 | * a-wtmoio.ads: Formal type must be a modular type, not a signed | |
4454 | integer type. | |
4455 | ||
4456 | 2004-04-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
4457 | ||
4458 | * decl.c (gnat_to_gnu_entity, case object): Call | |
4459 | __builtin_update_setjmp_buf. | |
4460 | ||
4461 | * gigi.h (update_setjmp_buf): Deleted. | |
4462 | (ADT_update_setjmp_buf_decl, update_setjmp_buf_decl): New. | |
4463 | ||
4464 | * misc.c: (update_setjmp_buf): Deleted. | |
4465 | ||
4466 | * trans.c (gnat_to_gnu): Call do_pending_stack_adjust and emit_queue | |
4467 | around block of RTL. | |
4468 | ||
4469 | * utils.c (init_gigi_decls): Initialize update_setjmp_buf. | |
4470 | ||
35b7fa6a AC |
4471 | 2004-04-26 Thomas Quinot <quinot@act-europe.fr> |
4472 | ||
4473 | * sem_dist.adb, exp_dist.adb: When constructing a RAS value for a local | |
4474 | subprogram for which no pragma All_Calls_Remote applies, store the | |
4475 | address of the real subprogram in the underlying record type, so local | |
4476 | dereferences do not go through the PCS. | |
4477 | ||
4478 | 2004-04-26 Robert Dewar <dewar@gnat.com> | |
4479 | ||
4480 | * i-c.ads: Add some type qualifications to avoid ambiguities when | |
4481 | compiling with s-auxdec.ads and a non-private address type. | |
4482 | ||
4483 | 2004-04-26 Arnaud Charlet <charlet@act-europe.fr> | |
4484 | ||
4485 | * Makefile.rtl: Fix error in previous check-in: | |
4486 | Add s-addope.o to non tasking object list (rather than tasking object | |
4487 | list). | |
4488 | ||
4489 | 2004-04-26 Javier Miranda <miranda@gnat.com> | |
4490 | ||
4491 | * sem_aggr.adb: Fix typo in comments | |
4492 | (Resolve_Aggr_Expr): Propagate the type to the nested aggregate. | |
4493 | Required to check the null-exclusion attribute. | |
4494 | ||
4495 | * sem_attr.adb (Resolve_Attribute): Check the accessibility level in | |
4496 | case of anonymous access types in record and array components. For a | |
4497 | component definition the level is the same of the enclosing composite | |
4498 | type. | |
4499 | ||
4500 | * sem_ch3.adb (Analyze_Component_Declaration): In case of components | |
4501 | that are anonymous access types the level of accessibility depends on | |
4502 | the enclosing type declaration. In order to have this information, set | |
4503 | the scope of the anonymous access type to the enclosing record type | |
4504 | declaration. | |
4505 | (Array_Type_Declaration): In case of components that are anonymous | |
4506 | access types the level of accessibility depends on the enclosing type | |
4507 | declaration. In order to have this information, set the scope of the | |
4508 | anonymous access type to the enclosing array type declaration. | |
4509 | ||
4510 | * sem_ch3.adb (Array_Type_Declaration): Set the scope of the anonymous | |
4511 | access type. | |
4512 | ||
4513 | * sem_ch8.adb (Analyze_Object_Renaming): Add check to verify that | |
4514 | renaming of anonymous access-to-constant types allowed if and only if | |
4515 | the renamed object is access-to-constant. | |
4516 | ||
4517 | * sem_util.adb (Type_Access_Level): In case of anonymous access types | |
4518 | that are component_definition or discriminants of a nonlimited type, | |
4519 | the level is the same as that of the enclosing component type. | |
4520 | ||
4521 | 2004-04-26 Sergey Rybin <rybin@act-europe.fr> | |
4522 | ||
4523 | * sem_elim.adb: Some minor code reorganization from code reading. Fix | |
4524 | misprint in the function name (File_Name_Match). | |
4525 | ||
5a944040 LG |
4526 | 2004-04-23 Laurent GUERBY <laurent@guerby.net> |
4527 | ||
90afe2c9 | 4528 | * Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after |
5a944040 | 4529 | install. |
90afe2c9 | 4530 | |
d0fd1344 RO |
4531 | 2004-04-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4532 | ||
4533 | * Make-lang.in (GNATBIND_OBJS): Add s-addope.o. | |
4534 | ||
cc4f0de1 AC |
4535 | 2004-04-23 Emmanuel Briot <briot@act-europe.fr> |
4536 | ||
4537 | * adaint.c (__gnat_try_lock): No longer requires that the parent | |
4538 | directory be writable, the directory itself is enough. | |
4539 | (gnat_is_absolute_path): Change profile, so that the call from | |
4540 | GNAT.OS_Lib can be made more efficient. | |
4541 | ||
4542 | * adaint.h (gnat_is_absolute_path): Change profile, so that the call | |
4543 | from GNAT.OS_Lib can be made more efficient. | |
4544 | ||
4545 | * g-os_lib.adb (Is_Absolute_Path): More efficient implementation, avoid | |
4546 | one copy of the file name. Found by code reading. | |
4547 | ||
4548 | 2004-04-23 Vincent Celier <celier@gnat.com> | |
4549 | ||
4550 | * gnat_ugn.texi: Add documentation for gnatmake switch -eL | |
4551 | Correct documentation on gnatmake switches transmitted to the compiler | |
4552 | ||
4553 | * ali.ads: Minor comment fix | |
4554 | ||
4555 | 2004-04-23 Javier Miranda <miranda@gnat.com> | |
4556 | ||
4557 | * sem_ch6.adb: (Confirming Types): Code cleanup | |
4558 | ||
4559 | * decl.c (gnat_to_gnu_entity): Give support to anonymous access to | |
4560 | subprogram types: E_Anonymous_Access_Subprogram_Type and | |
4561 | E_Anonymous_Access_Protected_Subprogram_Type. | |
4562 | ||
4563 | 2004-04-23 Thomas Quinot <quinot@act-europe.fr> | |
4564 | ||
4565 | * sem_dist.adb: Add a new paramter to the RAS_Access TSS indicating | |
4566 | whether a pragma All_Calls_Remote applies to the subprogram on which | |
4567 | 'Access is taken. | |
4568 | No functional change is introduced by this revision; the new parameter | |
4569 | will be used to allow calls to local RCI subprograms to be optimized | |
4570 | to not use the PCS in the case where no pragma All_Calls_Remote applies, | |
4571 | as is already done in the PolyORB implementation of the DSA. | |
4572 | ||
4573 | * exp_dist.adb: Add a new paramter to the RAS_Access TSS indicating | |
4574 | whether a pragma All_Calls_Remote applies to the subprogram on which | |
4575 | 'Access is taken. | |
4576 | No functional change is introduced by this revision; the new parameter | |
4577 | will be used to allow calls to local RCI subprograms to be optimized | |
4578 | to not use the PCS in the case where no pragma All_Calls_Remote applies, | |
4579 | as is already done in the PolyORB implementation of the DSA. | |
4580 | ||
4581 | 2004-04-23 Robert Dewar <dewar@gnat.com> | |
4582 | ||
4583 | * Makefile.rtl: Add entry for s-addope.o in run time library list | |
4584 | * Make-lang.in: Add entry for s-addope.o to GNAT1 objects | |
4585 | * s-addope.ads, s-addope.adb: New files. | |
4586 | ||
90afe2c9 ZW |
4587 | * s-carsi8.adb, s-carun8.adb, s-casi16.adb, s-casi32.adb, |
4588 | s-casi64.adb, s-caun16.adb, s-caun32.adb, s-caun64.adb, | |
cc4f0de1 AC |
4589 | s-finimp.adb, s-geveop.adb, s-stoele.adb: Modifications to allow |
4590 | System.Address to be non-private and signed. | |
4591 | ||
4592 | * sem_elim.adb: Minor reformatting (fairly extensive) | |
4593 | Some minor code reorganization from code reading | |
4594 | Add a couple of ??? comments | |
4595 | ||
4596 | 2004-04-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
4597 | ||
4598 | * trans.c (tree_transform, build_unit_elab): Don't call getdecls. | |
90afe2c9 | 4599 | (tree_transform, case N_If_Statement): Remove non-determinism. |
cc4f0de1 AC |
4600 | |
4601 | * utils.c (begin_subprog_body): Just set DECL_CONTEXT in PARM_DECL. | |
4602 | ||
4603 | 2004-04-23 Sergey Rybin <rybin@act-europe.fr> | |
4604 | ||
4605 | * gnat_rm.texi: Small fixes in the changes made in the 'pragma | |
4606 | Eliminate' section. | |
4607 | ||
4608 | * snames.ads, snames.adb: Remove Name_Homonym_Number (Homonym_Number is | |
4609 | no longer used as a parameter name for Eliminate pragma). | |
4610 | ||
78bad775 LG |
4611 | 2004-04-22 Laurent GUERBY <laurent@guerby.net> |
4612 | ||
4613 | PR optimization/14984 | |
4614 | PR optimization/14985 | |
4615 | * trans.c (gigi): Fix non determinism leading to bootstrap | |
4616 | comparison failures. | |
4617 | ||
af4b9434 AC |
4618 | 2004-04-21 Pascal Obry <obry@gnat.com> |
4619 | ||
4620 | * adaint.c (__gnat_portable_spawn): Quote first argument (argv[0]) | |
4621 | passed to spawnvp() to properly handle program pathname with spaces on | |
4622 | Win32. | |
4623 | ||
4624 | 2004-04-21 Emmanuel Briot <briot@act-europe.fr> | |
4625 | ||
4626 | * g-debpoo.adb (Print_Info): Avoid extra work if Display_Slots is False. | |
4627 | (Allocate, Deallocate, Free_Physically): Make sure the tasks are | |
4628 | unlocked in case of exceptions. | |
4629 | ||
4630 | 2004-04-21 Joel Brobecker <brobecker@gnat.com> | |
4631 | ||
4632 | * gigi.h (get_target_no_dollar_in_label): Remove extern declaration. | |
4633 | This function does not exist anymore. | |
4634 | ||
4635 | 2004-04-21 Thomas Quinot <quinot@act-europe.fr> | |
4636 | ||
4637 | * gnatbind.adb, gnatlink.adb: Update name of imported C symbol. | |
4638 | ||
4639 | * link.c: Move variables to the __gnat name space. | |
4640 | ||
4641 | * Makefile.in: list link.o explicitly when needed. | |
4642 | ||
4643 | * mlib.adb: Remove pragma Linker_Option for "link.o" from mlib. | |
4644 | ||
4645 | 2004-04-21 Javier Miranda <miranda@gnat.com> | |
4646 | ||
4647 | * einfo.adb (Original_Access_Type): New subprogram | |
4648 | (Set_Original_Access_Type): New subprogram | |
4649 | (Write_Field21_Name): Write the name of the new field | |
4650 | ||
4651 | * einfo.ads (Original_Access_Type): New field present in access to | |
4652 | subprogram types. | |
4653 | Addition of two new entities: E_Anonymous_Access_Subprogram_Type, and | |
4654 | E_Anonymous_Access_Protected_Subprogram_Type. | |
4655 | ||
4656 | * lib-xref.adb (Output_One_Ref): Give support to anonymous access to | |
4657 | subprogram types. | |
4658 | ||
4659 | * lib-xref.ads (Xref_Entity_Letters): Initialize values corresponding | |
4660 | to anonymous access to subprogram types. | |
4661 | ||
4662 | * sem_attr.adb (Resolve_Attribute): Give support to anonymous access | |
4663 | to subprogram types. | |
4664 | ||
4665 | * sem_ch3.adb (Access_Definition): Complete decoration of entities | |
4666 | corresponding to anonymous access to subprogram types. | |
4667 | (Analyze_Component_Declaration): Add new actual to the call to | |
4668 | subprogram replace_anonymous_access_to_protected_subprogram. | |
4669 | (Array_Type_Declaration): Add new actual to the call to subprogram | |
4670 | replace_anonymous_access_to_protected_subprogram. | |
4671 | (Process_Discriminants): Add new actual to the call to subprogram | |
4672 | replace_anonymous_access_to_protected_subprogram. | |
4673 | (Replace_Anonymous_Access_To_Protected_Subprogram): New formal. | |
4674 | ||
4675 | * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New | |
4676 | formal. | |
4677 | ||
4678 | * sem_ch6.adb, sem_type.adb, sem_res.adb: Give support to anonymous | |
4679 | access to subprogram types. | |
4680 | ||
4681 | * sem_util.adb (Has_Declarations): Addition of package_specification | |
4682 | nodes. | |
4683 | ||
4684 | 2004-04-21 Ed Schonberg <schonberg@gnat.com> | |
4685 | ||
4686 | * sem_prag.adb (Make_Inline): If subprogram is a renaming, propagate | |
4687 | inlined flags to renamed entity only if in current unit. | |
4688 | ||
4689 | 2004-04-21 Thomas Quinot <quinot@act-europe.fr> | |
4690 | ||
4691 | * s-parint.ads: Add DSA implementation marker. | |
4692 | ||
4693 | * rtsfind.ads, rtsfind.adb, snames.ads, snames.adb, s-rpc.adb: Use the | |
4694 | value of System.Partition_Interface.DSA_Implementation to determine | |
4695 | what version of the distributed systems annex is available (no | |
4696 | implementation, GLADE, or PolyORB). | |
4697 | ||
4698 | 2004-04-21 Joel Brobecker <brobecker@gnat.com> | |
4699 | ||
4700 | * targtyps.c (get_target_no_dollar_in_label): Remove, no longer used. | |
4701 | ||
4702 | 2004-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
4703 | ||
4704 | * utils.c (convert, case CONSTRUCTOR, COMPONENT_REF): Do not make node | |
4705 | with new type if alias sets differ. | |
4706 | Fixes ACATS c41103b. | |
4707 | ||
4708 | 2004-04-21 Vincent Celier <celier@gnat.com> | |
4709 | ||
4710 | * prj.ads: Remove FORTRAN as an accepted language: not tested yet. | |
4711 | Add array Lang_Args for the language specific compiling argument | |
4712 | switches. | |
4713 | ||
4714 | * gnat_ugn.texi: Explain in more details when a library is rebuilt. | |
4715 | ||
4716 | 2004-04-21 Sergey Rybin <rybin@act-europe.fr> | |
4717 | ||
4718 | * gnat_rm.texi: Update the descripton of the Eliminate pragma | |
4719 | according to the recent changes in the format of the parameters of the | |
4720 | pragma (replacing Homonym_Number with Source_Location). | |
4721 | ||
7324bf49 AC |
4722 | 2004-04-19 Arnaud Charlet <charlet@act-europe.fr> |
4723 | ||
4724 | * 5isystem.ads: Removed, unused. | |
4725 | ||
4726 | * gnat_rm.texi: Redo 1.13 change. | |
4727 | ||
4728 | 2004-04-19 Robert Dewar <dewar@gnat.com> | |
4729 | ||
4730 | * s-stoele.ads: Clean up definition of Storage_Offset (the new | |
4731 | definition is cleaner, avoids the kludge of explicit Standard operator | |
4732 | references, and also is consistent with a visible System.Address with | |
4733 | no visible operations. | |
4734 | ||
4735 | * s-geveop.adb: Add declarations to avoid assumption of visible | |
4736 | operations on type System.Address (since these might not be available | |
4737 | if Address is a non-private type for which the operations | |
4738 | are made abstract). | |
4739 | ||
4740 | * sem_eval.adb: Minor reformatting | |
4741 | ||
4742 | * s-carsi8.ads, s-carun8.ads, s-casi16.ads, s-casi32.ads, | |
4743 | s-casi64.ads, s-caun16.ads, s-caun32.ads, s-caun64.ads: Minor | |
4744 | reformatting (new function spec format). | |
4745 | ||
4746 | * s-auxdec.adb, s-carsi8.adb, s-carun8.adb, s-casi16.adb, | |
4747 | s-casi32.adb, s-casi64.adb, s-caun16.adb, s-caun32.adb, | |
4748 | s-caun64.adb: Add declarations to avoid assumption of visible | |
4749 | operations on type System.Address (since these might not be available | |
4750 | if Address is a non-private type for which the operations are made | |
4751 | abstract). | |
4752 | ||
4753 | * lib.ads, lib.adb (Synchronize_Serial_Number): New procedure. | |
4754 | ||
4755 | * exp_intr.adb: Minor comment update | |
4756 | ||
4757 | * exp_aggr.adb, exp_attr.adb, exp_ch13.adb: Minor reformatting. | |
4758 | ||
4759 | * 5omastop.adb: Add declarations to avoid assumption of visible | |
4760 | operations on type System.Address (since these might not be available | |
4761 | if Address is a non-private type for which the operations | |
4762 | are made abstract). | |
4763 | ||
4764 | 2004-04-19 Vincent Celier <celier@gnat.com> | |
4765 | ||
4766 | * switch-m.adb: (Scan_Make_Switches): Process new switch -eL | |
4767 | ||
4768 | * prj-pars.ads (Parse): New Boolean parameter Process_Languages, | |
4769 | defaulted to Ada. | |
4770 | ||
4771 | * prj-proc.adb (Process): New Boolean parameter Process_Languages, | |
4772 | defaulted to Ada. | |
4773 | Call Check with Process_Languages. | |
4774 | (Check): New Boolean parameter Process_Languages. Call Recursive_Check | |
4775 | with Process_Languages. | |
4776 | (Recursive_Check): New Boolean parameter Process_Languages. Call | |
4777 | Nmsc.Ada_Check or Nmsc.Other_Languages_Check according to | |
4778 | Process_Languages. | |
4779 | ||
4780 | * prj-proc.ads (Process): New Boolean parameter Process_Languages, | |
4781 | ||
4782 | * prj-util.ads, prj-util.adb (Executable_Of): New Boolean | |
4783 | parameter Ada_Main, defaulted to True. | |
4784 | Check for Ada specific characteristics only when Ada_Main is True. | |
4785 | ||
4786 | * opt.ads: (Follow_Links): New Boolean flag for gnatmake | |
4787 | ||
4788 | * prj.adb: (Project_Empty): Add new Project_Data components. | |
4789 | ||
4790 | * prj.ads: New types and tables for non Ada languages. | |
4791 | (Project_Data): New components Languages, Impl_Suffixes, | |
4792 | First_Other_Source, Last_Other_Source, Imported_Directories_Switches, | |
4793 | Include_Path, Include_Data_Set. | |
4794 | ||
4795 | * prj-env.ads, prj-env.adb: Minor reformatting | |
4796 | ||
4797 | * prj-nmsc.ads, prj-nmsc.adb: (Other_Languages_Check): New procedure | |
4798 | Put subprograms in alphabetical order | |
4799 | ||
4800 | * prj-pars.adb (Parse): New Boolean parameter Process_Languages, | |
4801 | defaulted to Ada; Call Prj.Proc.Process with Process_Languages and | |
4802 | Opt.Follow_Links. | |
4803 | ||
4804 | * mlib-prj.adb: Back out modification in last version, as they are | |
4805 | incorrect. | |
4806 | (Build_Library.Check_Libs): Remove useless pragma Warnings (Off) | |
4807 | ||
4808 | * make.adb: (Mains): Moved to package Makeutl | |
4809 | (Linker_Opts): Moved to package Makeutl | |
4810 | (Is_External_Assignment): Moved to package Makeutl | |
4811 | (Test_If_Relative_Path): Moved to package Makeutl | |
4812 | (Gnatmake): Move sorting of linker options to function | |
4813 | Makeutl.Linker_Options_Switches. | |
4814 | ||
8f9df7d8 VC |
4815 | * makeutl.ads, makeutl.adb: New files. |
4816 | ||
7324bf49 AC |
4817 | * Makefile.in: Add makeutl.o to the object files for gnatmake |
4818 | ||
4819 | * makeusg.adb: Add line for new switch -eL. | |
4820 | ||
4821 | * gnatls.adb (Image): New function. | |
4822 | (Output_Unit): If in verbose mode, output the list of restrictions | |
4823 | specified by pragmas Restrictions. | |
4824 | ||
4825 | * 5bml-tgt.adb, 5vml-tgt.adb (Build_Dynamic_Library): Do not use | |
4826 | Text_IO. | |
4827 | ||
4828 | * a-calend.adb (Split): Shift the date by multiple of 56 years, if | |
4829 | needed, to put it in the range 1970 (included) - 2026 (excluded). | |
4830 | (Time_Of): Do not shift Unix_Min_Year (1970). | |
4831 | Shift the date by multiple of 56 years, if needed, to put it in the | |
4832 | range 1970 (included) - 2026 (excluded). | |
4833 | ||
4834 | * adaint.h, adaint.c (__gnat_set_executable): New function. | |
4835 | ||
4836 | 2004-04-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
4837 | ||
4838 | * trans.c (tree_transform, case N_Subprogram_Body): Temporarily push | |
4839 | and pop GC context. | |
4840 | (tree_transform, case N_Procedure_Call): Fix typo in setting TREE_TYPE. | |
4841 | (tree_transform, case N_Label): Don't set LABEL_STMT_FIRST_IN_EH. | |
4842 | (tree_transform, case N_Procedure_Call_Statement): Build a tree. | |
4843 | (tree_transform, case N_Code_Statement): Likewise. | |
4844 | (gnat_expand_stmt, case LABEL_STMT): Don't look at | |
4845 | LABEL_STMT_FIRST_IN_EH. | |
4846 | (gnat_expand_stmt, case ASM_STMT): New case. | |
4847 | ||
4848 | * utils2.c (build_unary_op): Properly set TREE_READONLY of | |
4849 | UNCONSTRAINED_ARRAY_REF. | |
4850 | ||
4851 | * utils.c (poplevel): Temporarily push/pop GC context around inline | |
4852 | function expansion. | |
4853 | ||
4854 | * decl.c (maybe_variable): Properly set TREE_READONLY of | |
4855 | UNCONSTRAINED_ARRAY_REF. | |
4856 | (make_packable_type): Only reference TYPE_IS_PADDING_P for RECORD_TYPE. | |
4857 | ||
4858 | * ada-tree.def: (ASM_STMT): New. | |
4859 | ||
4860 | * ada-tree.h: (LABEL_STMT_FIRST_IN_EH): Deleted. | |
4861 | (ASM_STMT_TEMPLATE, ASM_STMT_OUTPUT, ASM_STMT_ORIG_OUT, | |
4862 | ASM_STMT_INPUT): New. | |
4863 | (ASM_STMT_CLOBBER): Likewise. | |
4864 | ||
4865 | 2004-04-19 Thomas Quinot <quinot@act-europe.fr> | |
4866 | ||
4867 | * a-except.adb, s-parint.ads, s-parint.adb, types.ads, types.h: Use | |
4868 | general rcheck mechanism to raise Program_Error for E.4(18), instead | |
4869 | of a custom raiser in System.Partition_Interface. | |
4870 | Part of general cleanup work before PolyORB integration. | |
4871 | ||
4872 | * snames.ads, snames.adb: Add new runtime library entities and names | |
4873 | for PolyORB DSA. | |
4874 | ||
4875 | * sem_dist.ads, sem_dist.adb (Get_Subprogram_Id): Move from sem_dist to | |
4876 | exp_dist. | |
4877 | (Build_Subprogram_Id): New subprogram provided by exp_dist | |
4878 | Code reorganisation in preparation for PolyORB integration. | |
4879 | ||
4880 | * exp_dist.ads, exp_dist.adb (Get_Subprogram_Id): Move from sem_dist to | |
4881 | exp_dist. | |
4882 | (Build_Subprogram_Id): New subprogram provided by exp_dist | |
4883 | ||
4884 | * sem_ch4.adb (Analyze_One_Call): Fix error message for mismatch in | |
4885 | actual parameter types for call to dereference of an | |
4886 | access-to-subprogram type. | |
4887 | ||
4888 | * rtsfind.ads: Add new runtime library entities and names for PolyORB | |
4889 | DSA. | |
4890 | ||
4891 | * gnatlink.adb (Value): Remove. Use Interfaces.C.Strings.Value | |
4892 | instead, which has the same behaviour here since we never pass it a | |
4893 | NULL pointer. | |
4894 | ||
4895 | * link.c (run_path_option, Solaris case): Use -Wl, as for other | |
4896 | platforms. | |
4897 | ||
4898 | * Makefile.in: adjust object file lists for gnatlink and gnatmake | |
4899 | to account for new dependency upon Interfaces.C.Strings + link.o | |
4900 | For x86 FreeBSD, use 86numaux. | |
4901 | ||
4902 | * make.adb, gnatcmd.adb: Linker_Library_Path_Option has been moved up | |
4903 | from Mlib.Tgt to Mlib. | |
4904 | ||
4905 | * mlib.ads, mlib.adb (Linker_Library_Path_Option): New subprogram, now | |
4906 | target-independent. | |
4907 | ||
4908 | * mlib-tgt.ads, mlib-tgt.adb (Linker_Library_Path_Option): Remove | |
4909 | target-specific versions of this subprogram, now implemented as a | |
4910 | target-independent function in Mlib. | |
4911 | ||
4912 | * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb, 5lml-tgt.adb, | |
4913 | 5sml-tgt.adb, 5vml-tgt.adb, 5zml-tgt.adb, 5wml-tgt.adb | |
4914 | (Linker_Library_Path_Option): Remove target-specific versions of this | |
4915 | subprogram, now implemented as a target-independent function in Mlib. | |
4916 | ||
4917 | * atree.adb: (Allocate_Initialize_Node): New subprogram. | |
4918 | Factors out node table slots allocation. | |
4919 | (Fix_Parents): New subprogram. | |
4920 | Encapsulate the pattern of fixing up parent pointers for syntactic | |
4921 | children of a rewritten node. | |
4922 | (New_Copy_Tree): Use New_Copy to copy non-entity nodes. | |
4923 | (Rewrite): Use New_Copy when creating saved copy of original node. | |
4924 | (Replace): Use Copy_Node to copy nodes. | |
4925 | ||
4926 | 2004-04-19 Javier Miranda <miranda@gnat.com> | |
4927 | ||
4928 | * sprint.adb (Sprint_Node_Actual): Give support to the new | |
4929 | Access_To_Subprogram node available in Access_Definition nodes. In | |
4930 | addition, give support to the AI-231 node fields: null-exclusion, | |
4931 | all-present, constant-present. | |
4932 | ||
4933 | * sem_util.ads, sem_util.adb: (Has_Declarations): New subprogram | |
4934 | ||
90afe2c9 | 4935 | * sinfo.ads, sinfo.adb: |
7324bf49 AC |
4936 | New field Access_To_Subprogram_Definition in Access_Definition nodes |
4937 | ||
4938 | * sem_ch6.adb (Process_Formals): Move here the code that creates and | |
4939 | decorates internal subtype declaration corresponding to the | |
4940 | null-excluding formal. This code was previously in Set_Actual_Subtypes. | |
4941 | In addition, carry out some code cleanup on this code. In case of | |
4942 | access to protected subprogram call | |
4943 | Replace_Anonymous_Access_To_Protected_Subprogram. | |
4944 | (Set_Actual_Subtypes): Code cleanup. | |
4945 | ||
4946 | * sem_ch8.adb (Analyze_Object_Renaming): Remove un-necessary call to | |
4947 | Find_Type in case of anonymous access renamings. Add warning in case of | |
4948 | null-excluding attribute used in anonymous access renaming. | |
4949 | ||
4950 | * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New | |
4951 | subprogram | |
4952 | ||
4953 | * sem_ch3.adb (Replace_Anonymous_Access_To_Protected_Subprogram): New | |
4954 | subprogram. | |
4955 | (Access_Definition): In case of anonymous access to subprograms call | |
4956 | the corresponding semantic routine to decorate the node. | |
4957 | (Access_Subprogram_Declaration): Addition of some comments indicating | |
4958 | some code that probably should be added here. Detected by comparison | |
4959 | with the access_definition subprogram. | |
4960 | (Analyze_Component_Declaration): In case of access to protected | |
4961 | subprogram call Replace_Anonymous_Access_To_Protected. | |
4962 | (Array_Type_Declaration): In case of access to protected subprogram call | |
4963 | Replace_Anonymous_Access_To_Protected_Subprogram. | |
4964 | (Process_Discriminants): In case of access to protected subprogram call | |
4965 | Replace_Anonymous_Access_To_Protected_Subprogram. | |
4966 | ||
4967 | * par.adb (P_Access_Definition): New formal that indicates if the | |
4968 | null-exclusion part was present. | |
4969 | (P_Access_Type_Definition): New formal that indicates if the caller has | |
4970 | already parsed the null-excluding part. | |
4971 | ||
4972 | * par-ch3.adb (P_Subtype_Declaration): Code cleanup. | |
4973 | (P_Identifier_Declarations): Code cleanup and give support to renamings | |
4974 | of anonymous access to subprogram types. | |
4975 | (P_Derived_Type_Def_Or_Private_Ext_Decl): Code cleanup. | |
4976 | (P_Array_Type_Definition): Give support to AI-254. | |
4977 | (P_Component_Items): Give support to AI-254. | |
4978 | (P_Access_Definition): New formal that indicates if the header was | |
4979 | already parsed by the caller. | |
4980 | (P_Access_Type_Definition): New formal that indicates if the caller has | |
4981 | already parsed the null-excluding part. | |
4982 | ||
4983 | * par-ch6.adb (P_Formal_Part): Add the null-excluding parameter to the | |
4984 | call to P_Access_Definition. | |
4985 | ||
4986 | 2004-04-19 Geert Bosch <bosch@gnat.com> | |
4987 | ||
4988 | * checks.adb (Apply_Float_Conversion_Check): New procedure to implement | |
4989 | the delicate semantics of floating-point to integer conversion. | |
4990 | (Apply_Type_Conversion_Checks): Use Apply_Float_Conversion_Check. | |
4991 | ||
4992 | * eval_fat.adb (Machine_Mantissa): Moved to spec. | |
4993 | (Machine_Radix): New function. | |
4994 | ||
4995 | * eval_fat.ads (Machine_Mantissa): Moved from body for use in | |
4996 | conversion checks. | |
4997 | (Machine_Radix): New function also for use in conversion checks. | |
4998 | ||
4999 | 2004-04-19 Ed Schonberg <schonberg@gnat.com> | |
5000 | ||
5001 | * par-prag.adb (Source_File_Name_Project): Fix typo in error message. | |
5002 | ||
5003 | * exp_ch9.adb (Expand_Access_Protected_Subprogram_Type): Call analyze | |
5004 | to decorate the access-to-protected subprogram and the equivalent type. | |
5005 | ||
5006 | * checks.adb (Null_Exclusion_Static_Checks): Code cleanup. Give support | |
5007 | to anonymous access to subprogram types. | |
5008 | ||
5009 | * exp_ch4.adb (Expand_N_In): Preserve Static flag before | |
5010 | constant-folding, for legality checks in contexts that require an RM | |
5011 | static expression. | |
5012 | ||
5013 | * exp_ch6.adb (Expand_N_Function_Call): If call may generate large | |
5014 | temporary but stack checking is not enabled, increment serial number | |
5015 | to so that symbol generation is consistent with and without stack | |
5016 | checking. | |
5017 | ||
5018 | * exp_util.ads, exp_util.adb (May_Generate_Large_Temp): Predicate is | |
5019 | independent on whether stack checking is enabled, caller must check | |
5020 | the corresponding flag. | |
5021 | ||
5022 | * sem_ch3.adb (Constrain_Index): Index bounds given by attributes need | |
5023 | range checks. | |
5024 | (Build_Derived_Concurrent_Type): Inherit Is_Constrained flag from | |
5025 | parent if it has discriminants. | |
5026 | (Build_Derived_Private_Type): Constructed full view does | |
5027 | not come from source. | |
5028 | (Process_Discriminants): Default discriminants on a tagged type are | |
5029 | legal if this is the internal completion of a private untagged | |
5030 | derivation. | |
5031 | ||
5032 | * sem_ch6.adb (Set_Actual_Subtypes): The generated declaration needs | |
5033 | no constraint checks, because it corresponds to an existing object. | |
5034 | ||
5035 | * sem_prag.adb (Process_Convention): Pragma applies | |
5036 | only to subprograms in the same declarative part, i.e. the same unit, | |
5037 | not the same scope. | |
5038 | ||
5039 | * sem_res.adb (Valid_Conversion): In an instance or inlined body, | |
5040 | ignore type mismatch on a numeric conversion if expression comes from | |
5041 | expansion. | |
5042 | ||
5043 | 2004-04-19 Sergey Rybin <rybin@act-europe.fr> | |
5044 | ||
5045 | * sem_elim.adb (Process_Eliminate_Pragma): Remove the processing for | |
5046 | Homonym_Number parameter, add processing for Source_Location parameter | |
5047 | corresponding. | |
5048 | (Check_Eliminated): Remove the check for homonym numbers, add the check | |
5049 | for source location traces. | |
5050 | ||
5051 | * sem_elim.ads (Process_Eliminate_Pragma): Replace Arg_Homonym_Number | |
5052 | with Arg_Source_Location corresponding to the changes in the format of | |
5053 | the pragma. | |
5054 | ||
5055 | * sem_prag.adb: (Analyze_Pragma): Changes in the processing of | |
5056 | Eliminate pragma corresponding to the changes in the format of the | |
5057 | pragma: Homonym_Number is replaced with Source_Location, two ways of | |
5058 | distinguishing homonyms are mutially-exclusive. | |
5059 | ||
5060 | 2004-04-19 Joel Brobecker <brobecker@gnat.com> | |
5061 | ||
5062 | * get_targ.ads (Get_No_Dollar_In_Label): Remove. | |
5063 | ||
5064 | * exp_dbug.adb (Output_Homonym_Numbers_Suffix): Remove use of | |
5065 | No_Dollar_In_Label, no longer necessary, as it is always True. | |
5066 | (Strip_Suffixes): Likewise. | |
5067 | ||
5068 | 2004-04-19 Gary Dismukes <dismukes@gnat.com> | |
5069 | ||
5070 | * s-stalib.ads (type Exception_Code): Use Integer'Size for exponent of | |
5071 | modulus for compatibility with size clause on targets with 16-bit | |
5072 | Integer. | |
5073 | ||
5074 | * layout.adb (Discrimify): In the case of private types, set Vtyp to | |
5075 | full type to fix type mismatches on calls to size functions for | |
5076 | discriminant-dependent array components. | |
5077 | ||
5078 | 2004-04-19 Jerome Guitton <guitton@act-europe.fr> | |
5079 | ||
5080 | * Makefile.in (gnatlib-zcx): New target, for building a ZCX run-time | |
5081 | lib. | |
5082 | ||
5083 | 2004-04-19 Pascal Obry <obry@gnat.com> | |
5084 | ||
5085 | * mdll-utl.adb (Locate): New version is idempotent. | |
5086 | ||
5087 | 2004-04-17 Laurent Guerby <laurent@guerby.net> | |
fa795c69 LG |
5088 | |
5089 | PR ada/14988 (partial) | |
5090 | * impunit.adb: Fix typo. | |
90afe2c9 | 5091 | |
cce0244b NN |
5092 | 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org> |
5093 | ||
5094 | * Make-lang.in: Remove obsolete rts-none, rts-cert, install-rts-none, | |
5095 | and install-rts-cert targets. Remove all gnatlib and gnattools | |
5096 | targets and all other rts-* targets (moved to libada). Remove (now) | |
5097 | unused Make variables CHMOD, CHMOD_AX_FLAGS, shext, THREAD_KIND, | |
5098 | TRACE, GNATLIBFLAGS, GNATLIBCFLAGS. | |
5099 | ||
af152989 AC |
5100 | 2004-04-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5101 | ||
5102 | * trans.c (tree_transform): Shortcut returning error_mark_node for | |
5103 | statements in annotate_only_mode. | |
5104 | (tree_transform, case N_Label, case N_Return_Statement, | |
5105 | N_Goto_Statement): Make statement tree instead of generating code. | |
5106 | (tree_transform, case N_Assignment_Statement): No longer check | |
5107 | type_annotate_only. | |
5108 | (gnat_expand_stmt, case GOTO_STMT, case LABEL_STMT, case | |
5109 | RETURN_STMT): New. | |
5110 | (first_nondeleted_insn, build_block_stmt, make_expr_stmt_from_rtl): | |
5111 | New fcns. | |
5112 | (gnat_to_gnu): Collect any RTL generated and deal with it. | |
5113 | (tree_transform, case N_And_Then): Refine when have non-null RTL_EXPR. | |
5114 | (tree_transform case N_If_Statement): Rewrite to make IF_STMT. | |
5115 | (gnat_expand_stmt, case BLOCK_STMT, IF_STMT): New cases. | |
5116 | ||
5117 | * ada-tree.def (GOTO_STMT, LABEL_STMT, RETURN_STMT): New tree nodes. | |
5118 | ||
5119 | * ada-tree.def (EXPR_STMT): Fix typo in name. | |
5120 | (BLOCK_STMT, IF_STMT): New nodes. | |
5121 | ||
5122 | * ada-tree.h (GOTO_STMT_LABEL, LABEL_STMT_LABEL, | |
5123 | LABEL_STMT_FIRST_IN_EH): New macros. | |
5124 | (RETURN_STMT_EXPR): Likewise. | |
5125 | ||
5126 | * ada-tree.h: (BLOCK_STMT_LIST, IF_STMT_COND, IF_STMT_TRUE, | |
5127 | IF_STMT_ELSEIF, IF_STMT_ELSE): New macros. | |
5128 | ||
5129 | 2004-04-08 Thomas Quinot <quinot@act-europe.fr> | |
5130 | ||
5131 | * atree.ads: Correct documentation on extended nodes. | |
5132 | ||
5133 | * link.c: Set run_path_option for FreeBSD. | |
5134 | ||
5135 | 2004-04-08 Vincent Celier <celier@gnat.com> | |
5136 | ||
5137 | * mlib-prj.adb (Build_Library.Check_Libs): On OpenVMS, if dec.ali is | |
5138 | one of the ALI file, do not link with DEC lib. | |
5139 | ||
5140 | * par.adb Remove the last two characters ("%s" or "%b") when checking | |
5141 | if a language defined unit may be recompiled. | |
5142 | ||
5143 | 2004-04-08 Ed Schonberg <schonberg@gnat.com> | |
5144 | ||
5145 | * sem_ch4.adb (Remove_Abstract_Operations): Improve error message when | |
5146 | removal of abstract operation leaves no possible interpretation for | |
5147 | expression. | |
5148 | ||
5149 | * sem_eval.adb (Eval_Qualified_Expression): Use | |
5150 | Set_Raises_Constraint_Error on node when needed, so that it does not | |
5151 | get optimized away by subsequent optimizations. | |
5152 | ||
5153 | * sem_res.adb (Resolve_Intrinsic_Operator): Save interpretations of | |
5154 | operands even when they are not wrapped in a type conversion. | |
5155 | ||
5156 | 2004-04-08 Olivier Hainque <hainque@act-europe.fr> | |
5157 | ||
5158 | * sem_prag.adb (Set_Exported): Warn about making static as result of | |
5159 | export only when the export is coming from source. This may be not | |
5160 | be true e.g. on VMS where we expand export pragmas for exception codes | |
5161 | together with imported or exported exceptions, and we don't want the | |
5162 | user to be warned about something he didn't write. | |
5163 | ||
5164 | 2004-04-08 Thomas Quinot <quinot@act-europe.fr> | |
5165 | ||
5166 | * sem_util.adb (Note_Possible_Modification): Reorganize to remove code | |
5167 | duplication between normal entities and those declared as renamings. | |
5168 | No functional change. | |
5169 | ||
90afe2c9 | 5170 | * s-fileio.ads (Form): Remove pragma Inline, as we cannot currently |
af152989 AC |
5171 | inline functions returning an unconstrained result. |
5172 | ||
5173 | 2004-04-08 Eric Botcazou <ebotcazou@act-europe.fr> | |
5174 | ||
5175 | * utils.c (type_for_mode): Handle BLKmode and VOIDmode properly, to | |
5176 | conform to what other front-ends do. | |
5177 | ||
5178 | 2004-04-08 Doug Rupp <rupp@gnat.com> | |
5179 | ||
5180 | * 5vml-tgt.adb: Use Gas instead of VMS Macro to build auto init shared | |
5181 | libraries. | |
5182 | ||
3984e89a AC |
5183 | 2004-04-06 Pascal Obry <obry@gnat.com> |
5184 | ||
5185 | * adaint.c (DIR_SEPARATOR): Properly set DIR_SEPARATOR on Win32. | |
5186 | ||
5187 | * osint.adb (Program_Name): Do not look past a directory separator. | |
5188 | ||
5189 | 2004-04-06 Thomas Quinot <quinot@act-europe.fr> | |
5190 | ||
5191 | * atree.adb: Update comment (Rewrite_Substitute_Node no longer exists). | |
5192 | ||
5193 | * exp_ch6.adb (Rewrite_Function_Call): Clarify documentation of | |
5194 | requirement for preserving a copy of the original assignment node. | |
5195 | ||
5196 | * sinfo.ads: Update comment (Original_Tree -> Original_Node). | |
5197 | ||
5198 | 2004-04-06 Olivier Hainque <hainque@act-europe.fr> | |
5199 | ||
5200 | (__gnat_initialize [Vxworks]): Enable references to the crtstuff bits | |
5201 | when supported. | |
5202 | ||
5203 | 2004-04-06 Ed Schonberg <schonberg@gnat.com> | |
5204 | ||
5205 | * sem_ch4.adb (Remove_Abstract_Operations): Extend previous changes to | |
5206 | operator calls in functional notation, and apply | |
5207 | Universal_Interpretation to operands, not to their type. | |
5208 | ||
5209 | 2004-04-06 Robert Dewar <dewar@gnat.com> | |
5210 | ||
5211 | * 5wdirval.adb: Minor reformatting | |
5212 | ||
5213 | 2004-04-06 Ed Falis <falis@gnat.com> | |
5214 | ||
5215 | * gnat_rm.texi: Improve a reference to the GCC manual | |
5216 | ||
30c20106 AC |
5217 | 2004-04-05 Vincent Celier <celier@gnat.com> |
5218 | ||
5219 | * adaint.h, adaint.c: Add function __gnat_named_file_length | |
5220 | ||
5221 | * impunit.adb: Add Ada.Directories to the list | |
5222 | ||
5223 | * Makefile.in: Add VMS and Windows versions of | |
5224 | Ada.Directories.Validity package body. | |
5225 | ||
5226 | * Makefile.rtl: Add a-direct and a-dirval | |
5227 | ||
5228 | * mlib-tgt.ads: Minor comment update. | |
5229 | ||
5230 | * a-dirval.ads, a-dirval.adb, 5vdirval.adb, 5wdirval.adb, | |
5231 | a-direct.ads, a-direct.adb: New files. | |
5232 | ||
5233 | 2004-04-05 Vincent Celier <celier@gnat.com> | |
5234 | ||
5235 | PR ada/13620 | |
5236 | * make.adb (Scan_Make_Arg): Pass any -fxxx switches to gnatlink, not | |
5237 | just to the compiler. | |
5238 | ||
5239 | 2004-04-05 Robert Dewar <dewar@gnat.com> | |
5240 | ||
5241 | * a-except.adb (Exception_Name_Simple): Make sure lower bound of | |
5242 | returned string is 1. | |
5243 | ||
5244 | * ali-util.adb: Use proper specific form for Warnings (Off, entity) | |
5245 | ||
5246 | * eval_fat.ads: Minor reformatting | |
5247 | ||
5248 | * g-curexc.ads: Document that lower bound of returned string values | |
5249 | is always one. | |
5250 | ||
5251 | * gnatlink.adb: Add ??? comment for previous change | |
5252 | (need to document why this is VMS specific) | |
5253 | ||
5254 | * s-stoele.ads: Minor reformatting | |
5255 | ||
5256 | * tbuild.ads: Minor reformatting throughout (new function specs) | |
5257 | ||
5258 | * par-ch10.adb (P_Context_Clause): Handle comma instead of semicolon | |
5259 | after WITH. | |
5260 | ||
5261 | * scng.adb: Minor reformatting | |
5262 | ||
5263 | 2004-04-05 Geert Bosch <bosch@gnat.com> | |
5264 | ||
5265 | * eval_fat.adb (Machine): Remove unnecessary suppression of warning. | |
5266 | (Leading_Part): Still perform truncation to machine number if the | |
5267 | specified radix_digits is greater or equal to machine_mantissa. | |
5268 | ||
5269 | 2004-04-05 Javier Miranda <miranda@gnat.com> | |
5270 | ||
5271 | * par-ch3.adb: Complete documentation of previous change | |
5272 | Correct wrong syntax documentation of the OBJECT_DECLARATION rule | |
5273 | (aliased must appear before constant). | |
5274 | ||
5275 | * par-ch4.adb: Complete documentation of previous change. | |
5276 | ||
5277 | * par-ch6.adb: Complete documentation of previous change. | |
5278 | ||
5279 | * sinfo.ads: Fix typo in commment. | |
5280 | ||
5281 | 2004-04-05 Ed Schonberg <schonberg@gnat.com> | |
5282 | ||
5283 | * sem_ch3.adb (Inherit_Components): If derived type is private and has | |
5284 | stored discriminants, use its discriminants to constrain parent type, | |
5285 | as is done for non-private derived record types. | |
5286 | ||
5287 | * sem_ch4.adb (Remove_Abstract_Operations): New subprogram to implement | |
5288 | Ada 2005 AI-310: an abstract non-dispatching operation is not a | |
5289 | candidate interpretation in an overloaded call. | |
5290 | ||
5291 | * tbuild.adb (Unchecked_Convert_To): Preserve conversion node if | |
5292 | expression is Null and target type is not an access type (e.g. a | |
5293 | non-private address type). | |
5294 | ||
5295 | 2004-04-05 Thomas Quinot <quinot@act-europe.fr> | |
5296 | ||
5297 | * exp_ch6.adb (Rewrite_Function_Call): When rewriting an assignment | |
5298 | statement whose right-hand side is an inlined call, save a copy of the | |
5299 | original assignment subtree to preserve enough consistency for | |
5300 | Analyze_Assignment to proceed. | |
5301 | ||
5302 | * sem_ch5.adb (Analyze_Assignment): Remove a costly copy of the | |
5303 | complete assignment subtree which is now unnecessary, as the expansion | |
5304 | of inlined call has been improved to preserve a consistent assignment | |
5305 | tree. Note_Possible_Modification must be called only | |
5306 | after checks have been applied, or else unnecessary checks will | |
5307 | be generated. | |
5308 | ||
5309 | * sem_util.adb (Note_Possible_Modification): Reorganise the handling | |
5310 | of explicit dereferences that do not Come_From_Source: | |
5311 | - be selective on cases where we must go back to the dereferenced | |
5312 | pointer (an assignment to an implicit dereference must not be | |
5313 | recorded as modifying the pointer); | |
5314 | - do not rely on Original_Node being present (Analyze_Assignment | |
5315 | calls Note_Possible_Modification on a copied tree). | |
5316 | ||
5317 | * sem_warn.adb (Check_References): When an unset reference to a pointer | |
5318 | that is never assigned is encountered, prefer '<pointer> may be null' | |
5319 | warning over '<pointer> is never assigned a value'. | |
5320 | ||
5321 | 2004-04-05 Ramon Fernandez <fernandez@gnat.com> | |
5322 | ||
5323 | * tracebak.c: Change STOP_FRAME in ppc vxworks to be compliant with | |
5324 | the ABI. | |
5325 | ||
5326 | 2004-04-05 Olivier Hainque <hainque@act-europe.fr> | |
5327 | ||
5328 | * 5gmastop.adb (Pop_Frame): Comment out the pragma Linker_Option for | |
5329 | libexc. We currently don't reference anything in this library and | |
5330 | linking it in triggers linker warnings we don't want to see. | |
5331 | ||
5332 | * init.c: Update comments. | |
5333 | ||
4f976745 RK |
5334 | 2004-04-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5335 | ||
5336 | * decl.c (gnat_to_gnu_entity): Use TYPE_READONLY. | |
5337 | * utils.c (create_field_decl): Likewise. | |
5338 | * utils2.c (build_unary_op, gnat_build_constructor): Likewise. | |
5339 | ||
6da7d579 AC |
5340 | 2004-04-02 Arnaud Charlet <charlet@act-europe.fr> |
5341 | ||
5342 | * gnat-style.texi, gnat_rm.texi, gnat_ugn.texi: Remove RCS tags. | |
5343 | Replace ifinfo by ifnottex, to make makeinfo --html happy again. | |
5344 | Add info directory entry and category. | |
5345 | ||
18c6ada9 JH |
5346 | 2004-04-02 Jan Hubicka <jh@suse.cz> |
5347 | ||
5348 | * utils.c: Include function.h | |
5349 | (end_subprog_body): Clear DECL_STRUCT_FUNCTION. | |
5350 | ||
7cd4527e AC |
5351 | 2004-04-01 Arnaud Charlet <charlet@act-europe.fr> |
5352 | ||
5353 | PR ada/14150 | |
5354 | * Make-lang.in: Clean up generation of documentation | |
5355 | ||
5356 | * gnat-style.texi, gnat_rm.texi, ug_words: Resync with AdaCore version | |
5357 | ||
5358 | * xgnatug.adb: Removed, replaced by xgnatugn.adb | |
5359 | ||
5360 | * xgnatugn.adb: Replaces xgnatug.adb | |
5361 | ||
5362 | * gnat_ug.texi: Removed, replaced by gnat_ugn.texi | |
5363 | ||
5364 | * gnat_ugn.texi: Replaces gnat_ug.texi. Resync with AdaCore version | |
5365 | ||
5366 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
5367 | gnat_ug_wnt.texi: Removed. | |
5368 | ||
0c250f07 AC |
5369 | 2004-04-01 Arnaud Charlet <charlet@act-europe.fr> |
5370 | ||
5371 | * utils2.c: Update copyright notice. | |
5372 | ||
6b6fcd3e AC |
5373 | 2004-04-01 Robert Dewar <dewar@gnat.com> |
5374 | ||
5375 | * checks.adb: Minor reformatting throughout | |
5376 | Note that prev checkin added RM reference to alignment warning | |
5377 | ||
5378 | 2004-04-01 Ed Schonberg <schonberg@gnat.com> | |
5379 | ||
5380 | * exp_aggr.adb (Get_Component_Val): Treat a string literal as | |
5381 | non-static when building aggregate for bit-packed array. | |
5382 | ||
5383 | * exp_ch4.adb (Expand_N_Slice): If a packed slice is an actual of a | |
5384 | function call that is itself the actual in a procedure call, build | |
5385 | temporary for it. | |
5386 | ||
5387 | * exp_pakd.adb (Expand_Bit_Packed_Element_Set): If right-hand side is | |
5388 | a string literal, create a temporary for it, constant folding only | |
5389 | handles scalars here. | |
5390 | ||
5391 | 2004-04-01 Vincent Celier <celier@gnat.com> | |
5392 | ||
5393 | * ali-util.adb (Post_Scan, Error_Msg, Error_Msg_S, Error_Msg_SC, | |
5394 | Error_Msg_SP): New empty procedures to instantiate the Scanner. | |
5395 | (Style, Scanner): Instantiations of Styleg and Scng to be able to scan | |
5396 | tokens. | |
5397 | (Accumulate_Checksum, Initialize_Checksum): Remove procedures. | |
5398 | (Get_File_Checksum): Use the instantiated scanner to scan all the tokens | |
5399 | and get the checksum. | |
5400 | ||
5401 | * make.adb (Gnatmake): Do not insert into Q the Main_Source if it is | |
5402 | already in the Q. | |
5403 | Increase the Marking_Label at the end of the Multiple_Main_Loop, | |
5404 | instead of at the beginning. | |
5405 | ||
5406 | * osint.adb (Lib_File_Name): Use Multi_Unit_Index_Character, not '~' | |
5407 | directly. | |
5408 | (Osint package elaboration): Change Multi_Unit_Index_Character to '$' if | |
5409 | on VMS. | |
5410 | ||
5411 | * osint.ads (Multi_Unit_Index_Character): New Character global variable | |
5412 | ||
5413 | * osint-c.adb (Set_Library_Info_Name): Use Multi_Unit_Index_Character, | |
5414 | not '~' directly. | |
5415 | ||
5416 | * par.adb: Remove test on file name to detect language defined units. | |
5417 | Add test on unit name, after parsing, to detect language defined units | |
5418 | that are not compiled with -gnatg (except System.RPC and its children) | |
5419 | ||
5420 | * par-ch10.adb (P_Compilation_Unit): In multi-unit sources, scan the | |
5421 | following units without style checking. | |
5422 | ||
5423 | * switch-c.adb: Change -gnatC to -gnateI | |
5424 | ||
5425 | * usage.adb: Document new switch -gnateInnn | |
5426 | ||
5427 | * scng.adb (Accumulate_Token_Checksum): New procedure | |
5428 | (Scan): Call Accumulate_Token_Checksum after each identifier, reserved | |
5429 | word or literal number. | |
5430 | (Scan.Nlit.Scan_Integer): Do not accumulate internal '_' in litteral | |
5431 | numbers. | |
5432 | ||
5433 | 2004-04-01 Thomas Quinot <quinot@act-europe.fr> | |
5434 | ||
5435 | * a-tasatt.adb, | |
5436 | g-comlin.adb, sinput-c.adb, s-secsta.adb, s-tpobop.adb, | |
5437 | switch-m.adb, 56taprop.adb, 5ginterr.adb, 5gmastop.adb, | |
5438 | 5staprop.adb, 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, | |
5439 | 5vtpopde.adb: Add missing 'constant' keywords. | |
5440 | ||
5441 | 2004-04-01 Javier Miranda <miranda@gnat.com> | |
5442 | ||
5443 | * par-ch4.adb: (P_Allocator): Code cleanup | |
5444 | ||
5445 | * sem_ch3.adb (Access_Definition): Properly set the null-excluding | |
5446 | attribute. | |
5447 | ||
5448 | * sinfo.ads: Complete documentation of previous change | |
5449 | ||
5450 | 2004-04-01 Pascal Obry <obry@gnat.com> | |
5451 | ||
5452 | * gnatlink.adb (Process_Binder_File): Remove duplicate linker options | |
5453 | only on VMS. This special handling was done because an old GNU/ld bug | |
5454 | on Windows which has been fixed. | |
5455 | ||
5456 | 2004-04-01 GNAT Script <nobody@gnat.com> | |
5457 | ||
5458 | * Make-lang.in: Makefile automatically updated | |
5459 | ||
8df83eae RK |
5460 | 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5461 | ||
5462 | * decl.c (gnat_to_gnu_entity, make_type_from_size): | |
5463 | Use TYPE_UNSIGNED, not TREE_UNSIGNED. | |
5464 | * trans.c (tree_transform, convert_with_check): Likewise. | |
5465 | * utils.c (gnat_signed_or_unsigned_type): Likewise. | |
5466 | (build_vms_descriptor, unchecked_convert): Likewise. | |
5467 | * utils2.c (nonbinary_modular_operation): Likewise. | |
5468 | ||
2820d220 AC |
5469 | 2004-03-29 Javier Miranda <miranda@gnat.com> |
5470 | ||
5471 | * checks.adb (Null_Exclusion_Static_Checks): New subprogram | |
5472 | (Install_Null_Excluding_Check): Local subprogram that determines whether | |
5473 | an access node requires a runtime access check and if so inserts the | |
5474 | appropriate run-time check. | |
5475 | (Apply_Access_Check): Call Install_Null_Excluding check if required | |
5476 | (Apply_Constraint_Check): Call Install_Null_Excluding check if required | |
5477 | ||
5478 | * checks.ads: (Null_Exclusion_Static_Checks): New subprogram | |
5479 | ||
5480 | * einfo.ads: Fix typo in comment | |
5481 | ||
5482 | * exp_ch3.adb (Build_Assignment): Generate conversion to the | |
5483 | null-excluding type to force the corresponding run-time check. | |
5484 | (Expand_N_Object_Declaration): Generate conversion to the null-excluding | |
5485 | type to force the corresponding run-time check. | |
5486 | ||
5487 | * exp_ch5.adb (Expand_N_Assignment_Statement): Generate conversion to | |
5488 | the null-excluding type to force the corresponding run-time check. | |
5489 | ||
5490 | * exp_ch6.adb (Expand_Call): Do not generate the run-time check in | |
5491 | case of access types unless they have the null-excluding attribute. | |
5492 | ||
5493 | * sprint.adb (Sprint_Node_Actual): Give support to the null-exclusing | |
5494 | part. | |
5495 | ||
5496 | * exp_util.ads: Fix typo in comment | |
5497 | ||
5498 | * par.adb (P_Null_Exclusion): New subprogram | |
5499 | (P_Subtype_Indication): New formal that indicates if the null-excluding | |
5500 | part has been scanned-out and it was present | |
5501 | ||
5502 | * par-ch3.adb, par-ch4.adb, par-ch6.adb: Give support to AI-231 | |
5503 | ||
5504 | * sem_aggr.adb: (Check_Can_Never_Be_Null): New subprogram | |
5505 | (Aggregate_Constraint_Checks): Generate conversion to the null-excluding | |
5506 | type to force the corresponding run-time check | |
5507 | (Resolve_Aggregate): Propagate the null-excluding attribute to the array | |
5508 | components | |
5509 | (Resolve_Array_Aggregate): Carry out some static checks | |
5510 | (Resolve_Record_Aggregate.Get_Value): Carry out some static check | |
5511 | ||
5512 | * sem_ch3.adb (Access_Definition): In Ada 0Y the Can_Never_Be_Null | |
5513 | attribute must be set only if specified by means of the null-excluding | |
5514 | part. In addition, we must also propagate the access-constant attribute | |
5515 | if present. | |
5516 | (Access_Subprogram_Declaration, Access_Type_Declaration, | |
5517 | Analyze_Component_Declaration, Analyze_Object_Declaration, | |
5518 | Array_Type_Declaration, Process_Discriminants, | |
5519 | Analyze_Subtype_Declaration): Propagate the null-excluding attribute | |
5520 | and carry out some static checks. | |
5521 | (Build_Derived_Access_Type): Set the null-excluding attribute | |
5522 | (Derived_Type_Declaration, Process_Subtype): Carry out some static | |
5523 | checks. | |
5524 | ||
5525 | * sem_ch4.adb (Analyze_Allocator): Carry out some static checks | |
5526 | ||
5527 | * sem_ch5.adb (Analyze_Assignment): Carry out some static checks | |
5528 | ||
5529 | * sem_ch6.adb (Process_Formals): Carry out some static checks. | |
5530 | (Set_Actual_Subtypes): Generate null-excluding subtype if the | |
5531 | null-excluding part was present; it is not required to be done here in | |
5532 | case of anonymous access types. | |
5533 | (Set_Formal_Mode): Ada 0Y allows anonymous access to have the null | |
5534 | value. | |
5535 | ||
5536 | * sem_res.adb (Resolve_Actuals): Carry out some static check | |
5537 | (Resolve_Null): Allow null in anonymous access | |
5538 | ||
5539 | * sinfo.adb: New subprogram Null_Exclusion_Present | |
5540 | All_Present and Constant_Present available on access_definition nodes | |
5541 | ||
5542 | * sinfo.ads: New flag Null_Exclusion_Present on subtype_declaration, | |
5543 | object_declaration, derived_type_definition, component_definition, | |
5544 | discriminant_specification, access_to_object_definition, | |
5545 | access_function_definition, allocator, access_procedure_definition, | |
5546 | access_definition, parameter_specification, All_Present and | |
5547 | Constant_Present flags available on access_definition nodes. | |
5548 | ||
5549 | 2004-03-29 Robert Dewar <dewar@gnat.com> | |
5550 | ||
5551 | * fname.adb, fname.ads, fname-sf.adb, fname-uf.adb, fname-uf.ads, | |
5552 | gnat1drv.adb, lib.adb, lib.ads, lib-load.adb, lib-writ.adb, | |
5553 | opt.ads, osint.adb, osint.ads, osint-c.adb, par.adb, | |
5554 | par-ch10.adb, par-load.adb, par-prag.adb, sfn_scan.adb, | |
5555 | sfn_scan.ads, sinput-l.adb, sinput-l.ads, switch-c.adb, | |
5556 | sem_prag.adb: Updates to handle multiple units/file | |
5557 | ||
5558 | * par.adb: Change test for s-rpc to s-rp for detecting rpc and children | |
5559 | ||
5560 | * par.adb, memtrack.adb, prj-makr.adb, prj-part.adb, | |
5561 | sem_util.adb: Minor reformatting | |
5562 | ||
5563 | * sem_ch12.adb: Add comment for previous change | |
5564 | ||
5565 | 2004-03-29 Laurent Pautet <pautet@act-europe.fr> | |
5566 | ||
5567 | * osint.adb (Executable_Prefix): Set Exec_Name to the current | |
5568 | executable name when not initialized. Otherwise, use its current value. | |
5569 | ||
5570 | * osint.ads (Exec_Name): Move Exec_Name from body to spec in order to | |
5571 | initialize it to another executable name than the current one. This | |
5572 | allows to configure paths for an executable name (gnatmake) different | |
5573 | from the current one (gnatdist). | |
5574 | ||
5575 | 2004-03-29 Ed Schonberg <schonberg@gnat.com> | |
5576 | ||
5577 | * exp_ch6.adb (Expand_Call): A call to a function declared in the | |
5578 | current unit cannot be inlined if it appears in the body of a withed | |
5579 | unit, to avoid order of elaboration problems in gigi. | |
5580 | ||
5581 | * exp_ch9.adb (Build_Protected_Sub_Specification): Generate debugging | |
5582 | information for protected (wrapper) operation as well, to simplify gdb | |
5583 | use. | |
5584 | ||
5585 | * sem_ch6.adb (Analyze_Subprogram_Body): For a private operation in a | |
5586 | protected body, indicate that the entity for the generated spec comes | |
5587 | from source, to ensure that references are properly generated for it. | |
5588 | (Build_Body_To_Inline): Do not inline a function that returns a | |
5589 | controlled type. | |
5590 | ||
5591 | * sem_prag.adb (Process_Convention): If subprogram is overloaded, only | |
5592 | apply convention to homonyms that are declared explicitly. | |
5593 | ||
5594 | * sem_res.adb (Make_Call_Into_Operator): If the operation is a function | |
5595 | that renames an equality operator and the operands are overloaded, | |
5596 | resolve them with the declared formal types, before rewriting as an | |
5597 | operator. | |
5598 | ||
5599 | 2004-03-29 GNAT Script <nobody@gnat.com> | |
5600 | ||
5601 | * Make-lang.in: Makefile automatically updated | |
5602 | ||
6d11af89 AC |
5603 | 2004-03-25 Vasiliy Fofanov <fofanov@act-europe.fr> |
5604 | ||
5605 | * memtrack.adb: Log realloc calls, which are treated as free followed | |
5606 | by alloc. | |
5607 | ||
5608 | 2004-03-25 Vincent Celier <celier@gnat.com> | |
5609 | ||
5610 | * prj-makr.adb (Process_Directories): Detect when a file contains | |
5611 | several units. Do not include such files in the config pragmas or | |
5612 | in the naming scheme. | |
5613 | ||
5614 | * prj-nmsc.adb (Record_Source): New parameter Trusted_Mode. | |
5615 | Resolve links only when not in Trusted_Mode. | |
5616 | (Find_Sources, Recursive_Find_Dirs, Find_Source_Dirs, Locate_Directory): | |
5617 | Do not resolve links for the display names. | |
5618 | ||
5619 | * prj-part.adb (Parse_Single_Project, Project_Path_Name_Of): Do not | |
5620 | resolve links when computing the display names. | |
5621 | ||
5622 | 2004-03-25 Thomas Quinot <quinot@act-europe.fr> | |
5623 | ||
5624 | * sem_attr.adb (Check_Dereference): When the prefix of a 'Tag | |
5625 | attribute reference does not denote a subtype, it can be any | |
5626 | expression that has a classwide type, potentially after an implicit | |
5627 | dereference. In particular, the prefix can be a view conversion for | |
5628 | a classwide type (for which Is_Object_Reference holds), but it can | |
5629 | also be a value conversion for an access-to-classwide type. In the | |
5630 | latter case, there is an implicit dereference, and the original node | |
5631 | for the prefix does not verify Is_Object_Reference. | |
5632 | ||
5633 | * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): A view | |
5634 | conversion of a discriminant-dependent component of a mutable object | |
5635 | is one itself. | |
5636 | ||
5637 | 2004-03-25 Ed Schonberg <schonberg@gnat.com> | |
5638 | ||
5639 | * freeze.adb (Freeze_Entity): When an inherited subprogram is | |
5640 | inherited, has convention C, and has unconstrained array parameters, | |
5641 | place the corresponding warning on the derived type declaration rather | |
5642 | than the original subprogram. | |
5643 | ||
5644 | * sem_ch12.adb (Instantiate_Formal_Subprogram): Set From_Default | |
5645 | indication on renaming declaration, if formal has a box and actual | |
5646 | is absent. | |
5647 | ||
5648 | * sem_ch8.adb (Analyze_Subprogram_Renaming): Use From_Default flag to | |
5649 | determine whether to generate an implicit or explicit reference to | |
5650 | the renamed entity. | |
5651 | ||
5652 | * sinfo.ads, sinfo.adb: New flag From_Default, to indicate that a | |
5653 | subprogram renaming comes from a defaulted formal subprogram in an | |
5654 | instance. | |
5655 | ||
5656 | 2004-03-25 Gary Dismukes <dismukes@gnat.com> | |
5657 | ||
5658 | * sem_elab.adb (Check_Elab_Call): Refine loop that checks for default | |
5659 | value expressions to ensure that calls within a component definition | |
5660 | will be checked (since those are evaluated during the record type's | |
5661 | elaboration). | |
5662 | ||
5663 | 2004-03-25 Arnaud Charlet <charlet@act-europe.fr> | |
5664 | ||
5665 | * s-tpobop.adb: Code clean up: | |
5666 | (Requeue_Call): Extract from PO_Service_Entries to remove duplicated | |
5667 | code. | |
5668 | (PO_Do_Or_Queue): Remove duplicated code and use Requeue_Call. | |
5669 | ||
5670 | 2004-03-25 Jose Ruiz <ruiz@act-europe.fr> | |
5671 | ||
5672 | * Makefile.in: Clean up in the ravenscar run time. | |
5673 | ||
22421b79 RK |
5674 | 2004-03-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5675 | ||
5676 | * decl.c (gnat_to_gnu_entity, case E_Access_Type): Pass value | |
5677 | of No_Strict_Aliasing to build_pointer_type_for_mode. | |
5678 | * utils.c (update_pointer_to): Walk pointer and ref chains. | |
5679 | ||
24105bab AC |
5680 | 2004-03-22 Cyrille Comar <comar@act-europe.fr> |
5681 | ||
5682 | * ali.ads: Fix Comment about Dynamic_Elab. | |
5683 | ||
5684 | * gnatls.adb (Output_Unit): Add output of many flags (Dynamic_Elab, | |
5685 | Has_RACW, Is_Generic, etc.) | |
5686 | (Output_Object, Gnatls): Take into account ALI files not attached to | |
5687 | an object. | |
5688 | ||
5689 | 2004-03-22 Vincent Celier <celier@gnat.com> | |
5690 | ||
5691 | * gprep.adb: Change all String_Access to Name_Id | |
5692 | (Is_ASCII_Letter): new function | |
5693 | (Double_File_Name_Buffer): New procedure | |
5694 | (Preprocess_Infile_Name): New procedure | |
5695 | (Process_Files): New procedure | |
5696 | (Gnatprep): Check if output and input are existing directories. | |
5697 | Call Process_Files to do the real job. | |
5698 | ||
5699 | 2004-03-22 Robert Dewar <dewar@gnat.com> | |
5700 | ||
5701 | * prj-env.adb, prj-nmsc.ads, prj-proc.ads, | |
5702 | s-stache.ads, s-stache.adb: Comment updates. Minor reformatting. | |
5703 | ||
5704 | 2004-03-22 Sergey Rybin <rybin@act-europe.fr> | |
5705 | ||
5706 | * scn.adb (Contains): Add check for EOF, is needed for a degenerated | |
5707 | case when the source contains only comments. | |
5708 | ||
5709 | 2004-03-22 Ed Schonberg <schonberg@gnat.com> | |
5710 | ||
5711 | * sem_ch10.adb (Analyze_Compilation_Unit): When generating a | |
5712 | declaration for a child subprogram body that acts as a spec, indicate | |
5713 | that the entity in the declaration needs debugging information. | |
5714 | ||
5715 | * sem_ch3.adb (Complete_Private_Subtype): Do not build an underlying | |
5716 | full view if the subtype is created for a constrained record component; | |
5717 | gigi has enough information to construct the record, and there is no | |
5718 | place in the tree for the declaration. | |
5719 | ||
5720 | * sem_ch6.adb (Build_Body_To_Inline): Use an internal name without | |
5721 | serial number for the dummy body that is built for analysis, to avoid | |
5722 | inconsistencies in the generation of internal names when compiling | |
5723 | with -gnatN. | |
5724 | ||
5725 | 2004-03-22 Thomas Quinot <quinot@act-europe.fr> | |
5726 | ||
5727 | * sem_util.adb (Is_Object_Reference): A view conversion denotes an | |
5728 | object. | |
5729 | ||
5730 | 2004-03-22 GNAT Script <nobody@gnat.com> | |
5731 | ||
5732 | * Make-lang.in: Makefile automatically updated | |
5733 | ||
6fce44af RK |
5734 | 2004-03-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5735 | ||
5736 | * decl.c (gnat_to_gnu_entity): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR. | |
5737 | * trans.c (tree_transform, emit_index_check): Likewise. | |
5738 | * utils.c (build_template): Likewise. | |
5739 | (max_size, convert): Remove handling of WITH_RECORD_EXPR. | |
5740 | (maybe_unconstrained_array, unchecked_convert): Likewise. | |
5741 | * utils2.c (gnat_truthvalue_conversion, build_binary_op): Likewise. | |
5742 | (build_unary_op): Likewise. | |
5743 | (compare_arrays, build_allocator): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR. | |
5744 | (fill_vms_descriptor): Likewise. | |
5745 | (build_call_alloc_dealloc): Likewise. | |
5746 | ALIGN is unsigned. | |
5747 | * gigi.h (build_call_alloc_dealloc): Alignment is unsigned. | |
5748 | ||
802f6d4b JM |
5749 | 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk> |
5750 | ||
5751 | PR other/14630 | |
5752 | * gnat_ug.texi: Add info directory category and entry. | |
5753 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
5754 | gnat_ug_wnt.texi: Regenerate. | |
5755 | ||
30f3b32b AC |
5756 | 2004-03-19 Arnaud Charlet <charlet@act-europe.fr> |
5757 | ||
5758 | * ada-tree.h: Update copyright notice. | |
5759 | Minor reformatting. | |
5760 | ||
5761 | 2004-03-19 Olivier Hainque <hainque@act-europe.fr> | |
5762 | ||
5763 | * decl.c (gnat_to_gnu_entity, case E_Exception): Handle VMS exceptions | |
5764 | as regular exception objects and not as mere integers representing the | |
5765 | condition code. The latter approach required some dynamics to mask off | |
5766 | severity bits, which did not fit well into the GCC table based model. | |
5767 | (gnat_to_gnu_entity, objects): Don't supply an external name for VMS | |
5768 | exception data objects. We don't it and it would conflict with the other | |
5769 | external symbol we have to generate for such exceptions. | |
5770 | ||
5771 | * trans.c (tree_transform, case N_Exception_Handler): Remove part of | |
5772 | the special code for VMS exceptions, since these are now represented | |
5773 | as regular exceptions objects. | |
5774 | ||
7548281d RK |
5775 | 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5776 | ||
5777 | * decl.c (debug_no_type_hash): Remove. | |
5778 | (gnat_to_gnu_entity, case E_Array_Type): Don't set and clear it. | |
5779 | * misc.c (LANG_HOOK_HASH_TYPE): Redefine. | |
5780 | ||
7324bf49 | 5781 | 2004-03-19 Laurent Guerby <laurent@guerby.net> |
dbee7ab9 | 5782 | |
90afe2c9 | 5783 | * sem_prag.adb (Suppress_Unsuppress_Echeck): use loop instead of |
dbee7ab9 | 5784 | aggregate, allows bootstrap from 3.3 on powerpc-darwin. |
90afe2c9 | 5785 | |
eb34af89 RK |
5786 | 2004-03-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
5787 | ||
5788 | * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Add checking. | |
5789 | (TYPE_CONTAINS_TEMPLATE_P, TYPE_OBJECT_RECORD_TYPE): Likewise. | |
5790 | (TYPE_RM_SIZE_INT): Directly use type.values. | |
5791 | (TREE_LOOP_ID): Clean up check. | |
5792 | * decl.c (gnat_to_gnu_entity, case E_Enumeration_Type): Use | |
5793 | TYPE_VALUES, not TYPE_FIELDS. | |
5794 | * trans.c (convert_with_check): Delay access of bounds of basetype | |
5795 | until sure is numeric. | |
5796 | ||
a336eaca AC |
5797 | 2004-03-18 Arnaud Charlet <charlet@act-europe.fr> |
5798 | ||
5799 | * 5atpopsp.adb: Remove RTEMS from list of platforms using this file. | |
5800 | ||
5801 | Code clean up: | |
5802 | * 5ataprop.adb, 5ftaprop.adb, 5htaprop.adb, 5itaprop.adb, 5staprop.adb, | |
5803 | 5vtaprop.adb, 5wtaprop.adb, 7staprop.adb (Finalize_TCB): Use | |
5804 | Specific.Set instead of direct call to e.g pthread_setspecific. | |
5805 | ||
5806 | 2004-03-18 Thomas Quinot <quinot@act-europe.fr> | |
5807 | ||
5808 | * adaint.c: Update comments. | |
5809 | ||
5810 | * Makefile.in: set PREFIX_OBJS, SYMLIB, THREADSLIB, and | |
5811 | GNATLIB_SHARED for FreeBSD. | |
5812 | ||
5813 | 2004-03-18 Jose Ruiz <ruiz@act-europe.fr> | |
5814 | ||
5815 | * init.c [VxWorks]: Do not fix the stack size for the environment task. | |
5816 | When needed (stack checking) the stack size is retrieved | |
5817 | from the VxWorks kernel. | |
5818 | ||
5819 | * Makefile.in: Flag -nostdinc is required when building the run time | |
5820 | for avoiding looking for files in the base compiler. | |
5821 | Add the VxWorks specific version of the package body for | |
5822 | System.Stack_checking.Operations (5zstchop.adb). | |
5823 | ||
5824 | * Make-lang.in: Add the object file for | |
5825 | System.Stack_Checking.Operations. | |
5826 | ||
5827 | * Makefile.rtl: Add object file for the package | |
5828 | System.Stack_Checking.Operations. | |
5829 | ||
5830 | * s-stchop.ads, s-stchop.adb, 5zstchop.adb: New files. | |
5831 | ||
5832 | * s-stache.ads, s-stache.adb: Move the operations related to stack | |
5833 | checking from this package to package System.Stack_Checking.Operations. | |
5834 | This way, stack checking operations are only linked in the final | |
5835 | executable when using the -fstack-check flag. | |
5836 | ||
5837 | 2004-03-18 Doug Rupp <rupp@gnat.com> | |
5838 | ||
5839 | * Makefile.in [VMS]: Handle 64 bit specs (5qsystem.ads, 5xcrtl.ads). | |
5840 | Reorganize ifeq's. | |
5841 | ||
5842 | * 5qsystem.ads, 5xcrtl.ads: New files. | |
5843 | ||
5844 | 2004-03-18 Vincent Celier <celier@gnat.com> | |
5845 | ||
5846 | * prj.adb (Reset): Reset hash table Files_Htable | |
5847 | ||
5848 | * prj-env.adb (Source_Paths, Object_Paths): New tables. | |
5849 | (Add_To_Source_Path, Add_To_Object_Path): New procedures, to replace | |
5850 | the procedures Add_To_Path_File. | |
5851 | (Set_Ada_Paths): Accumulate source and object dirs in the tables, | |
5852 | making sure that each directory is present only once and, for object | |
5853 | dirs, when a directory already present is added, the duplicate is | |
5854 | removed and the directory is always put as the last in the table. | |
5855 | Write the path files at the end of these accumulations. | |
5856 | ||
5857 | * prj-nmsc.adb (Record_Source): Add source file name in hash table | |
5858 | Files_Htable for all sources. | |
5859 | ||
5860 | * prj-proc.adb (Process): Remove restrictions between not directly | |
5861 | related extending projects. | |
5862 | ||
5863 | 2004-03-18 Emmanuel Briot <briot@act-europe.fr> | |
5864 | ||
5865 | * prj-nmsc.ads, prj-nmsc.adb (Ada_Check): New parameter Trusted_Mode. | |
5866 | (Find_Sources): Minor speed optimization. | |
5867 | ||
5868 | * prj-proc.ads, prj-proc.adb (Check, Recursive_Check, Process): New | |
5869 | parameter Trusted_Mode. | |
5870 | ||
5871 | 2004-03-18 Sergey Rybin <rybin@act-europe.fr> | |
5872 | ||
5873 | * scn.adb (Determine_License): Take into account a degenerated case | |
5874 | when the source contains only comments. | |
5875 | ||
5876 | 2004-03-18 Ed Schonberg <schonberg@gnat.com> | |
5877 | ||
5878 | * sem_warn.adb (Check_References): For a warning on a selected | |
5879 | component that does not come from source, locate an uninitialized | |
5880 | component of the record type to produce a more precise error message. | |
5881 | ||
e6f69614 AC |
5882 | 2004-03-15 Jerome Guitton <guitton@act-europe.fr> |
5883 | ||
5884 | * 3zsoccon.ads: Fix multicast options. | |
5885 | ||
5886 | * s-thread.ads: Move unchecked conversion from ATSD_Access to Address | |
5887 | in the spec. | |
5888 | ||
5889 | 2004-03-15 Robert Dewar <dewar@gnat.com> | |
5890 | ||
5891 | * sem_prag.adb: Make sure No_Strict_Aliasing flag is set right when | |
5892 | pragma used for a private type. | |
5893 | ||
5894 | * lib-xref.adb (Generate_Reference): Do not generate warning if | |
5895 | reference is in a different unit from the pragma Unreferenced. | |
5896 | ||
5897 | * 5vtpopde.adb: Minor reformatting | |
5898 | Fix casing of To_Task_ID | |
5899 | ||
5900 | * sem_ch13.adb (Validate_Unchecked_Conversion): Set No_Strict_Aliasing | |
5901 | flag if we have an unchecked conversion to an access type in the same | |
5902 | unit. | |
5903 | ||
5904 | 2004-03-15 Geert Bosch <bosch@gnat.com> | |
5905 | ||
5906 | * a-ngcoty.adb (Modulus): In alternate formula for large real or | |
5907 | imaginary parts, use Double precision throughout. | |
5908 | ||
5909 | * a-tifiio.adb (Put_Scaled): Remove remaining pragma Debug. Not only | |
5910 | we want to be able to compile run-time with -gnata for testing, but | |
5911 | this may also be instantiated in user code that is compiled with -gnata. | |
5912 | ||
5913 | 2004-03-15 Olivier Hainque <hainque@act-europe.fr> | |
5914 | ||
5915 | * s-stalib.ads (Exception_Code): New type, to represent Import/Export | |
5916 | codes. Having a separate type for this is useful to enforce consistency | |
5917 | throughout the various run-time units. | |
5918 | (Exception_Data): Use Exception_Code for Import_Code. | |
5919 | ||
5920 | * s-vmextra.ads, s-vmexta.adb: Use Exception_Code instead of a mix of | |
5921 | Natural and Integer in various places. | |
5922 | (Register_VMS_Exception): Use Base_Code_In to compute the exception code | |
5923 | with the severity bits masked off. | |
5924 | (Register_VMS_Exception): Handle the additional exception data pointer | |
5925 | argument. | |
5926 | ||
5927 | * raise.c (_GNAT_Exception structure): Remove the handled_by_others | |
5928 | component, now reflected by an exported accessor. | |
5929 | (is_handled_by): New routine to compute whether the propagated | |
5930 | occurrence matches some handler choice specification. Extracted out of | |
5931 | get_action_description_for, and expanded to take care of the VMS | |
5932 | specifities. | |
5933 | (get_action_description_for): Use is_handled_by instead of an explicit | |
5934 | complex condition to decide if the current choice at hand catches the | |
5935 | propagated occurrence. | |
5936 | ||
5937 | * raise.h (Exception_Code): New type for C. | |
5938 | ||
5939 | * rtsfind.ads (RE_Id, RE_Unit_Table): Add | |
5940 | System.Standard_Library.Exception_Code, to allow references from the | |
5941 | pragma import/export expander. | |
5942 | ||
5943 | * a-exexpr.adb (Is_Handled_By_Others, Language_For, Import_Code_For): | |
5944 | New accessors to allow easy access to GNAT exception data | |
5945 | characteristics. | |
5946 | (GNAT_GCC_Exception record, Propagate_Exception): Get rid of the | |
5947 | redundant Handled_By_Others component, helper for the personality | |
5948 | routine which will now be able to call the appropriate exception data | |
5949 | accessor instead. | |
5950 | ||
5951 | * cstand.adb (Create_Standard): Adjust the type of the Import_Code | |
5952 | component of Standard_Exception_Type to be the closest possible to | |
5953 | Exception_Code in System.Standard_Library, that we cannot get at this | |
5954 | point. Expand a ??? comment to notify that this type node should | |
5955 | probably be rewritten later on. | |
5956 | ||
5957 | * exp_prag.adb (Expand_Pragma_Import_Export_Exception): Adjust the | |
5958 | registration call to include a pointer to the exception object in the | |
5959 | arguments. | |
5960 | ||
5961 | * init.c (__gnat_error_handler): Use Exception_Code and Base_Code_In | |
5962 | instead of int and explicit bitmasks. | |
5963 | ||
5964 | 2004-03-15 Vincent Celier <celier@gnat.com> | |
5965 | ||
5966 | * vms_data.ads: Add new GNAT BIND qualifier /STATIC. Makes /NOSHARED | |
5967 | equivalent to /STATIC and /NOSTATIC equivalent to /SHARED. | |
5968 | ||
5969 | * a-tasatt.adb (To_Access_Code): Remove this UC instantiation, no | |
5970 | longer needed now that it is in the spec of | |
5971 | System.Tasking.Task_Attributes. | |
5972 | ||
5973 | * adaint.h, adaint.c: (__gnat_create_output_file): New function | |
5974 | ||
5975 | * gnatcmd.adb: Fix bug introduced in previous rev: /= instead of = | |
5976 | ||
5977 | * g-os_lib.ads, g-os_lib.adb (Create_Output_Text_File): New function. | |
5978 | ||
5979 | * make.adb (Gnatmake): Do not check the executable suffix; it is being | |
5980 | taken care of in Scan_Make_Arg. | |
5981 | (Scan_Make_Arg): Add the executable suffix only if the argument | |
5982 | following -o, in canonical case, does not end with the executable | |
5983 | suffix. When in verbose mode and executable file name does not end | |
5984 | with executable suffix, output the executable name, in canonical case. | |
5985 | ||
5986 | * s-tataat.ads (Access_Dummy_Wrapper): Add pragma No_Strict_Aliasing | |
5987 | to avoid warnings when instantiating Ada.Task_Attributes. | |
5988 | Minor reformating. | |
5989 | ||
5990 | * mlib-prj.adb (Process_Imported_Libraries): Get the imported libraries | |
5991 | in the correct order. | |
5992 | ||
5993 | * prj-makr.adb (Process_Directory): No longer use GNAT.Expect, but | |
5994 | redirect standard output and error to a file for the invocation of the | |
5995 | compiler, then read the file. | |
5996 | ||
5997 | * prj-nmsc.adb (Find_Sources): Use the Display_Value for each | |
5998 | directory, instead of the Value. | |
5999 | (Find_Source_Dirs): Remove useless code & comments. | |
6000 | ||
6001 | 2004-03-15 Ed Schonberg <schonberg@gnat.com> | |
6002 | ||
6003 | * exp_ch3.adb (Freeze_Record_Type): If a primitive operation of a | |
6004 | tagged type is inherited, and the parent operation is not frozen yet, | |
6005 | force generation of a freeze node for the inherited operation, so the | |
6006 | corresponding dispatch entry is properly initialized. | |
6007 | (Make_Predefined_Primitive_Specs): Check that return type is Boolean | |
6008 | when looking for user-defined equality operation. | |
6009 | ||
6010 | * exp_ch4.adb (Expand_Composite_Equality): Check that return type is | |
6011 | boolean when locating primitive equality of tagged component. | |
6012 | ||
6013 | * exp_ch5.adb (Expand_Assign_Array): If the left-hand side is a | |
6014 | bit-aligned field and the right-hand side a string literal, introduce | |
6015 | a temporary before expanding assignment into a loop. | |
6016 | ||
6017 | * exp_ch9.adb (Expand_N_Task_Type_Declaration): Copy expression for | |
6018 | priority in full, to ensure that any expanded subepxressions of it are | |
6019 | elaborated in the scope of the init_proc. | |
6020 | ||
6021 | * exp_prag.adb (Expand_Pragma_Import): Search for initialization call | |
6022 | after object declaration, skipping over code that may have been | |
6023 | generated for validity checks. | |
6024 | ||
6025 | * sem_ch12.adb (Validate_Private_Type_Instance): If type has unknown | |
6026 | discriminants, ignore the known discriminants of its full view, if | |
6027 | any, to check legality. | |
6028 | ||
6029 | * sem_ch3.adb (Complete_Private_Subtype): Do not create constrained | |
6030 | component if type has unknown discriminants. | |
6031 | (Analyze_Private_Extension_Declaration): Discriminant constraint is | |
6032 | null if type has unknown discriminants. | |
6033 | ||
6034 | * sem_ch6.adb (Analyze_Generic_Subprogram_Body): Generate reference | |
6035 | for end label when present. | |
6036 | ||
6037 | * s-fileio.adb (Open): When called with a C_Stream, use given name for | |
6038 | temporary file, rather than an empty string. | |
6039 | ||
6040 | 2004-03-15 Ed Falis <falis@gnat.com> | |
6041 | ||
6042 | * s-thread.adb: Removed, no longer used. | |
6043 | ||
6044 | 2004-03-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6045 | ||
6046 | * decl.c (target.h): Now include. | |
6047 | (gnat_to_gnu_entity, case E_Access_Type): Use mode derived from ESIZE | |
6048 | in new build_pointer_from_mode calls for non-fat/non-thin pointer. | |
6049 | (validate_size): For POINTER_TYPE, get smallest size permitted on | |
6050 | machine. | |
6051 | ||
6052 | * fe.h: Sort Einfo decls and add Set_Mechanism. | |
6053 | ||
6054 | * Makefile.in: (LIBGNAT_SRCS): Remove types.h. | |
6055 | (ada/decl.o): Depends on target.h. | |
6056 | ||
6057 | * trans.c (tree_transform, N_Unchecked_Type_Conversion): Do not use | |
6058 | FUNCTION_BOUNDARY; always use TYPE_ALIGN. | |
6059 | ||
6060 | 2004-03-15 Thomas Quinot <quinot@act-europe.fr> | |
6061 | ||
6062 | * 5ztpopsp.adb, 56tpopsp.adb: Fix spelling of Task_ID. | |
6063 | ||
6064 | * exp_ch4.adb (Expand_N_Indexed_Component): Do not call | |
6065 | Insert_Dereference_Action when rewriting an implicit dereference into | |
6066 | an explicit one, this will be taken care of during expansion of the | |
6067 | explicit dereference. | |
6068 | (Expand_N_Slice): Same. Always do the rewriting, even for the case | |
6069 | of non-packed slices, since the dereference action generated by | |
6070 | expansion of the explicit dereference is needed in any case. | |
6071 | (Expand_N_Selected_Component): When rewriting an implicit dereference, | |
6072 | analyze and resolve the rewritten explicit dereference so it is seen | |
6073 | by the expander. | |
6074 | (Insert_Dereference_Action): This procedure is now called only for the | |
6075 | expansion of an N_Explcit_Dereference_Node. Do insert a check even for | |
6076 | dereferences that do not come from source (including explicit | |
6077 | dereferences resulting from rewriting implicit ones), but do not | |
6078 | recursively insert a check for the dereference nodes contained within | |
6079 | the check. | |
6080 | (Insert_Dereference_Action): Clarify and correct comment. | |
6081 | ||
e4c9c075 PB |
6082 | 2004-03-08 Paolo Bonzini <bonzini@gnu.org> |
6083 | ||
6084 | PR ada/14131 | |
6085 | Move language detection to the top level. | |
6086 | * config-lang.in: Build by default. | |
6087 | ||
8a6a52dc AC |
6088 | 2004-03-05 Robert Dewar <dewar@gnat.com> |
6089 | ||
6090 | * 56taprop.adb, 5ataprop.adb: Remove unneeded unchecked conversions | |
6091 | ||
6092 | * a-tags.adb, a-tags.ads, s-finimp.adb, s-finroo.ads, | |
6093 | i-cpoint.ads, i-cpoint.adb, i-cstrin.adb, i-cstrin.ads, | |
90afe2c9 | 6094 | 5iosinte.ads, 5sosinte.ads, 5staspri.ads, 5itaprop.adb, |
8a6a52dc AC |
6095 | 5staprop.adb, 5wtaprop.adb, s-tataat.ads, s-tataat.adb: Move |
6096 | unchecked conversion to spec to avoid warnings. | |
6097 | ||
6098 | * s-tasini.adb, s-taskin.ads, 5atpopsp.adb: Correct spelling Task_Id | |
6099 | to Task_ID | |
6100 | ||
6101 | * 7stpopsp.adb: Correct casing in To_Task_ID call | |
6102 | ||
6103 | * a-strsea.ads, a-strsea.adb: Minor reformatting | |
6104 | ||
6105 | * einfo.ads, einfo.adb: Define new flag No_Strict_Aliasing | |
6106 | ||
6107 | * errout.ads: Switch for VMS is now NO_STRICT_ALIASING. | |
6108 | Adjust Max_Msg_Length to be clearly large enough. | |
6109 | ||
6110 | * fe.h: Define In_Same_Source_Unit | |
6111 | ||
6112 | * osint.adb: Add pragma Warnings Off to suppress warnings | |
6113 | * g-dyntab.adb, g-table.adb, g-thread.adb: Add Warnings (Off) to kill | |
6114 | aliasing warnings. | |
6115 | ||
6116 | * opt.ads: Put entries in alpha order. Add entry for No_Strict_Aliasing | |
6117 | ||
6118 | * par-prag.adb: Add dummy entry for No_Strict_Aliasing pragma | |
6119 | ||
6120 | * sem_ch13.adb: Generate validate unchecked conversion nodes for gcc. | |
6121 | ||
6122 | * sem_ch3.adb: Set No_Strict_Aliasing flag if config pragma set. | |
6123 | ||
6124 | * sem_prag.adb: Implement pragma No_Strict_Aliasing. | |
6125 | ||
6126 | * sinfo.ads: Remove obsolete comment on validate unchecked conversion | |
6127 | node. We now do generate them for gcc back end. | |
6128 | ||
6129 | * table.adb, sinput.adb: Add pragma Warnings Off to suppress aliasing | |
6130 | warning. | |
6131 | ||
6132 | * sinput-c.adb: Fix bad name in header. | |
6133 | Add pragma Warnings Off to suppress aliasing warning. | |
6134 | ||
6135 | * sinput-l.adb: Add pragma Warnings Off to suppress aliasing warning. | |
6136 | ||
6137 | * snames.h, snames.ads, snames.adb: Add entry for pragma | |
6138 | No_Strict_Aliasing. | |
6139 | ||
6140 | 2004-03-05 Vincent Celier <celier@gnat.com> | |
6141 | ||
6142 | * prj-com.ads: Add hash table Files_Htable to check when a file name | |
6143 | is already a source of another project. | |
6144 | ||
6145 | * prj-nmsc.adb (Record_Source): Before recording a new source, check | |
6146 | if its file name is not already a source of another project. Report an | |
6147 | error if it is. | |
6148 | ||
6149 | * gnatcmd.adb: When GNAT PRETTY is invoked with a project file and no | |
6150 | source file name, call gnatpp with all the sources of the main project. | |
6151 | ||
6152 | * vms_conv.adb (Initialize): GNAT PRETTY may be called with any number | |
6153 | of file names. | |
6154 | ||
6155 | * vms_data.ads: Correct documentation of new /OPTIMIZE keyword | |
6156 | NO_STRICT_ALIASING. Add new qualifier for GNAT PRETTY: | |
6157 | /RUNTIME_SYSTEM=, converted to --RTS= | |
6158 | /NOTABS, converted to -notabs | |
6159 | ||
6160 | 2004-03-05 Pascal Obry <obry@gnat.com> | |
6161 | ||
6162 | * make.adb: Minor reformatting. | |
6163 | ||
6164 | 2004-03-05 Ed Schonberg <schonberg@gnat.com> | |
6165 | ||
6166 | Part of implemention of AI-262. | |
6167 | * par-ch10.adb (P_Context_Clause): Recognize private with_clauses. | |
6168 | ||
6169 | * sem_ch10.ads, sem_ch10.adb: (Install_Private_With_Clauses): New | |
6170 | procedure. | |
6171 | ||
6172 | * sem_ch3.adb (Analyze_Component_Declaration): Improve error message | |
6173 | when component type is a partially constrained class-wide subtype. | |
6174 | (Constrain_Discriminated_Type): If parent type has unknown | |
6175 | discriminants, a constraint is illegal, even if full view has | |
6176 | discriminants. | |
6177 | (Build_Derived_Record_Type): Inherit discriminants when deriving a type | |
6178 | with unknown discriminants whose full view is a discriminated record. | |
6179 | ||
6180 | * sem_ch7.adb (Preserve_Full_Attributes): Preserve Has_Discriminants | |
6181 | flag, to handle properly derivations of tagged types with unknown | |
6182 | discriminants. | |
6183 | (Analyze_Package_Spec, Analyze_Package_Body): Install | |
6184 | Private_With_Clauses before analyzing private part or body. | |
6185 | ||
6186 | * einfo.ads: Indicate that both Has_Unknown_Discriminants and | |
6187 | Has_Discriminants can be true for a given type (documentation). | |
6188 | ||
6189 | 2004-03-05 Arnaud Charlet <charlet@act-europe.fr> | |
6190 | ||
6191 | * s-restri.ads: Fix license (GPL->GMGPL). | |
6192 | ||
6193 | * s-tassta.adb: Minor reformatting. | |
6194 | ||
6195 | * s-tasren.adb: Replace manual handling of Self_Id.ATC_Nesting_Level | |
6196 | by calls to Exit_One_ATC_Level, since additional clean up is performed | |
6197 | by this function. | |
6198 | ||
6199 | * s-tpobop.adb: Replace manual handling of Self_Id.ATC_Nesting_Level | |
6200 | by calls to Exit_One_ATC_Level, since additional clean up is performed | |
6201 | by this function. | |
6202 | ||
6203 | 2004-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6204 | ||
6205 | * trans.c: Reflect GCC changes to fix bootstrap problem. | |
6206 | Add warning for suspicious aliasing unchecked conversion. | |
6207 | ||
6208 | 2004-03-05 GNAT Script <nobody@gnat.com> | |
6209 | ||
6210 | * Make-lang.in: Makefile automatically updated | |
6211 | ||
555360a5 AC |
6212 | 2004-03-02 Emmanuel Briot <briot@act-europe.fr> |
6213 | ||
6214 | * ali.adb (Read_Instantiation_Instance): Do not modify the | |
6215 | current_file_num when reading information about instantiations, since | |
6216 | this corrupts files in later references. | |
6217 | ||
6218 | 2004-03-02 Vincent Celier <celier@gnat.com> | |
6219 | ||
6220 | * bcheck.adb (Check_Consistency): Get the full path of an ALI file | |
6221 | before checking if it is read-only. | |
6222 | ||
6223 | * bld.adb (Recursive_Process): Concatenate <PROJECT>.src_dirs in front | |
6224 | of SRC_DIRS and eliminate duplicates. | |
6225 | ||
6226 | * gprcmd.adb: Replace command "path" with command "path_sep" to return | |
6227 | the path separator. | |
6228 | (Usage): Document path_sep | |
6229 | ||
6230 | * Makefile.generic: For Ada and GNU C++ cases, link directly with the | |
6231 | C++ compiler. No need for a script. | |
6232 | Replace use of C*_INCLUDE_PATH env var for GCC compilers with CPATH. | |
6233 | Do not call gprcmd to build the C*_INCLUDE_PATHs, do it with function | |
6234 | subst. | |
6235 | ||
6236 | * prj-env.adb (For_All_Source_Dirs): Only add source dirs in project | |
6237 | where there are Ada sources. | |
6238 | (Set_Ada_Paths): Only add to the include path the source dirs of project | |
6239 | with Ada sources. | |
6240 | (Add_To_Path): Add the Display_Values of the directories, not their | |
6241 | Values. | |
6242 | ||
6243 | * prj-nmsc.adb (Find_Sources): Set flag Sources_Present in the project | |
6244 | data. | |
6245 | ||
6246 | * prj-nmsc.adb (Add_ALI_For): Make sure that the element Display_Value | |
6247 | is not No_Name. | |
6248 | (Find_Source_Dirs): Set Display_Value to a non canonicalized value, only | |
6249 | Value is canonicalized. | |
6250 | (Language_Independent_Check): Do not copy Value to Display_Value when | |
6251 | canonicalizing Value. | |
6252 | ||
6253 | * prj-part.adb (Post_Parse_Context_Clause): Compare canonical cased | |
6254 | path to find limited with cycles. | |
6255 | (Parse_Single_Project): Use canonical cased path to find the end of a | |
6256 | with cycle. | |
6257 | ||
6258 | 2004-03-02 Ed Schonberg <schonberg@gnat.com> | |
6259 | ||
6260 | * sem_ch10.adb (Optional_Subunit): Verify that unit contains a subunit | |
6261 | and not a child unit. | |
6262 | ||
6263 | * sinfo.ads, sinfo.adb: Rearrange flags so that Private_Present can | |
6264 | appear in a with_clause. | |
6265 | ||
6266 | * decl.c (gnat_to_gnu_type): If entity is a generic type, which can | |
6267 | only happen in type_annotate mode, do not try to elaborate it. | |
6268 | ||
6269 | * exp_util.adb (Force_Evaluation): If expression is a selected | |
6270 | component on the left of an assignment, use a renaming rather than a | |
6271 | temporary to remove side effects. | |
6272 | ||
6273 | * freeze.adb (Freeze_Entity): Do not freeze a global entity within an | |
6274 | inlined instance body, which is analyzed before the end of the | |
6275 | enclosing scope. | |
6276 | ||
6277 | 2004-03-02 Robert Dewar <dewar@gnat.com> | |
6278 | ||
6279 | * par-ch10.adb, par-ch3.adb, par-ch4.adb, scng.adb, | |
6280 | sem_ch4.adb: Use new feature for substitution of keywords in VMS | |
6281 | ||
6282 | * errout.ads, errout.adb: Implement new circuit for substitution of | |
6283 | keywords in VMS. | |
6284 | ||
6285 | * sem_case.adb (Analyze_Choices): Place message properly when case is | |
6286 | a subtype reference rather than an explicit range. | |
6287 | ||
6288 | * sem_elim.adb, s-tpobop.ads, exp_ch2.adb: Minor reformatting | |
6289 | ||
6290 | 2004-03-02 Doug Rupp <rupp@gnat.com> | |
6291 | ||
6292 | * init.c (__gnat_initialize)[VMS]: Resignal RDB-E-STREAM_EOF. | |
6293 | ||
6294 | 2004-03-02 Thomas Quinot <quinot@act-europe.fr> | |
6295 | ||
6296 | * s-tporft.adb: Add missing locking around call to Initialize_ATCB. | |
6297 | ||
6298 | 2004-03-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6299 | ||
6300 | * utils.c (finish_record_type): Do not set DECL_NONADDRESSABLE for a | |
6301 | BLKmode bitfield. | |
6302 | ||
8a7988f5 AC |
6303 | 2004-02-25 Robert Dewar <dewar@gnat.com> |
6304 | ||
6305 | * 51osinte.ads, 52osinte.ads, 53osinte.ads, 54osinte.ads, | |
6306 | 55osinte.ads, 56osinte.ads, 5aosinte.ads, 5bosinte.ads, | |
6307 | 5cosinte.ads, 5fosinte.ads, 5gosinte.ads, 5hosinte.ads, | |
6308 | 5iosinte.ads, 5losinte.ads, 5nosinte.ads, 5oosinte.ads, | |
6309 | 5posinte.ads, 5sosinte.ads, 5tosinte.ads, 5vosinte.ads, | |
6310 | 5wosinte.ads, 5zosinte.ads: Move instances of Unchecked_Conversion to | |
6311 | the defining instance of the type to avoid aliasing problems. | |
6312 | Fix copyright header. Fix bad comments in package header. | |
6313 | ||
6314 | * exp_util.adb, prj-part.adb, prj-part.adb: Minor reformatting | |
6315 | ||
6316 | 2004-02-25 Ed Schonberg <schonberg@gnat.com> | |
6317 | ||
6318 | * exp_ch2.adb (Param_Entity): Handle properly formals that have been | |
6319 | rewritten as references when aliased through an address clause. | |
6320 | ||
6321 | * sem_ch4.adb (Try_Indirect_Call): Normalize actuals before checking | |
6322 | whether call can be interpreted as an indirect call to the result of a | |
6323 | parameterless function call returning an access subprogram. | |
6324 | ||
6325 | 2004-02-25 Arnaud Charlet <charlet@act-europe.fr> | |
6326 | ||
6327 | Code clean up: | |
6328 | * exp_ch7.adb (Make_Clean): Remove generation of calls to | |
6329 | Unlock[_Entries], since this is now done by Service_Entries directly. | |
6330 | ||
6331 | * exp_ch9.adb (Build_Protected_Subprogram_Body): ditto. | |
6332 | ||
6333 | * s-tpobop.ads, s-tpobop.adb (PO_Service_Entries): New nested procedure | |
6334 | Requeue_Call for better code readability. Change spec and update calls: | |
6335 | PO_Service_Entries now unlock the PO on exit. | |
6336 | (Protected_Entry_Call, Timed_Protected_Entry_Call): Update calls to | |
6337 | PO_Service_Entries. | |
6338 | ||
6339 | * s-tposen.ads, s-tposen.adb (Service_Entry): Now unlock the PO on exit. | |
6340 | ||
6341 | * s-taenca.adb, s-tasren.adb: Update calls to PO_Service_Entries. | |
6342 | ||
6343 | 2004-02-25 Sergey Rybin <rybin@act-europe.fr> | |
6344 | ||
6345 | * exp_ch9.adb (Build_Simple_Entry_Call): Prevent expanding the | |
6346 | protected subprogram call and analyzing the result of such expanding | |
6347 | in case when the called protected subprogram is eliminated. | |
6348 | ||
6349 | * sem_elim.adb (Check_Eliminated): Skip blocks when comparing scope | |
6350 | names. | |
6351 | ||
6352 | 2004-02-25 Jerome Guitton <guitton@act-europe.fr> | |
6353 | ||
6354 | * Makefile.in: Clean ups. | |
6355 | ||
6871ba5f AC |
6356 | 2004-02-23 Ed Schonberg <schonberg@gnat.com> |
6357 | ||
6358 | * exp_ch6.adb (Expand_N_Subprogram_Declaration): Do not create | |
6359 | protected operations if original subprogram is flagged as eliminated. | |
6360 | (Expand_N_Subprogram_Body): For a protected operation, create | |
6361 | discriminals for next operation before checking whether the operation | |
6362 | is eliminated. | |
6363 | ||
6364 | * exp_ch9.adb (Expand_N_Protected_Body, | |
6365 | Expand_N_Protected_Type_Declaration): Do not generate specs and bodies | |
6366 | for internal protected operations if the original subprogram is | |
6367 | eliminated. | |
6368 | ||
6369 | * sem_elim.adb (Check_Eliminated): Handle properly protected operations | |
6370 | declared in a single protected object. | |
6371 | ||
6372 | 2004-02-23 Vincent Celier <celier@gnat.com> | |
6373 | ||
6374 | * prj-attr.adb: Make attribute Builder'Executable an associative array, | |
6375 | case insensitive if file names are case insensitive, instead of a | |
6376 | standard associative array. | |
6377 | ||
6378 | * prj-attr.adb (Initialize): For 'b' associative arrays, do not set | |
6379 | them as case insensitive on platforms where the file names are case | |
6380 | sensitive. | |
6381 | ||
6382 | * prj-part.adb (Parse_Single_Project): Make sure, when checking if | |
6383 | project file has already been parsed that canonical path are compared. | |
6384 | ||
6385 | 2004-02-23 Robert Dewar <dewar@gnat.com> | |
6386 | ||
6387 | * sinput-c.ads: Correct bad unit title in header | |
6388 | ||
6389 | * freeze.adb: Minor reformatting | |
6390 | ||
6391 | 2004-02-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6392 | ||
6393 | * trans.c (tree_transform, case N_Procedure_Call_Statement): For | |
6394 | nonaddressable COMPONENT_REF that is removing padding that we are | |
6395 | taking the address of, take the address of the padded record instead | |
6396 | if item is variable size. | |
6397 | ||
6e059adb AC |
6398 | 2004-02-20 Robert Dewar <dewar@gnat.com> |
6399 | ||
6400 | * bld.adb, exp_util.adb, gprcmd.adb: Minor reformatting | |
6401 | ||
6402 | 2004-02-20 Ed Schonberg <schonberg@gnat.com> | |
6403 | ||
6404 | * freeze.adb (Freeze_Record_Type): Generalize mechanism that generates | |
6405 | itype references for the constrained designated type of a component | |
6406 | whose base type is already frozen. | |
6407 | ||
6408 | 2004-02-20 Arnaud Charlet <charlet@act-europe.fr> | |
6409 | ||
6410 | * init.c (__gnat_error_handler [tru64]): Rewrite previous change to | |
6411 | avoid GCC warnings. | |
6412 | ||
6413 | 2004-02-20 Sergey Rybin <rybin@act-europe.fr> | |
6414 | ||
6415 | * sem_ch12.adb (Analyze_Formal_Package): Create a new defining | |
6416 | identifier for a phantom package that rewrites the formal package | |
6417 | declaration with a box. The Add semantic decorations for the defining | |
6418 | identifier from the original node (that represents the formal package). | |
6419 | ||
88e3a2a3 MK |
6420 | 2004-02-19 Matt Kraai <kraai@alumni.cmu.edu> |
6421 | ||
6422 | * Make-lang.in (ada/stamp-sdefault): Use the top level | |
6423 | move-if-change. | |
6424 | ||
4221057e RH |
6425 | 2004-02-19 Richard Henderson <rth@redhat.com> |
6426 | ||
6427 | * misc.c (record_code_position): Add third build arg for RTL_EXPR. | |
6428 | ||
5c1c8a03 AC |
6429 | 2004-02-18 Emmanuel Briot <briot@act-europe.fr> |
6430 | ||
6431 | * ali.ads, ali.adb (First_Sdep_Entry): No longer a constant, so that | |
6432 | Scan_ALI can be used for multiple ALI files without reinitializing | |
6433 | between calls. | |
6434 | ||
6435 | 2004-02-18 Robert Dewar <dewar@gnat.com> | |
6436 | ||
6437 | * debug.adb: Minor reformatting. | |
6438 | ||
6439 | 2004-02-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6440 | ||
6441 | * decl.c (gnat_to_gnu_entity, case object): Set DECL_POINTER_ALIAS_SET | |
6442 | to zero if there is an address clause. | |
6443 | ||
6444 | 2004-02-18 Thomas Quinot <quinot@act-europe.fr> | |
6445 | ||
6446 | * exp_util.adb (Side_Effect_Free): Any literal is side effects free. | |
6447 | ||
6448 | 2004-02-18 Gary Dismukes <dismukes@gnat.com> | |
6449 | ||
6450 | * layout.adb (Layout_Component_List): Revise generation of call to | |
6451 | discriminant-checking function to pass selections of all of the type's | |
6452 | discriminants rather than just the variant-controlling discriminant. | |
6453 | ||
6454 | 2004-02-18 Olivier Hainque <hainque@act-europe.fr> | |
6455 | ||
6456 | * 5gmastop.adb (Pop_Frame): Do not call exc_unwind, which is bound to | |
6457 | fail in the current setup and triggers spurious system error messages. | |
6458 | Pretend it occurred and failed instead. | |
6459 | ||
6460 | 2004-02-18 Vincent Celier <celier@gnat.com> | |
6461 | ||
6462 | * bld.adb: Mark FLDFLAGS as saved | |
6463 | (Process_Declarative_Items): Add Linker'Linker_Options to FLDFLAGS when | |
6464 | it is not the root project. Put each directory to be | |
6465 | extended between double quotes to prevent it to be expanded on Windows. | |
6466 | (Recursive_Process): Reset CFLAGS/CXXFLAGS to nothing before processing | |
6467 | the project file. Set them back to their initial values if they have not | |
6468 | been set in the project file. | |
6469 | ||
6470 | * gprcmd.adb: (Gprdebug, Debug): New global variables | |
6471 | (Display_Command): New procedure | |
6472 | (Usage): Document new command "linkopts" | |
6473 | Call Display_Command when env var GPRDEBUG has the value "TRUE" | |
6474 | Implement new command "linkopts" | |
6475 | Remove quotes that may be around arguments for "extend" | |
6476 | Always call Normalize_Pathname with arguments formatted for the platform | |
6477 | ||
6478 | * Makefile.generic: Link C/C++ mains with $(FLDFLAGS) | |
6479 | Change @echo to @$(display) in target clean to be able to clean silently | |
6480 | ||
6481 | * Makefile.prolog: Save FLDFLAGS and give it an initial empty value | |
6482 | ||
6483 | * prj-part.adb (Project_Path_Name_Of): Do not put final result in | |
6484 | canonical case. | |
6485 | ||
6486 | * prj-part.adb (Parse_Single_Project): Always call with From_Extended | |
6487 | = Extending_All when current project is an extending all project. | |
6488 | ||
6489 | * vms_conv.adb (Output_File_Expected): New Boolean global variable, | |
6490 | set to True only for LINK command, after Unix switch -o. | |
6491 | (Process_Arguments): Set Output_File_Expected to True for LINK command | |
6492 | after Unix switch -o. When Output_File_Expected is True, never add an | |
6493 | extension to a file name. | |
6494 | ||
6495 | * 5vml-tgt.adb (Build_Dynamic_Library): Do not append "/OPTIONS" to the | |
6496 | option file name, only to the --for-linker= switch. | |
6497 | (Option_File_Name): If option file name do not end with ".opt", append | |
6498 | "/OPTIONS". | |
6499 | ||
6500 | 2004-02-18 GNAT Script <nobody@gnat.com> | |
6501 | ||
6502 | * Make-lang.in: Makefile automatically updated | |
6503 | ||
80bcb4d2 MK |
6504 | 2004-02-17 Matt Kraai <kraai@alumni.cmu.edu> |
6505 | ||
6506 | * Make-lang.in (stamp-sdefault): Do not depend on | |
6507 | move-if-change. | |
6508 | ||
1daa84b6 ZW |
6509 | 2004-02-12 Zack Weinberg <zack@codesourcery.com> |
6510 | ||
6511 | * config-lang.in: Disable Ada by default until probe logic for | |
6512 | a bootstrap Ada compiler can be moved to the top level configure | |
6513 | script. | |
6514 | ||
18c0ecbe AC |
6515 | 2004-02-12 Olivier Hainque <hainque@act-europe.fr> |
6516 | ||
6517 | * decl.c (components_to_record): Don't claim that the internal fields | |
6518 | we make to hold the variant parts are semantically addressable, because | |
6519 | they are not. | |
6520 | ||
6521 | * exp_pakd.adb (Create_Packed_Array_Type): Rename Esiz into PASize and | |
6522 | adjust the comment describing the modular type form when we can use it. | |
6523 | (Install_PAT): Account for the Esiz renaming. | |
6524 | ||
6525 | * init.c (__gnat_error_handler for alpha-tru64): Arrange to clear the | |
6526 | sc_onstack context indication before raising the exception to which | |
6527 | the signal is mapped. Allows better handling of later signals possibly | |
6528 | triggered by the resumed user code if the exception is handled. | |
6529 | ||
6530 | 2004-02-12 Arnaud Charlet <charlet@act-europe.fr> | |
6531 | ||
6532 | * 5zinit.adb: Removed, no longer used. | |
6533 | ||
6534 | 2004-02-12 Robert Dewar <dewar@gnat.com> | |
6535 | ||
6536 | * ali.adb: Remove separating space between parameters on R line. Makes | |
6537 | format consistent with format used by the binder for Set_Globals call. | |
6538 | ||
6539 | * atree.ads, atree.adb: Minor reformatting (new function header format) | |
6540 | ||
6541 | * bindgen.adb: Add Run-Time Globals documentation section containing | |
6542 | detailed documentation of the globals passed from the binder file to | |
6543 | the run time. | |
6544 | ||
6545 | * gnatls.adb: Minor reformatting | |
6546 | ||
6547 | * init.c (__gnat_set_globals): Add note pointing to documentation in | |
6548 | bindgen. | |
6549 | ||
6550 | * lib-writ.ads, lib-writ.adb: Remove separating space between | |
6551 | parameters on R line. | |
6552 | Makes format consistent with format used by the binder for Set_Globals | |
6553 | call. | |
6554 | ||
6555 | * osint.ads: Add 2004 to copyright notice | |
6556 | Minor reformatting | |
6557 | ||
6558 | * snames.ads: Correct capitalization of FIFO_Within_Priorities | |
6559 | Noticed during code reading, documentation issue only | |
6560 | ||
6561 | * usage.adb: Remove junk line for obsolete C switch | |
6562 | Noticed during code reading | |
6563 | ||
6564 | 2004-02-12 Vincent Celier <celier@gnat.com> | |
6565 | ||
6566 | * bld.adb (Process_Declarative_Items): For Source_Dirs call gprcmd | |
6567 | extend for each directory, so that multiple /** directories are | |
6568 | extended individually. | |
6569 | (Recursive_Process): Set the default for LANGUAGES to ada | |
6570 | ||
6571 | * gprcmd.adb: Define new command "ignore", to do nothing. | |
6572 | Implement new comment "path". | |
6573 | ||
6574 | * Makefile.generic: Suppress output when SILENT is set | |
6575 | Make sure that when compiler for C/C++ is gcc, the correct -x switch is | |
6576 | used, so that the correct compiler is invoked. | |
6577 | When compiler is gcc/g++, put search path in env vars C_INCLUDE_PATH/ | |
6578 | CXX_INCLUDE_PATH, to avoid failure with too long command lines. | |
6579 | ||
6580 | 2004-02-12 Jerome Guitton <guitton@act-europe.fr> | |
6581 | ||
6582 | * Makefile.in: Clean ups and remove obsolete targets. | |
6583 | ||
6584 | 2004-02-12 Ed Schonberg <schonberg@gnat.com> | |
6585 | ||
6586 | * exp_ch5.adb: Remove Possible_Unligned_Slice, in favor of the similar | |
6587 | predicate declared in exp_util. | |
6588 | ||
6589 | * exp_util.adb: Add comments. | |
6590 | ||
6591 | * sem_ch10.adb (Analyze_Subunit): Remove ultimate parent unit from | |
6592 | visibility before compiling context of the subunit. | |
6593 | ||
6594 | * sem_res.adb (Check_Parameterless_Call): If the context expects a | |
6595 | value but the name is a procedure, do not attempt to analyze as a call, | |
6596 | in order to obtain more telling diagnostics. | |
6597 | ||
6598 | * sem_util.adb (Wrong_Type): Further enhancement to diagnose missing | |
6599 | 'Access on parameterless function calls. | |
6600 | (Normalize_Actuals): For a parameterless function call with missing | |
6601 | actuals, defer diagnostic until resolution of enclosing call. | |
6602 | ||
6603 | * sem_util.adb (Wrong_Type): If the context type is an access to | |
6604 | subprogram and the expression is a procedure name, suggest a missing | |
6605 | 'attribute. | |
6606 | ||
c1dcfa14 AC |
6607 | 2004-02-10 Arnaud Charlet <charlet@act-europe.fr>, |
6608 | Nathanael Nerode <neroden@gcc.gnu.org> | |
6609 | ||
6610 | PR ada/6637, PR ada/5911 | |
6611 | Merge with libada-branch: | |
90afe2c9 | 6612 | * config-lang.in: Build libada only when ada is built. |
c1dcfa14 | 6613 | |
2e071734 AC |
6614 | 2004-02-09 Ed Schonberg <schonberg@gnat.com> |
6615 | ||
6616 | * exp_ch4.adb (Expand_N_Op_Eq): When looking for the primitive equality | |
6617 | for a tagged type, verify that both formals have the same type. | |
6618 | ||
6619 | * exp_ch6.adb (Add_Call_By_Copy_Code): Initialize properly the | |
6620 | temporary when the formal is an in-parameter and the actual a possibly | |
6621 | unaligned slice. | |
6622 | ||
6623 | * exp_ch9.adb (Expand_Entry_Barrier): Resolve barrier expression even | |
6624 | when expansion is disabled, to ensure proper name capture with | |
6625 | overloaded literals. Condition can be of any boolean type, resolve | |
6626 | accordingly. | |
6627 | ||
6628 | * sem_ch8.adb (Analyze_Subprogram_Renaming): Emit warning if the | |
6629 | renaming is for a formal subprogram with a default operator name, and | |
6630 | there is a usable operator that is visible at the point of | |
6631 | instantiation. | |
6632 | ||
6633 | 2004-02-09 Robert Dewar <dewar@gnat.com> | |
6634 | ||
6635 | * ali.adb (Scan_Ali) Add Ignore_Errors argument. This is a major | |
6636 | rewrite to ignore errors in ali files, intended to allow tools downward | |
6637 | compatibility with new versions of ali files. | |
6638 | ||
6639 | * ali.ads: Add new parameter Ignore_Errors | |
6640 | ||
6641 | * bcheck.adb (Check_Consistent_Restrictions): Fix error of sometimes | |
6642 | duplicating the error message giving the file with restrictions. | |
6643 | ||
6644 | * debug.adb: Add debug flag I for gnatbind | |
6645 | ||
6646 | * errout.adb (Set_Msg_Insertion_Node): Suppress extra quotes around | |
6647 | operators for the case where the operator is a defining operator. | |
6648 | ||
6649 | * exp_ch3.adb: Minor reformatting (new function spec format). | |
6650 | ||
6651 | * exp_ch4.adb: Add comment for previous change, and make minor | |
6652 | adjustment to loop to always check for improper loop termination. | |
6653 | Minor reformatting throughout (new function spec format). | |
6654 | ||
6655 | * gnatbind.adb: Implement -di debug flag for gnatbind | |
6656 | ||
6657 | * gnatlink.adb: Call Scan_ALI with Ignore_Errors set to True | |
6658 | ||
6659 | * gnatls.adb: Call Scan_ALI with Ignore_Errors set to True | |
6660 | ||
6661 | * lib-load.adb: Fix bad assertion. | |
6662 | Found by testing and code reading. | |
6663 | Minor reformatting. | |
6664 | ||
6665 | * lib-load.ads: Minor reformatting. | |
6666 | ||
6667 | * lib-writ.adb: There is only one R line now. | |
6668 | ||
6669 | * lib-writ.ads: Add documentation on making downward compatible changes | |
6670 | to ali files so old tools work with new ali files. | |
6671 | There is only one R line now. | |
6672 | Add documentation on format incompatibilities (with special GPS note) | |
6673 | ||
6674 | * namet.ads, namet.adb: (Is_Operator_Name): New procedure | |
6675 | ||
6676 | * par-load.adb: Minor reformatting | |
6677 | ||
6678 | * sem_ch8.adb: Fix to error message from last update | |
6679 | Minor reformatting and restructuring of code from last update | |
6680 | ||
6681 | * par-prag.adb, snames.adb, snames.ads, snames.h, | |
6682 | sem_prag.adb: Implement pragma Profile. | |
6683 | ||
6684 | * stylesw.adb: Implement -gnatyN switch to turn off all style check | |
6685 | options. | |
6686 | ||
6687 | * usage.adb: Add line for -gnatyN switch | |
6688 | ||
6689 | * vms_data.ads: Add entry STYLE_CHECKS=NONE for -gnatyN | |
6690 | ||
a41ea816 AC |
6691 | 2004-02-09 Albert Lee <lee@gnat.com> |
6692 | ||
6693 | * errno.c: define _SGI_MP_SOURCE for task-safe errno on IRIX | |
6694 | ||
6695 | 2004-02-09 Ed Schonberg <schonberg@gnat.com> | |
6696 | ||
6697 | * exp_ch3.adb (Build_Slice_Assignment): Handle properly case of null | |
6698 | slices. | |
6699 | ||
6700 | * exp_ch6.adb (Expand_Call): Do not inline a call when the subprogram | |
6701 | is nested in an instance that is not frozen yet, to avoid | |
6702 | order-of-elaboration problems in gigi. | |
6703 | ||
6704 | * sem_attr.adb (Analyze_Attribute, case 'Access): Within an inlined | |
6705 | body the attribute is legal. | |
6706 | ||
6707 | 2004-02-09 Robert Dewar <dewar@gnat.com> | |
6708 | ||
6709 | * s-rident.ads: Minor comment correction | |
6710 | ||
6711 | * targparm.adb: Remove dependence on uintp completely. There was | |
6712 | always a bug in Make in that it called Targparm before initializing | |
6713 | the Uint package. The old code appeared to get away with this, but | |
6714 | the new code did not! This caused an assertion error in gnatmake. | |
6715 | ||
6716 | * targparm.ads: Fix bad comment, restriction pragmas with parameters | |
6717 | are indeed fully supported. | |
6718 | ||
725c60f8 AM |
6719 | 2004-02-06 Alan Modra <amodra@bigpond.net.au> |
6720 | ||
6721 | * misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call. | |
6722 | ||
136e64db KH |
6723 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
6724 | ||
6725 | * ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES | |
6726 | with targetm.calls.promote_prototypes. | |
6727 | ||
06effe87 AC |
6728 | 2004-02-04 Robert Dewar <dewar@gnat.com> |
6729 | ||
6730 | * 5gtasinf.adb, 5gtasinf.ads, 5gtaprop.adb, ali.adb, | |
6731 | ali.ads, gprcmd.adb: Minor reformatting | |
6732 | ||
6733 | * bindgen.adb: Output restrictions string for new style restrictions | |
6734 | handling | |
6735 | ||
6736 | * impunit.adb: Add s-rident.ads (System.Rident) and | |
6737 | s-restri (System.Restrictions) | |
6738 | ||
6739 | * lib-writ.adb: Fix bug in writing restrictions string (last few | |
6740 | entries wrong) | |
6741 | ||
6742 | * s-restri.ads, s-restri.adb: Change name Restrictions to | |
6743 | Run_Time_Restrictions to avoid conflict with package name. | |
6744 | Add circuit to read and acquire run time restrictions. | |
6745 | ||
6746 | 2004-02-04 Jose Ruiz <ruiz@act-europe.fr> | |
6747 | ||
6748 | * restrict.ads, restrict.adb: Use the new restriction | |
6749 | No_Task_Attributes_Package instead of the old No_Task_Attributes. | |
6750 | ||
6751 | * sem_prag.adb: No_Task_Attributes is a synonym of | |
6752 | No_Task_Attributes_Package. | |
6753 | ||
6754 | * snames.ads, snames.adb: New entry for proper handling of | |
6755 | No_Task_Attributes. | |
6756 | ||
6757 | * s-rident.ads: Adding restriction No_Task_Attributes_Package | |
6758 | (AI-00249) that supersedes the GNAT specific restriction | |
6759 | No_Task_Attributes. | |
6760 | ||
6761 | 2004-02-04 Ed Schonberg <schonberg@gnat.com> | |
6762 | ||
90afe2c9 | 6763 | * sem_prag.adb: |
06effe87 AC |
6764 | (Analyze_Pragma, case Warnings): In an inlined body, as in an instance |
6765 | body, an identifier may be wrapped in an unchecked conversion. | |
6766 | ||
6767 | 2004-02-04 Vincent Celier <celier@gnat.com> | |
6768 | ||
6769 | * lib-writ.ads: Comment update for the W lines | |
6770 | ||
6771 | * bld.adb: (Expression): An empty string list is static | |
6772 | ||
6773 | * fname-uf.adb: Minor comment update | |
6774 | ||
6775 | * fname-uf.ads: (Get_File_Name): Document new parameter May_Fail | |
6776 | ||
6777 | * gnatbind.adb: Initialize Cumulative_Restrictions with the | |
6778 | restrictions on the target. | |
6779 | ||
2fb00d7f KH |
6780 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
6781 | ||
6782 | * ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of | |
6783 | gen_rtx. | |
6784 | ||
5ed23e25 AC |
6785 | 2004-02-02 Arnaud Charlet <charlet@gnat.com> |
6786 | ||
6787 | * Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded. | |
6788 | ||
6e937c1c AC |
6789 | 2004-02-02 Vincent Celier <celier@gnat.com> |
6790 | ||
6791 | * gprcmd.adb (Check_Args): If condition is false, print the invoked | |
6792 | comment before the usage. | |
6793 | Gprcmd: Fail when command is not recognized. | |
6794 | (Usage): Document command "prefix" | |
6795 | ||
6796 | * g-md5.adb (Digest): Process last block. | |
6797 | (Update): Do not process last block. Store remaining characters and | |
6798 | length in Context. | |
6799 | ||
6800 | * g-md5.ads (Update): Document that several call to update are | |
6801 | equivalent to one call with the concatenated string. | |
6802 | (Context): Add fields to allow new Update behaviour. | |
6803 | ||
6804 | * fname-uf.ads/adb (Get_File_Name): New Boolean parameter May_Fail, | |
6805 | defaulted to False. | |
6806 | When May_Fail is True and no existing file can be found, return No_File. | |
6807 | ||
6808 | * 6vcstrea.adb: Inlined functions are now wrappers to implementation | |
6809 | functions. | |
6810 | ||
6811 | * lib-writ.adb (Write_With_Lines): When body file does not exist, use | |
6812 | spec file name instead on the W line. | |
6813 | ||
6814 | 2004-02-02 Robert Dewar <dewar@gnat.com> | |
6815 | ||
6816 | * ali.adb: Read and acquire info from new format restrictions lines | |
6817 | ||
6818 | * bcheck.adb: Add circuits for checking restrictions with parameters | |
6819 | ||
6820 | * bindgen.adb: Output dummy restrictions data | |
6821 | To be changed later | |
6822 | ||
6823 | * ali.ads, checks.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb, | |
6824 | exp_ch3.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_util.adb, | |
6825 | freeze.adb, gnat1drv.adb, sem_attr.adb, sem_ch10.adb, sem_ch11.adb, | |
6826 | sem_ch12.adb, targparm.adb, targparm.ads, tbuild.adb, sem_ch2.adb, | |
6827 | sem_elab.adb, sem_res.adb: Minor changes for new restrictions handling. | |
6828 | ||
6829 | * exp_ch9.adb (Build_Master_Entity): Cleanup the code (also suppresses | |
6830 | the warning message on access to possibly uninitialized variable S) | |
6831 | Minor changes for new restrictions handling. | |
6832 | ||
6833 | * gnatbind.adb: Minor reformatting | |
6834 | Minor changes for new restrictions handling | |
6835 | Move circuit for -r processing here from bcheck (cleaner) | |
6836 | ||
6837 | * gnatcmd.adb, gnatlink.adb: Minor reformatting | |
6838 | ||
6839 | * lib-writ.adb: Output new format restrictions lines | |
6840 | ||
6841 | * lib-writ.ads: Document new R format lines for new restrictions | |
6842 | handling. | |
6843 | ||
6844 | * s-restri.ads/adb: New files | |
6845 | ||
6846 | * Makefile.rtl: Add entry for s-restri.ads/adb | |
6847 | ||
6848 | * par-ch3.adb: Fix bad error messages starting with upper case letter | |
6849 | Minor reformatting | |
6850 | ||
6851 | * restrict.adb: Major rewrite throughout for new restrictions handling | |
6852 | Major point is to handle restrictions with parameters | |
6853 | ||
6854 | * restrict.ads: Major changes in interface to handle restrictions with | |
6855 | parameters. Also generally simplifies setting of restrictions. | |
6856 | ||
6857 | * snames.ads/adb: New entry for proper handling of No_Requeue | |
6858 | ||
6859 | * sem_ch3.adb (Count_Tasks): New circuitry for implementing Max_Tasks | |
6860 | restriction counting. | |
6861 | Other minor changes for new restrictions handling | |
6862 | ||
6863 | * sem_prag.adb: No_Requeue is a synonym for No_Requeue_Statements. | |
6864 | Restriction_Warnings now allows full parameter notation | |
6865 | Major rewrite of Restrictions for new restrictions handling | |
6866 | ||
6867 | 2004-02-02 Javier Miranda <miranda@gnat.com> | |
6868 | ||
6869 | * par-ch3.adb (P_Identifier_Declarations): Give support to the Ada 0Y | |
6870 | syntax rule for object renaming declarations. | |
6871 | (P_Array_Type_Definition): Give support for the Ada 0Y syntax rule for | |
6872 | component definitions. | |
6873 | ||
6874 | * sem_ch3.adb (Analyze_Component_Declaration): Give support to access | |
6875 | components. | |
6876 | (Array_Type_Declaration): Give support to access components. In addition | |
6877 | it was also modified to reflect the name of the object in anonymous | |
6878 | array types. The old code did not take into account that it is possible | |
6879 | to have an unconstrained anonymous array with an initial value. | |
6880 | (Check_Or_Process_Discriminants): Allow access discriminant in | |
6881 | non-limited types. | |
6882 | (Process_Discriminants): Allow access discriminant in non-limited types | |
6883 | Initialize the new Access_Definition field in N_Object_Renaming_Decl | |
6884 | node. Change Ada0Y to Ada 0Y in comments | |
6885 | ||
6886 | * sem_ch4.adb (Find_Equality_Types): Allow anonymous access types in | |
6887 | equality operators. | |
6888 | Change Ada0Y to Ada 0Y in comments | |
6889 | ||
6890 | * sem_ch8.adb (Analyze_Object_Renaming): Give support to access | |
6891 | renamings Change Ada0Y to Ada 0Y in comments | |
6892 | ||
6893 | * sem_type.adb (Find_Unique_Type): Give support to the equality | |
6894 | operators for universal access types | |
6895 | Change Ada0Y to Ada 0Y in comments | |
6896 | ||
6897 | * sinfo.adb (Access_Definition, Set_Access_Definition): New subprograms | |
6898 | ||
6899 | * sinfo.ads (N_Component_Definition): Addition of Access_Definition | |
6900 | field. | |
6901 | (N_Object_Renaming_Declaration): Addition of Access_Definition field | |
6902 | Change Ada0Y to Ada 0Y in comments | |
6903 | ||
6904 | * sprint.adb (Sprint_Node_Actual): Give support to the new syntax for | |
6905 | component definition and object renaming nodes | |
6906 | Change Ada0Y to Ada 0Y in comments | |
6907 | ||
6908 | 2004-02-02 Jose Ruiz <ruiz@act-europe.fr> | |
6909 | ||
6910 | * restrict.adb: Use the new restriction identifier | |
6911 | No_Requeue_Statements instead of the old No_Requeue for defining the | |
6912 | restricted profile. | |
6913 | ||
6914 | * sem_ch9.adb (Analyze_Requeue): Check the new restriction | |
6915 | No_Requeue_Statements. | |
6916 | ||
6917 | * s-rident.ads: Adding restriction No_Requeue_Statements (AI-00249) | |
6918 | that supersedes the GNAT specific restriction No_Requeue. The later is | |
6919 | kept for backward compatibility. | |
6920 | ||
6921 | 2004-02-02 Ed Schonberg <schonberg@gnat.com> | |
6922 | ||
6923 | * lib.ads, i-cobol.ads, * s-stoele.ads, s-thread.ads, style.ads, | |
6924 | 5staprop.adb, atree.adb, atree.ads, g-crc32.ads: Remove redundant | |
6925 | pragma and fix incorrect ones. | |
6926 | ||
6927 | * sem_prag.adb For pragma Inline and pragma Pure_Function, emit a | |
6928 | warning if the pragma is redundant. | |
6929 | ||
6930 | 2004-02-02 Thomas Quinot <quinot@act-europe.fr> | |
6931 | ||
6932 | * 5staprop.adb: Add missing 'constant' keywords. | |
6933 | ||
6934 | * Makefile.in: use consistent value for SYMLIB on | |
6935 | platforms where libaddr2line is supported. | |
6936 | ||
6937 | 2004-02-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6938 | ||
6939 | * utils.c (end_subprog_body): Do not call rest_of_compilation if just | |
6940 | annotating types. | |
6941 | ||
6942 | 2004-02-02 Olivier Hainque <hainque@act-europe.fr> | |
6943 | ||
6944 | * init.c (__gnat_install_handler): Setup an alternate stack for signal | |
6945 | handlers in the environment thread. This allows proper propagation of | |
6946 | an exception on stack overflows in this thread even when the builtin | |
6947 | ABI stack-checking scheme is used without support for a stack reserve | |
6948 | region. | |
6949 | ||
6950 | * utils.c (create_field_decl): Augment the head comment about bitfield | |
6951 | creation, and don't account for DECL_BIT_FIELD in DECL_NONADDRESSABLE_P | |
6952 | here, because the former is not accurate enough at this point. | |
6953 | Let finish_record_type decide instead. | |
6954 | Don't make a bitfield if the field is to be addressable. | |
6955 | Always set a size for the field if the record is packed, to ensure the | |
6956 | checks for bitfield creation are triggered. | |
6957 | (finish_record_type): During last pass over the fields, clear | |
6958 | DECL_BIT_FIELD when possible in the !STRICT_ALIGNMENT case, as this is | |
6959 | not covered by the calls to layout_decl. Adjust DECL_NONADDRESSABLE_P | |
6960 | from DECL_BIT_FIELD. | |
6961 | ||
71cbe2c1 KC |
6962 | 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> |
6963 | ||
90afe2c9 | 6964 | * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir). |
71cbe2c1 KC |
6965 | (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise. |
6966 | (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise. | |
6967 | ||
7f996f90 RO |
6968 | 2004-01-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6969 | ||
6970 | * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB. | |
6971 | ||
6972 | * 5fsystem.ads (Functions_Return_By_DSP): Set to False. | |
6973 | (ZCX_By_Default): Likewise. | |
6974 | (Front_End_ZCX_Support): Likewise. | |
6975 | ||
6976 | * 5gtaprop.adb (Stack_Guard): Mark T, On unreferenced. | |
6977 | (Initialize_Lock): Mark Level unreferenced. | |
6978 | (Sleep): Mark Reason unreferenced. | |
6979 | (Timed_Sleep): Likewise. | |
6980 | (Wakeup): Likewise. | |
6981 | (Exit_Task): Use Result. | |
6982 | (Check_No_Locks): Mark Self_ID unreferenced. | |
90afe2c9 | 6983 | |
7f996f90 RO |
6984 | * 5gtasinf.adb (New_Sproc): Make Attr constant. |
6985 | (Bound_Thread_Attributes): Make Sproc constant. | |
6986 | (New_Bound_Thread_Attributes): Likewise. | |
6987 | ||
26fd4eae AC |
6988 | 2004-01-26 Ed Schonberg <schonberg@gnat.com> |
6989 | ||
6990 | * exp_ch3.adb (Build_Slice_Assignment): New TSS procedure for | |
6991 | one-dimensional array an slice assignments, when component type is | |
6992 | controlled. | |
6993 | ||
6994 | * exp_ch5.adb (Expand_Assign_Array): If array is one-dimensional, | |
6995 | component type is controlled, and control_actions are in effect, use | |
6996 | TSS procedure rather than generating inline code. | |
6997 | ||
6998 | * exp_tss.ads (TSS_Slice_Assign): New TSS procedure for one-dimensional | |
6999 | arrays with controlled components. | |
7000 | ||
7001 | 2004-01-26 Vincent Celier <celier@gnat.com> | |
7002 | ||
7003 | * gnatcmd.adb (GNATCmd): Add specification of argument file on the | |
7004 | command line for the non VMS case. | |
7005 | ||
7006 | * gnatlink.adb (Process_Binder_File): When building object file, if | |
7007 | GNU linker is used, put all object paths between quotes, to prevent ld | |
7008 | error when there are unusual characters (such as '!') in the paths. | |
7009 | ||
7010 | * Makefile.generic: When there are sources in Ada and the main is in | |
7011 | C/C++, invoke gnatmake with -B, instead of -z. | |
7012 | ||
7013 | * vms_conv.adb (Preprocess_Command_Data): New procedure, extracted | |
7014 | from VMS_Conversion. | |
7015 | (Process_Argument): New procedure, extracted from VMS_Conversion. Add | |
7016 | specification of argument file on the command line. | |
7017 | ||
7018 | 2004-01-26 Bernard Banner <banner@gnat.com> | |
7019 | ||
7020 | * Makefile.in: Enable GMEM_LIB and SYMLIB for x86_64 | |
7021 | ||
7022 | 2004-01-26 Ed Schonberg <schonberg@gnat.com> | |
7023 | ||
7024 | * snames.adb: Update copyright notice. | |
7025 | Add info on slice assignment for controlled arrays. | |
7026 | ||
b7e429ab AC |
7027 | 2004-01-23 Robert Dewar <dewar@gnat.com> |
7028 | ||
7029 | * exp_aggr.adb: Minor reformatting | |
7030 | ||
7031 | * exp_ch9.adb: Minor code clean up | |
7032 | Minor reformatting | |
7033 | Fix bad character in comment | |
7034 | ||
7035 | PR ada/13471 | |
7036 | * targparm.adb (Get_Target_Parameters): Give clean abort error on | |
7037 | unexpected end of file, along with more detailed message. | |
7038 | ||
7039 | 2004-01-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
7040 | ||
7041 | * exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of | |
7042 | PAT. | |
7043 | ||
7044 | * decl.c (copy_alias_set): New function. | |
7045 | (gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it. | |
7046 | ||
7047 | 2004-01-23 Doug Rupp <rupp@gnat.com> | |
7048 | ||
7049 | * Makefile.in (install-gnatlib): Change occurrences of lib$$file to | |
7050 | lib$${file} in case subsequent character is not a separator. | |
7051 | ||
7052 | 2004-01-23 Vincent Celier <celier@gnat.com> | |
7053 | ||
7054 | * 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc | |
7055 | when the GCC version is at least 3. | |
7056 | ||
7057 | * make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches | |
7058 | Remove all "Opt.", to prepare for opt split | |
7059 | ||
7060 | * prj-part.adb (Parse_Single_Project): New Boolean out parameter | |
7061 | Extends_All. Set to True when the project parsed is an extending all | |
7062 | project. Fails for importing an extending all project only when the | |
7063 | imported project is an extending all project. | |
7064 | (Post_Parse_Context_Clause): Set Is_Extending_All to the with clause, | |
7065 | depending on the value of Extends_All returned. | |
7066 | ||
7067 | * prj-proc.adb (Process): Check that no project shares its object | |
7068 | directory with a project that extends it, directly or indirectly, | |
7069 | including a virtual project. | |
7070 | Check that no project extended by another project shares its object | |
7071 | directory with another also extended project. | |
7072 | ||
7073 | * prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for | |
7074 | Kind = N_With_Clause | |
7075 | ||
7076 | * prj-tree.ads: Minor reformatting | |
7077 | Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All). | |
7078 | ||
7079 | 2004-01-23 Ed Schonberg <schonberg@gnat.com> | |
7080 | ||
7081 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute | |
7082 | applies to a type with an incomplete view, use full view in Name of | |
7083 | clause, for consistency with uses of Get_Attribute_Definition_Clause. | |
7084 | ||
7085 | 2004-01-23 Arnaud Charlet <charlet@act-europe.fr> | |
7086 | ||
7087 | * 5itaprop.adb (Set_Priority): Reset the priority to 0 when using | |
7088 | SCHED_RR, since other values are not supported by this policy. | |
7089 | (Initialize): Move initialization of mutex attribute to package | |
7090 | elaboration, to prevent early access to this variable. | |
7091 | ||
7092 | * Makefile.in: Remove mention of Makefile.adalib, unused. | |
7093 | ||
b291953f AC |
7094 | * Makefile.adalib, 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb, |
7095 | 1ssecsta.ads: Removed, unused. | |
b7e429ab | 7096 | |
adc04486 AC |
7097 | 2004-01-21 Javier Miranda <miranda@gnat.com> |
7098 | ||
7099 | * exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master | |
7100 | entity if already built in the current scope. | |
7101 | ||
7102 | * exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity | |
7103 | reminder in internal scopes. Required for nested limited aggregates. | |
7104 | ||
7105 | 2004-01-21 Doug Rupp <rupp@gnat.com> | |
7106 | ||
7107 | * Makefile.in (hyphen): New variable, default value '-'. Set to '_' on | |
7108 | VMS. Replace all occurences of libgnat- and libgnarl- with | |
7109 | libgnat$(hyphen) and libgnarl$(hyphen). | |
7110 | Fixed shared library build problem on VMS. | |
7111 | ||
7112 | 2004-01-21 Robert Dewar <dewar@gnat.com> | |
7113 | ||
7114 | * mlib-prj.adb: Minor reformatting | |
7115 | ||
7116 | 2004-01-21 Thomas Quinot <quinot@act-europe.fr> | |
7117 | ||
7118 | * prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing | |
7119 | 'constant' keywords for declaration of pointers that are not modified. | |
7120 | ||
7121 | * exp_pakd.adb: Fix English in comment. | |
7122 | ||
7123 | 2004-01-21 Ed Schonberg <schonberg@gnat.com> | |
7124 | ||
7125 | PR ada/10889 | |
7126 | * sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype, | |
7127 | copy all attributes of the parent, including the foreign language | |
7128 | convention. | |
7129 | ||
7130 | 2004-01-21 Sergey Rybin <rybin@act-europe.fr> | |
7131 | ||
7132 | PR ada/10565 | |
7133 | * sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check | |
7134 | for 'delay until' statement. | |
7135 | ||
a541f69d KC |
7136 | 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> |
7137 | ||
7138 | * Make-lang.in: Replace $(docdir) with doc. | |
7139 | (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info | |
7140 | doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update | |
7141 | to use consistent MAKEINFO rule. | |
7142 | (ada.man, ada.srcman): Dummy entry. | |
7143 | (ADA_INFOFILES): Define. | |
7144 | (ada.info, ada.srcinfo): New rules. | |
7145 | ||
c01a9391 AC |
7146 | 2004-01-19 Arnaud Charlet <charlet@act-europe.fr> |
7147 | ||
7148 | * utils.c: Update copyright notice, missed in previous change. | |
7149 | ||
7150 | 2004-01-19 Vincent Celier <celier@gnat.com> | |
7151 | ||
7152 | * mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the | |
7153 | args if Bind is True. Set First_ALI, if not already done. | |
7154 | (Build_Library): For Stand Alone Libraries, extract from one ALI file | |
7155 | an eventual --RTS switch, for gnatbind, and all backend switches + | |
7156 | --RTS, for linking. | |
7157 | ||
7158 | 2004-01-19 Robert Dewar <dewar@gnat.com> | |
7159 | ||
7160 | * sem_attr.adb, memtrack.adb: Minor reformatting | |
7161 | ||
7162 | 2004-01-19 Ed Schonberg <schonberg@gnat.com> | |
7163 | ||
7164 | * exp_ch6.adb (Expand_Call): Remove code to fold calls to functions | |
7165 | that rename enumeration literals. This is properly done in sem_eval. | |
7166 | ||
7167 | * sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls | |
7168 | to functions that rename enumeration literals. | |
7169 | ||
7170 | * sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to | |
7171 | functions that rename enumeration literals. | |
7172 | ||
510d1e80 KH |
7173 | 2004-01-16 Kazu Hirata <kazu@cs.umass.edu> |
7174 | ||
7175 | * Make-lang.in (utils.o): Depend on target.h. | |
7176 | * utils.c: Include target.h. | |
7177 | (process_attributes): Use targetm.have_named_sections instead | |
7178 | of ASM_OUTPUT_SECTION_NAME. | |
7179 | ||
fbf3e0dd AJ |
7180 | 2004-01-16 Andreas Jaeger <aj@suse.de> |
7181 | ||
7182 | * Makefile.in: Add $(DESTDIR). | |
7183 | ||
acd47d2a AC |
7184 | 2004-01-15 Olivier Hainque <hainque@act-europe.fr> |
7185 | ||
7186 | * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size | |
7187 | also when not defining if a Size clause applies. That information is | |
7188 | not to be ignored. | |
7189 | ||
7190 | 2004-01-15 Arnaud Charlet <charlet@act-europe.fr> | |
7191 | ||
7192 | * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up | |
7193 | symbolic links for the shared gnat run time when needed. | |
7194 | ||
7195 | 2004-01-15 Vasiliy Fofanov <fofanov@act-europe.fr> | |
7196 | ||
7197 | * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened | |
7198 | for writing, and terminate with an error message if not. | |
7199 | ||
7200 | 2004-01-15 Ed Schonberg <schonberg@gnat.com> | |
7201 | ||
7202 | * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious | |
7203 | warning on an access to subprogram in an instance, when the target | |
7204 | type is declared in the same generic unit. | |
7205 | (Eval_Attribute): If 'access is known to fail accessibility check, | |
7206 | rewrite as a raise statement. | |
7207 | ||
7208 | 2004-01-15 GNAT Script <nobody@gnat.com> | |
7209 | ||
7210 | * Make-lang.in: Makefile automatically updated | |
7211 | ||
03787dfd KC |
7212 | 2004-01-15 Kelley Cook <kcook@gcc.gnu.org> |
7213 | ||
7214 | * Make-lang.in (ada.srcextra): Dummy entry. | |
7215 | ||
73e232f0 KC |
7216 | 2004-01-14 Kelley Cook <kcook@gcc.gnu.org> |
7217 | ||
7218 | * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode. | |
7219 | ||
9bc43c53 AC |
7220 | 2004-01-13 Ed Schonberg <schonberg@gnat.com> |
7221 | ||
7222 | * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled | |
7223 | components that are initialized with aggregates. | |
7224 | ||
7225 | 2004-01-13 Vincent Celier <celier@gnat.com> | |
7226 | ||
7227 | * gnatlink.adb (Process_Binder_File): To find directory of shared | |
7228 | libgcc, if "gcc-lib" is not a subdirectory, look for the last | |
7229 | subdirectory "lib" in the path of the shared libgnat or libgnarl. | |
7230 | ||
7231 | * make.adb (Gnatmake): If GCC version is at least 3, link with | |
7232 | -shared-libgcc, when there is at least one shared library project. | |
7233 | ||
7234 | * opt.ads (GCC_Version): New integer constant. | |
7235 | ||
7236 | * adaint.c (get_gcc_version): New function. | |
7237 | ||
7238 | 2004-01-13 Robert Dewar <dewar@gnat.com> | |
7239 | ||
7240 | * sem_dist.adb, sem_res.adb, sem_util.adb, | |
7241 | sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb, | |
7242 | exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting | |
7243 | ||
7244 | 2004-01-13 Thomas Quinot <quinot@act-europe.fr> | |
7245 | ||
7246 | * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb, | |
7247 | g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object | |
7248 | declarations. | |
7249 | ||
8b52de7b AC |
7250 | 2004-01-12 Arnaud Charlet <charlet@act-europe.fr> |
7251 | ||
f6ea0188 AC |
7252 | * misc.c: Remove trailing spaces. |
7253 | Update copyright notice missed in previous change. | |
7254 | ||
8b52de7b AC |
7255 | PR ada/13572 |
7256 | * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of | |
7257 | prefix/share/make | |
7258 | ||
7259 | * Makefile.generic: Update copyright. | |
7260 | Add license notice. | |
7261 | ||
7262 | * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead | |
7263 | of prefix/share/make. | |
7264 | ||
7265 | * Makefile.prolog: Update copyright. | |
7266 | Add license notice. | |
7267 | ||
7268 | 2004-01-12 Laurent Pautet <pautet@act-europe.fr> | |
7269 | ||
7270 | * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb, | |
7271 | 3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb, | |
7272 | g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr | |
7273 | instead of String. | |
7274 | ||
7275 | * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message | |
7276 | signature. | |
7277 | ||
7278 | 2004-01-12 Javier Miranda <miranda@gnat.com> | |
7279 | ||
7280 | * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb, | |
7281 | exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb, | |
7282 | sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb, | |
7283 | sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of | |
7284 | Component_Definition node. | |
7285 | ||
7286 | 2004-01-12 Ed Falis <falis@gnat.com> | |
7287 | ||
7288 | * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit | |
7289 | ||
7290 | 2004-01-12 Thomas Quinot <quinot@act-europe.fr> | |
7291 | ||
7292 | * link.c: Change default libgnat kind to STATIC for FreeBSD. | |
7293 | ||
7294 | 2004-01-12 Bernard Banner <banner@gnat.com> | |
7295 | ||
7296 | * Makefile.in: map 86numaux to a-numaux for x86_64 | |
7297 | ||
7298 | 2004-01-12 Ed Schonberg <schonberg@gnat.com> | |
7299 | ||
7300 | * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity | |
7301 | generated to rename a generic actual, go to the actual itself, the | |
7302 | subtype is not a user-visible entity. | |
7303 | ||
7304 | * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible | |
7305 | part is a private subtype, reset the visibility of its full view, if | |
7306 | any, to be consistent. | |
7307 | ||
7308 | PR ada/13417 | |
7309 | * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt | |
7310 | to use a generic package G as a formal package for another generic | |
7311 | declared within G. | |
7312 | ||
7313 | 2004-01-12 Robert Dewar <dewar@gnat.com> | |
7314 | ||
7315 | * trans.c (Eliminate_Error_Msg): New procedure called to generate msg | |
7316 | ||
7317 | * usage.adb: Remove mention of obsolete -gnatwb switch | |
7318 | Noticed during code reading | |
7319 | ||
7320 | 2004-01-12 Jerome Guitton <guitton@act-europe.fr> | |
7321 | ||
7322 | * 1ssecsta.adb: Minor changes for -gnatwa warnings | |
7323 | ||
7324 | 2004-01-12 GNAT Script <nobody@gnat.com> | |
7325 | ||
7326 | * Make-lang.in: Makefile automatically updated | |
7327 | ||
0fab64a3 MM |
7328 | 2004-01-09 Mark Mitchell <mark@codesourcery.com> |
7329 | ||
7330 | * misc.c (gnat_expand_expr): Add alt_rtl parameter. | |
7331 | ||
47527624 RO |
7332 | 2004-01-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7333 | ||
7334 | * link.c [sgi] (shared_libgnat_default): Change to STATIC. | |
7335 | ||
dedebde1 KC |
7336 | 2004-01-05 Kelley Cook <kcook@gcc.gnu.org> |
7337 | ||
fbf3e0dd | 7338 | * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18. |
dedebde1 KC |
7339 | Update comment and copyright date. |
7340 | * stamp-xgnatug: Delete. | |
7341 | ||
91b1417d AC |
7342 | 2004-01-05 Robert Dewar <dewar@gnat.com> |
7343 | ||
7344 | * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may | |
7345 | be modified by the binder generated main program if the -D switch is | |
7346 | used. | |
7347 | ||
7348 | * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all | |
7349 | imported functions (since now we expect this to be done for imported | |
7350 | functions) | |
7351 | ||
7352 | * 5vtaprop.adb: Add several ??? for sections requiring more comments | |
7353 | Minor reformatting throughout | |
7354 | ||
7355 | * 5zinit.adb: Minor reformatting | |
7356 | Add 2004 to copyright date | |
7357 | Minor changes to avoid -gnatwa warnings | |
7358 | Correct some instances of using OR instead of OR ELSE (noted while | |
7359 | doing reformatting) | |
7360 | ||
7361 | * sprint.adb: Minor updates to avoid -gnatwa warnings | |
7362 | ||
fbf3e0dd | 7363 | * s-secsta.ads, s-secsta.adb: |
91b1417d AC |
7364 | (SS_Get_Max): New function to obtain high water mark for ss stack |
7365 | Default_Secondary_Stack is not a constant since it may be modified by | |
7366 | the binder generated main program if the -D switch is used. | |
7367 | ||
7368 | * switch-b.adb: New -Dnnn switch for binder | |
7369 | ||
fbf3e0dd | 7370 | * switch-c.adb: |
91b1417d AC |
7371 | Make -gnatg imply all warnings currently in -gnatwa |
7372 | ||
7373 | * vms_conv.adb: Minor reformatting | |
7374 | Add 2004 to copyright notice | |
7375 | Add 2004 to printed copyright notice | |
7376 | ||
7377 | * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb, | |
7378 | 3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb, | |
7379 | 5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb, | |
7380 | 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb, | |
7381 | 5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb, | |
7382 | 5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb, | |
7383 | 5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb, | |
7384 | 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb, | |
7385 | 5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb, | |
7386 | 5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb, | |
7387 | 6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb, | |
7388 | vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb, | |
7389 | xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads, | |
7390 | sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb, | |
7391 | checks.adb, clean.adb, cstand.adb, einfo.ads, | |
7392 | einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb, | |
7393 | exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb, | |
7394 | prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb, | |
7395 | sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb, | |
7396 | g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb, | |
7397 | lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb: | |
7398 | Minor reformatting and code clean ups. | |
7399 | Minor changes to prevent -gnatwa warnings | |
7400 | ||
7401 | * ali.adb: Minor reformatting and cleanup of code | |
7402 | Acquire new SS indication of secondary stack use from ali files | |
7403 | ||
7404 | * a-numaux.ads: Add Pure_Function pragmas for all imported functions | |
7405 | (since now we expect this to be done for imported functions) | |
7406 | ||
7407 | * bindgen.adb: Generate call to modify default secondary stack size if | |
7408 | -Dnnn switch given | |
7409 | ||
7410 | * bindusg.adb: Add line for new -D switch | |
7411 | ||
7412 | * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate | |
7413 | replacement name for Type_May_Have_Non_Bit_Aligned_Components! | |
7414 | Add circuitry for both records and arrays to avoid gigi | |
7415 | processing if the type involved has non-bit-aligned components | |
7416 | ||
7417 | * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that | |
7418 | N_String_Literal node always references an E_String_Literal_Subtype | |
7419 | entity. This may not be true in the future. | |
7420 | (Possible_Bit_Aligned_Component): Move processing of | |
7421 | Component_May_Be_Bit_Aligned from exp_ch5 to exp_util | |
7422 | ||
7423 | * exp_ch6.adb (Expand_Thread_Body): Pick up | |
7424 | Default_Secondary_Stack_Size as variable so that we get value modified | |
7425 | by possible -Dnnn binder parameter. | |
7426 | ||
7427 | * exp_util.adb (Component_May_Be_Bit_Aligned): New function. | |
7428 | (Type_May_Have_Bit_Aligned_Components): New function. | |
7429 | ||
7430 | * exp_util.ads (Component_May_Be_Bit_Aligned): New function. | |
7431 | (Type_May_Have_Bit_Aligned_Components): New function. | |
7432 | ||
7433 | * fe.h: (Set_Identifier_Casing): Fix prototype. | |
7434 | Add declaration for Sem_Elim.Eliminate_Error_Msg. | |
7435 | Minor reformatting. | |
7436 | ||
7437 | * freeze.adb (Freeze_Entity): Add RM reference to error message about | |
7438 | importing constant atomic/volatile objects. | |
7439 | (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram | |
7440 | unless explicit Pure_Function pragma given, to avoid insidious bug of | |
7441 | call to non-pure imported function getting eliminated. | |
7442 | ||
7443 | * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb, | |
7444 | gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb, | |
7445 | gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting | |
7446 | Add 2004 to printed copyright notice | |
7447 | ||
7448 | * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary | |
7449 | stack used. | |
7450 | ||
7451 | * Makefile.rtl: Add entry for g-sestin.o | |
7452 | g-sestin.ads: New file. | |
7453 | ||
7454 | * mdll.adb: Minor changes to avoid -gnatwa warnings | |
7455 | ||
7456 | * mlib-tgt.adb: Minor reformatting | |
7457 | ||
7458 | * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND) | |
7459 | New switch Sec_Stack_Used (GNAT, GNATBIND) | |
7460 | Make Default_Secondary_Stack_Size a variable instead of a constant, | |
7461 | so that it can be modified by the new -Dnnn bind switch. | |
7462 | ||
7463 | * rtsfind.adb (Load_Fail): Give full error message in configurable | |
7464 | run-time mode if all_errors mode is set. This was not done in the case | |
7465 | of a file not found, which was an oversight. | |
7466 | Note if secondary stack unit is used by compiler. | |
7467 | ||
7468 | * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put | |
7469 | ineffective elaborate all pragmas on non-visible packages (this | |
7470 | happened when a renamed subprogram was called). Now the elaborate all | |
7471 | always goes on the package containing the renaming rather than the one | |
7472 | containing the renamed subprogram. | |
7473 | ||
7474 | * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure | |
7475 | (Process_Eliminate_Pragma): Add parameter to capture pragma location. | |
7476 | ||
7477 | * sem_eval.adb (Eval_String_Literal): Do not assume that string literal | |
7478 | has an Etype that references an E_String_Literal. | |
7479 | (Eval_String_Literal): Avoid assumption that N_String_Literal node | |
7480 | always references an E_String_Literal_Subtype entity. This may not | |
7481 | be true in the future. | |
7482 | ||
7483 | * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture | |
7484 | pragma location. | |
7485 | ||
7486 | * sem_res.adb (Resolve): Specialize msg for function name used in proc | |
7487 | call. | |
7488 | ||
7489 | 2004-01-05 Ed Falis <falis@gnat.com> | |
7490 | ||
7491 | * g-debuti.adb: Replaced direct boolean operator with short-circuit | |
7492 | form. | |
7493 | ||
7494 | 2004-01-05 Vincent Celier <celier@gnat.com> | |
7495 | ||
7496 | * bld.adb: Minor comment updates | |
7497 | (Process_Declarative_Items): Correct incorrect name (Index_Name instead | |
7498 | of Item_Name). | |
7499 | ||
7500 | * make.adb (Gnatmake): Special process for files to compile/check when | |
7501 | -B is specified. Fail when there are only foreign mains in attribute | |
7502 | Main of the project file and -B is not specified. Do not skip bind/link | |
7503 | steps when -B is specified. | |
7504 | ||
7505 | * makeusg.adb: Document new switch -B | |
7506 | ||
7507 | * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag | |
7508 | ||
7509 | * switch-m.adb: (Scan_Make_Switches): Process -B switch | |
7510 | ||
7511 | * vms_data.ads: Add new GNAT PRETTY qualifier | |
7512 | /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff | |
7513 | ||
7514 | 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
7515 | ||
7516 | * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer | |
7517 | case. | |
7518 | ||
7519 | * misc.c (gnat_printable_name): If VERBOSITY is 2, call | |
7520 | Set_Identifier_Casing. | |
7521 | ||
7522 | * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type | |
7523 | has size that overflows. | |
7524 | ||
7525 | 2004-01-05 Gary Dismukes <dismukes@gnat.com> | |
7526 | ||
7527 | * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid | |
7528 | -gnatwa warning on static condition. | |
7529 | ||
7530 | 2004-01-05 Doug Rupp <rupp@gnat.com> | |
7531 | ||
7532 | * link.c: (shared_libgnat_default) [VMS]: Change to STATIC. | |
7533 | ||
7534 | 2004-01-05 Arnaud Charlet <charlet@act-europe.fr> | |
7535 | ||
7536 | * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve | |
7537 | all attributes, including read-only attribute. | |
7538 | ||
7539 | 2004-01-05 Pascal Obry <obry@gnat.com> | |
7540 | ||
7541 | * bindgen.adb (Gen_Object_Files_Options): Generate the new shared | |
7542 | library naming scheme. | |
7543 | ||
7544 | * mlib-prj.adb (Build_Library): Generate different names for the static | |
7545 | or dynamic version of the GNAT runtime. This is needed to support the | |
7546 | new shared library naming scheme. | |
7547 | (Process_Binder_File): Add detection of shared library in binder file | |
7548 | based on the new naming scheme. | |
7549 | ||
7550 | * gnatlink.adb (Process_Binder_File): Properly detect the new naming | |
7551 | scheme for the shared runtime libraries. | |
7552 | ||
7553 | * Makefile.in: | |
7554 | (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming | |
7555 | scheme. | |
7556 | (install-gnatlib): Do not create symlinks for shared libraries. | |
7557 | (gnatlib-shared-default): Idem. | |
7558 | (gnatlib-shared-dual-win32): New target. Not used for now as the | |
7559 | auto-import feature does not support arrays/records. | |
7560 | (gnatlib-shared-win32): Do not create copy for the shared libraries. | |
7561 | (gnatlib-shared-vms): Fix shared runtime libraries names. | |
7562 | ||
7563 | * osint.ads, osint.adb (Shared_Lib): New routine, returns the target | |
7564 | dependent runtime shared library name. | |
7565 | ||
7566 | 2004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr> | |
7567 | ||
7568 | * osint.adb (Read_Library_Info): Remove bogus check if ALI is older | |
7569 | than the object. | |
7570 | ||
7571 | 2004-01-05 Ed Schonberg <schonberg@gnat.com> | |
7572 | ||
7573 | * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic | |
7574 | protected objects when allocator has a subtype indication, not a | |
7575 | qualified expression. Note that qualified expressions may have to be | |
7576 | checked when limited aggregates are implemented. | |
7577 | ||
7578 | * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is | |
7579 | pure, emit warning. | |
7580 | (Analyze_Pragma, case Pure_Function): If enclosing package is pure and | |
7581 | subprogram is imported, remove warning. | |
7582 | ||
7583 | 2004-01-05 Geert Bosch <bosch@gnat.com> | |
7584 | ||
7585 | * s-poosiz.adb: Update copyright notice. | |
7586 | (Allocate): Use Task_Lock to protect against concurrent access. | |
7587 | (Deallocate): Likewise. | |
7588 | ||
7589 | 2004-01-05 Joel Brobecker <brobecker@gnat.com> | |
7590 | ||
7591 | * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ??? | |
7592 | comment. | |
7593 | ||
2ab127f3 KC |
7594 | 2003-12-23 Kelley Cook <kcook@gcc.gnu.org> |
7595 | ||
7596 | * gnat_ug.texi: Force a CVS commit by updating copyright. | |
7597 | * gnat_ug_vxw.texi: Regenerate. | |
7598 | * gnat_ug_wnt.texi: Regenerate. | |
7599 | * gnat_ug_vms.texi: Regenerate. | |
7600 | * gnat_ug_unx.texi: Regenerate. | |
7601 | ||
aed8bfdc KH |
7602 | 2003-12-20 Kazu Hirata <kazu@cs.umass.edu> |
7603 | ||
7604 | * trans.c: Remove uses of "register" specifier in | |
7605 | declarations of local variables. | |
7606 | ||
90c2f1de KC |
7607 | 2003-12-18 Kelley Cook <kcook@gcc.gnu.org> |
7608 | ||
7609 | * stamp-xgnatug: New stamp file. | |
7610 | * Make-lang.in (stamp-xgnatug): New stamp file and comment. | |
7611 | (ada/doctools/xgnatug): Add $(build_exeext). | |
7612 | (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi | |
7613 | ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug. | |
7614 | ||
891a6e79 AC |
7615 | 2003-12-17 Ed Falis <falis@gnat.com> |
7616 | ||
7617 | * a-elchha.adb (Tailored_Exception_Information): made Info constant to | |
7618 | eliminate warning. | |
7619 | ||
7620 | * a-exextr.adb: Add context clause for | |
7621 | Ada.Exceptions.Last_Chance_Handler. | |
7622 | ||
7623 | 2003-12-17 Sergey Rybin <rybin@act-europe.fr> | |
7624 | ||
7625 | * cstand.adb (Create_Standard): Change the way how the declaration of | |
7626 | the Duration type is created (making it the same way as it is for all | |
7627 | the other standard types). | |
7628 | ||
7629 | 2003-12-17 Robert Dewar <dewar@gnat.com> | |
7630 | ||
7631 | * s-crtl.ads: Fix header format | |
7632 | Change Pure to Preelaborate | |
7633 | ||
7634 | 2003-12-17 Ed Schonberg <schonberg@gnat.com> | |
7635 | ||
7636 | * checks.adb (Selected_Length_Checks): Generate an Itype reference for | |
7637 | the expression type only if it is declared in the current unit. | |
7638 | ||
7639 | * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds | |
7640 | are universal and already analyzed, as can occur in constrained | |
7641 | subcomponents that depend on discriminants, when one constraint is a | |
7642 | subtype mark. | |
7643 | ||
7644 | * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of | |
7645 | type Any_Fixed is legal as the argument of a conversion, if only one | |
7646 | fixed-point type is in context. | |
7647 | ||
7648 | 2003-12-17 GNAT Script <nobody@gnat.com> | |
7649 | ||
7650 | * Make-lang.in: Makefile automatically updated | |
7651 | ||
209db2bf AC |
7652 | 2003-12-15 Robert Dewar <dewar@gnat.com> |
7653 | ||
7654 | * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default | |
7655 | sec stack size. | |
7656 | ||
7657 | 2003-12-15 Vincent Celier <celier@gnat.com> | |
7658 | ||
7659 | * gnatchop.adb: (Error_Msg): Do not exit on error for a warning | |
7660 | (Gnatchop): Do not set failure status when reporting the number of | |
7661 | warnings. | |
7662 | ||
7663 | 2003-12-15 Doug Rupp <rupp@gnat.com> | |
7664 | ||
7665 | * s-ctrl.ads: New file. | |
7666 | ||
7667 | * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext). | |
7668 | ||
7669 | * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o. | |
7670 | (GNATBIND_OBJS): Add ada/s-crtl.o. | |
7671 | ||
7672 | * Makefile.in [VMS]: Clean up ifeq rules. | |
7673 | ||
7674 | * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb, | |
7675 | a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb, | |
7676 | g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb, | |
7677 | s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb, | |
7678 | s-tasdeb.adb: Update copyright. | |
7679 | Import System.CRTL. | |
7680 | Make minor modifications to use System.CRTL declared functions instead | |
7681 | of importing locally. | |
7682 | ||
7683 | 2003-12-15 GNAT Script <nobody@gnat.com> | |
7684 | ||
7685 | * Make-lang.in: Makefile automatically updated | |
7686 | ||
a9f4e3d2 AC |
7687 | 2003-12-11 Ed Falis <falis@gnat.com> |
7688 | ||
7689 | * 5zinit.adb: Clean up. | |
7690 | ||
7691 | * 5zintman.adb (Notify_Exception): replaced case statement with a call | |
7692 | to __gnat_map_signal, imported from init.c to support | |
7693 | signal -> exception mappings that depend on the vxWorks version. | |
7694 | ||
fbf3e0dd | 7695 | * init.c: |
a9f4e3d2 AC |
7696 | Created and exported __gnat_map_signal to support signal -> exception |
7697 | mapping that is dependent on the VxWorks version. | |
7698 | Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks | |
7699 | ||
7700 | 2003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr> | |
7701 | ||
7702 | * 5wosinte.ads: Link with -mthreads switch. | |
7703 | ||
7704 | 2003-12-11 Arnaud Charlet <charlet@act-europe.fr> | |
7705 | ||
7706 | * init.c (__gnat_install_handler [NetBSD]): Set | |
7707 | __gnat_handler_installed, as done on all other platforms. | |
7708 | Remove duplicated code. | |
7709 | ||
7710 | 2003-12-11 Jerome Guitton <guitton@act-europe.fr> | |
7711 | ||
7712 | * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a. | |
7713 | ||
7714 | 2003-12-11 Thomas Quinot <quinot@act-europe.fr> | |
7715 | ||
7716 | * sinfo.ads: Fix inconsistent example code in comment. | |
7717 | ||
7718 | 2003-12-11 Robert Dewar <dewar@gnat.com> | |
7719 | ||
7720 | * a-tiinau.adb: Add a couple of comments | |
7721 | ||
7722 | * sem_ch3.adb: Minor reformatting | |
7723 | ||
fbf3e0dd | 7724 | * sem_prag.adb: |
a9f4e3d2 AC |
7725 | Fix bad prototype of Same_Base_Type in body (code reading cleanup) |
7726 | Minor reformatting throughout | |
7727 | ||
7728 | 2003-12-11 Ed Schonberg <schonberg@gnat.com> | |
7729 | ||
7730 | * exp_ch7.adb (Establish_Transient_Scope): If the call is within the | |
7731 | bounds of a loop, create a separate block in order to generate proper | |
7732 | cleanup actions to prevent memory leaks. | |
7733 | ||
7734 | * sem_res.adb (Resolve_Call): After a call to | |
7735 | Establish_Transient_Scope, the call may be rewritten and relocated, in | |
7736 | which case no further processing is needed. | |
7737 | ||
7738 | * sem_util.adb: (Wrong_Type): Refine previous fix. | |
7739 | Fixes ACATS regressions. | |
7740 | ||
7741 | PR ada/13353 | |
7742 | ||
7743 | * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always | |
7744 | be inlined. | |
7745 | ||
c45b6ae0 AC |
7746 | 2003-12-08 Jerome Guitton <guitton@act-europe.fr> |
7747 | ||
7748 | * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb, | |
7749 | i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of | |
7750 | obsolete files. | |
7751 | ||
7752 | * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a. | |
7753 | (rts-zfp): Ditto. | |
7754 | ||
7755 | 2003-12-08 Robert Dewar <dewar@gnat.com> | |
7756 | ||
7757 | * 7sintman.adb: Minor reformatting | |
7758 | ||
7759 | * bindgen.adb: Configurable_Run_Time mode no longer suppresses the | |
7760 | standard linker options to get standard libraries linked. We now plan | |
7761 | to provide dummy versions of these libraries to match the appropriate | |
7762 | configurable run-time (e.g. if a library is not needed at all, provide | |
7763 | a dummy empty library). | |
7764 | ||
7765 | * targparm.ads: Configurable_Run_Time mode no longer affects linker | |
7766 | options (-L parameters and standard libraries). What we plan to do is | |
7767 | to provide dummy libraries where the libraries are not required. | |
7768 | ||
7769 | * gnatbind.adb: Minor comment improvement | |
7770 | ||
7771 | 2003-12-08 Javier Miranda <miranda@gnat.com> | |
7772 | ||
7773 | * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded | |
7774 | aggregate in the parent. Otherwise constants with limited aggregates | |
7775 | are not supported. Add new formal to pass the component type (Ctype). | |
7776 | It is required to call the corresponding IP subprogram in case of | |
7777 | default initialized components. | |
7778 | (Gen_Assign): In case of default-initialized component, generate a | |
7779 | call to the IP subprogram associated with the component. | |
7780 | (Build_Record_Aggr_Code): Remove the aggregate from the parent in case | |
7781 | of aggregate with default initialized components. | |
7782 | (Has_Default_Init_Comps): Improve implementation to recursively check | |
7783 | all the present expressions. | |
7784 | ||
7785 | * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal | |
7786 | to indicate that the initialization call corresponds to a | |
7787 | default-initialized component of an aggregate. | |
7788 | In case of default initialized aggregate with tasks this parameter is | |
7789 | used to generate a null string (this is just a workaround that must be | |
7790 | improved later). In case of discriminants, this parameter is used to | |
7791 | generate a selected component node that gives access to the discriminant | |
7792 | value. | |
7793 | ||
7794 | * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New | |
7795 | subprogram, based on Build_Task_Allocate_Block, but adapted to expand | |
7796 | allocated aggregates with default-initialized components. | |
7797 | ||
7798 | * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if | |
7799 | the box notation is used in positional aggregates. | |
7800 | ||
7801 | 2003-12-08 Samuel Tardieu <tardieu@act-europe.fr> | |
7802 | ||
7803 | * lib.ads: Fix typo in comment | |
7804 | ||
7805 | 2003-12-08 Vincent Celier <celier@gnat.com> | |
7806 | ||
7807 | * prj.adb (Project_Empty): New component Unkept_Comments | |
7808 | (Scan): Remove procedure; moved to Prj.Err. | |
7809 | ||
7810 | * prj.ads (Project_Data): New Boolean component Unkept_Comments | |
7811 | (Scan): Remove procedure; moved to Prj.Err. | |
7812 | ||
7813 | * prj-dect.adb: Manage comments for the different declarations. | |
7814 | ||
7815 | * prj-part.adb (With_Record): New component Node | |
7816 | (Parse): New Boolean parameter Store_Comments, defaulted to False. | |
7817 | Set the scanner to return ends of line and comments as tokens, if | |
7818 | Store_Comments is True. | |
7819 | (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that | |
7820 | comments are associated with these nodes. Store the node IDs in the | |
7821 | With_Records. | |
7822 | (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the | |
7823 | With_Records. | |
7824 | (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating | |
7825 | the N_Project node. Call Tree.Save and Tree.Reset before scanning the | |
7826 | current project. Call Tree.Restore afterwards. Set the various nodes | |
7827 | for comment storage (Next_End, End_Of_Line, Previous_Line, | |
7828 | Previous_End). | |
7829 | ||
7830 | * prj-part.ads (Parse): New Boolean parameter Store_Comments, | |
7831 | defaulted to False. | |
7832 | ||
7833 | * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted | |
7834 | to False. When Truncated is True, truncate the string, never go to the | |
7835 | next line. | |
7836 | (Write_End_Of_Line_Comment): New procedure | |
7837 | (Print): Process comments for nodes N_With_Clause, | |
7838 | N_Package_Declaration, N_String_Type_Declaration, | |
7839 | N_Attribute_Declaration, N_Typed_Variable_Declaration, | |
7840 | N_Variable_Declaration, N_Case_Construction, N_Case_Item. | |
7841 | Process nodes N_Comment. | |
7842 | ||
7843 | * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node | |
7844 | without comments and there are some comments, set the flag | |
7845 | Unkept_Comments to True. | |
7846 | (Scan): If there are comments, set the flag Unkept_Comments to True and | |
7847 | clear the comments. | |
7848 | (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment | |
7849 | (Next_End_Nodes: New table | |
7850 | (Comment_Zones_Of): New function | |
7851 | (Scan): New procedure; moved from Prj. Accumulate comments in the | |
7852 | Comments table and set end of line comments, comments after, after end | |
7853 | and before end. | |
7854 | (Add_Comments): New procedure | |
7855 | (Save, Restore, Seset_State): New procedures | |
7856 | (There_Are_Unkept_Comments): New function | |
7857 | (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures | |
7858 | (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New | |
7859 | procedures. | |
7860 | (First_Comment_After, First_Comment_After_End): New functions | |
7861 | (First_Comment_Before, First_Comment_Before_End): New functions | |
7862 | (Next_Comment): New function | |
7863 | (End_Of_Line_Comment, Follows_Empty_Line, | |
7864 | Is_Followed_By_Empty_Line): New functions | |
7865 | (Set_First_Comment_After, Set_First_Comment_After_End): New procedures | |
7866 | (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures | |
7867 | (Set_Next_Comment): New procedure | |
7868 | (Default_Project_Node): Associate comment before if the node can store | |
7869 | comments. | |
7870 | ||
7871 | * scans.ads (Token_Type): New enumeration value Tok_Comment | |
7872 | (Comment_Id): New global variable | |
7873 | ||
7874 | * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable, | |
7875 | defaulted to False. | |
7876 | (Scan): Store position of start of comment. If comments are tokens, set | |
7877 | Comment_Id and set Token to Tok_Comment when scanning a comment. | |
7878 | (Set_Comment_As_Token): New procedure | |
7879 | ||
7880 | * sinput-p.adb: Update Copyright notice | |
7881 | (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan | |
7882 | that no longer exists. | |
7883 | ||
7884 | 2003-12-08 Javier Miranda <miranda@gnat.com> | |
7885 | ||
7886 | * sem_aggr.adb: Add dependence on Exp_Tss package | |
7887 | Correct typo in comment | |
7888 | (Resolve_Aggregate): In case of array aggregates set the estimated | |
7889 | type of the aggregate before calling resolve. This is needed to know | |
7890 | the name of the corresponding IP in case of limited array aggregates. | |
7891 | (Resolve_Array_Aggregate): Delay the resolution to the expansion phase | |
7892 | in case of default initialized array components. | |
7893 | ||
7894 | * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited | |
7895 | types. Required to give support to limited aggregates in generic | |
7896 | formals. | |
7897 | ||
7898 | 2003-12-08 Ed Schonberg <schonberg@gnat.com> | |
7899 | ||
7900 | * sem_ch3.adb (Check_Initialization): For legality purposes, an | |
7901 | inlined body functions like an instantiation. | |
7902 | (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype | |
7903 | until bounds are analyzed, to diagnose premature use of type. | |
7904 | ||
7905 | * sem_util.adb (Wrong_Type): Improve error message when the type of | |
7906 | the expression is used prematurely. | |
7907 | ||
7908 | 2003-12-08 GNAT Script <nobody@gnat.com> | |
7909 | ||
7910 | * Make-lang.in: Makefile automatically updated | |
7911 | ||
0875a894 AC |
7912 | 2003-12-08 Arnaud Charlet <charlet@act-europe.fr> |
7913 | ||
7618d510 AC |
7914 | * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since |
7915 | they are automatically generated by Make-lang.in and cause nothing but | |
0875a894 AC |
7916 | maintenance troubles. |
7917 | ||
5b4994bc AC |
7918 | 2003-12-05 Thomas Quinot <quinot@act-europe.fr> |
7919 | ||
7920 | * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare, | |
7921 | version of this unit). | |
7922 | ||
7923 | 2003-12-05 Olivier Hainque <hainque@act-europe.fr> | |
7924 | ||
7925 | * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads, | |
7926 | 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads, | |
7927 | 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from | |
7928 | the body of System.Interrupt_Management common to several targets. | |
7929 | Update copyright notice when appropriate. | |
7930 | ||
7931 | * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO | |
7932 | constant. | |
7933 | ||
7934 | * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags, | |
7935 | to ensure that the kernel fills in the interrupted context structure | |
7936 | before calling a signal handler, which is necessary to be able to | |
7937 | unwind past it. Update the copyright notice. | |
7938 | ||
7939 | 2003-12-05 Jerome Guitton <guitton@act-europe.fr> | |
7940 | ||
7941 | * a-elchha.ads: New file. | |
7942 | ||
7943 | * a-elchha.adb: New default last chance handler. Contents taken from | |
7944 | Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate. | |
7945 | ||
7946 | * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine | |
7947 | is moved to a-elchha.adb to provide a target-independent default last | |
7948 | chance handler. | |
7949 | ||
7950 | * Makefile.rtl: Add a-elchha.o | |
7951 | ||
7952 | * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o. | |
7953 | ||
7954 | 2003-12-05 Ed Schonberg <schonberg@gnat.com> | |
7955 | ||
7956 | * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is | |
7957 | declared in an instance, do not inline the call if the instance is not | |
7958 | frozen yet, to prevent order of elaboration problems. | |
7959 | ||
7960 | * sem_prag.adb: Add comments for previous fix. | |
7961 | ||
7962 | 2003-12-05 Samuel Tardieu <tardieu@act-europe.fr> | |
7963 | ||
7964 | * g-table.adb: Use the right variable in Set_Item. | |
7965 | Update copyright notice. | |
7966 | ||
7967 | 2003-12-05 Arnaud Charlet <charlet@act-europe.fr> | |
7968 | ||
7969 | * Makefile.in: Remove unused rules. | |
7970 | ||
7971 | 2003-12-05 Vincent Celier <celier@gnat.com> | |
7972 | ||
7973 | * switch-c.adb (Scan_Front_End_Switches): Remove processing of | |
7974 | -nostdlib. Not needed here after all. | |
7975 | ||
efdfd311 AC |
7976 | 2003-12-03 Thomas Quinot <quinot@act-europe.fr> |
7977 | ||
7978 | PR ada/11724 | |
7979 | ||
fbf3e0dd | 7980 | * adaint.h, adaint.c, g-os_lib.ads: |
efdfd311 AC |
7981 | Do not assume that the offset argument to lseek(2) is a 32 bit integer, |
7982 | on some platforms (including FreeBSD), it is a 64 bit value. | |
7983 | Introduce a __gnat_lseek wrapper in adaint.c to allow for portability. | |
7984 | ||
7985 | 2003-12-03 Arnaud Charlet <charlet@act-europe.fr> | |
7986 | ||
7987 | * gnatvsn.ads (Library_Version): Now contain only the relevant | |
7988 | version info. | |
7989 | (Verbose_Library_Version): New constant. | |
7990 | ||
7991 | * g-spipat.adb, g-awk.adb, g-debpoo.adb, | |
7992 | g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb, | |
7993 | s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa. | |
7994 | ||
7995 | * gnatlbr.adb: Clean up: replace Library_Version by | |
7996 | Verbose_Library_Version. | |
7997 | ||
fbf3e0dd | 7998 | * make.adb, lib-writ.adb, exp_attr.adb: |
efdfd311 AC |
7999 | Clean up: replace Library_Version by Verbose_Library_Version. |
8000 | ||
8001 | * 5lintman.adb: Removed. | |
8002 | ||
fbf3e0dd | 8003 | * Makefile.in: |
efdfd311 AC |
8004 | Update and simplify computation of LIBRARY_VERSION. |
8005 | Fix computation of GSMATCH_VERSION. | |
8006 | 5lintman.adb is no longer used: replaced by 7sintman.adb. | |
8007 | ||
8008 | 2003-12-03 Robert Dewar <dewar@gnat.com> | |
8009 | ||
fbf3e0dd | 8010 | * exp_ch5.adb: |
efdfd311 AC |
8011 | (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new |
8012 | name. Modified to consider small non-bit-packed arrays as troublesome | |
8013 | and in need of component-by-component assigment expansion. | |
8014 | ||
8015 | 2003-12-03 Vincent Celier <celier@gnat.com> | |
8016 | ||
8017 | * lang-specs.h: Process nostdlib as nostdinc | |
8018 | ||
8019 | * back_end.adb: Update Copyright notice | |
8020 | (Scan_Compiler_Arguments): Process -nostdlib directly. | |
8021 | ||
8022 | 2003-12-03 Jose Ruiz <ruiz@act-europe.fr> | |
8023 | ||
fbf3e0dd | 8024 | * Makefile.in: |
efdfd311 AC |
8025 | When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the |
8026 | redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always | |
8027 | included in HIE_NONE_TARGET_PAIRS. | |
8028 | ||
8029 | 2003-12-03 Ed Schonberg <schonberg@gnat.com> | |
8030 | ||
fbf3e0dd | 8031 | * sem_attr.adb: |
efdfd311 AC |
8032 | (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it |
8033 | is legal in an instance, because legality is cheched in the template. | |
8034 | ||
fbf3e0dd | 8035 | * sem_prag.adb: |
efdfd311 AC |
8036 | (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be |
8037 | appplied to an unchecked conversion of a formal parameter. | |
8038 | ||
fbf3e0dd | 8039 | * sem_warn.adb: |
efdfd311 AC |
8040 | (Output_Unreferenced_Messages): Suppress "not read" warnings on imported |
8041 | variables. | |
8042 | ||
8043 | 2003-12-03 Olivier Hainque <hainque@act-europe.fr> | |
8044 | ||
8045 | * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New | |
8046 | routines. The second one is new functionality to deal with backtracing | |
8047 | through signal handlers. | |
8048 | (unwind): Split into the two separate subroutines above. | |
8049 | Update the documentation, and deal properly with sizeof (REG) different | |
8050 | from sizeof (void*). | |
8051 | ||
08aa9a4a AC |
8052 | 2003-12-01 Nicolas Setton <setton@act-europe.fr> |
8053 | ||
8054 | * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point, | |
8055 | so that the debugger can reliably access the value of the parameter, | |
8056 | and therefore is able to display the exception name when an exception | |
8057 | breakpoint is reached. | |
8058 | ||
8059 | 2003-12-01 Thomas Quinot <quinot@act-europe.fr> | |
8060 | ||
8061 | * fmap.adb: Fix typo in warning message. | |
8062 | ||
8063 | * g-socket.ads, g-socket.adb: Make Free a visible instance of | |
8064 | Ada.Unchecked_Deallocation (no need to wrap it in a subprogram). | |
8065 | ||
8066 | 2003-12-01 Vincent Celier <celier@gnat.com> | |
8067 | ||
8068 | * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if | |
8069 | ther is no Afile. | |
8070 | (Build_Library): Get the switches only if Default_Switches is declared | |
8071 | in package Binder. | |
8072 | ||
8073 | 2003-12-01 Ed Schonberg <schonberg@gnat.com> | |
8074 | ||
8075 | * exp_ch6.adb (Expand_Actuals): When applying validity checks to | |
8076 | actuals that are indexed components, reanalyze actual to ensure that | |
8077 | packed array references are properly expanded. | |
8078 | ||
8079 | * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for | |
8080 | attempted assignment to a discriminant. | |
8081 | ||
8082 | 2003-12-01 Robert Dewar <dewar@gnat.com> | |
8083 | ||
8084 | * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor | |
8085 | reformatting. | |
8086 | ||
8087 | * switch-c.adb: Minor reformatting of comments | |
8088 | ||
8089 | 2003-12-01 Arnaud Charlet <charlet@act-europe.fr> | |
8090 | ||
8091 | * Makefile.in: Clean ups. | |
8092 | ||
8093 | 2003-12-01 GNAT Script <nobody@gnat.com> | |
8094 | ||
8095 | * Make-lang.in: Makefile automatically updated | |
8096 | ||
c6135994 AC |
8097 | 2003-12-01 Arnaud Charlet <charlet@act-europe.fr> |
8098 | ||
8099 | * 5wsystem.ads: Disable zero cost exception, not ready yet. | |
8100 | ||
51a30506 UW |
8101 | 2003-11-29 Ulrich Weigand <uweigand@de.ibm.com> |
8102 | ||
8103 | * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb | |
8104 | to force serialization. | |
8105 | ||
81a5b587 AC |
8106 | 2003-11-26 Thomas Quinot <quinot@act-europe.fr> |
8107 | ||
fbf3e0dd | 8108 | * g-socket.ads, g-socket.adb: |
81a5b587 AC |
8109 | Clarify documentation of function Stream. Introduce a Free procedure |
8110 | to release the returned Stream once it becomes unused. | |
8111 | ||
8112 | * 5asystem.ads: For Alpha Tru64, enable ZCX by default. | |
8113 | ||
8114 | 2003-11-26 Arnaud Charlet <charlet@act-europe.fr> | |
8115 | ||
8116 | (Cond_Timed_Wait): Introduce new constant Time_Out_Max, | |
8117 | since NT 4 cannot handle timeout values that are too large, | |
8118 | e.g. DWORD'Last - 1. | |
8119 | ||
8120 | 2003-11-26 Ed Schonberg <schonberg@gnat.com> | |
8121 | ||
fbf3e0dd | 8122 | * exp_ch4.adb: |
81a5b587 AC |
8123 | (Expand_N_Slice): Recognize all cases of slices that appear as actuals |
8124 | in procedure calls and whose expansion must be deferred. | |
8125 | ||
8126 | * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix | |
8127 | is in exp_ch4. | |
8128 | ||
fbf3e0dd | 8129 | * sem_ch3.adb: |
81a5b587 AC |
8130 | (Build_Derived_Array_Type): Create operator for unconstrained type |
8131 | if ancestor is unconstrained. | |
8132 | ||
8133 | 2003-11-26 Vincent Celier <celier@gnat.com> | |
8134 | ||
8135 | * make.adb (Project_Object_Directory): New global variable | |
8136 | (Change_To_Object_Directory): New procedure | |
8137 | (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead | |
8138 | of Change_Dir directly. Do not change working directory to object | |
8139 | directory of main project after each compilation. | |
8140 | (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir | |
8141 | directly. | |
8142 | Change to object directory of main project before binding step. | |
8143 | (Initialize): Initialize Project_Object_Directory to No_Project | |
8144 | ||
fbf3e0dd | 8145 | * mlib-prj.adb: |
81a5b587 AC |
8146 | (Build_Library): Take into account Builder'Default_Switches ("Ada") when |
8147 | binding a Stand-Alone Library. | |
8148 | ||
8149 | * output.adb: Update Copyright notice | |
8150 | (Write_Char): Output buffer when full | |
8151 | ||
8152 | 2003-11-26 Robert Dewar <dewar@gnat.com> | |
8153 | ||
8154 | * sem_ch13.adb: (Check_Size): Reset size if size is too small | |
8155 | ||
fbf3e0dd | 8156 | * sem_ch13.ads: |
81a5b587 AC |
8157 | (Check_Size): Fix documentation to include bit-packed array case |
8158 | ||
8159 | * sem_res.adb: Implement restriction No_Direct_Boolean_Operators | |
8160 | ||
8161 | * s-rident.ads: Put No_Direct_Boolean_Operators in proper order | |
8162 | ||
8163 | * s-rident.ads: Add new restriction No_Direct_Boolean_Operators | |
8164 | ||
d4c47b51 AC |
8165 | 2003-11-24 Arnaud Charlet <charlet@act-europe.fr> |
8166 | ||
8167 | PR ada/13142 | |
8168 | * utils.c (init_gigi_decls): Change name of built-in setjmp to | |
8169 | __builtin_setjmp, since this is apparently needed by recent | |
8170 | non Ada changes. | |
8171 | ||
7677e9e0 RO |
8172 | 2003-11-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8173 | ||
d4c47b51 | 8174 | * adadecode.c: Only include ctype.h if not IN_GCC. |
7677e9e0 RO |
8175 | (__gnat_decode): Use ISDIGIT from safe-ctype.h. |
8176 | ||
6c1e24d3 AC |
8177 | 2003-11-24 Jose Ruiz <ruiz@act-europe.fr> |
8178 | ||
fbf3e0dd | 8179 | * Makefile.in: |
6c1e24d3 AC |
8180 | Use 5zintman.ads for VxWorks targets. This file avoid confusion between |
8181 | signals and interrupts. | |
8182 | ||
8183 | * 5zintman.ads: New File. | |
8184 | ||
8185 | * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and | |
8186 | add exception signals to the set of unmasked signals. | |
8187 | ||
fbf3e0dd | 8188 | * 5ztaprop.adb: |
6c1e24d3 AC |
8189 | Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion |
8190 | between signals and interrupts. | |
8191 | Add to Unblocked_Signal_Mask the set of signals that are in | |
8192 | Keep_Unmasked. | |
8193 | ||
fbf3e0dd | 8194 | * 7sinmaop.adb: |
6c1e24d3 AC |
8195 | Adding a check to see whether the Interrupt_ID we want to unmask is in |
8196 | the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The | |
8197 | reason is that the index type of the Keep_Unmasked array is not always | |
8198 | Interrupt_ID; it may be a subtype of Interrupt_ID. | |
8199 | ||
8200 | 2003-11-24 Gary Dismukes <dismukes@gnat.com> | |
8201 | ||
fbf3e0dd | 8202 | * exp_util.adb: |
6c1e24d3 AC |
8203 | (Remove_Side_Effects): Condition constantness of object created for a |
8204 | an unchecked type conversion on the constantness of the expression | |
8205 | to ensure the correct value for 'Constrained when passing components | |
8206 | of view-converted class-wide objects. | |
8207 | ||
8208 | 2003-11-24 Robert Dewar <dewar@gnat.com> | |
8209 | ||
8210 | * par-load.adb (Load): Improve handling of misspelled and missing units | |
8211 | Removes several cases of compilation abandoned messages | |
8212 | ||
8213 | * lib.adb: (Remove_Unit): New procedure | |
8214 | ||
8215 | * lib.ads: (Remove_Unit): New procedure | |
8216 | ||
8217 | * lib-load.adb: Minor reformatting | |
8218 | ||
8219 | 2003-11-24 Vincent Celier <celier@gnat.com> | |
8220 | ||
fbf3e0dd | 8221 | * make.adb: |
6c1e24d3 AC |
8222 | (Gnatmake, Initialize): Call Usage instead of Makeusg directly |
8223 | (Marking_Label): Label to mark processed source files. Incremented for | |
8224 | each executable. | |
8225 | (Gnatmake): Increase Marking_Labet for each executable | |
8226 | (Is_Marked): Compare against marking label | |
8227 | (Mark): Mark with marking label | |
8228 | ||
8229 | 2003-11-24 Jerome Guitton <guitton@act-europe.fr> | |
8230 | ||
fbf3e0dd | 8231 | * s-thread.ads: |
6c1e24d3 AC |
8232 | Move the declaration of the TSD for System.Threads to System.Soft_Links. |
8233 | Add some comments. | |
8234 | ||
8235 | * Makefile.in: Added target pair for s-thread.adb for cert runtime. | |
8236 | (rts-cert): build a single relocatable object for the run-time lib. | |
8237 | Fix perms. | |
8238 | ||
8239 | 2003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr> | |
8240 | ||
fbf3e0dd | 8241 | * Make-lang.in: |
6c1e24d3 AC |
8242 | Use gnatls rather than gcc to obtain the location of GNAT RTL for |
8243 | crosstools build. | |
8244 | ||
8245 | 2003-11-24 Sergey Rybin <rybin@act-europe.fr> | |
8246 | ||
8247 | * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we | |
8248 | can not use it as before (that is, as a variable) when dumping it into | |
8249 | the tree file. Add a local variable to store the result of this | |
8250 | function and to be used as the string to be written into the tree. | |
8251 | ||
8252 | * scn.adb (Initialize_Scanner): Add comments explaining the recent | |
8253 | changes. | |
8254 | ||
8255 | * sinput.adb (Source_First, Source_Last): In case of | |
8256 | Internal_Source_File, replace returning attributes of | |
8257 | Internal_Source_Ptr (which is wrong) with returning attributes of | |
8258 | Internal_Source. | |
8259 | ||
8260 | 2003-11-24 Ed Schonberg <schonberg@gnat.com> | |
8261 | ||
fbf3e0dd | 8262 | * sem_ch3.adb: |
6c1e24d3 AC |
8263 | (New_Concatenation_Op): Proper name for New_Binary_Operator, only |
8264 | used for implicit concatenation operators. | |
8265 | Code cleanup. | |
8266 | ||
fbf3e0dd | 8267 | * sem_elab.adb: |
6c1e24d3 AC |
8268 | (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in |
8269 | task bodies that are in the scope of a Suppress pragma. | |
8270 | (Check_A Call): Use the flag to prevent spurious elaboration checks. | |
8271 | ||
fbf3e0dd | 8272 | * sinfo.ads, sinfo.adb: |
6c1e24d3 AC |
8273 | New flag No_Elaboration_Check on function/procedure calls, to properly |
8274 | suppress checks on calls in task bodies that are within a local suppress | |
8275 | pragma. | |
8276 | ||
fbf3e0dd | 8277 | * exp_ch4.adb: |
6c1e24d3 AC |
8278 | (Expand_Concatenate_Other): Use the proper integer type for the |
8279 | expression for the upper bound, to avoid universal_integer computations | |
8280 | when possible. | |
8281 | ||
6f2aeb72 KC |
8282 | 2003-11-21 Kelley Cook <kcook@gcc.gnu.org> |
8283 | ||
8284 | * .cvsignore: Delete. | |
8285 | ||
e9f85cd6 AS |
8286 | 2003-11-21 Andreas Schwab <schwab@suse.de> |
8287 | ||
8288 | * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True. | |
8289 | ||
4e074baf VF |
8290 | 2003-11-21 Vasiliy Fofanov <fofanov@act-europe.fr> |
8291 | ||
8292 | * 5wsystem.ads: Enable zero cost exception. | |
8293 | ||
f1f9fe30 AC |
8294 | 2003-11-21 Jerome Guitton <guitton@act-europe.fr> |
8295 | ||
8296 | * 5ztiitho.adb: Remove an unreferenced variable. | |
8297 | ||
8298 | 2003-11-21 Thomas Quinot <quinot@act-europe.fr> | |
8299 | ||
8300 | * adaint.c: For FreeBSD, use mkstemp. | |
8301 | ||
8302 | 2003-11-21 Arnaud Charlet <charlet@act-europe.fr> | |
8303 | ||
8304 | * gnatlbr.adb: Now reference Gnat_Static_Version_String. | |
8305 | ||
8306 | 2003-11-21 Robert Dewar <dewar@gnat.com> | |
8307 | ||
8308 | * bld.adb: Remove useless USE of gnatvsn | |
8309 | ||
8310 | * gnatchop.adb: Minor reformatting | |
8311 | Clean up version handling to be more consistent | |
8312 | ||
8313 | * gnatxref.adb: Minor reformatting | |
8314 | ||
8315 | * gprcmd.adb: Minor reformatting | |
8316 | Fix output of copyright to be more consistent with other tools | |
8317 | ||
8318 | 2003-11-21 Vincent Celier <celier@gnat.com> | |
8319 | ||
8320 | * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink | |
8321 | ||
8322 | 2003-11-21 Sergey Rybin <rybin@act-europe.fr> | |
8323 | ||
8324 | * atree.adb (Initialize): Add initializations for global variables | |
8325 | used in New_Copy_Tree. | |
8326 | ||
8327 | * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with | |
8328 | Internal_Source_File as the actual). | |
8329 | Put the set of statements creating Any_Character before the set of | |
8330 | statements creating Any_Array to have Any_Character fully initialized | |
8331 | when it is used in creating Any_Array. | |
8332 | ||
8333 | * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do | |
8334 | not call Scan in case if the actual is Internal_Source_File | |
8335 | Add 2003 to copyright note. | |
8336 | ||
8337 | * sinput.adb (Source_First, Source_Last, Source_Text): Add code for | |
8338 | processing Internal_Source_File. | |
8339 | ||
8340 | * types.ads: Add the constant Internal_Source_File representing the | |
8341 | source buffer for artificial source-code-like strings created within | |
8342 | the compiler (the definition of Source_File_Index is changed). | |
8343 | ||
c5b2a8ae AC |
8344 | 2003-11-20 Arnaud Charlet <charlet@act-europe.fr> |
8345 | ||
8346 | * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads, | |
8347 | 56system.ads: New file, FreeBSD version. | |
8348 | ||
a03ad584 JM |
8349 | 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk> |
8350 | ||
8351 | * Make-lang.in (ada.extraclean): Delete. | |
8352 | ||
19f0526a AC |
8353 | 2003-11-19 Arnaud Charlet <charlet@act-europe.fr> |
8354 | ||
8355 | * gnatmem.adb: Clean up verbose output. | |
8356 | ||
8357 | * gprcmd.adb: Change copyright to FSF. | |
8358 | ||
8359 | 2003-11-19 Vincent Celier <celier@gnat.com> | |
8360 | ||
8361 | * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy | |
8362 | and Version (ignored). | |
8363 | ||
8364 | * symbols.ads: (Policy): New type | |
8365 | (Initialize): New parameter Reference, Symbol_Policy and | |
8366 | Library_Version. | |
8367 | Remove parameter Force. | |
8368 | Minor reformatting. | |
8369 | ||
8370 | * snames.ads, snames.adbadb: New standard names | |
8371 | Library_Reference_Symbol_File and Library_Symbol_Policy | |
8372 | ||
fbf3e0dd | 8373 | * mlib-prj.adb: |
19f0526a AC |
8374 | (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the |
8375 | project. | |
8376 | ||
fbf3e0dd | 8377 | * mlib-tgt.adb: |
19f0526a AC |
8378 | (Build_Dynamic_Library): New parameter Symbol_Data (ignored) |
8379 | ||
8380 | * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data | |
8381 | ||
8382 | * prj.adb: (Project_Empty): New component Symbol_Data | |
8383 | ||
8384 | * prj.ads: (Policy, Symbol_Record): New types | |
8385 | (Project_Data): New component Symbol_Data | |
8386 | ||
fbf3e0dd | 8387 | * prj-attr.adb: |
19f0526a AC |
8388 | New attributes Library_Symbol_File, Library_Symbol_Policy and |
8389 | Library_Reference_Symbol_File. | |
8390 | ||
fbf3e0dd | 8391 | * prj-nmsc.adb: |
19f0526a AC |
8392 | (Ada_Check): When project is a Stand-Alone library project, process |
8393 | attribute Library_Symbol_File, Library_Symbol_Policy and | |
8394 | Library_Reference_Symbol_File. | |
8395 | ||
8396 | * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb, | |
8397 | 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb, | |
8398 | 5sml-tgt.adb (Build_Dynamic_Library): New parameter | |
8399 | Symbol_Data (ignored). | |
8400 | ||
8401 | * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0 | |
8402 | (Build_Dynamic_Library): New parameter Symbol_Data. New internal | |
8403 | functions Option_File_Name and Version_String. Set new options of | |
8404 | gnatsym related to symbol file, symbol policy and reference symbol | |
8405 | file. | |
8406 | ||
fbf3e0dd | 8407 | * 5vsymbol.adb: |
19f0526a AC |
8408 | Extensive modifications to take into account the reference symbol file, |
8409 | the symbol policy, the library version and to put in the symbol file the | |
8410 | minor and major IDs. | |
8411 | ||
8412 | * bld.adb (Process_Declarative_Items): Put second argument of | |
8413 | gprcmd to_absolute between single quotes, to avoid problems with | |
8414 | Windows. | |
8415 | ||
8416 | * bld-io.adb: Update Copyright notice. | |
8417 | (Flush): Remove last character of a line, if it is a back slash, to | |
8418 | avoid make problems. | |
8419 | ||
fbf3e0dd | 8420 | * gnatsym.adb: |
19f0526a AC |
8421 | Implement new scheme with reference symbol file and symbol policy. |
8422 | ||
8423 | * g-os_lib.ads: (Is_Directory): Clarify comment | |
8424 | ||
8425 | 2003-11-19 Robert Dewar <dewar@gnat.com> | |
8426 | ||
8427 | * atree.adb: Move New_Copy_Tree global variables to head of package | |
8428 | ||
8429 | * errout.adb: Minor reformatting | |
8430 | ||
8431 | 2003-11-19 Javier Miranda <miranda@gnat.com> | |
8432 | ||
8433 | * sem_ch4.adb: (Diagnose_Call): Improve error message. | |
8434 | Add reference to Ada0Y (AI-50217) | |
8435 | ||
8436 | * sem_ch6.adb, sem_ch8.adb, sem_type.adb, | |
8437 | sem_util.adb: Add reference to AI-50217 | |
8438 | ||
8439 | * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217 | |
8440 | ||
8441 | * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287) | |
8442 | ||
8443 | * sem_aggr.adb: Complete documentation of AI-287 changes | |
8444 | ||
8445 | * par-ch4.adb: Document previous changes. | |
8446 | ||
8447 | * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb, | |
8448 | sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to | |
8449 | Ada0Y (AI-50217) | |
8450 | ||
8451 | * exp_aggr.adb: Add references to AI-287 in previous changes | |
8452 | ||
8453 | 2003-11-19 Ed Schonberg <schonberg@gnat.com> | |
8454 | ||
fbf3e0dd | 8455 | * exp_ch6.adb: |
19f0526a AC |
8456 | (Add_Call_By_Copy_Node): Do not original node of rewritten expression |
8457 | in the rewriting is the result of an inlined call. | |
8458 | ||
8459 | * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out | |
8460 | parameter is a type conversion, use original node to construct the | |
8461 | post-call assignment, because expression may have been rewritten, e.g. | |
8462 | if it is a packed array. | |
8463 | ||
fbf3e0dd | 8464 | * sem_attr.adb: |
19f0526a AC |
8465 | (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined |
8466 | body, just as it is in an instance. | |
8467 | Categorization routines | |
8468 | ||
8469 | * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram, | |
8470 | Instantiate_Object): Set proper sloc reference for message on missing | |
8471 | actual. | |
8472 | ||
8473 | 2003-11-19 Thomas Quinot <quinot@act-europe.fr> | |
8474 | ||
8475 | * Makefile.in: Add FreeBSD libgnat pairs. | |
8476 | ||
8477 | * usage.adb: Fix typo in usage message. | |
8478 | ||
8479 | 2003-11-19 Jerome Guitton <guitton@act-europe.fr> | |
8480 | ||
8481 | * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?, | |
8482 | s-thrini.ad? and s-tiitho.adb to the full runtime, to support the | |
8483 | pragma Thread_Body. | |
8484 | Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore. | |
8485 | ||
8486 | * s-thread.adb: This file is now a dummy implementation of | |
8487 | System.Thread. | |
8488 | ||
8489 | 2003-11-19 Sergey Rybin <rybin@act-europe.fr> | |
8490 | ||
8491 | * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available | |
8492 | ||
8493 | 2003-11-19 Emmanuel Briot <briot@act-europe.fr> | |
8494 | ||
8495 | * xref_lib.adb (Parse_Identifier_Info): Add handling of generic | |
8496 | instanciation references in the parent type description. | |
8497 | ||
0d77ab84 AC |
8498 | 2003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8499 | ||
8500 | * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s". | |
8501 | ||
8502 | * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set | |
8503 | TYPE_PRECISION directly from esize. | |
8504 | ||
8505 | 2003-11-18 Thomas Quinot <quinot@act-europe.fr> | |
8506 | ||
fbf3e0dd | 8507 | * cstreams.c: |
0d77ab84 AC |
8508 | Use realpath(3) on FreeBSD. Fix typo in comment while we are at it. |
8509 | ||
8510 | * init.c: Initialization routines for FreeBSD | |
8511 | ||
8512 | * link.c: Link info for FreeBSD | |
8513 | ||
8514 | * sysdep.c: Add the case of FreeBSD | |
8515 | ||
cb7a5092 AC |
8516 | 2003-11-17 Jerome Guitton <guitton@act-europe.fr> |
8517 | ||
8518 | * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is | |
8519 | already called in System.Threads. | |
8520 | ||
8521 | * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the | |
8522 | environment task, as it has been moved to System.Threads.Initialization. | |
8523 | ||
8524 | 2003-11-17 Arnaud Charlet <charlet@act-europe.fr> | |
8525 | ||
8526 | * adaint.c (__gnatlib_install_locks): Only reference | |
8527 | __gnat_install_locks on VMS, since other platforms can avoid using | |
8528 | --enable-threads=gnat | |
8529 | ||
8530 | 2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
8531 | ||
8532 | * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro. | |
8533 | ||
8534 | * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set | |
8535 | TYPE_PACKED_ARRAY_TYPE_P. | |
8536 | (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P. | |
8537 | ||
8538 | Part of PR ada/12806 | |
8539 | * utils.c (float_type_for_precision): Renamed from float_type_for_size. | |
8540 | Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE. | |
8541 | ||
8542 | 2003-11-17 Vincent Celier <celier@gnat.com> | |
8543 | ||
8544 | * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted | |
8545 | to False. | |
8546 | Do not set exit status to Failure when Warning is True. | |
8547 | (Gnatchop): Make errors "no compilation units found" and | |
8548 | "no source files written" warnings only. | |
8549 | ||
8550 | * make.adb (Gnatmake): When using a project file, set | |
8551 | Look_In_Primary_Dir to False. | |
8552 | (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas | |
8553 | and Local_Configuration_Pragmas in the project where they are declared | |
8554 | not an extending project which might have inherited them. | |
8555 | ||
8556 | * osint.adb (Locate_File): If Name is already an absolute path, do not | |
8557 | look for a directory. | |
8558 | ||
8559 | * par-ch10.adb (P_Compilation_Unit): If source contains no token, and | |
8560 | -gnats (Check_Syntax) is used, issue only a warning, not an error. | |
8561 | ||
8562 | * prj.adb (Register_Default_Naming_Scheme): Add new component Project | |
8563 | in objects of type Variable_Value. | |
8564 | ||
8565 | * prj.ads: (Variable_Value): New component Project | |
8566 | ||
8567 | * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source | |
8568 | is in a project extended by Project. | |
8569 | ||
8570 | * prj-proc.adb (Add_Attributes): New parameter Project. Set component | |
8571 | Project of Variable_Values to this new parameter value. | |
8572 | (Expression): Set component Project of Variable_Values. | |
8573 | (Process_Declarative_Items): Call Add_Attributes with parameter Project. | |
8574 | Set the component Project in array elements. | |
8575 | ||
8576 | 2003-11-17 Sergey Rybin <rybin@act-europe.fr> | |
8577 | ||
8578 | * errout.adb: (Initialize): Add initialization for error nodes. | |
8579 | ||
8580 | * sem_ch12.adb (Initialize): Add missing initializations for | |
8581 | Exchanged_Views and Hidden_Entities. | |
8582 | ||
8583 | 2003-11-17 Ed Schonberg <schonberg@gnat.com> | |
8584 | ||
8585 | * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an | |
8586 | already instantiated tree for use in subsequent inlining. | |
8587 | (Analyze_Associations, Instantiate_Formal_Subprogram, | |
8588 | Instantiate_Object): improve error message for mismatch in | |
8589 | instantiations. | |
8590 | ||
8591 | * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle | |
8592 | instantiations of subprograms declared in instances. | |
8593 | ||
8594 | 2003-11-17 Javier Miranda <miranda@gnat.com> | |
8595 | ||
8596 | * sem_ch4.adb (Analyze_Allocator): Previous modification must be | |
8597 | executed only under the Extensions_Allowed flag. | |
8598 | ||
8599 | 2003-11-17 Robert Dewar <dewar@gnat.com> | |
8600 | ||
8601 | * a-exexda.adb (Address_Image): Fix documentation to indicate leading | |
8602 | zeroes suppressed. | |
8603 | (Address_Image): Fix bug of returning 0x instead of 0x0 | |
8604 | Minor reformatting (function specs). | |
8605 | ||
8606 | * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array | |
8607 | (missed case of 33-63) | |
8608 | ||
8609 | * freeze.adb, sem_ch13.adb: Properly check size of packed bit array | |
8610 | ||
8611 | * s-thread.adb: Add comments for pragma Restriction | |
8612 | ||
8613 | * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb, | |
8614 | sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting | |
8615 | ||
8616 | 2003-11-17 Ed Falis <falis@gnat.com> | |
8617 | ||
8618 | * s-thread.adb: Added No_Tasking restriction for this implementation. | |
8619 | ||
8620 | 2003-11-17 Emmanuel Briot <briot@act-europe.fr> | |
8621 | ||
8622 | * xref_lib.adb (Parse_Identifier_Info): Add handling of generic | |
8623 | instanciation references in the parent type description. | |
8624 | ||
8625 | 2003-11-17 GNAT Script <nobody@gnat.com> | |
8626 | ||
8627 | * Make-lang.in: Makefile automatically updated | |
8628 | ||
7d60db05 JM |
8629 | 2003-11-16 Jason Merrill <jason@redhat.com> |
8630 | ||
8631 | * Make-lang.in (ada.tags): Create TAGS.sub files in each directory | |
8632 | and TAGS files that include them for each front end. | |
8633 | ||
c0040397 AJ |
8634 | 2003-11-14 Andreas Jaeger <aj@suse.de> |
8635 | ||
a477ab83 | 8636 | * lang.opt: Change -Wno-long-long to -Wlong-long since the latter |
fbf3e0dd | 8637 | is the canonical version. |
a477ab83 AJ |
8638 | * misc.c (gnat_handle_option): Likewise. |
8639 | ||
c0040397 AJ |
8640 | * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux. |
8641 | ||
8642 | * 5nsystem.ads: New file for x86_64-linux-gnu. | |
8643 | ||
95a6aaf9 AC |
8644 | 2003-11-14 Arnaud Charlet <charlet@act-europe.fr> |
8645 | ||
262cc585 | 8646 | * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated. |
95a6aaf9 | 8647 | |
4a4fe537 AC |
8648 | * comperr.adb: Fix logic in previous change. |
8649 | ||
65356e64 AC |
8650 | 2003-11-13 Vincent Celier <celier@gnat.com> |
8651 | ||
8652 | * 5bml-tgt.adb (Build_Dynamic_Library): Use | |
8653 | Osint.Include_Dir_Default_Prefix instead of | |
8654 | Sdefault.Include_Dir_Default_Name. | |
8655 | ||
8656 | * gnatlbr.adb: Update Copyright notice | |
8657 | (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of | |
8658 | Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix | |
8659 | instead of Sdefault.Object_Dir_Default_Name | |
8660 | ||
c0040397 | 8661 | * gnatlink.adb: |
65356e64 AC |
8662 | (Process_Binder_File): Never suppress the option following -Xlinker |
8663 | ||
c0040397 | 8664 | * mdll-utl.adb: |
65356e64 AC |
8665 | (Gcc): Use Osint.Object_Dir_Default_Prefix instead of |
8666 | Sdefault.Object_Dir_Default_Name. | |
8667 | ||
c0040397 | 8668 | * osint.ads, osint.adb: |
65356e64 AC |
8669 | (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions |
8670 | Minor reformatting. | |
8671 | ||
8672 | * vms_conv.ads: Minor reformating | |
8673 | Remove GNAT STANDARD and GNAT PSTA | |
8674 | ||
c0040397 | 8675 | * vms_conv.adb: |
65356e64 AC |
8676 | Allow GNAT MAKE to have several files on the command line. |
8677 | (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of | |
8678 | Sdefault.Object_Dir_Default_Name. | |
8679 | Minor Reformating | |
8680 | Remove data for GNAT STANDARD | |
8681 | ||
c0040397 | 8682 | * vms_data.ads: |
65356e64 AC |
8683 | Add new compiler qualifier /PRINT_STANDARD (-gnatS) |
8684 | Remove data for GNAT STANDARD | |
8685 | Remove options and documentation for -gnatwb/-gnatwB: these warning | |
8686 | options no longer exist. | |
8687 | ||
8688 | 2003-11-13 Ed Falis <falis@gnat.com> | |
8689 | ||
8690 | * 5zthrini.adb: (Init_RTS): Made visible | |
8691 | ||
c0040397 | 8692 | * 5zthrini.adb: |
65356e64 AC |
8693 | (Register): Removed unnecessary call to taskVarGet that checked whether |
8694 | an ATSD was already set as a task var for the argument thread. | |
8695 | ||
c0040397 | 8696 | * s-thread.adb: |
65356e64 AC |
8697 | Updated comment to reflect that this is a VxWorks version |
8698 | Added context clause for System.Threads.Initialization | |
8699 | Added call to System.Threads.Initialization.Init_RTS | |
8700 | ||
8701 | 2003-11-13 Jerome Guitton <guitton@act-europe.fr> | |
8702 | ||
c0040397 | 8703 | * 5zthrini.adb: |
65356e64 AC |
8704 | (Init_RTS): New procedure, for the initialization of the run-time lib. |
8705 | ||
c0040397 | 8706 | * s-thread.adb: |
65356e64 AC |
8707 | Remove dependancy on System.Init, so that this file can be used in the |
8708 | AE653 sequential run-time lib. | |
8709 | ||
8710 | 2003-11-13 Robert Dewar <dewar@gnat.com> | |
8711 | ||
8712 | * bindgen.adb: Minor reformatting | |
8713 | ||
8714 | 2003-11-13 Ed Schonberg <schonberg@gnat.com> | |
8715 | ||
c0040397 | 8716 | * checks.adb: |
65356e64 AC |
8717 | (Apply_Discriminant_Check): Do no apply check if target type is derived |
8718 | from source type with no applicable constraint. | |
8719 | ||
c0040397 | 8720 | * lib-writ.adb: |
65356e64 AC |
8721 | (Ensure_System_Dependency): Do not apply the style checks that may have |
8722 | been specified for the main unit. | |
8723 | ||
c0040397 | 8724 | * sem_ch8.adb: |
65356e64 AC |
8725 | (Find_Selected_Component): Further improvement in error message, with |
8726 | RM reference. | |
8727 | ||
c0040397 | 8728 | * sem_res.adb: |
65356e64 AC |
8729 | (Resolve): Handle properly the case of an illegal overloaded protected |
8730 | procedure. | |
8731 | ||
8732 | 2003-11-13 Javier Miranda <miranda@gnat.com> | |
8733 | ||
c0040397 | 8734 | * exp_aggr.adb: |
65356e64 AC |
8735 | (Has_Default_Init_Comps): New function to check the presence of |
8736 | default initialization in an aggregate. | |
8737 | (Build_Record_Aggr_Code): Recursively expand the ancestor in case of | |
8738 | extension aggregate of a limited record. In addition, a new formal | |
8739 | was added to do not initialize the record controller (if any) during | |
8740 | this recursive expansion of ancestors. | |
8741 | (Init_Controller): Add support for limited record components. | |
8742 | (Expand_Record_Aggregate): In case of default initialized components | |
8743 | convert the aggregate into a set of assignments. | |
8744 | ||
8745 | * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment | |
8746 | describing the new syntax. | |
8747 | Nothing else needed to be done because this subprogram delegates part of | |
8748 | its work to P_Precord_Or_Array_Component_Association. | |
8749 | (P_Record_Or_Array_Component_Association): Give support to the new | |
8750 | syntax for default initialization of components. | |
8751 | ||
c0040397 | 8752 | * sem_aggr.adb: |
65356e64 AC |
8753 | (Resolve_Aggregate): Relax the strictness of the frontend in case of |
8754 | limited aggregates. | |
8755 | (Resolve_Record_Aggregate): Give support to default initialized | |
8756 | components. | |
8757 | (Get_Value): In case of default initialized components, duplicate | |
8758 | the corresponding default expression (from the record type | |
8759 | declaration). In case of default initialization in the *others* | |
8760 | choice, do not check that all components have the same type. | |
8761 | (Resolve_Extension_Aggregate): Give support to limited extension | |
8762 | aggregates. | |
8763 | ||
c0040397 | 8764 | * sem_ch3.adb: |
65356e64 AC |
8765 | (Check_Initialization): Relax the strictness of the front-end in case |
8766 | of aggregate and extension aggregates. This test is now done in | |
8767 | Get_Value in a per-component manner. | |
8768 | ||
8769 | * sem_ch4.adb (Analyze_Allocator): Don't post an error if the | |
8770 | expression corresponds to a limited aggregate. This test is now done | |
8771 | in Get_Value. | |
8772 | ||
8773 | * sinfo.ads, sinfo.adb (N_Component_Association): Addition of | |
8774 | Box_Present flag. | |
8775 | ||
8776 | * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if | |
8777 | present in an N_Component_Association node | |
8778 | ||
8779 | 2003-11-13 Thomas Quinot <quinot@act-europe.fr> | |
8780 | ||
8781 | * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a | |
8782 | type-conformant entry only if they are homographs. | |
8783 | ||
8784 | 2003-11-13 GNAT Script <nobody@gnat.com> | |
8785 | ||
8786 | * Make-lang.in: Makefile automatically updated | |
8787 | ||
49add53f RO |
8788 | 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8789 | ||
8790 | * adadecode.c: Use <> form of include for ctype.h. | |
8791 | * sysdep.c [IN_RTS]: Use <> form of include for time.h. | |
8792 | ||
94bae1cc RO |
8793 | 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8794 | ||
8795 | * 5gsystem.ads (Functions_Return_By_DSP): Set to False. | |
8796 | Works around PR middle-end/6552. | |
8797 | ||
463f452c AC |
8798 | 2003-11-10 Ed Falis <falis@gnat.com> |
8799 | ||
8800 | * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted | |
8801 | ||
8802 | * 5zinit.adb: (Install_Handler): Moved back to spec | |
8803 | (Install_Signal_Handlers): Deleted | |
8804 | ||
8805 | * 5zthrini.adb: Added context clause for System.Storage_Elements | |
8806 | (Register): Only handles creation of taskVar; initialization moved to | |
8807 | Thread_Body_Enter. | |
8808 | (Reset_TSD): Deleted; replaced by Thread_Body_Enter | |
8809 | Added declaration of environment task secondary stack and | |
8810 | initialization. | |
8811 | ||
8812 | * s-thread.adb: Implement bodies for thread body processing | |
8813 | ||
c0040397 | 8814 | * s-thread.ads: |
463f452c AC |
8815 | Added comment identifying supported targets for pragma Thread_Body. |
8816 | ||
8817 | 2003-11-10 Pascal Obry <obry@gnat.com> | |
8818 | ||
8819 | * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than | |
8820 | GNAT_MAX_PATH_LEN. | |
8821 | ||
c0040397 | 8822 | * s-fileio.adb: |
463f452c AC |
8823 | (Open): Properly check for string length before copying into the buffer. |
8824 | Raises Name_Error if buffer is too small. Note that this was a potential | |
8825 | buffer overflow. | |
8826 | ||
8827 | 2003-11-10 Romain Berrendonner <berrendo@act-europe.fr> | |
8828 | ||
8829 | * bindgen.adb, comperr.adb: Code clean ups. | |
8830 | * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function. | |
8831 | ||
8832 | 2003-11-10 Sergey Rybin <rybin@act-europe.fr> | |
8833 | ||
8834 | * gnat1drv.adb: Add call to Sem_Elim.Initialize. | |
8835 | ||
8836 | 2003-11-10 Vincent Celier <celier@gnat.com> | |
8837 | ||
c0040397 | 8838 | * gprcmd.adb: |
463f452c AC |
8839 | (Gprcmd): Add new command "prefix" to get the prefix of the GNAT |
8840 | installation. | |
8841 | ||
8842 | * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler | |
8843 | ||
8844 | * prj.adb: (Project_Empty): Add new boolean component Virtual | |
8845 | ||
8846 | * prj.ads: (Virtual_Prefix): New constant string | |
8847 | (Project_Data): New boolean component Virtual | |
8848 | ||
8849 | * prj-nmsc.adb (Language_Independent_Check): Adjust error message when | |
8850 | a library project is extended by a virtual extending project. | |
8851 | ||
c0040397 | 8852 | * prj-part.adb: |
463f452c AC |
8853 | Modifications throughout to implement extending-all project, including: |
8854 | (Virtual_Hash, Processed_Hash): New hash tables | |
8855 | (Create_Virtual_Extending_Project): New procedure | |
8856 | (Look_For_Virtual_Projects_For): New procedure | |
8857 | ||
c0040397 | 8858 | * prj-proc.adb: |
463f452c AC |
8859 | (Process): After checking the projects, if main project is an |
8860 | extending-all project, set the object directory of all virtual extending | |
8861 | project to the object directory of the main project. | |
8862 | Adjust error message when a virtual extending project has the same | |
8863 | object directory as an project being extended. | |
8864 | (Recursive_Process): If name starts with the virtual prefix, set Virtual | |
8865 | to True in the project data. | |
8866 | ||
c0040397 | 8867 | * prj-tree.adb: |
463f452c AC |
8868 | (Default_Project_Node): Add new boolean component Extending_All |
8869 | (Is_Extending_All): New function | |
8870 | (Set_Is_Extending_All): New procedure | |
8871 | ||
8872 | * prj-tree.ads: (Is_Extending_All): New function | |
8873 | (Set_Is_Extending_All): New procedure | |
8874 | (Project_Node_Record): New boolean component Extending_All | |
8875 | ||
8876 | * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib | |
8877 | ||
c0040397 | 8878 | * vms_data.ads: |
463f452c AC |
8879 | Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler |
8880 | ||
8881 | * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call | |
8882 | "gprcmd prefix" to define it. | |
8883 | ||
8884 | 2003-11-10 Thomas Quinot <quinot@act-europe.fr> | |
8885 | ||
8886 | * einfo.ads: Fix a typo and remove an extraneous word in comments. | |
8887 | ||
c0040397 | 8888 | * lib-load.adb: |
463f452c AC |
8889 | (Create_Dummy_Package_Unit): Set the scope of the entity for the |
8890 | created dummy package to Standard_Standard, not to itself, to | |
8891 | defend other parts of the front-end against encoutering a cycle in | |
8892 | the scope chain. | |
8893 | ||
c0040397 | 8894 | * sem_ch10.adb: |
463f452c AC |
8895 | (Analyze_With_Clause): When setting the entities for the successive |
8896 | N_Expanded_Names that constitute the name of a child unit, do not | |
8897 | attempt to go further than Standard_Standard in the chain of scopes. | |
8898 | This case arises from the placeholder units created by | |
8899 | Create_Dummy_Package_Unit in the case of a with_clause for a | |
8900 | nonexistent child unit. | |
8901 | ||
8902 | 2003-11-10 Ed Schonberg <schonberg@gnat.com> | |
8903 | ||
c0040397 | 8904 | * exp_ch6.adb: |
463f452c AC |
8905 | (Expand_Thread_Body): Place subprogram on scope stack, so that new |
8906 | declarations are given the proper scope. | |
8907 | ||
c0040397 | 8908 | * sem_ch13.adb: |
463f452c AC |
8909 | (Check_Expr_Constants): Reject an expression that contains a constant |
8910 | created during expansion, and that appears after the object to which | |
8911 | the address clause applies. | |
8912 | ||
8913 | * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of | |
8914 | Analyze_Iteration_Scheme, to rewrite a loop parameter specification | |
8915 | that uses 'Range of a function call with controlled components, so | |
8916 | that the function result can be finalized before starting the loop. | |
8917 | ||
c0040397 | 8918 | * sem_ch8.adb: |
463f452c AC |
8919 | (Find_Selected_Component): Improve error message when prefix is |
8920 | an implicit dereference of an incomplete type. | |
8921 | ||
8922 | 2003-11-10 Robert Dewar <dewar@gnat.com> | |
8923 | ||
8924 | * opt.ads: New Print_Standard flag for -gnatS switch | |
8925 | ||
8926 | * sem_ch13.adb: Remove some additional checks for unaligned arrays | |
8927 | ||
8928 | * cstand.adb (Create_Standard): Print out package standard if -gnatS | |
8929 | switch set | |
8930 | ||
8931 | * debug.adb: Update doc for -gnatds to discuss relationship with new | |
8932 | -gnatS flag | |
8933 | ||
8934 | * sinfo.adb: Add new field Entity_Or_Associated_Node | |
8935 | ||
8936 | * sinfo.ads: Add new field Entity_Or_Associated_Node | |
8937 | Update documentation for Associated_Node and Entity fields to clarify | |
8938 | relationship and usage. | |
8939 | ||
c0040397 | 8940 | * sprint.adb: |
463f452c AC |
8941 | (Write_Id): Properly process Associated_Node field in generic template |
8942 | ||
c0040397 | 8943 | * switch-c.adb: |
463f452c AC |
8944 | Recognize new -gnatS switch for printing package Standard |
8945 | This replaces gnatpsta | |
8946 | ||
c0040397 | 8947 | * usage.adb: |
463f452c AC |
8948 | Add line for new -gnatS switch for printing package Standard |
8949 | This replaces gnatpsta | |
8950 | ||
c77c5f2e AJ |
8951 | 2003-11-10 Andreas Jaeger <aj@suse.de> |
8952 | ||
8953 | * 7sosprim.adb: tv_usec of struct_timeval and time_t are long | |
8954 | integer. | |
8955 | ||
5c90f17f AC |
8956 | 2003-11-10 Arnaud Charlet <charlet@act-europe.fr> |
8957 | ||
8958 | * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed | |
8959 | by gnat1. | |
8960 | ||
139f0d1e AC |
8961 | 2003-11-10 Arnaud Charlet <charlet@act-europe.fr> |
8962 | ||
8963 | * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta, | |
8964 | no longer needed. | |
8965 | ||
8966 | * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed. | |
8967 | ||
8968 | * sysdep.c: Add handling of cygwin. | |
8969 | ||
f3e4c05c GS |
8970 | 2003-11-10 GNAT Script <nobody@gnat.com> |
8971 | ||
8972 | * Make-lang.in: Makefile automatically updated | |
8973 | ||
2cdc8909 AC |
8974 | 2003-11-10 Arnaud Charlet <charlet@act-europe.fr> |
8975 | ||
8976 | PR 12950 | |
8977 | * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New | |
8978 | functions. Used to handle dynamic prefix relocation, via set_std_prefix. | |
8979 | Replace GNAT_ROOT by GCC_ROOT. | |
8980 | ||
8981 | * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb | |
8982 | ||
37783865 ZW |
8983 | 2003-11-06 Zack Weinberg <zack@codesourcery.com> |
8984 | ||
8985 | * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION | |
8986 | and update for changed meaning of GET_MODE_BITSIZE. | |
8987 | ||
6bc1c519 AC |
8988 | 2003-11-04 Doug Rupp <rupp@gnat.com> |
8989 | ||
8990 | * sysdep.c: Problem discovered during IA64 VMS port. | |
8991 | [VMS] #include <unixio.h> to get proper prototypes. | |
8992 | ||
37783865 | 8993 | * adaint.c: |
6bc1c519 AC |
8994 | Issues discovered/problems fixed during IA64 VMS port. |
8995 | [VMS] #define _POSIX_EXIT for proper semantics. | |
8996 | [VMS] #include <unixio.h> for proper prototypes. | |
8997 | [VMS] (fork): #define IA64 version. | |
8998 | (__gnat_os_exit): Remove unnecessary VMS specific code. | |
8999 | ||
9000 | 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
9001 | ||
9002 | Part of PR ada/12806 | |
9003 | ||
9004 | * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as | |
9005 | tree, not integer. | |
9006 | ||
37783865 | 9007 | * decl.c: |
6bc1c519 AC |
9008 | (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree, |
9009 | not integer. | |
9010 | ||
9011 | * targtyps.c, decl.c, misc.c, | |
9012 | gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary | |
9013 | routines to work around change in FP sizing semantics in GCC. | |
9014 | ||
37783865 | 9015 | * utils.c: |
6bc1c519 AC |
9016 | (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer. |
9017 | ||
9018 | * gigi.h: (enumerate_modes): New function. | |
9019 | ||
9020 | * Make-lang.in: (ada/misc.o): Add real.h. | |
9021 | ||
9022 | * misc.c: (enumerate_modes): New function. | |
9023 | ||
9024 | 2003-11-04 Robert Dewar <dewar@gnat.com> | |
9025 | ||
9026 | * 3vtrasym.adb: Minor reformatting | |
9027 | Use terminology encoded/decoded name, rather than C++ specific notion | |
9028 | of mangling (this is the terminology used throughout GNAT). | |
9029 | ||
9030 | * einfo.h: Regenerated | |
9031 | ||
9032 | * einfo.ads, einfo.adb: Add new flag Is_Thread_Body | |
9033 | ||
37783865 | 9034 | * exp_ch6.adb: |
6bc1c519 AC |
9035 | (Expand_N_Subprogram_Body): Handle expansion of thread body procedure |
9036 | ||
9037 | * par-prag.adb: Add dummy entry for Thread_Body pragma | |
9038 | ||
37783865 | 9039 | * rtsfind.ads: |
6bc1c519 AC |
9040 | Add entries for System.Threads entities for thread body processing |
9041 | ||
37783865 | 9042 | * sem_attr.adb: |
6bc1c519 AC |
9043 | (Analyze_Pragma, Access attributes): Check these are not applied to a |
9044 | thread body, since this is not permitted | |
9045 | ||
9046 | * sem_prag.adb: Add processing for Thread_Body pragma. | |
9047 | Minor comment fix. | |
9048 | ||
37783865 | 9049 | * sem_res.adb: |
6bc1c519 AC |
9050 | (Resolve_Call): Check for incorrect attempt to call a thread body |
9051 | procedure with a direct call. | |
9052 | ||
9053 | * snames.ads, snames.adb: Add entry for Thread_Body pragma | |
9054 | Add names associated with thread body expansion | |
9055 | ||
9056 | * snames.h: Add entry for Thread_Body pragma | |
9057 | ||
9058 | * s-thread.adb: Add entries for thread body processing | |
9059 | These are dummy bodies so far | |
9060 | ||
9061 | * s-thread.ads: Add documentation on thread body handling. | |
9062 | Add entries for thread body processing. | |
9063 | ||
9064 | 2003-11-04 Javier Miranda <miranda@gnat.com> | |
9065 | ||
37783865 | 9066 | * sem_ch10.adb: |
6bc1c519 AC |
9067 | (Build_Limited_Views): Return after posting an error in case of limited |
9068 | with_clause on subprograms, generics, instances or generic renamings | |
9069 | (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause | |
9070 | on subprograms, generics, instances or generic renamings | |
9071 | ||
9072 | 2003-11-04 Arnaud Charlet <charlet@act-europe.fr> | |
9073 | ||
9074 | * raise.c (setup_to_install): Correct mistake in last revision; two | |
9075 | arguments out of order. | |
9076 | ||
9077 | * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c, | |
9078 | gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright | |
9079 | notice, missed in previous change. | |
9080 | Remove trailing blanks and other style errors introduced in previous | |
9081 | change. | |
9082 | ||
9083 | 2003-11-04 Olivier Hainque <hainque@act-europe.fr> | |
9084 | ||
9085 | * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get | |
9086 | rid of the wrapper for a LJM type, ensuring we don't do that if the | |
9087 | field is addressable. This avoids potential low level type view | |
9088 | mismatches later on, for instance in a by-reference argument passing | |
9089 | process. | |
9090 | ||
9091 | 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
9092 | ||
9093 | * decl.c (gnat_to_gnu_field): No longer check for BLKmode being | |
9094 | aligned at byte boundary. | |
9095 | ||
9096 | 2003-11-04 Joel Brobecker <brobecker@gnat.com> | |
9097 | ||
9098 | * decl.c (components_to_record): Do not delete the empty variants from | |
9099 | the end of the union type. | |
9100 | ||
9101 | 2003-11-04 Ed Schonberg <schonberg@gnat.com> | |
9102 | ||
9103 | * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive | |
9104 | operation for a derived type, an explicit declaration may use a local | |
9105 | subtype of Boolean. | |
9106 | ||
9107 | 2003-11-04 Vincent Celier <celier@gnat.com> | |
9108 | ||
9109 | * make.adb (Gnatmake): Allow main sources on the command line with a | |
9110 | library project when it is only for compilation (no binding or | |
9111 | linking). | |
9112 | ||
487e9fff RO |
9113 | 2003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
9114 | ||
9115 | * Makefile.in: Remove many duplicate variables. | |
9116 | ||
63069342 KC |
9117 | 2003-11-03 Kelley Cook <kcook@gcc.gnu.org> |
9118 | ||
9119 | * Make-lang.in (dvi): Move targets to $(docobjdir). | |
9120 | (gnat_ug_vms.dvi): Simplify rule and adjust target. | |
9121 | (gnat_ug_wnt.dvi): Likewise. | |
9122 | (gnat_ug_unx.dvi): Likewise. | |
9123 | (gnat_ug_vxw.dvi): Likewise. | |
9124 | (gnat_rm.dvi): Likewise. | |
9125 | (gnat-style.dvi): Likewise. | |
9126 | ||
c2edc52b KC |
9127 | 2003-10-31 Kelley Cook <kcook@gcc.gnu.org> |
9128 | ||
9129 | * gigi.h: Missed commit from update for C90. | |
9130 | ||
14df9585 KC |
9131 | 2003-10-31 Kelley Cook <kcook@gcc.gnu.org> |
9132 | ||
9133 | * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error. | |
9134 | ||
acd8e984 AS |
9135 | 2003-10-31 Andreas Schwab <schwab@suse.de> |
9136 | ||
9137 | * raise.c (get_action_description_for): Fix typo in last change. | |
9138 | ||
b2c62c45 NN |
9139 | 2003-10-31 Nathanael Nerode <neroden@gcc.gnu.org> |
9140 | ||
9141 | PR ada/12761 | |
9142 | * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS, | |
9143 | T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in. | |
9144 | ||
9373164a KC |
9145 | 2003-10-30 Kelley Cook <kcook@gcc.gnu.org> |
9146 | ||
9147 | * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c, | |
9148 | ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c, | |
9149 | gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c, | |
9150 | sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c, | |
9151 | trans.c, utils.c, utils2.c: Convert function prototypes to C90. | |
9152 | ||
bde58e32 AC |
9153 | 2003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr> |
9154 | ||
37783865 | 9155 | * 3vtrasym.adb: |
bde58e32 AC |
9156 | Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line |
9157 | numbers when symbol name is too long. | |
9158 | ||
9159 | 2003-10-30 Ed Falis <falis@gnat.com> | |
9160 | ||
9161 | * g-signal.ads, g-signal.adb: New files | |
9162 | ||
9163 | * impunit.adb: (Non_Imp_File_Names): Added "g-signal" | |
9164 | ||
9165 | * Makefile.rtl: Introduce GNAT.Signals | |
9166 | ||
9167 | 2003-10-30 Robert Dewar <dewar@gnat.com> | |
9168 | ||
9169 | * freeze.adb: Minor reformatting | |
9170 | ||
9171 | * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified | |
9172 | ||
37783865 ZW |
9173 | * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb, |
9174 | par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb: | |
bde58e32 AC |
9175 | New handling of Id_Check parameter to improve recognition of keywords |
9176 | used as identifiers. | |
9177 | Update copyright notice to include 2003 | |
9178 | ||
657a9dd9 AC |
9179 | 2003-10-29 Robert Dewar <dewar@gnat.com> |
9180 | ||
9181 | * 3vtrasym.adb, 5vtraent.ads, sprint.adb, | |
9182 | sem_ch10.adb: Minor reformatting | |
9183 | ||
9184 | * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands | |
9185 | (Expand_Assign_Record): Test right hand side for bit unaligned as well | |
9186 | ||
9187 | 2003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr> | |
9188 | ||
37783865 | 9189 | * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c: |
657a9dd9 AC |
9190 | Support for TBK$SYMBOLIZE-based symbolic traceback. |
9191 | ||
9192 | 2003-10-29 Jose Ruiz <ruiz@act-europe.fr> | |
9193 | ||
37783865 | 9194 | * exp_disp.adb: |
657a9dd9 AC |
9195 | Revert previous change, that did not work well when pragma No_Run_Time |
9196 | was used in conjunction with a run-time other than ZFP. | |
9197 | ||
9198 | 2003-10-29 Vincent Celier <celier@gnat.com> | |
9199 | ||
37783865 | 9200 | * make.adb: |
657a9dd9 AC |
9201 | (Gnatmake): When there are no Ada mains in attribute Main, disable the |
9202 | bind and link steps only is switch -z is not used. | |
9203 | ||
9204 | 2003-10-29 Arnaud Charlet <charlet@act-europe.fr> | |
9205 | ||
9206 | * Makefile.generic: Remove duplicated setting of CC. | |
9207 | ||
9208 | * Makefile.prolog: Set CC to gcc by default, to override make's | |
9209 | default (cc). | |
9210 | ||
9211 | * einfo.h: Regenerated. | |
9212 | ||
9213 | 2003-10-29 Ed Schonberg <schonberg@gnat.com> | |
9214 | ||
9215 | * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for | |
9216 | current body, after compiling subunit. | |
9217 | ||
9218 | * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype | |
9219 | when in deleted code, because gigi needs properly ordered freeze | |
9220 | actions to annotate types. | |
9221 | ||
9222 | * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to | |
9223 | prevent the premature freezing of record type that contains | |
9224 | subcomponents with a private type that does not yet have a completion. | |
9225 | ||
9226 | 2003-10-29 Javier Miranda <miranda@gnat.com> | |
9227 | ||
37783865 | 9228 | * sem_ch12.adb: |
657a9dd9 AC |
9229 | (Analyze_Package_Instantiation): Check that instances can not be used in |
9230 | limited with_clauses. | |
9231 | ||
37783865 | 9232 | * sem_ch8.adb: |
657a9dd9 AC |
9233 | (Analyze_Package_Renaming): Check that limited withed packages cannot |
9234 | be renamed. Improve text on error messages related to limited | |
9235 | with_clauses. | |
9236 | ||
9237 | * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute. | |
9238 | ||
9239 | * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses. | |
9240 | Update copyright notice. | |
9241 | ||
9242 | * sem_ch10.adb: (Build_Limited_Views): Complete its documentation. | |
9243 | (Install_Limited_Context_Clauses): New subprogram that isolates all the | |
9244 | checks required for limited context_clauses and installs the limited | |
9245 | view. | |
9246 | (Install_Limited_Withed_Unit): Complete its documentation. | |
9247 | (Analyze_Context): Check that limited with_clauses are only allowed in | |
9248 | package specs. | |
9249 | (Install_Context): Call Install_Limited_Context_Clauses after the | |
9250 | parents have been installed. | |
9251 | (Install_Limited_Withed_Unit): Add documentation. Mark the installed | |
9252 | package as 'From_With_Type'; this mark indicates that the limited view | |
9253 | is installed. Used to check bad usages of limited with_clauses. | |
9254 | (Build_Limited_Views): Do not add shadow entities to the scope's list | |
9255 | of entities. Do not add real entities to the Non_Limited_Views chain. | |
9256 | Improve error notification. | |
9257 | (Remove_Context_Clauses): Remove context clauses in two phases: | |
9258 | limited views first and regular views later (to maintain the | |
9259 | stack model). | |
9260 | (Remove_Limited_With_Clause): If the package is analyzed then reinstall | |
9261 | its visible entities. | |
9262 | ||
9263 | 2003-10-29 Thomas Quinot <quinot@act-europe.fr> | |
9264 | ||
9265 | * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible | |
9266 | with any type that Is_Fixed_Point_Type. | |
9267 | ||
9268 | * sinfo.ads: Fix documentation for Associated_Node attribute. | |
9269 | ||
9270 | 2003-10-29 Sergey Rybin <rybin@act-europe.fr> | |
9271 | ||
9272 | * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when | |
9273 | both '-gnatc' and '-gnatt' are specified. | |
9274 | ||
9275 | * atree.adb (Initialize): Add initialization for Node_Count (set to | |
9276 | zero). | |
9277 | ||
9278 | 2003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
9279 | ||
9280 | * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value, | |
9281 | do not consider as Pure. | |
9282 | ||
9283 | Part of implementation of function-at-a-time: | |
9284 | ||
9285 | * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt. | |
9286 | (tree_transform): Add new argument to build_component_ref. | |
9287 | (tree_transform, case N_Assignment_Statement): Make and return an | |
9288 | EXPR_STMT. | |
9289 | (tree_transform): If result IS_STMT, set flags and return it. | |
9290 | (gnat_expand_stmt, set_lineno_from_sloc): New functions. | |
9291 | ||
9292 | * utils2.c (build_simple_component_ref, build_component_ref): Add new | |
9293 | arg, NO_FOLD_P. | |
9294 | (build_binary_op, case EQ_EXPR): Pass additional arg to it. | |
9295 | (build_allocator): Likewise. | |
9296 | ||
9297 | * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert): | |
9298 | Add new arg to build_component_ref. | |
9299 | (maybe_unconstrained_array, unchecked_convert): Likewise. | |
9300 | ||
9301 | * ada-tree.def (EXPR_STMT): New code. | |
9302 | ||
9303 | * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros. | |
9304 | ||
9305 | * decl.c (gnat_to_gnu_entity, case object): Add extra arg to | |
9306 | build_component_ref calls. | |
9307 | ||
9308 | * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt. | |
9309 | ||
9310 | * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions. | |
9311 | (build_component_ref): Add new argument, NO_FOLD_P. | |
9312 | ||
ecad994d AC |
9313 | 2003-10-27 Arnaud Charlet <charlet@act-europe.fr> |
9314 | ||
9315 | * Makefile.generic: Add missing substitution on object_deps handling. | |
9316 | ||
9317 | PR ada/5909: | |
9318 | * Make-lang.in (check-ada): Enable ACATS test suite. | |
9319 | ||
9320 | 2003-10-27 Robert Dewar <dewar@gnat.com> | |
9321 | ||
37783865 | 9322 | * exp_ch3.adb: |
ecad994d AC |
9323 | (Freeze_Array_Type): We do not need an initialization routine for types |
9324 | derived from String or Wide_String. They should be treated the same | |
9325 | as String and Wide_String themselves. This caused problems with the | |
9326 | use of Initialize_Scalars. | |
9327 | ||
37783865 | 9328 | * exp_ch5.adb: |
ecad994d AC |
9329 | (Expand_Assign_Record): Do component-wise assignment of non-byte aligned |
9330 | composites. This allows use of component clauses that are not byte | |
9331 | aligned. | |
9332 | ||
37783865 | 9333 | * sem_prag.adb: |
ecad994d AC |
9334 | (Analyze_Pragma, case Pack): Generate warning and ignore pack if there |
9335 | is an attempt to pack an array of atomic objects. | |
9336 | ||
9337 | * make.adb, prj-env.adb, prj-env.ads: Minor reformatting | |
9338 | ||
9339 | 2003-10-27 Pascal Obry <obry@gnat.com> | |
9340 | ||
37783865 | 9341 | * g-dirope.adb: |
ecad994d AC |
9342 | (Basename): Check for drive letters in a pathname only on DOS based OS. |
9343 | ||
9344 | 2003-10-27 Vincent Celier <celier@gnat.com> | |
9345 | ||
37783865 | 9346 | * make.adb: |
ecad994d AC |
9347 | (Gnatmake): When unable to change dir to the object dir, display the |
9348 | content of the parent dir of the obj dir, to try to understand why this | |
9349 | happens. | |
9350 | ||
9351 | 2003-10-27 GNAT Script <nobody@gnat.com> | |
9352 | ||
9353 | * Make-lang.in: Makefile automatically updated | |
9354 | ||
9355 | 2003-10-27 Ed Schonberg <schonberg@gnat.com> | |
9356 | ||
37783865 | 9357 | * sem_ch12.adb: |
ecad994d AC |
9358 | (Inline_Instance_Body): Indicate that the save/restore of use_clauses |
9359 | should not be done in Save/Restore_Scope_Stack, because it is performed | |
9360 | locally. | |
9361 | ||
37783865 | 9362 | * sem_ch8.adb: |
ecad994d AC |
9363 | (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate |
9364 | whether use clauses should be removed/restored. | |
9365 | ||
37783865 | 9366 | * sem_ch8.ads: |
ecad994d AC |
9367 | (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate |
9368 | whether use clauses should be removed/restored. | |
9369 | ||
b6b3c138 AJ |
9370 | 2003-10-26 Andreas Jaeger <aj@suse.de> |
9371 | ||
9372 | * Makefile.in: Remove duplicated lines. | |
9373 | ||
b6d83931 AC |
9374 | 2003-10-24 Arnaud Charlet <charlet@act-europe.fr> |
9375 | ||
9376 | * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to | |
9377 | minimize the differences with ACT tree. | |
9378 | ||
9379 | * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb, | |
9380 | gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of | |
9381 | Gnatvsn.Gnat_Static_Version_String to reduce differences between | |
9382 | ACT and FSF trees. | |
9383 | ||
9384 | 2003-10-24 Pascal Obry <obry@gnat.com> | |
9385 | ||
9386 | * adadecode.c (ostrcpy): New function. | |
9387 | (__gnat_decode): Use ostrcpy of strcpy. | |
9388 | (has_prefix): Set first parameter a const. | |
9389 | (has_suffix): Set first parameter a const. | |
9390 | Update copyright notice. Fix source name in header. | |
9391 | Removes a trailing space. | |
9392 | PR ada/12014. | |
9393 | ||
9394 | 2003-10-24 Jose Ruiz <ruiz@act-europe.fr> | |
9395 | ||
b6b3c138 | 9396 | * exp_disp.adb: |
b6d83931 AC |
9397 | Remove the test against being in No_Run_Time_Mode before generating a |
9398 | call to Register_Tag. It is redundant with the test against the | |
9399 | availability of the function Register_Tag. | |
9400 | ||
9401 | 2003-10-24 Vincent Celier <celier@gnat.com> | |
9402 | ||
9403 | * g-catiio.adb: (Month_Name): Correct spelling of February | |
9404 | ||
9405 | * make.adb: (Mains): New package | |
9406 | (Initialize): Call Mains.Delete | |
9407 | (Gnatmake): Check that each main on the command line is a source of a | |
9408 | project file and, if there are several mains, each of them is a source | |
9409 | of the same project file. | |
9410 | (Gnatmake): When a foreign language is specified in attribute Languages, | |
9411 | no main is specified on the command line and attribute Mains is not | |
9412 | empty, only build the Ada main. If there is no Ada main, just compile | |
9413 | the Ada sources and their closure. | |
9414 | (Gnatmake): If a main is specified on the command line with directory | |
9415 | information, check that the source exists and, if it does, that the path | |
9416 | is the actual path of a source of a project. | |
9417 | ||
b6b3c138 | 9418 | * prj-env.adb: |
b6d83931 AC |
9419 | (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When |
9420 | Full_Path is True, return the full path instead of the simple file name. | |
9421 | (Project_Of): New function | |
9422 | ||
b6b3c138 | 9423 | * prj-env.ads: |
b6d83931 AC |
9424 | (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path, |
9425 | defaulted to False. | |
9426 | (Project_Of): New function | |
9427 | ||
9428 | 2003-10-24 Arnaud Charlet <charlet@act-europe.fr> | |
9429 | ||
b6b3c138 | 9430 | * Makefile.generic: |
b6d83931 AC |
9431 | Ensure objects of main project are always checked and rebuilt if needed. |
9432 | Set CC to gcc by default. | |
9433 | Prepare new handling of link by creating a global archive (not activated | |
9434 | yet). | |
9435 | ||
9436 | * adadecode.h, atree.h, elists.h, nlists.h, raise.h, | |
9437 | stringt.h: Update copyright notice. Remove trailing blanks. | |
9438 | Fix source name in header. | |
9439 | ||
9440 | 2003-10-24 Robert Dewar <dewar@gnat.com> | |
9441 | ||
9442 | * sem_ch12.adb: Minor reformatting | |
9443 | ||
b6b3c138 | 9444 | * sem_ch3.adb: |
b6d83931 AC |
9445 | Minor reformatting (including new function return style throughout) |
9446 | ||
b6b3c138 | 9447 | * sem_ch3.ads: |
b6d83931 AC |
9448 | Minor reformatting (including new function return style throughout) |
9449 | ||
9450 | 2003-10-24 Arnaud Charlet <charlet@act-europe.fr> | |
9451 | ||
9452 | * adadecode.h, atree.h, elists.h, nlists.h, raise.h, | |
9453 | stringt.h: Update copyright notice. Remove trailing blanks. | |
9454 | Fix source name in header. | |
9455 | ||
9456 | 2003-10-24 GNAT Script <nobody@gnat.com> | |
9457 | ||
9458 | * Make-lang.in: Makefile automatically updated | |
9459 | ||
b4e2d709 NN |
9460 | 2003-10-23 Nathanael Nerode <neroden@gcc.gnu.org> |
9461 | ||
9462 | * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h, | |
9463 | stringt.h: Convert to ISO C90 declarations and definitions. | |
9464 | ||
9d7d51be AC |
9465 | 2003-10-23 Thomas Quinot <quinot@act-europe.fr> |
9466 | ||
9467 | PR ada/11978: | |
9468 | * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited | |
9469 | External_Tag attribute definition clauses. | |
9470 | ||
9471 | 2003-10-23 Ed Schonberg <schonberg@gnat.com> | |
9472 | ||
9473 | PR ada/7613: | |
9474 | * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a | |
9475 | child unit, generate a fully qualified name to avoid spurious errors | |
9476 | when the context contains renamings of different child units with | |
9477 | the same simple name. | |
9478 | ||
9479 | * exp_dbug.ads: Add documentation on name qualification for renamings | |
9480 | of child units. | |
9481 | ||
9482 | 2003-10-23 Robert Dewar <dewar@gnat.com> | |
9483 | ||
9484 | * g-regpat.ads, g-regpat.adb: Minor reformatting | |
9485 | ||
9486 | 2003-10-23 Jose Ruiz <ruiz@act-europe.fr> | |
9487 | ||
9488 | * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times. | |
9489 | ||
9490 | 2003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
9491 | ||
9492 | * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to | |
9493 | Machine call. | |
9494 | ||
9495 | * urealp.h: (Machine): Update to proper definition. | |
9496 | ||
6d244bbe AC |
9497 | 2003-10-23 Arnaud Charlet <charlet@act-europe.fr> |
9498 | ||
9499 | * init.c, adaint.c: Minor reformatting. | |
9500 | ||
8f4eb34b DS |
9501 | 2003-10-23 Danny Smith <dannysmith@users.sourceforge.net> |
9502 | ||
6d244bbe | 9503 | * adaint.c (w32_epoch_offset): Define static const at file level. |
8f4eb34b DS |
9504 | (win32_filetime): Replace offset with w32_epoch_offset. Use NULL |
9505 | rather than t_create, t_access in call to GetFileTime. Use union | |
9506 | to convert between FILETIME and unsigned long long. | |
9507 | (__gnat_file_time_name): Test for invalid file handle. | |
9508 | (__gnat_set_filetime_name): Support win32 targets using | |
9509 | w32api SetFileTime. | |
9510 | ||
25412599 DS |
9511 | 2003-10-22 Danny Smith <dannysmith@users.sourceforge.net> |
9512 | ||
9513 | * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW. | |
9514 | ||
9515 | * ctrl_c.c (__gnat_int_handler): Remove declaration. | |
9516 | ||
9517 | * decl.c (creat_concat_name): Const-ify prefix. | |
9518 | ||
9519 | * adaint.c: Include ctype.h if __MINGW32__. | |
9520 | (__gnat_readlink): Mark arguments as possibly unused. | |
9521 | (__gnat_symlink): Likewise. | |
9522 | (__gnat_is_symbolic_link): Likewise. | |
9523 | (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match | |
9524 | declaration | |
b6b3c138 | 9525 | (__gnat_file_time_name): Don't declare struct stat statbuf when |
25412599 DS |
9526 | not needed. |
9527 | (__gnat_is_absolute_path): Add parenthesis around condition of | |
9528 | 'if' statement to avoid warning. | |
9529 | (__gnat_plist_init): Specify void as parameter. | |
9530 | (plist_enter): Likewise. | |
9531 | (plist_leave): Likewise. | |
9532 | (remove_handle): Make static. Initialize prev. | |
9533 | ||
698a5e79 AC |
9534 | 2003-10-22 Arnaud Charlet <charlet@act-europe.fr> |
9535 | ||
6d244bbe | 9536 | * Makefile.in: Disable build of gnatpsta. PR ada/10110. |
698a5e79 AC |
9537 | * cstreams.c (__gnat_full_name): Minor improvements and clean up |
9538 | of previous change. | |
9539 | ||
e97c30aa RO |
9540 | 2003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
9541 | ||
9542 | * tracebak.c (MAX): Avoid redefinition warning. | |
9543 | ||
9544 | * init.c [sgi] (__gnat_error_handler): Remove i, unused. | |
9545 | Change msg to const char *. | |
9546 | (__gnat_install_handler): Remove ss, unused. | |
9547 | [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg | |
9548 | to const char *. | |
9549 | * cstreams.c (__gnat_full_name): Declare p only when used. | |
9550 | (__gnat_full_name) [sgi] Return buffer. | |
9551 | ||
65f1ebd1 AC |
9552 | 2003-10-22 Arnaud Charlet <charlet@act-europe.fr> |
9553 | ||
9554 | * mingw32.h: New file. | |
0c644933 AC |
9555 | * gnat_wrapper.adb: New file. |
9556 | ||
6d244bbe | 9557 | 2003-10-22 Jerome Roussel <roussel@act-europe.fr> |
0c644933 AC |
9558 | |
9559 | * g-regpat.ads, g-regpat.adb (Match): new function, to know if a | |
9560 | string match a pre compiled regular expression (the corresponding | |
9561 | version of the function working on a raw regular expression) | |
9562 | Fix typos in various comments | |
9563 | Update copyright notice in spec | |
9564 | ||
6d244bbe | 9565 | 2003-10-21 Gary Dismukes <dismukes@gnat.com> |
0c644933 | 9566 | |
b6b3c138 | 9567 | * exp_ch3.adb: |
0c644933 AC |
9568 | (Component_Needs_Simple_Initialization): Return False when the type is a |
9569 | packed bit array. Revise spec comments to document this case. | |
9570 | ||
b6b3c138 | 9571 | * exp_prag.adb: |
0c644933 AC |
9572 | (Expand_Pragma_Import): Set any expression on the imported object to |
9573 | empty to avoid initializing imported objects (in particular this | |
9574 | covers the case of zero-initialization of bit arrays). | |
9575 | Update copyright notice. | |
9576 | ||
6d244bbe | 9577 | 2003-10-21 Ed Schonberg <schonberg@gnat.com> |
0c644933 | 9578 | |
b6b3c138 | 9579 | * sem_ch12.adb: |
0c644933 AC |
9580 | (Load_Parent_Of_Generic): If parent is compilation unit, stop search, |
9581 | a subunit is missing. | |
9582 | (Instantiate_Subprogram_Body): If body of function is missing, set type | |
9583 | of return expression explicitly in dummy body, to prevent cascaded | |
9584 | errors when a subunit is missing. | |
9585 | Fixes PR 5677. | |
9586 | ||
b6b3c138 | 9587 | * sem_ch3.adb: |
0c644933 AC |
9588 | (Access_Subprogram_Declaration): Verify that return type is valid. |
9589 | Fixes PR 8693. | |
9590 | ||
b6b3c138 | 9591 | * sem_elab.adb: |
0c644933 AC |
9592 | (Check_Elab_Calls): Do not apply elaboration checks if the main unit is |
9593 | generic. | |
9594 | Fixes PR 12318. | |
9595 | ||
b6b3c138 | 9596 | * sem_util.adb: |
0c644933 AC |
9597 | (Corresponding_Discriminant): If the scope of the discriminant is a |
9598 | private type without discriminant, use its full view. | |
9599 | Fixes PR 8247. | |
65f1ebd1 | 9600 | |
fbf5a39b AC |
9601 | 2003-10-21 Arnaud Charlet <charlet@act-europe.fr> |
9602 | ||
9603 | * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads, | |
9604 | 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads, | |
9605 | 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads, | |
9606 | 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb, | |
9607 | 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads, | |
9608 | 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads, | |
9609 | 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb, | |
9610 | 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads, | |
9611 | 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads, | |
9612 | 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb, | |
9613 | 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads, | |
9614 | 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb, | |
9615 | 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb, | |
9616 | 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb, | |
9617 | 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb, | |
9618 | a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb, | |
9619 | a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb, | |
9620 | a-stwisu.ads, bld.adb, bld.ads, bld-io.adb, | |
9621 | bld-io.ads, clean.adb, clean.ads, ctrl_c.c, | |
9622 | erroutc.adb, erroutc.ads, errutil.adb, errutil.ads, | |
9623 | err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads, | |
9624 | g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb, | |
9625 | g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads, | |
9626 | g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb, | |
9627 | g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb, | |
9628 | g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb, | |
9629 | g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads, | |
9630 | gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb, | |
9631 | g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads, | |
9632 | g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb, | |
9633 | i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl, | |
9634 | prep.adb, prep.ads, prepcomp.adb, prepcomp.ads, | |
9635 | prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb, | |
9636 | s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb, | |
9637 | s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb, | |
9638 | s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb, | |
9639 | s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb, | |
9640 | s-caun64.ads, scng.adb, scng.ads, s-exnint.adb, | |
9641 | s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb, | |
9642 | s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb, | |
9643 | s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads, | |
9644 | socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb, | |
9645 | s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads, | |
9646 | s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads, | |
9647 | s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb, | |
9648 | styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb, | |
9649 | s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads, | |
9650 | tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads, | |
9651 | vms_conv.ads, vms_conv.adb, vms_data.ads, | |
9652 | vxaddr2line.adb: Files added. Merge with ACT tree. | |
9653 | ||
9654 | * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads, | |
9655 | 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb, | |
9656 | 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads, | |
9657 | 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c, | |
9658 | g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb, | |
9659 | s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads, | |
9660 | s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads, | |
9661 | s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads, | |
9662 | s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads, | |
9663 | s-expssi.ads, style.adb: Files removed. Merge with ACT tree. | |
9664 | ||
9665 | * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads, | |
9666 | 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads, | |
9667 | 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, | |
9668 | 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads, | |
9669 | 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, | |
9670 | 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads, | |
9671 | 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, | |
9672 | 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads, | |
9673 | 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads, | |
9674 | 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads, | |
9675 | 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, | |
9676 | 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, | |
9677 | 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb, | |
9678 | 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads, | |
9679 | 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads, | |
9680 | 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads, | |
9681 | 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads, | |
9682 | 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb, | |
9683 | 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads, | |
9684 | 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads, | |
9685 | 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads, | |
9686 | 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb, | |
9687 | 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb, | |
9688 | 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads, | |
9689 | 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb, | |
9690 | 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads, | |
9691 | 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb, | |
9692 | 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads, | |
9693 | 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, | |
9694 | 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb, | |
9695 | 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb, | |
9696 | 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, | |
9697 | 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb, | |
9698 | 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, | |
9699 | 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, | |
9700 | 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb, | |
9701 | 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb, | |
9702 | a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads, | |
9703 | a-comlin.adb, adaint.c, adaint.h, ada-tree.def, | |
9704 | a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb, | |
9705 | a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads, | |
9706 | a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads, | |
9707 | ali.adb, ali.ads, ali-util.adb, ali-util.ads, | |
9708 | a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb, | |
9709 | a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb, | |
9710 | a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb, | |
9711 | a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb, | |
9712 | a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads, | |
9713 | a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb, | |
9714 | a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, | |
9715 | a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb, | |
9716 | a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb, | |
9717 | a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb, | |
9718 | a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads, | |
9719 | a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads, | |
9720 | atree.adb, atree.ads, a-witeio.adb, a-witeio.ads, | |
9721 | a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb, | |
9722 | a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb, | |
9723 | bcheck.adb, binde.adb, bindgen.adb, bindusg.adb, | |
9724 | checks.adb, checks.ads, cio.c, comperr.adb, | |
9725 | comperr.ads, csets.adb, cstand.adb, cstreams.c, | |
9726 | debug_a.adb, debug_a.ads, debug.adb, decl.c, | |
9727 | einfo.adb, einfo.ads, errout.adb, errout.ads, | |
9728 | eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb, | |
9729 | expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb, | |
9730 | exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, | |
9731 | exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads, | |
9732 | exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb, | |
9733 | exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c, | |
9734 | exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb, | |
9735 | exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb, | |
9736 | exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb, | |
9737 | fe.h, fmap.adb, fmap.ads, fname.adb, | |
9738 | fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb, | |
9739 | freeze.ads, frontend.adb, g-awk.adb, g-awk.ads, | |
9740 | g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads, | |
9741 | g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads, | |
9742 | g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads, | |
9743 | g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads, | |
9744 | g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads, | |
9745 | g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads, | |
9746 | g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads, | |
9747 | g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb, | |
9748 | g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb, | |
9749 | g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h, | |
9750 | g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads, | |
9751 | g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads, | |
9752 | gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb, | |
9753 | gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb, | |
9754 | gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb, | |
9755 | gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb, | |
9756 | gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb, | |
9757 | g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb, | |
9758 | g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads, | |
9759 | g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads, | |
9760 | g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads, | |
9761 | g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads, | |
9762 | g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb, | |
9763 | g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb, | |
9764 | g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads, | |
9765 | i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads, | |
9766 | i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c, | |
9767 | inline.adb, interfac.ads, i-pacdec.ads, itypes.adb, | |
9768 | itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h, | |
9769 | layout.adb, lib.adb, lib.ads, lib-list.adb, | |
9770 | lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb, | |
9771 | lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads, | |
9772 | link.c, live.adb, make.adb, make.ads, | |
9773 | Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb, | |
9774 | mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, | |
9775 | mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb, | |
9776 | misc.c, mkdir.c, mlib.adb, mlib.ads, | |
9777 | mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, | |
9778 | mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, | |
9779 | namet.adb, namet.ads, namet.h, nlists.ads, | |
9780 | nlists.h, nmake.adt, opt.adb, opt.ads, | |
9781 | osint.adb, osint.ads, osint-b.adb, osint-c.adb, | |
9782 | par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb, | |
9783 | par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, | |
9784 | par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb, | |
9785 | par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb, | |
9786 | prj.adb, prj.ads, prj-attr.adb, prj-attr.ads, | |
9787 | prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads, | |
9788 | prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads, | |
9789 | prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads, | |
9790 | prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads, | |
9791 | prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads, | |
9792 | prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads, | |
9793 | prj-util.adb, prj-util.ads, raise.c, raise.h, | |
9794 | repinfo.adb, repinfo.h, restrict.adb, restrict.ads, | |
9795 | rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads, | |
9796 | s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb, | |
9797 | s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb, | |
9798 | scans.ads, scn.adb, scn.ads, s-crc32.adb, | |
9799 | s-crc32.ads, s-direio.adb, sem.adb, sem.ads, | |
9800 | sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb, | |
9801 | sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb, | |
9802 | sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb, | |
9803 | sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, | |
9804 | sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads, | |
9805 | sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads, | |
9806 | sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb, | |
9807 | sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb, | |
9808 | sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads, | |
9809 | sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads, | |
9810 | sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb, | |
9811 | s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads, | |
9812 | s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads, | |
9813 | s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads, | |
9814 | s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb, | |
9815 | s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb, | |
9816 | s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads, | |
9817 | s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb, | |
9818 | sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb, | |
9819 | sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads, | |
9820 | sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads, | |
9821 | s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads, | |
9822 | s-memory.adb, s-memory.ads, snames.adb, snames.ads, | |
9823 | snames.h, s-osprim.ads, s-parame.ads, s-parint.ads, | |
9824 | s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb, | |
9825 | s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads, | |
9826 | s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads, | |
9827 | s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads, | |
9828 | s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads, | |
9829 | s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads, | |
9830 | s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads, | |
9831 | s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads, | |
9832 | s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb, | |
9833 | s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb, | |
9834 | s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb, | |
9835 | s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads, | |
9836 | s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads, | |
9837 | s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads, | |
9838 | s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, | |
9839 | s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads, | |
9840 | stringt.adb, stringt.ads, stringt.h, style.ads, | |
9841 | stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads, | |
9842 | s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb, | |
9843 | s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb, | |
9844 | switch.ads, switch-b.adb, switch-c.adb, switch-m.adb, | |
9845 | s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads, | |
9846 | table.adb, table.ads, targparm.adb, targparm.ads, | |
9847 | targtyps.c, tbuild.adb, tbuild.ads, tracebak.c, | |
9848 | trans.c, tree_io.adb, treepr.adb, treeprs.adt, | |
9849 | ttypes.ads, types.ads, types.h, uintp.adb, | |
9850 | uintp.ads, uintp.h, uname.adb, urealp.adb, | |
9851 | urealp.ads, urealp.h, usage.adb, utils2.c, | |
9852 | utils.c, validsw.adb, validsw.ads, widechar.adb, | |
9853 | xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads, | |
9854 | xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb, | |
9855 | einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb, | |
9856 | gnatvsn.ads: Merge with ACT tree. | |
9857 | ||
9858 | * gnatvsn.adb: Rewritten in a simpler and more efficient way. | |
9859 | ||
97ae108d MM |
9860 | 2003-10-20 Mark Mitchell <mark@codesourcery.com> |
9861 | ||
de696511 MM |
9862 | * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir. |
9863 | (gnat_ug_vmx.info): Likewise. | |
9864 | (gnat_ug_vxw.info): Likewise. | |
9865 | (gnat_ug_wnt.info): Likewise. | |
9866 | (gnat_rm.info): Likewise. | |
9867 | (gnat-style.info): Likewise. | |
9868 | ||
97ae108d MM |
9869 | * Make-lang.in (ada.install-info): Remove target. |
9870 | (info): New target. | |
9871 | (install-info): Likewise. | |
9872 | (gnat_ug_unx.info): Simplify rule. | |
9873 | (gnat_ug_vmx.info): Likewise. | |
9874 | (gnat_ug_vxw.info): Likewise. | |
9875 | (gnat_ug_wnt.info): Likewise. | |
9876 | (gnat_rm.info): Likewise. | |
9877 | (gnat-style.info): Likewise. | |
9878 | ||
43aba518 NN |
9879 | 2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org> |
9880 | ||
9881 | * Make-lang.in: Replace uses of $(target_alias) with | |
9882 | $(target_noncanonical). | |
9883 | * ada/Makefile.in: Remove unused mention of $(target_alias). | |
9884 | ||
62b81e45 MM |
9885 | 2003-10-06 Mark Mitchell <mark@codesourcery.com> |
9886 | ||
9887 | * Make-lang.in (ada.info): Replace with ... | |
9888 | (info): ... this. | |
9889 | (ada.dvi): Replace with ... | |
9890 | (dvi): ... this. | |
9891 | ||
783be936 ZW |
9892 | 2003-09-29 Zack Weinberg <zack@codesourcery.com> |
9893 | ||
9894 | * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to | |
9895 | initialize dconstp5 and dconstmp5. | |
9896 | ||
177560b2 RH |
9897 | 2003-09-28 Richard Henderson <rth@redhat.com> |
9898 | ||
9899 | * trans.c (tree_transform): Update call to expand_asm_operands. | |
9900 | ||
f31686a3 RH |
9901 | 2003-09-21 Richard Henderson <rth@redhat.com> |
9902 | ||
9903 | * trans.c, utils.c: Revert. | |
9904 | ||
7e2af53a RH |
9905 | 2003-09-21 Richard Henderson <rth@redhat.com> |
9906 | ||
9907 | * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and | |
9908 | change to const. | |
9909 | ||
5f1e32fa MM |
9910 | 2003-09-04 Michael Matz <matz@suse.de> |
9911 | ||
9912 | * misc.c: Include "target.h". | |
9913 | * Make-lang.in (misc.o): Add dependency on target.h. | |
9914 | ||
61f71b34 DD |
9915 | 2003-09-03 DJ Delorie <dj@redhat.com> |
9916 | ||
9917 | * misc.c (default_pass_by_ref): Convert to calls.return_in_memory | |
9918 | hook. | |
9919 | ||
2ed26f6b ZW |
9920 | 2003-08-30 Zack Weinberg <zack@codesourcery.com> |
9921 | ||
9922 | * Makefile.in: Update substitutions to match changes to | |
9923 | configure. Use include directives instead of @-insertions | |
9924 | to read in host and target fragments. Add a rule to | |
9925 | regenerate ada/Makefile. | |
9926 | ||
b2e608ca NB |
9927 | 2003-07-18 Neil Booth <neil@daikokuya.co.uk> |
9928 | ||
9929 | * lang-options.h: Remove. | |
9930 | * lang.opt: Add help text. | |
9931 | ||
0cea056b NS |
9932 | 2003-07-07 Nathan Sidwell <nathan@codesourcery.com> |
9933 | ||
9934 | * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note | |
9935 | calls. | |
9936 | ||
cb66e385 NB |
9937 | 2003-07-06 Neil Booth <neil@daikokuya.co.uk> |
9938 | ||
9939 | * misc.c (gnat_handle_option): Don't handle filenames. | |
9940 | ||
8c90b13a L |
9941 | 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> |
9942 | ||
9943 | * Make-lang.in: Replace PWD with PWD_COMMAND. | |
9944 | * Makefile.adalib: Likewise. | |
9945 | * Makefile.in: Likewise. | |
9946 | ||
9c286213 MK |
9947 | 2003-07-04 Matt Kraai <kraai@alumni.cmu.edu> |
9948 | ||
9949 | * misc.c (gnat_argv): Revert last change. | |
9950 | (gnat_handle_option, gnat_init_options): Copy arguments. | |
9951 | ||
b9add449 NB |
9952 | 2003-07-03 Neil Booth <neil@daikokuya.co.uk> |
9953 | ||
9c286213 | 9954 | * misc.c (gnat_argv): Make const. |
b9add449 | 9955 | |
836d77a9 NB |
9956 | 2003-07-02 Neil Booth <neil@daikokuya.co.uk> |
9957 | ||
9958 | * misc.c (save_argc, save_argv): Keep non-static! | |
9959 | ||
b86f6cd9 NB |
9960 | 2003-07-02 Neil Booth <neil@daikokuya.co.uk> |
9961 | ||
9962 | * misc.c (save_argc, save_argv): Make static. | |
9963 | (gnat_init_options): New prototype. | |
9964 | (gnat_init_options): Update. | |
9965 | ||
6344b1f1 MK |
9966 | 2003-07-01 Matt Kraai <kraai@alumni.cmu.edu> |
9967 | ||
9968 | * gnat_ug.texi: Remove unlikely characters from @vars. | |
9969 | * gnat_ug_vms.texi: Regenerate. | |
9970 | ||
2e040219 NS |
9971 | 2003-06-27 Nathan Sidwell <nathan@codesourcery.com> |
9972 | ||
9973 | * misc.c (record_code_position): Adjust emit_note call. | |
9974 | ||
9eee5e72 NB |
9975 | 2003-06-26 Neil Booth <neil@daikokuya.co.uk> |
9976 | ||
9977 | * misc.c (gnat_handle_option): Don't check for missing arguments. | |
9978 | ||
1f9cc6db NS |
9979 | 2003-06-20 Nathan Sidwell <nathan@codesourcery.com> |
9980 | ||
9981 | * utils.c (end_subprog_body): Adjust expand_function_end call. | |
9982 | ||
23d6baa3 MK |
9983 | 2003-06-16 Matt Kraai <kraai@alumni.cmu.edu> |
9984 | ||
9985 | * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test | |
9986 | Bind_Main_Program. | |
9987 | ||
be43ab4e NB |
9988 | 2003-06-15 Neil Booth <neil@daikokuya.co.uk> |
9989 | ||
9990 | * lang.opt: Declare Ada. | |
9991 | * misc.c (gnat_init_options): Update. | |
9992 | ||
ee6b0296 NS |
9993 | 2003-06-14 Nathan Sidwell <nathan@codesourcery.com> |
9994 | ||
9995 | * utils.c (begin_subprog_body): Adjust init_function_start call. | |
9996 | ||
d7b42618 NB |
9997 | 2003-06-14 Neil Booth <neil@daikokuya.co.uk> |
9998 | ||
9999 | * Make-lang.in: Update to use options.c and options.h. | |
10000 | * misc.c: Include options.h not aoptions.h. | |
10001 | (gnat_handle_option): Abort on unrecognized switch. | |
10002 | (gnat_init_options): Request Ada switches. | |
10003 | ||
57eb6503 NB |
10004 | 2003-06-14 Neil Booth <neil@daikokuya.co.uk> |
10005 | ||
10006 | * lang.opt: Add -Wall. | |
10007 | * misc.c (gnat_handle_option): Handle it. | |
10008 | ||
70fd6569 NB |
10009 | 2003-06-12 Neil Booth <neil@daikokuya.co.uk> |
10010 | ||
10011 | * misc.c (gnat_handle_option): Fix warnings. | |
10012 | ||
8cdea5a1 MK |
10013 | 2003-06-11 Matt Kraai <kraai@alumni.cmu.edu> |
10014 | ||
10015 | * Make-lang.in (gnatbind): Remove $(LIBIBERTY). | |
10016 | ||
3c900cb5 NB |
10017 | 2003-06-11 Neil Booth <neil@daikokuya.co.uk> |
10018 | ||
10019 | * Make-lang.in: Update to handle command-line options. | |
10020 | * lang.opt: New file. | |
10021 | * misc.c: Include aoptions.h. | |
10022 | (cl_options_count, cl_options): Remove. | |
10023 | (gnat_handle_option): New. | |
10024 | (gnat_decode_option): Remove. | |
10025 | (LANG_HOOKS_DECODE_OPTION): Remove. | |
10026 | (LANG_HOOKS_HANDLE_OPTION): Override. | |
10027 | ||
e8face4c NN |
10028 | 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org> |
10029 | ||
10030 | * init.c, misc.c, trans.c, utils.c: Remove dead code. | |
10031 | ||
4665e56c NN |
10032 | 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org> |
10033 | ||
10034 | * Makefile.in: Replace "host_canonical" with "host" for autoconf | |
10035 | substitution. | |
10036 | ||
a165c302 NB |
10037 | 2003-06-08 Neil Booth <neil@daikokuya.co.uk> |
10038 | ||
10039 | * Make-lang.in: Update. | |
10040 | * misc.c: Include opts.h. Define cl_options_count and cl_options. | |
10041 | ||
2772ef3e NB |
10042 | 2003-06-07 Neil Booth <neil@daikokuya.co.uk> |
10043 | ||
10044 | * misc.c (gnat_init_options): Update. | |
10045 | ||
d8277a55 MK |
10046 | 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu> |
10047 | ||
10048 | * Make-lang.in (ada/b_gnatb.o-warn): Remove. | |
10049 | * bindgen.adb (Gen_Main_C): Mark ensure_reference with | |
10050 | __attribute__ ((__unused__)). | |
10051 | ||
602a82f3 | 10052 | 2003-06-05 Jan Hubicka <jh@suse.cz> |
8f231b5d JH |
10053 | |
10054 | * Make-lang.in: Add support for stageprofile and stagefeedback | |
10055 | ||
3aa07c6d MK |
10056 | 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu> |
10057 | ||
10058 | * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C) | |
10059 | (Gen_Main_C, Gen_Output_File_C): Generate ISO C. | |
10060 | ||
f1093866 MK |
10061 | 2003-06-04 Matt Kraai <kraai@alumni.cmu.edu> |
10062 | ||
10063 | * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr): | |
10064 | Remove non-VMS directive. | |
10065 | (Switches for gnatlbr, Optimization Levels): Remove non-VMS | |
10066 | alternatives. | |
10067 | (Examples of gnatls Usage): Remove VMS alternative. | |
dee2df72 OH |
10068 | |
10069 | 2003-06-04 Olivier Hainque <hainque@act-europe.fr> | |
10070 | ||
2ed26f6b ZW |
10071 | PR ada/9953: |
10072 | * 5hsystem.ads: Remove pragma Linker_Option for pthreads library, | |
10073 | and turn ZCX_By_Default back to False since the underlying support | |
10074 | is not quite there yet. | |
dee2df72 | 10075 | |
80eaf415 AJ |
10076 | 2003-06-01 Andreas Jaeger <aj@suse.de> |
10077 | ||
10078 | * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE | |
10079 | and ROUND_TYPE_SIZE_UNIT. | |
10080 | ||
36f9020c GB |
10081 | 2003-05-22 Geert Bosch <bosch@gnat.com> |
10082 | ||
10083 | * gnat_rm.texi : Remove reference to Ada Core Technologies. | |
10084 | ||
e7b5f0c9 NS |
10085 | 2003-05-03 Nathan Sidwell <nathan@codesourcery.com> |
10086 | ||
10087 | * trans.c (tree_transform): Use location_t and input_location | |
10088 | directly. | |
10089 | (build_unit_elab): Likewise. | |
10090 | * utils.c (create_label_decl): Likewise. | |
10091 | ||
d479d37f NS |
10092 | 2003-05-01 Nathan Sidwell <nathan@codesourcery.com> |
10093 | ||
561712fe NS |
10094 | * trans.c (tree_transform, build_unit_elab, |
10095 | set_lineno): Rename lineno to input_line. | |
d479d37f NS |
10096 | * utils.c (pushdecl, create_label_decl, begin_subprog_body, |
10097 | end_subprog_body): Likewise. | |
10098 | * utils2.c (build_call_raise): Likewise. | |
10099 | ||
4f9335cd LG |
10100 | 2003-05-01 Laurent Guerby <guerby@acm.org> |
10101 | ||
2ed26f6b ZW |
10102 | PR ada/10546 |
10103 | * 5iosinte.ads: Increase pthread_cond_t size to match recent | |
10104 | LinuxThread and NPTL version, merge from ACT. | |
80eaf415 | 10105 | |
0864034e ZW |
10106 | 2003-04-28 Zack Weinberg <zack@codesourcery.com> |
10107 | ||
10108 | * utils.c (convert): No need to clear TREE_CST_RTL. | |
10109 | ||
bcea76b6 GB |
10110 | 2003-04-23 Geert Bosch <bosch@gnat.com> |
10111 | ||
10112 | * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb, | |
10113 | 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads, | |
10114 | 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads, | |
10115 | 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, | |
10116 | 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads, | |
10117 | 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb, | |
10118 | 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads, | |
10119 | 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads, | |
10120 | 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb, | |
10121 | 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, | |
10122 | 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, | |
10123 | 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb, | |
10124 | 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads, | |
10125 | 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads, | |
10126 | 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb, | |
10127 | 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads, | |
10128 | 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb, | |
10129 | 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, | |
10130 | 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb, | |
10131 | 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads, | |
10132 | 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb, | |
10133 | 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads, | |
10134 | 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb, | |
10135 | 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, | |
10136 | 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, | |
10137 | 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb, | |
10138 | 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads, | |
10139 | 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads, | |
10140 | 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb, | |
10141 | 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads, | |
10142 | 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, | |
10143 | 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb, | |
10144 | 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb, | |
10145 | 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads, | |
10146 | 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, | |
10147 | 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb, | |
10148 | 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb, | |
10149 | 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads, | |
10150 | 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, | |
10151 | 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb, | |
10152 | 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb, | |
10153 | 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads, | |
10154 | 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads, | |
10155 | 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, | |
10156 | 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb, | |
10157 | 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads, | |
10158 | 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads, | |
10159 | 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb, | |
10160 | a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb, | |
10161 | a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads, | |
10162 | a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads, | |
10163 | a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads, | |
10164 | a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads, | |
10165 | a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads, | |
10166 | a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads, | |
10167 | a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb, | |
10168 | a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads, | |
10169 | a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads, | |
10170 | a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads, | |
10171 | a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads, | |
10172 | a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads, | |
10173 | a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads, | |
10174 | a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads, | |
10175 | a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads, | |
10176 | a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads, | |
10177 | a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads, | |
10178 | a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads, | |
10179 | a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb, | |
10180 | a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads, | |
10181 | a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads, | |
10182 | a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads, | |
10183 | a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads, | |
10184 | a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb, | |
10185 | a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads, | |
10186 | a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads, | |
10187 | a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads, | |
10188 | a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads, | |
10189 | a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads, | |
10190 | a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads, | |
10191 | a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb, | |
10192 | a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb, | |
10193 | a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb, | |
10194 | a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb, | |
10195 | a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb, | |
10196 | a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb, | |
10197 | a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb, | |
10198 | a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb, | |
10199 | a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb, | |
10200 | a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb, | |
10201 | a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb, | |
10202 | a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads, | |
10203 | a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb, | |
10204 | a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb, | |
10205 | a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb, | |
10206 | a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb, | |
10207 | a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb, | |
10208 | a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb, | |
10209 | a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb, | |
10210 | a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb, | |
10211 | a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb, | |
10212 | a-wttest.ads, ada-tree.h, ada.ads, ada.h, | |
10213 | adadecode.c, adadecode.h, ali-util.adb, ali-util.ads, | |
10214 | ali.adb, ali.ads, alloc.ads, argv.c, | |
10215 | atree.adb, atree.ads, atree.h, aux-io.c, | |
10216 | back_end.adb, back_end.ads, bcheck.adb, bcheck.ads, | |
10217 | binde.adb, binde.ads, binderr.adb, binderr.ads, | |
10218 | bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads, | |
10219 | butil.adb, butil.ads, cal.c, calendar.ads, | |
10220 | casing.adb, casing.ads, ceinfo.adb, checks.adb, | |
10221 | checks.ads, cio.c, comperr.adb, comperr.ads, | |
10222 | config-lang.in, csets.adb, csets.ads, csinfo.adb, | |
10223 | cstand.adb, cstand.ads, cuintp.c, debug.adb, | |
10224 | debug.ads, debug_a.adb, debug_a.ads, dec-io.adb, | |
10225 | dec-io.ads, dec.ads, deftarg.c, directio.ads, | |
10226 | einfo.adb, einfo.ads, elists.adb, elists.ads, | |
10227 | elists.h, errno.c, errout.adb, errout.ads, | |
10228 | eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb, | |
10229 | exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads, | |
10230 | exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads, | |
10231 | exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads, | |
10232 | exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads, | |
10233 | exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads, | |
10234 | exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads, | |
10235 | exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads, | |
10236 | exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads, | |
10237 | exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads, | |
10238 | exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads, | |
10239 | exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads, | |
10240 | exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads, | |
10241 | exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads, | |
10242 | exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads, | |
10243 | fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads, | |
10244 | fname-uf.adb, fname-uf.ads, fname.adb, fname.ads, | |
10245 | freeze.adb, freeze.ads, frontend.adb, frontend.ads, | |
10246 | g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads, | |
10247 | g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads, | |
10248 | g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads, | |
10249 | g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads, | |
10250 | g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads, | |
10251 | g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb, | |
10252 | g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb, | |
10253 | g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb, | |
10254 | g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb, | |
10255 | g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads, | |
10256 | g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads, | |
10257 | g-htable.adb, g-htable.ads, g-io.adb, g-io.ads, | |
10258 | g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb, | |
10259 | g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb, | |
10260 | g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads, | |
10261 | g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb, | |
10262 | g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads, | |
10263 | g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb, | |
10264 | g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, | |
10265 | g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads, | |
10266 | g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads, | |
10267 | g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads, | |
10268 | get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads, | |
10269 | gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads, | |
10270 | gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads, | |
10271 | gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads, | |
10272 | gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb, | |
10273 | gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb, | |
10274 | gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads, | |
10275 | gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb, | |
10276 | hlo.adb, hlo.ads, hostparm.ads, i-c.adb, | |
10277 | i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads, | |
10278 | i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads, | |
10279 | i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads, | |
10280 | i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb, | |
10281 | i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb, | |
10282 | i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads, | |
10283 | inline.adb, inline.ads, interfac.ads, ioexcept.ads, | |
10284 | itypes.adb, itypes.ads, krunch.adb, krunch.ads, | |
10285 | layout.adb, layout.ads, lib-list.adb, lib-load.adb, | |
10286 | lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads, | |
10287 | lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads, | |
10288 | lib.adb, lib.ads, live.adb, live.ads, | |
10289 | machcode.ads, make.adb, make.ads, makeusg.adb, | |
10290 | makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads, | |
10291 | mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads, | |
10292 | memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb, | |
10293 | mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb, | |
10294 | mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb, | |
10295 | mlib.ads, namet.adb, namet.ads, nlists.adb, | |
10296 | nlists.ads, opt.adb, opt.ads, osint-b.adb, | |
10297 | osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb, | |
10298 | osint-l.ads, osint-m.adb, osint-m.ads, osint.adb, | |
10299 | osint.ads, output.adb, output.ads, par-ch10.adb, | |
10300 | par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, | |
10301 | par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, | |
10302 | par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb, | |
10303 | par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb, | |
10304 | par-tchk.adb, par-util.adb, par.adb, par.ads, | |
10305 | prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads, | |
10306 | prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads, | |
10307 | prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads, | |
10308 | prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, | |
10309 | prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads, | |
10310 | prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads, | |
10311 | prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads, | |
10312 | prj.adb, prj.ads, repinfo.adb, repinfo.ads, | |
10313 | restrict.adb, restrict.ads, rident.ads, rtsfind.adb, | |
10314 | rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb, | |
10315 | s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb, | |
10316 | s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb, | |
10317 | s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads, | |
10318 | s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads, | |
10319 | s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb, | |
10320 | s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads, | |
10321 | s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads, | |
10322 | s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads, | |
10323 | s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads, | |
10324 | s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads, | |
10325 | s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads, | |
10326 | s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb, | |
10327 | s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads, | |
10328 | s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads, | |
10329 | s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads, | |
10330 | s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads, | |
10331 | s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads, | |
10332 | s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads, | |
10333 | s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads, | |
10334 | s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads, | |
10335 | s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads, | |
10336 | s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads, | |
10337 | s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads, | |
10338 | s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads, | |
10339 | s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads, | |
10340 | s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb, | |
10341 | s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb, | |
10342 | s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads, | |
10343 | s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads, | |
10344 | s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads, | |
10345 | s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads, | |
10346 | s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads, | |
10347 | s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads, | |
10348 | s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads, | |
10349 | s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads, | |
10350 | s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads, | |
10351 | s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads, | |
10352 | s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads, | |
10353 | s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads, | |
10354 | s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads, | |
10355 | s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads, | |
10356 | s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads, | |
10357 | s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads, | |
10358 | s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads, | |
10359 | s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads, | |
10360 | s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads, | |
10361 | s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads, | |
10362 | s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads, | |
10363 | s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads, | |
10364 | s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads, | |
10365 | s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads, | |
10366 | s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads, | |
10367 | s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads, | |
10368 | s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads, | |
10369 | s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads, | |
10370 | s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads, | |
10371 | s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads, | |
10372 | s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads, | |
10373 | s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb, | |
10374 | s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads, | |
10375 | s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads, | |
10376 | s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads, | |
10377 | s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads, | |
10378 | s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads, | |
10379 | s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads, | |
10380 | s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb, | |
10381 | s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb, | |
10382 | s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb, | |
10383 | s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads, | |
10384 | s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads, | |
10385 | s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads, | |
10386 | s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads, | |
10387 | s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb, | |
10388 | s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb, | |
10389 | s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb, | |
10390 | s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb, | |
10391 | s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb, | |
10392 | s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads, | |
10393 | s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads, | |
10394 | s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads, | |
10395 | s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads, | |
10396 | s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads, | |
10397 | s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads, | |
10398 | s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads, | |
10399 | s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads, | |
10400 | s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads, | |
10401 | s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb, | |
10402 | s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb, | |
10403 | s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb, | |
10404 | s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb, | |
10405 | s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb, | |
10406 | s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb, | |
10407 | s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb, | |
10408 | scn-slit.adb, scn.adb, scn.ads, sdefault.ads, | |
10409 | sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads, | |
10410 | sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads, | |
10411 | sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads, | |
10412 | sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads, | |
10413 | sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads, | |
10414 | sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads, | |
10415 | sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads, | |
10416 | sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads, | |
10417 | sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads, | |
10418 | sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads, | |
10419 | sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads, | |
10420 | sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads, | |
10421 | sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads, | |
10422 | sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads, | |
10423 | sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads, | |
10424 | sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads, | |
10425 | sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb, | |
10426 | sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb, | |
10427 | sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb, | |
10428 | sinput-p.ads, sinput.adb, sinput.ads, snames.adb, | |
10429 | snames.ads, sprint.adb, sprint.ads, stand.adb, | |
10430 | stand.ads, stringt.adb, stringt.ads, style.adb, | |
10431 | style.ads, stylesw.adb, stylesw.ads, switch-b.adb, | |
10432 | switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb, | |
10433 | switch-m.ads, switch.adb, switch.ads, system.ads, | |
10434 | table.adb, table.ads, targparm.adb, targparm.ads, | |
10435 | tbuild.adb, tbuild.ads, text_io.ads, trans.c, | |
10436 | tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads, | |
10437 | tree_io.adb, tree_io.ads, treepr.adb, treepr.ads, | |
10438 | ttypef.ads, ttypes.ads, types.adb, types.ads, | |
10439 | uintp.adb, uintp.ads, uname.adb, uname.ads, | |
10440 | unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads, | |
10441 | usage.adb, usage.ads, validsw.adb, validsw.ads, | |
10442 | widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb, | |
10443 | xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads, | |
10444 | xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header, | |
10445 | formatting and other trivial changes from ACT. | |
10446 | ||
dcf92453 ZW |
10447 | 2003-04-12 Zack Weinberg <zack@codesourcery.com> |
10448 | ||
10449 | * gigi.h, utils2.c (build_constructor): | |
10450 | Rename gnat_build_constructor. Use build_constructor. | |
10451 | * decl.c (gnat_to_gnu_entity) | |
10452 | * trans.c (tree_transform, pos_to_constructor, extract_values) | |
10453 | * ada/utils.c (build_template, convert_to_fat_pointer, convert) | |
10454 | (unchecked_convert) | |
10455 | * ada/utils2.c (build_binary_op, build_call_raise, build_allocator) | |
10456 | (fill_vms_descriptor): | |
10457 | Update to match. | |
10458 | ||
d78e771d ZW |
10459 | 2003-04-06 Zack Weinberg <zack@codesourcery.com> |
10460 | ||
10461 | * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero. | |
10462 | * misc.c (gnat_tree_size): New function. | |
10463 | (LANG_HOOKS_TREE_SIZE): Override. | |
10464 | ||
78d55cc8 JM |
10465 | 2003-04-03 Jason Merrill <jason@redhat.com> |
10466 | ||
10467 | * misc.c (gnat_adjust_rli): #if 0. | |
10468 | ||
b174e2d4 GB |
10469 | 2003-03-31 Geert Bosch <bosch@gnat.com> |
10470 | ||
10471 | PR ada/10020 | |
10472 | * link.c : Fix misspelled "const" keyword | |
10473 | ||
f29a2bd1 MM |
10474 | 2003-03-23 Mark Mitchell <mark@codesourcery.com> |
10475 | ||
10476 | PR c++/7086 | |
10477 | * utils2.c: Adjust calls to put_var_into_stack. | |
10478 | ||
08e247b1 NN |
10479 | 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> |
10480 | ||
10481 | * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC. | |
10482 | ||
4bfec483 NB |
10483 | 2003-03-08 Neil Booth <neil@daikokuya.co.uk> |
10484 | ||
10485 | * misc.c (gnat_init): Update for new prototype. | |
10486 | ||
3d713bb8 GB |
10487 | 2003-03-05 Olivier Hainque <hainque@gnat.com> |
10488 | ||
10489 | ada/9961 | |
78d55cc8 JM |
10490 | * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid |
10491 | warning, and fix return type for the IN_RTS && !SJLJ case. | |
3d713bb8 | 10492 | |
8b89fcdf TT |
10493 | 2003-03-04 Tom Tromey <tromey@redhat.com> |
10494 | ||
10495 | * Make-lang.in (ada.tags): New target. | |
10496 | ||
3d713bb8 | 10497 | 2003-03-04 Olivier Hainque <hainque@act-europe.fr> |
23cae84f OH |
10498 | |
10499 | ada/9911 | |
10500 | * a-except.adb (Unwind_RaiseException): Import a GNAT specific | |
10501 | wrapper, which name remains constant whatever underlying GCC | |
10502 | scheme. | |
10503 | ||
10504 | * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing | |
10505 | the stable interface needed for a-except. | |
10506 | ||
f4ae98be AJ |
10507 | 2003-03-02 Andreas Jaeger <aj@suse.de> |
10508 | ||
10509 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
10510 | gnat_ug_wnt.texi: Regenerate. | |
10511 | ||
5348742b LG |
10512 | 2003-03-02 Laurent Guerby <guerby@acm.org> |
10513 | ||
f4ae98be | 10514 | * Makefile.in (install-gnatlib): Match previous change there |
5348742b | 10515 | so it works. |
f4ae98be | 10516 | |
8c108db2 AS |
10517 | 2003-02-28 Andreas Schwab <schwab@suse.de> |
10518 | ||
10519 | * Make-lang.in (install-gnatlib): Change to ada directory before | |
10520 | running make instead of using ada/Makefile directly. | |
10521 | ||
601d71bc BE |
10522 | 2003-02-18 Ben Elliston <bje@redhat.com> |
10523 | ||
10524 | Part of fix for PR ada/9406 | |
10525 | * gnat_ug.texi (Binder output file): Grammar fix. | |
10526 | ||
bf7c02dd BE |
10527 | 2003-02-18 Ben Elliston <bje@redhat.com> |
10528 | ||
10529 | PR other/7350 | |
10530 | * 5qtaprop.adb (Sleep): Fix typo in comment. | |
10531 | ||
b3a8389d JM |
10532 | 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk> |
10533 | ||
10534 | * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2. | |
10535 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
10536 | gnat_ug_wnt.texi: Regenerate. | |
10537 | ||
5da14cb5 CC |
10538 | 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
10539 | ||
10540 | * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir) | |
10541 | be created if necessary. | |
10542 | (ada.install-common): Let $(DESTDIR)$(bindir) be created | |
10543 | if necessary. Remove erroneous and redundant gnatchop | |
10544 | installation commands. Test for gnatdll before attempting | |
10545 | to install it. | |
10546 | (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr, | |
10547 | and gnatdll from all plausible locations. | |
10548 | ||
271bd540 RS |
10549 | 2003-02-01 Richard Sandiford <rsandifo@redhat.com> |
10550 | ||
10551 | * utils2.c (build_unary_op): Don't check flag_volatile. | |
10552 | * gnat_ug.texi: Remove -fvolatile from example. | |
10553 | * gnat_ug_vxw.texi: Likewise. | |
10554 | ||
c1cc6a51 LG |
10555 | 2003-01-29 Laurent Guerby <guerby@acm.org> |
10556 | ||
d78e771d ZW |
10557 | PR ada/8344 |
10558 | * final.c: rename to adafinal.c to avoid file name conflicts with gcc file. | |
10559 | * Makefile.in: match previous change. | |
10560 | * Make-lang.in: match previous change. | |
c1cc6a51 | 10561 | |
c4039eb0 JS |
10562 | 2003-01-29 Joel Sherrill <joel@OARcorp.com> |
10563 | ||
10564 | * 5rosinte.ads: Add SIGXCPU. | |
10565 | * 5rtpopsp.adb: New file. | |
10566 | * Make-lang.in: Do not build gnatpsta and gnatpsys when cross. | |
10567 | * Makefile.in: Recognize more RTEMS targets and add the RTEMS | |
10568 | specific file 5rtpopsp.adb. | |
10569 | * adaint.h: Add include of <stdio.h> when target is RTEMS. This | |
10570 | is likely needed for all newlib targets. | |
10571 | * init.c: Add RTEMS specific version of __gnat_initialize(). | |
10572 | ||
00d29f7d RO |
10573 | 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10574 | ||
10575 | * adaint.c, adaint.h, gmem.c, init.c: Update copyright year. | |
10576 | ||
437026ef RO |
10577 | 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10578 | ||
10579 | * init.c (__gnat_error_handler): Make msg const. | |
10580 | ||
10581 | * gmem.c (convert_addresses): Move declaration ... | |
10582 | * adaint.h: ... here. | |
10583 | * adaint.c (convert_addresses): Adapt addrs type to match | |
10584 | prototype. | |
10585 | ||
10586 | * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format. | |
10587 | ||
e12825cd AS |
10588 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
10589 | ||
10590 | * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to | |
10591 | size_t to avoid warning. | |
10592 | ||
a8729406 ZW |
10593 | 2003-01-21 Zack Weinberg <zack@codesourcery.com> |
10594 | ||
b09b91b9 | 10595 | * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c. |
a8729406 | 10596 | |
17211ab5 GK |
10597 | 2003-01-09 Geoffrey Keating <geoffk@apple.com> |
10598 | ||
10599 | * gnat_rm.texi: Remove RCS version number. | |
10600 | ||
10601 | * ada-tree.h (union lang_tree_node): Add chain_next option. | |
10602 | ||
1d27195c CC |
10603 | 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
10604 | ||
10605 | * Make-lang.in (ada.install-info, ada.install-common, | |
10606 | ada.uninstall): Prepend $(DESTDIR) to the destination | |
10607 | directory in all (un)installation commands. | |
10608 | * Makefile.in (install-gnatlib, install-rts): Ditto. | |
10609 | ||
bdefb2ab JM |
10610 | 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk> |
10611 | ||
10612 | * gnat_rm.texi, gnat_ug.texi: Use @copying. | |
10613 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
10614 | gnat_ug_wnt.texi: Regenerate. | |
10615 | ||
46d40353 JM |
10616 | 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk> |
10617 | ||
10618 | * gnat_rm.texi: Include gcc-common.texi. Use GCC version number | |
10619 | only. | |
10620 | * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info, | |
10621 | $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info, | |
10622 | $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info, | |
10623 | ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi, | |
10624 | ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on | |
10625 | $(srcdir)/doc/include/gcc-common.texi. | |
10626 | ||
d2f97d3e GB |
10627 | 2002-12-15 Geert Bosch <bosch@gnat.com> |
10628 | ||
10629 | * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting | |
10630 | ||
93a81b02 GB |
10631 | 2002-12-14 Geert Bosch <bosch@gnat.com> |
10632 | ||
4977bab6 ZW |
10633 | * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional |
10634 | case of a body created for a Renaming_As_Body, on which | |
10635 | conformance checks are not performed. Fixes PR ada/5690. | |
10636 | ||
10637 | 2002-11-30 Zack Weinberg <zack@codesourcery.com> | |
10638 | ||
10639 | * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c, | |
10640 | utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when | |
10641 | not already included. | |
10642 | * Make-lang.in: Update dependencies. | |
93a81b02 | 10643 | |
dfc15546 NN |
10644 | 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org> |
10645 | * adaint.c (__gnat_tmp_name): Better, but good enough for now, | |
4977bab6 | 10646 | solution to buffer overflow bug on GNU/Linux. |
dfc15546 | 10647 | |
8b54424d NN |
10648 | 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org> |
10649 | Closes PR ada/5856 and PR ada/6919 ! | |
10650 | * bindgen.adb: Remove all references to Public_Version. | |
10651 | * comperr.adb: Remove all references to Public_Version and | |
10652 | GNATPRO_Version; correct bug reporting instructions. | |
10653 | * comperr.ads: Change to match bug box. | |
10654 | * gnatvsn.ads: Remove all references to Public version and | |
10655 | GNATPRO version. | |
10656 | ||
cc41268d | 10657 | 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org> |
1a083c0e NN |
10658 | PR ada/6919 |
10659 | * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on | |
10660 | GNU/Linux. | |
10661 | ||
cc41268d NN |
10662 | PR ada/6558 |
10663 | * config-lang.in: Remove diff_excludes. | |
10664 | ||
1c7b0712 GS |
10665 | 2002-11-05 Graham Stott <graham.stott@btinternet.com> |
10666 | PR ada/8358 | |
10667 | * trans.c (gnu_pending_elaboration_lists): New GC root. | |
4977bab6 | 10668 | (build_unit_elab): Use.. |
1c7b0712 | 10669 | |
1c4048ca GB |
10670 | 2002-10-30 Geert Bosch <bosch@gnat.com> |
10671 | PR ada/6558 | |
10672 | * misc.c : Include optabs.h | |
10673 | ||
10674 | * Make-lang.in (misc.o): Add dependency on optabs.h | |
10675 | ||
f0d96f9c | 10676 | 2002-10-29 Geert Bosch <bosch@gnat.com> |
4977bab6 | 10677 | PR ada/6558 |
f0d96f9c GB |
10678 | * Make-lang.in (gnatbind): Depend on CONFIG_H |
10679 | ||
a7512dec | 10680 | 2002-10-29 Geert bosch <bosch@gnat.com> |
4977bab6 ZW |
10681 | PR ada/6558 |
10682 | * misc.c: Unrevert misc.c (1.13) | |
a7512dec | 10683 | |
c6362f4f NN |
10684 | 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org> |
10685 | ||
10686 | * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update | |
10687 | maintainership comments. | |
10688 | ||
10689 | 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> | |
91ed4b19 | 10690 | PR ada/5904 |
4977bab6 ZW |
10691 | * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb |
10692 | 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb | |
10693 | 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb | |
10694 | 7staprop.adb: Correct statements in comments about | |
91ed4b19 NN |
10695 | maintainership of GNAT. |
10696 | ||
1f02b6af | 10697 | PR ada/5904 |
4977bab6 ZW |
10698 | * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c |
10699 | gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads | |
10700 | osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb | |
10701 | osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads | |
10702 | s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb | |
10703 | s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb | |
10704 | sinput-d.ads switch-b.adb switch-b.ads switch-c.adb | |
1f02b6af NN |
10705 | switch-c.ads switch-m.adb switch-m.ads: Correct statements in |
10706 | comments about maintainership of GNAT. | |
10707 | ||
71ff80dc | 10708 | PR ada/6919 (forward port of patch for PR ada/5904) |
4977bab6 ZW |
10709 | * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads |
10710 | 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb | |
10711 | 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads | |
10712 | 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads | |
10713 | 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb | |
10714 | 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb | |
10715 | 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb | |
10716 | 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads | |
10717 | 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads | |
10718 | 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads | |
10719 | 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads | |
10720 | 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb | |
10721 | 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads | |
10722 | 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads | |
10723 | 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads | |
10724 | 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads | |
10725 | 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads | |
10726 | 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads | |
10727 | 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb | |
10728 | 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads | |
10729 | 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads | |
10730 | 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb | |
10731 | 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads | |
10732 | 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb | |
10733 | 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb | |
10734 | 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb | |
10735 | 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb | |
10736 | 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb | |
10737 | 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb | |
10738 | a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb | |
10739 | a-chahan.ads a-colien.adb a-colien.ads a-colire.adb | |
10740 | a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads | |
10741 | a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads | |
10742 | a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads | |
10743 | a-except.adb a-except.ads a-excpol.adb a-exctra.adb | |
10744 | a-exctra.ads a-filico.adb a-filico.ads a-finali.adb | |
10745 | a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads | |
10746 | a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb | |
10747 | a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads | |
10748 | a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb | |
10749 | a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb | |
10750 | a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb | |
10751 | a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads | |
10752 | a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads | |
10753 | a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads | |
10754 | a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads | |
10755 | a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb | |
10756 | a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb | |
10757 | a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads | |
10758 | a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads | |
10759 | a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads | |
10760 | a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads | |
10761 | a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads | |
10762 | a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads | |
10763 | a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads | |
10764 | a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads | |
10765 | a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads | |
10766 | a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads | |
10767 | a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads | |
10768 | a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb | |
10769 | a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads | |
10770 | a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads | |
10771 | a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads | |
10772 | a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads | |
10773 | a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads | |
10774 | a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads | |
10775 | a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb | |
10776 | a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h | |
10777 | adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads | |
10778 | alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb | |
10779 | back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads | |
10780 | binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb | |
10781 | bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads | |
10782 | ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads | |
10783 | csets.adb csets.ads csinfo.adb cstand.adb cstand.ads | |
10784 | cstreams.c cuintp.c debug.adb debug.ads debug_a.adb | |
10785 | debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c | |
10786 | einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h | |
10787 | errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c | |
10788 | exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads | |
10789 | exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb | |
10790 | exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads | |
10791 | exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb | |
10792 | exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads | |
10793 | exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb | |
10794 | exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb | |
10795 | exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb | |
10796 | exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb | |
10797 | exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb | |
10798 | exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb | |
10799 | exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads | |
10800 | exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h | |
10801 | final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads | |
10802 | fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb | |
10803 | freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb | |
10804 | g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads | |
10805 | g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h | |
10806 | gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb | |
10807 | gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb | |
10808 | gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb | |
10809 | gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads | |
10810 | gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads | |
10811 | gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads | |
10812 | i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb | |
10813 | i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads | |
10814 | i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads | |
10815 | i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads | |
10816 | impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c | |
10817 | itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h | |
10818 | lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb | |
10819 | lib-load.ads lib-sort.adb lib-util.adb lib-util.ads | |
10820 | lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb | |
10821 | lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb | |
10822 | makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c | |
10823 | namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h | |
10824 | nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb | |
10825 | osint.ads output.adb output.ads par-ch10.adb par-ch11.adb | |
10826 | par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb | |
10827 | par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb | |
10828 | par-endh.adb par-labl.adb par-load.adb par-prag.adb | |
10829 | par-sync.adb par-tchk.adb par-util.adb par.adb par.ads | |
10830 | prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb | |
10831 | prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads | |
10832 | prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads | |
10833 | prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads | |
10834 | prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads | |
10835 | prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h | |
10836 | repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads | |
10837 | rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads | |
10838 | s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads | |
10839 | s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb | |
10840 | s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads | |
10841 | s-direio.adb s-direio.ads s-except.ads s-exctab.adb | |
10842 | s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads | |
10843 | s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads | |
10844 | s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads | |
10845 | s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads | |
10846 | s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads | |
10847 | s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads | |
10848 | s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb | |
10849 | s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads | |
10850 | s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads | |
10851 | s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads | |
10852 | s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb | |
10853 | s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb | |
10854 | s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb | |
10855 | s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb | |
10856 | s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb | |
10857 | s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb | |
10858 | s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb | |
10859 | s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb | |
10860 | s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads | |
10861 | s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb | |
10862 | s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads | |
10863 | s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads | |
10864 | s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads | |
10865 | s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads | |
10866 | s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads | |
10867 | s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads | |
10868 | s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads | |
10869 | s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads | |
10870 | s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads | |
10871 | s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads | |
10872 | s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads | |
10873 | s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads | |
10874 | s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads | |
10875 | s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads | |
10876 | s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads | |
10877 | s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads | |
10878 | s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads | |
10879 | s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads | |
10880 | s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads | |
10881 | s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads | |
10882 | s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads | |
10883 | s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads | |
10884 | s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads | |
10885 | s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads | |
10886 | s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads | |
10887 | s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads | |
10888 | s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads | |
10889 | s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads | |
10890 | s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads | |
10891 | s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads | |
10892 | s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads | |
10893 | s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads | |
10894 | s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads | |
10895 | s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb | |
10896 | s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb | |
10897 | s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb | |
10898 | s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb | |
10899 | s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb | |
10900 | s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb | |
10901 | s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads | |
10902 | s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads | |
10903 | s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads | |
10904 | s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads | |
10905 | s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads | |
10906 | s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads | |
10907 | s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads | |
10908 | s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads | |
10909 | s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads | |
10910 | s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads | |
10911 | s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads | |
10912 | s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads | |
10913 | s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb | |
10914 | s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb | |
10915 | s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb | |
10916 | s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb | |
10917 | s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb | |
10918 | s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb | |
10919 | s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads | |
10920 | scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb | |
10921 | sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads | |
10922 | sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb | |
10923 | sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb | |
10924 | sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads | |
10925 | sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb | |
10926 | sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads | |
10927 | sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb | |
10928 | sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb | |
10929 | sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb | |
10930 | sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb | |
10931 | sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb | |
10932 | sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads | |
10933 | sem_type.adb sem_type.ads sem_util.adb sem_util.ads | |
10934 | sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads | |
10935 | sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb | |
10936 | sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb | |
10937 | sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads | |
10938 | snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb | |
10939 | stringt.ads stringt.h style.adb style.ads stylesw.adb | |
10940 | stylesw.ads switch.adb switch.ads sysdep.c system.ads | |
10941 | table.adb table.ads targparm.adb targparm.ads targtyps.c | |
10942 | tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads | |
10943 | tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb | |
10944 | treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads | |
10945 | types.adb types.ads types.h uintp.adb uintp.ads uintp.h | |
10946 | uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb | |
10947 | usage.ads utils.c utils2.c validsw.adb validsw.ads | |
10948 | widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb | |
10949 | xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb | |
71ff80dc NN |
10950 | xtreeprs.adb: Correct statements in comments about maintainership |
10951 | of GNAT. | |
10952 | ||
b4f94ac1 ZW |
10953 | 2002-09-23 Zack Weinberg <zack@codesourcery.com> |
10954 | ||
10955 | * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o. | |
10956 | * Makefile.in (TOOLS_LIBS): Add ../../version.o. | |
10957 | * gnatvsn.ads: Gnat_Version_String is now a function. | |
10958 | * gnatvsn.adb: New file. When asked for Gnat_Version_String, | |
10959 | copy the C version_string into a String and return it. | |
10960 | * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb, | |
10961 | gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb: | |
10962 | Remove pragma Ident (Gnat_Version_String). If this was the | |
10963 | sole use of package Gnatvsn, remove the with statement too. | |
10964 | * gnat1drv.adb: Tweak -gnatv output. | |
10965 | ||
eaff3bf8 RH |
10966 | 2002-09-17 Richard Henderson <rth@redhat.com> |
10967 | ||
10968 | * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP. | |
10969 | * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN. | |
10970 | * config/mips/mips.md (fixuns_truncdfsi2): Likewise. | |
10971 | (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise. | |
10972 | * config/m68k/m68k.c (floating_exact_log2): Use real_exponent | |
10973 | and real_2expN instead of a loop. | |
10974 | * doc/tm.texi (REAL_VALUE_LDEXP): Remove. | |
10975 | (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove. | |
10976 | ||
d241f75b | 10977 | 2002-08-25 Andre Leis <a.leis@gmx.net> |
f4ae98be | 10978 | David Billinghurst (David.Billinghurst@riotinto.com> |
d241f75b | 10979 | |
f4ae98be | 10980 | * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin |
d241f75b | 10981 | |
4320085a RO |
10982 | 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10983 | ||
10984 | * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS). | |
10985 | Remove $(CONFIG_H) dependency. | |
10986 | ||
22aa533e NS |
10987 | 2002-08-08 Nathan Sidwell <nathan@codesourcery.com> |
10988 | ||
10989 | * ada/Make-lang.in (ada.mostlyclean): Remove coverage files. | |
10990 | ||
1dcd444b KG |
10991 | 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10992 | ||
10993 | * adadecode.c (ada_demangle): Use xstrdup in lieu of | |
10994 | xmalloc/strcpy. | |
10995 | * misc.c (gnat_decode_option): Likewise. | |
10996 | ||
7bc7d27b FW |
10997 | 2002-07-15 Florian Weimer <fw@deneb.enyo.de> |
10998 | ||
10999 | * make.adb (Add_Switch): Make Generic_Position a procedure. The | |
11000 | function approach did not work well because of a side effect (the | |
11001 | function call could reallocate the table which was being indexed | |
11002 | using its result). Fixes ada/4851. [RESURRECTED] | |
11003 | ||
6a2dd09a RS |
11004 | 2002-07-01 Roger Sayle <roger@eyesopen.com> |
11005 | ||
11006 | * ada/utils.c (builtin_function): Accept an additional parameter. | |
11007 | ||
c168bbd7 AJ |
11008 | 2002-06-28 Andreas Jaeger <aj@suse.de> |
11009 | ||
11010 | PR ada/7144 | |
11011 | * Makefile.in: Fix typo in comment, patch by Adrian Knoth | |
11012 | <adi@thur.de>. | |
11013 | ||
b41e09a7 KG |
11014 | 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11015 | ||
11016 | * Makefile.in (SHELL): Set to @SHELL@. | |
11017 | ||
62c71f4b KG |
11018 | 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11019 | ||
11020 | * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit | |
11021 | array size calculation. | |
11022 | ||
94213cff AJ |
11023 | 2002-06-04 Andreas Jaeger <aj@suse.de> |
11024 | ||
11025 | * Make-lang.in (gnatbind): Readd rule that has been lost in last | |
11026 | patch. | |
11027 | ||
e2500fed GK |
11028 | 2002-06-03 Geoffrey Keating <geoffk@redhat.com> |
11029 | ||
11030 | Merge from pch-branch: | |
11031 | ||
11032 | * config-lang.in (gtfiles): Add ada-tree.h. | |
11033 | * ada-tree.h (SET_TYPE_CI_CO_LIST): New. | |
11034 | (SET_TYPE_MODULUS): New. | |
11035 | (SET_TYPE_INDEX): New. | |
11036 | (SET_TYPE_DIGITS_VALUE): New. | |
11037 | (SET_TYPE_RM_SIZE): New. | |
11038 | (SET_TYPE_UNCONSTRAINED_ARRAY): New. | |
11039 | (SET_TYPE_ADA_SIZE): New. | |
11040 | (SET_TYPE_ACTUAL_BOUNDS): New. | |
11041 | (SET_DECL_CONST_CORRESPONDING_VAR): New. | |
11042 | (SET_DECL_ORIGINAL_FIELD): New. | |
11043 | (TREE_LOOP_ID): Correct typo. | |
11044 | * decl.c: Use new macros. | |
11045 | * utils.c: Include debug.h, use new macros. | |
94213cff | 11046 | * utils2.c: Use new macros. |
e2500fed GK |
11047 | |
11048 | * ada-tree.h: Update all macros for new tree description. | |
11049 | (struct tree_loop_id): New. | |
11050 | (union lang_tree_node): New. | |
11051 | (struct lang_decl): New. | |
11052 | (struct lang_type): New. | |
11053 | * misc.c (gnat_mark_tree): Delete. | |
11054 | (LANG_HOOKS_MARK_TREE): Delete. | |
11055 | * trans.c (tree_transform): No longer any need to cast | |
11056 | for TREE_LOOP_ID. | |
11057 | ||
11058 | * utils.c (struct language_function): New dummy structure. | |
11059 | ||
11060 | * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir. | |
11061 | (misc.o): Likewise. | |
11062 | (utils.o): Likewise; also gtype-ada.h. | |
11063 | * Make-lang.in (gnat1): Add dependency on s-gtype. | |
11064 | (gnatbind): Add dependency on $(CONFIG_H). | |
11065 | * utils.c: Correct last #include. | |
11066 | (stuct e_stack): Remove unnecessary 'static'. | |
11067 | (mark_e_stack): Remove unused prototype. | |
11068 | ||
11069 | * scn-nlit.adb: Remove whitespace after version number to | |
11070 | keep lines under 80 chars. | |
11071 | * snames.adb: Likewise. | |
11072 | * treepr.ads: Likewise. | |
94213cff | 11073 | |
e2500fed GK |
11074 | * Makefile.in (decl.o): Include gt-ada-<filename>.h. |
11075 | (misc.o): Likewise. | |
11076 | (utils.o): Include gt-ada-<filename>.h and gtype-ada.h. | |
11077 | * config-lang.in (gtfiles): New. | |
11078 | * decl.c: Use gengtype for roots. | |
11079 | * gigi.h: Use gengtype for roots. | |
11080 | * trans.c: Use gengtype for roots. | |
11081 | * utils.c: Use gengtype for roots, marking. Include gtype-ada.h. | |
11082 | ||
27e511e0 GDR |
11083 | 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com> |
11084 | ||
11085 | * misc.c (gnat_init): Adjust setting of internal_error_function. | |
11086 | ||
113dc143 JM |
11087 | 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk> |
11088 | ||
11089 | * gnat_ug.texi: Use @ifnottex instead of @ifinfo. | |
11090 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
11091 | gnat_ug_wnt.texi: Regenerate. | |
11092 | ||
5321fb3e FW |
11093 | 2002-05-31 Florian Weimer <fw@deneb.enyo.de> |
11094 | ||
15e6136e FW |
11095 | * 5ntaprop.adb (with System.OS_Primitives): Remove. |
11096 | ||
019310ac FW |
11097 | * cstreams.c (max_path_len): Move from here ... |
11098 | * adaint.c (__gnat_max_path_len): ... to here. | |
11099 | * adaint.c (__gnat_max_path_len): Declare. | |
11100 | * g-dirope.adb (Max_Path): Adjust. | |
11101 | * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust. | |
94213cff | 11102 | * i-cstrea.ads (max_path_len): Adjust. |
019310ac FW |
11103 | * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust. |
11104 | * xr_tabls.adb (Dir_Name.Max_Path: Adjust. | |
11105 | ||
5321fb3e FW |
11106 | * Makefile.in, Make-lang.in: Documentation is now built in |
11107 | Make-lang.in. Store Info and generated Texinfo files in the | |
11108 | source directory. | |
11109 | * gnat_ug.texi: Remove CVS keywords, correct version number. | |
11110 | Set file name correctly. | |
11111 | ||
11112 | * gnat_ug_*.texi: Add. | |
11113 | * .cvsignore: Ignore generated Texinfo files. | |
11114 | ||
b1c12c4b ZW |
11115 | 2002-05-30 Zack Weinberg <zack@codesourcery.com> |
11116 | ||
11117 | * ada.h: Add MI guard macro. | |
11118 | (SUBTYPE): Define constants with an anonymous enum, not static | |
11119 | const variables. | |
11120 | (IN): Cast constants to appropriate type before use. | |
11121 | ||
ead33da9 JM |
11122 | 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk> |
11123 | ||
11124 | * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526 | |
11125 | (experimental)". | |
11126 | ||
7d600178 RO |
11127 | 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
11128 | ||
11129 | * Make-lang.in (CP, ECHO): Copy from Makefile.in. | |
11130 | (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise. | |
11131 | (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise. | |
11132 | (ALL_ADA_CFLAGS): Likewise. | |
11133 | (ADA_INCLUDES): Likewise. | |
11134 | Adapt for new working dir. | |
11135 | (GNATBIND): Use Makefile.in version. | |
11136 | (.SUFFIXES): Copy from Makefile.in. | |
11137 | (ada-warn): Define. | |
11138 | (.adb.o, .ads.o): Copy from Makefile.in. | |
11139 | Added $(OUTPUT_OPTION). | |
11140 | (GNAT1_C_OBJS): Moved from Makefile.in. | |
11141 | Prefix with ada subdir. | |
11142 | (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise. | |
11143 | (EXTRA_GNAT1_OBJS): Moved from Makefile.in. | |
11144 | Adapt for new working dir. | |
11145 | (EXTRA_GNATBIND_OBJS): Likewise. | |
11146 | (ADA_BACKEND): Moved from Makefile.in. | |
11147 | Renamed to avoid conflict with global BACKEND. | |
11148 | Use that one. | |
11149 | (TARGET_ADA_SRCS): Moved from Makefile.in. | |
11150 | (gnat1$(exeext)): Replaced recursive rule with Makefile.in version. | |
11151 | Use ADA_BACKEND. | |
11152 | (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version. | |
11153 | (ada_extra_files): Moved from Makefile.in. | |
11154 | Prefix with ada subdir. | |
11155 | (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise. | |
11156 | (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise. | |
11157 | (ada/nmake.ads): Likewise. | |
11158 | (update-sources): Moved from Makefile.in. | |
11159 | Prefix with ada subdir. | |
11160 | (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise. | |
11161 | (ADA_TREE_H): Likewise. | |
11162 | (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise. | |
11163 | (ada/memtrack.o): Likewise. | |
11164 | (ada/adadecode.o): Likewise. | |
11165 | Update dependencies. | |
11166 | (ada/adaint.o): New. | |
11167 | (ada/argv.o): Moved from Makefile.in. | |
11168 | Prefix with ada subdir. | |
94213cff | 11169 | Update dependencies. |
7d600178 RO |
11170 | (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise. |
11171 | (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise. | |
11172 | (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in. | |
11173 | Prefix with ada subdir. | |
11174 | (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise. | |
11175 | (GNAT DEPENDENCIES): Regenerate. | |
11176 | * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by | |
11177 | toplevel Makefile.in. | |
11178 | (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed. | |
11179 | (TARGET_ADA_SRCS): Removed. | |
11180 | (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise. | |
11181 | (GNATBIND_OBJS): Likewise. | |
11182 | (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here. | |
11183 | (BACKEND): Removed. | |
11184 | (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise. | |
11185 | (TREE_H): Likewise. | |
11186 | (ada_extra_files): Likewise. | |
11187 | (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise. | |
11188 | (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise. | |
11189 | (update-sources): Likewise. | |
11190 | (sdefault.adb, stamp-sdefault, sdefault.o): Likewise | |
11191 | (ADA_TREE_H): Likewise. | |
11192 | (adadecoce.o): Likewise. | |
11193 | (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise. | |
11194 | (GNAT DEPENDENCIES): Likewise. | |
11195 | ||
1e6347d8 RO |
11196 | 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
11197 | ||
11198 | * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd. | |
11199 | * Makefile.in: Likewise. | |
11200 | ||
db80834f RO |
11201 | 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
11202 | ||
11203 | * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools): | |
11204 | Restore $(CONFIG_H) and prefix.o dependencies. | |
11205 | (ada.stage[1-4]): Depend on stage?-start. | |
11206 | ||
11207 | * Makefile.in (b_gnatb.c): Depend on interfac.o. | |
11208 | ||
ac293f98 JW |
11209 | 2002-05-02 Jim Wilson <wilson@redhat.com> |
11210 | ||
11211 | * utils.c (finish_record_type): Change record_size to record_type. | |
11212 | ||
b303008e JDA |
11213 | 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
11214 | ||
11215 | * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides. | |
11216 | (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in | |
11217 | ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC. | |
94213cff | 11218 | |
ff45c01e NB |
11219 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
11220 | ||
11221 | * misc.c (gnat_parse_file): Update. | |
11222 | ||
349ae713 NB |
11223 | 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk> |
11224 | ||
11225 | * misc.c (gnat_init): Don't set lang_attribute_common. | |
11226 | ||
ace133aa JM |
11227 | 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk> |
11228 | ||
11229 | * gnat_rm.texi: Use @ifnottex instead of @ifinfo. | |
11230 | ||
5c558dd9 FW |
11231 | 2002-04-21 Florian Weimer <fw@deneb.enyo.de> |
11232 | ||
b4f94ac1 | 11233 | * gnat_ug.texi: New file. |
88e1739c | 11234 | |
5c558dd9 FW |
11235 | * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi |
11236 | instead of gfdl.texi | |
11237 | ||
11238 | * xgnatug.adb, ug_words: New files. | |
11239 | ||
11240 | * Makefile.in (doc, dvi): New targets. Build gnat_ug_*, | |
b4f94ac1 | 11241 | gnat_rm and gnat-style manuals. |
5c558dd9 | 11242 | |
7a228918 NB |
11243 | 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk> |
11244 | ||
11245 | * gigi.h (incomplete_type_error): Remove. | |
11246 | * utils.c (incomplete_type_error): Remove. | |
11247 | ||
b2123dc0 MM |
11248 | 2002-04-16 Mark Mitchell <mark@codesourcery.com> |
11249 | ||
11250 | * trans.c (tree_transform): Add has_scope argument to | |
11251 | expand_start_stmt_expr. | |
11252 | ||
78ef5b89 NB |
11253 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
11254 | ||
11255 | * gigi.h (truthvalue_conversion): Rename. | |
11256 | * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
11257 | * trans.c (tree_transform): Update. | |
11258 | * utils2.c (truthvalue_conversion): Rename, update. | |
11259 | (build_binary_op, build_unary_op): Update. | |
11260 | ||
a71742a8 LG |
11261 | 2002-04-04 Laurent Guerby <guerby@acm.org> |
11262 | ||
11263 | * make.adb: Implement -margs, remove restriction about file name placement. | |
11264 | * makeusg.adb: Documentation update. | |
11265 | * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir). | |
11266 | * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line. | |
11267 | ||
82a4b025 NB |
11268 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
11269 | ||
11270 | * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME. | |
11271 | (builtin_function): Similarly. | |
11272 | ||
dffd7eb6 NB |
11273 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
11274 | ||
11275 | * decl.c (gnat_to_gnu_entity): Update. | |
11276 | * gigi.h (mark_addressable): Rename. | |
11277 | * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
11278 | * trans.c (tree_transform): Update. | |
11279 | * utils.c (create_var_decl): Update. | |
11280 | * util2.c (build_binary_op, build_unary_op, | |
11281 | fill_vms_descriptor): Update. | |
11282 | (mark_addressable): Rename, update. | |
11283 | ||
ceef8ce4 NB |
11284 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
11285 | ||
11286 | * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type): | |
11287 | Rename. | |
11288 | * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
11289 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
11290 | * trans.c (tree_transform, convert_with_check): Update. | |
11291 | * utils.c (unsigned_type, signed_type, signed_or_unsigned_type): | |
11292 | Rename. | |
11293 | ||
48a7a235 NB |
11294 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
11295 | ||
11296 | * gigi.h (finish_incomplete_decl): Rename. | |
11297 | * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine. | |
11298 | * utils.c (gnat_init_decl_processing): Don't set hook. | |
11299 | (finish_incomplete_decl): Rename. | |
11300 | ||
1d5af871 AS |
11301 | 2002-03-29 Andreas Schwab <schwab@suse.de> |
11302 | ||
11303 | * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts | |
11304 | directory. | |
11305 | ||
8cbb664e MG |
11306 | 2001-03-28 Robert Dewar <dewar@gnat.com> |
11307 | ||
11308 | * checks.ads: | |
11309 | (Remove_Checks): New procedure | |
11310 | ||
11311 | * checks.adb: | |
11312 | (Remove_Checks): New procedure | |
11313 | ||
11314 | * exp_util.adb: | |
11315 | Use new Duplicate_Subexpr functions | |
11316 | (Duplicate_Subexpr_No_Checks): New procedure | |
11317 | (Duplicate_Subexpr_No_Checks_Orig): New procedure | |
11318 | (Duplicate_Subexpr): Restore original form (checks duplicated) | |
11319 | (Duplicate_Subexpr): Call Remove_Checks | |
11320 | ||
82a4b025 | 11321 | * exp_util.ads: |
8cbb664e MG |
11322 | (Duplicate_Subexpr_No_Checks): New procedure |
11323 | (Duplicate_Subexpr_No_Checks_Orig): New procedure | |
11324 | Add 2002 to copyright notice | |
11325 | ||
11326 | * sem_util.adb: Use new Duplicate_Subexpr functions | |
11327 | ||
82a4b025 | 11328 | * sem_eval.adb: |
8cbb664e MG |
11329 | (Eval_Indexed_Component): This is the place to call |
11330 | Constant_Array_Ref and to replace the value. We simply merge | |
11331 | the code of this function in here, since it is now no longer | |
11332 | used elsewhere. This fixes the problem of the back end not | |
11333 | realizing we were clever enough to see that this was | |
11334 | constant. | |
11335 | (Expr_Val): Remove call to Constant_Array_Ref | |
11336 | (Expr_Rep_Val): Remove call to Constant_Array_Ref | |
11337 | Minor reformatting | |
11338 | (Constant_Array_Ref): Deal with string literals (patch | |
11339 | suggested by Zack Weinberg on the gcc list) | |
11340 | ||
11341 | 2001-03-28 Ed Schonberg <schonber@gnat.com> | |
11342 | ||
82a4b025 | 11343 | * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig => |
8cbb664e MG |
11344 | Duplicate_Subexpr_Move_Checks. |
11345 | ||
82a4b025 | 11346 | * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig => |
8cbb664e MG |
11347 | Duplicate_Subexpr_Move_Checks. |
11348 | ||
82a4b025 NB |
11349 | * sem_eval.adb: (Constant_Array_Ref): Verify that constant |
11350 | value of array exists before retrieving it (it may a private | |
8cbb664e MG |
11351 | protected component in a function). |
11352 | ||
792c4e74 GB |
11353 | 2002-03-28 Geert Bosch <bosch@gnat.com> |
11354 | ||
11355 | * prj-pp.adb : New file. | |
11356 | ||
11357 | * prj-pp.ads : New file. | |
11358 | ||
915e8bad AJ |
11359 | 2002-03-28 Andreas Jaeger <aj@suse.de> |
11360 | ||
11361 | * Makefile.in (stamp-sdefault): Fix path for Makefile. | |
11362 | ||
0840811c NB |
11363 | 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk> |
11364 | ||
11365 | * misc.c (gnat_expand_expr): Move prototype. | |
11366 | ||
7ffb4fd2 NB |
11367 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
11368 | ||
11369 | * misc.c (insert_default_attributes): Remove. | |
11370 | ||
c9d892a8 NB |
11371 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
11372 | ||
11373 | * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
11374 | (gnat_init): Don't set hook. | |
11375 | (gnat_expand_expr): Fix prototype. | |
11376 | ||
31c816cf NB |
11377 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
11378 | ||
11379 | * misc.c (ggc_p): Remove. | |
11380 | ||
ef83161c GB |
11381 | 2002-03-27 Geert Bosch <bosch@gnat.com> |
11382 | ||
11383 | * prj-makr.ads, prj-makr.adb : New files. | |
11384 | ||
4f0ade92 NB |
11385 | 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk> |
11386 | ||
11387 | * misc.c (LANG_HOOKS_MARK_TREE): Redefine. | |
11388 | (lang_mark_tree): Make static, rename. | |
11389 | ||
c88770e9 NB |
11390 | 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> |
11391 | ||
11392 | * misc.c (maybe_build_cleanup): Remove. | |
11393 | ||
05671968 NB |
11394 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
11395 | ||
11396 | * gigi.h (yyparse): Remove. | |
11397 | ||
ad42149c FW |
11398 | 2002-03-23 Florian Weimer <fw@deneb.enyo.de> |
11399 | ||
82a4b025 | 11400 | * gnat_rm.texi: Sync with ACT version. |
b4f94ac1 | 11401 | (From Ben Brosgol <brosgol@gnat.com>) |
ad42149c | 11402 | |
7afff7cf NB |
11403 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
11404 | ||
11405 | * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
11406 | (gnat_init): Remove old hook. | |
11407 | ||
52dabb6c NB |
11408 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
11409 | ||
11410 | * misc.c (LANG_HOOKS_PARSE_FILE): Redefine. | |
11411 | (yyparse): Rename gnat_parse_file. | |
11412 | ||
6cbcc541 GK |
11413 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
11414 | ||
11415 | Delete all lines containing "$Revision:". | |
11416 | * xeinfo.adb: Don't look for revision numbers. | |
11417 | * xnmake.adb: Likewise. | |
11418 | * xsinfo.adb: Likewise. | |
11419 | * xsnames.adb: Likewise. | |
11420 | * xtreeprs.adb: Likewise. | |
11421 | ||
2f9834e8 KG |
11422 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11423 | ||
11424 | * misc.c (gnat_tree_code_type, gnat_tree_code_length, | |
11425 | gnat_tree_code_name): Delete. | |
11426 | (tree_code_type, tree_code_length, tree_code_name): Define. | |
11427 | (gnat_init): Don't try to copy into the various tree_code | |
11428 | arrays. | |
11429 | ||
63adb4ff RH |
11430 | 2002-03-11 Richard Henderson <rth@redhat.com> |
11431 | ||
11432 | * Makefile.in (.NOTPARALLEL): Add fake tag. | |
11433 | ||
43ff4547 GB |
11434 | 2002-03-07 Geert Bosch <bosch@gnat.com> |
11435 | ||
82a4b025 NB |
11436 | * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads, |
11437 | s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads, | |
11438 | switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads, | |
43ff4547 GB |
11439 | switch-m.adb, switch-m.ads : New files. |
11440 | ||
07fc65c4 GB |
11441 | 2002-03-07 Geert Bosch <bosch@gnat.com> |
11442 | ||
11443 | * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads, | |
11444 | 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads, | |
11445 | 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads, | |
11446 | 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads, | |
11447 | 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb, | |
11448 | 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads, | |
11449 | 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, | |
11450 | 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, | |
11451 | 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb, | |
11452 | 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb, | |
11453 | 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads, | |
11454 | 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb, | |
11455 | 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads, | |
11456 | 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb, | |
11457 | 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb, | |
11458 | 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, | |
11459 | 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, | |
11460 | 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb, | |
11461 | 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb, | |
11462 | 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb, | |
11463 | 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb, | |
11464 | Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads, | |
11465 | a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb, | |
11466 | a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads, | |
11467 | a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb, | |
11468 | a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb, | |
11469 | a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb, | |
11470 | a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb, | |
11471 | a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h, | |
11472 | adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb, | |
11473 | atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb, | |
11474 | bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb, | |
11475 | csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c, | |
11476 | einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads, | |
11477 | eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb, | |
11478 | exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, | |
11479 | exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads, | |
11480 | exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads, | |
11481 | exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb, | |
11482 | exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads, | |
11483 | expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb, | |
11484 | freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb, | |
11485 | g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads, | |
11486 | g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb, | |
11487 | g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb, | |
11488 | g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb, | |
11489 | g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb, | |
11490 | g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c, | |
11491 | gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb, | |
11492 | gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads, | |
11493 | gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb, | |
11494 | i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads, | |
11495 | impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb, | |
11496 | lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb, | |
11497 | lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb, | |
11498 | memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads, | |
11499 | mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb, | |
11500 | nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads, | |
11501 | output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb, | |
11502 | par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb, | |
11503 | prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb, | |
11504 | prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb, | |
11505 | prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads, | |
11506 | rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb, | |
11507 | s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads, | |
11508 | s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb, | |
11509 | s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb, | |
11510 | s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb, | |
11511 | s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb, | |
11512 | s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb, | |
11513 | s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads, | |
11514 | s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads, | |
11515 | s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb, | |
11516 | s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads, | |
11517 | s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads, | |
11518 | s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb, | |
11519 | s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, | |
11520 | s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads, | |
11521 | s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb, | |
11522 | sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb, | |
11523 | sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, | |
11524 | sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads, | |
11525 | sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb, | |
11526 | sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb, | |
11527 | sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb, | |
11528 | sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb, | |
11529 | sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb, | |
11530 | sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb, | |
11531 | sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads, | |
11532 | snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads, | |
11533 | stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads, | |
11534 | table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb, | |
11535 | tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb, | |
11536 | treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads, | |
11537 | types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb, | |
11538 | utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb, | |
11539 | xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes. | |
11540 | ||
11541 | * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads, | |
11542 | g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads, | |
11543 | mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads, | |
11544 | osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files | |
11545 | ||
11546 | * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb, | |
11547 | 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed | |
11548 | ||
11549 | * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed | |
11550 | to mdll-fil.ad[bs] and mdll-util.ad[bs] | |
11551 | ||
11552 | * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed | |
11553 | from mdllfile.ad[bs] and mdlltool.ad[bs] | |
11554 | ||
ca7558fc KG |
11555 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
11556 | ||
11557 | * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in | |
11558 | lieu of explicit sizeof/sizeof. | |
11559 | ||
63e1b1c4 NB |
11560 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
11561 | ||
11562 | * misc.c (copy_lang_decl): Remove. | |
11563 | ||
f458d1d5 ZW |
11564 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
11565 | ||
11566 | * misc.c: Delete traditional-mode-related code copied from the | |
11567 | C front end but not used, or used only to permit the compiler | |
11568 | to link. | |
11569 | ||
21e09952 RH |
11570 | 2002-02-07 Richard Henderson <rth@redhat.com> |
11571 | ||
11572 | * adaint.c (__gnat_to_gm_time): First arg is int, not time_t. | |
11573 | * adaint.h (__gnat_to_gm_time): Update prototype. | |
11574 | ||
ead39bdf | 11575 | 2002-01-30 Richard Henderson <rth@redhat.com> |
e803a64b RH |
11576 | |
11577 | * trans.c (tree_transform) [N_Loop_Statement]: Use | |
11578 | expand_exit_loop_top_cond. | |
11579 | ||
72ac12bf RH |
11580 | 2001-12-23 Richard Henderson <rth@redhat.com> |
11581 | ||
11582 | * utils.c (end_subprog_body): Push GC context around | |
11583 | rest_of_compilation for nested functions. | |
11584 | ||
14aacce7 RH |
11585 | 2001-12-23 Richard Henderson <rth@redhat.com> |
11586 | ||
11587 | * 5nosinte.ads: Get definition of "int" from Interfaces.C. | |
11588 | ||
b3d45d87 FW |
11589 | 2001-12-23 Florian Weimer <fw@deneb.enyo.de> |
11590 | ||
ece2d1b8 FW |
11591 | * gnat-style.texi (Declarations and Types): Remove ancient style |
11592 | rule which was mandated by code generation issues. | |
82a4b025 | 11593 | |
b3d45d87 FW |
11594 | * gnat-style.texi (header): Add @dircategory, @direntry. |
11595 | (title page): Remove date. | |
11596 | (general) Add @./@: where approriate, and two spaces after the | |
11597 | full stop at the end of a sentence. Use @samp markup when | |
11598 | referring concrete lexical entities (keywords, attribute names | |
11599 | etc.), and @syntax for ARM grammar elements. Use @r for English | |
11600 | text in comments. Use @emph for emphasis. Change "if-statements" | |
11601 | etc. to "if statements" (without @samp). Break long lines. Make | |
11602 | casing of section names consistent. | |
11603 | (Identifiers): Use @samp markup for variable names. | |
11604 | (Comments): Use @samp markup for comment characters. Line-end | |
11605 | comments may follow any Ada code, not just statements. Fix | |
11606 | misspelling of "Integer" as "integer". | |
11607 | (Loop statements): Do not use variable name "I", use "J". | |
11608 | (Subprogram Declarations): Document alignment. | |
11609 | (Subprogram Bodies, Block statements): Document empty line before | |
11610 | "begin". | |
11611 | ||
7a73ad55 FW |
11612 | 2001-12-22 Florian Weimer <fw@deneb.enyo.de> |
11613 | ||
11614 | * make.adb (Add_Switch): Make Generic_Position a procedure. The | |
11615 | function approach did not work well because of a side effect (the | |
11616 | function call could reallocate the table which was being indexed | |
11617 | using its result). Fixes ada/4851. | |
11618 | ||
17c5c8a5 GB |
11619 | 2001-12-19 Robert Dewar <dewar@gnat.com> |
11620 | ||
11621 | * bindgen.adb: Minor reformatting | |
82a4b025 | 11622 | |
17c5c8a5 | 11623 | * cstand.adb: Minor reformatting |
82a4b025 | 11624 | |
17c5c8a5 GB |
11625 | * fmap.adb: Minor reformatting |
11626 | Change name from Add for Add_To_File_Map (Add is much too generic) | |
11627 | Change Path_Name_Of to Mapped_Path_Name | |
11628 | Change File_Name_Of to Mapped_File_Name | |
11629 | Fix copyright dates in header | |
82a4b025 | 11630 | |
17c5c8a5 GB |
11631 | * fmap.ads: |
11632 | Change name from Add for Add_To_File_Map (Add is much too generic) | |
11633 | Change Path_Name_Of to Mapped_Path_Name | |
11634 | Change File_Name_Of to Mapped_File_Name | |
11635 | Fix copyright dates in header | |
82a4b025 | 11636 | |
17c5c8a5 GB |
11637 | * fname-uf.adb: Minor reformatting. New names of stuff in Fmap. |
11638 | Add use clause for Fmap. | |
82a4b025 | 11639 | |
17c5c8a5 | 11640 | * make.adb: Minor reformatting |
82a4b025 | 11641 | |
17c5c8a5 GB |
11642 | * osint.adb: Minor reformatting. Change of names in Fmap. |
11643 | Add use clause for Fmap. | |
82a4b025 | 11644 | |
17c5c8a5 | 11645 | * prj-env.adb: Minor reformatting |
82a4b025 | 11646 | |
17c5c8a5 | 11647 | * prj-env.ads: Minor reformatting |
82a4b025 | 11648 | |
07fc65c4 GB |
11649 | * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if |
11650 | error found (there were odd exceptions to this general rule in | |
17c5c8a5 | 11651 | -gnatec/-gnatem processing) |
82a4b025 | 11652 | |
17c5c8a5 GB |
11653 | 2001-12-19 Olivier Hainque <hainque@gnat.com> |
11654 | ||
07fc65c4 GB |
11655 | * raise.c (__gnat_eh_personality): Exception handling personality |
11656 | routine for Ada. Still in rough state, inspired from the C++ version | |
17c5c8a5 | 11657 | and still containing a bunch of debugging artifacts. |
07fc65c4 | 11658 | (parse_lsda_header, get_ttype_entry): Local (static) helpers, also |
17c5c8a5 | 11659 | inspired from the C++ library. |
82a4b025 | 11660 | |
07fc65c4 | 11661 | * raise.c (eh_personality): Add comments. Part of work for the GCC 3 |
17c5c8a5 | 11662 | exception handling integration. |
82a4b025 | 11663 | |
17c5c8a5 GB |
11664 | 2001-12-19 Arnaud Charlet <charlet@gnat.com> |
11665 | ||
11666 | * Makefile.in: Remove use of 5smastop.adb which is obsolete. | |
11667 | (HIE_SOURCES): Add s-secsta.ad{s,b}. | |
11668 | (HIE_OBJS): Add s-fat*.o | |
07fc65c4 | 11669 | (RAVEN_SOURCES): Remove files that are no longer required. Add |
17c5c8a5 GB |
11670 | interrupt handling files. |
11671 | (RAVEN_MOD): Removed, no longer needed. | |
82a4b025 | 11672 | |
17c5c8a5 GB |
11673 | 2001-12-19 Robert Dewar <dewar@gnat.com> |
11674 | ||
11675 | * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always | |
11676 | Add 2001 to copyright date | |
82a4b025 | 11677 | |
07fc65c4 | 11678 | * g-regpat.adb: Change pragma Inline_Always to Inline. There is no |
17c5c8a5 | 11679 | need to force universal inlining for these cases. |
82a4b025 | 11680 | |
17c5c8a5 GB |
11681 | 2001-12-19 Arnaud Charlet <charlet@gnat.com> |
11682 | ||
07fc65c4 | 11683 | * s-taprob.adb: Minor clean ups so that this unit can be used in |
17c5c8a5 | 11684 | Ravenscar HI. |
82a4b025 | 11685 | |
17c5c8a5 GB |
11686 | * exp_ch7.adb: Allow use of secondary stack in HI mode. |
11687 | Disallow it when pragma Restrictions (No_Secondary_Stack) is specified. | |
82a4b025 | 11688 | |
17c5c8a5 GB |
11689 | 2001-12-19 Vincent Celier <celier@gnat.com> |
11690 | ||
07fc65c4 | 11691 | * prj-tree.ads (Project_Node_Record): Add comments for components |
17c5c8a5 | 11692 | Pkg_Id and Case_Insensitive. |
82a4b025 | 11693 | |
17c5c8a5 GB |
11694 | 2001-12-19 Pascal Obry <obry@gnat.com> |
11695 | ||
11696 | * g-socket.adb: Minor reformatting. Found while reading code. | |
82a4b025 | 11697 | |
17c5c8a5 GB |
11698 | 2001-12-19 Robert Dewar <dewar@gnat.com> |
11699 | ||
11700 | * prj-tree.ads: Minor reformatting | |
11701 | ||
38be19f6 JM |
11702 | 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk> |
11703 | ||
11704 | * config-lang.in (diff_excludes): Remove. | |
11705 | ||
6510f4c9 GB |
11706 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11707 | ||
07fc65c4 GB |
11708 | * sem_res.adb (Resolve_Selected_Component): do not generate a |
11709 | discriminant check if the selected component is a component of | |
6510f4c9 GB |
11710 | the argument of an initialization procedure. |
11711 | ||
07fc65c4 GB |
11712 | * trans.c (tree_transform, case of arithmetic operators): If result |
11713 | type is private, the gnu_type is the base type of the full view, | |
6510f4c9 | 11714 | given that the full view itself may be a subtype. |
82a4b025 | 11715 | |
6510f4c9 GB |
11716 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11717 | ||
11718 | * sem_res.adb: Minor reformatting | |
82a4b025 | 11719 | |
07fc65c4 GB |
11720 | * trans.c (tree_transform, case N_Real_Literal): Add missing third |
11721 | parameter in call to Machine (unknown horrible effects from this | |
6510f4c9 | 11722 | omission). |
82a4b025 | 11723 | |
6510f4c9 GB |
11724 | * urealp.h: Add definition of Round_Even for call to Machine |
11725 | Add third parameter for Machine | |
82a4b025 | 11726 | |
6510f4c9 GB |
11727 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11728 | ||
07fc65c4 | 11729 | * sem_warn.adb (Check_One_Unit): Suppress warnings completely on |
6510f4c9 | 11730 | predefined units in No_Run_Time mode. |
82a4b025 | 11731 | |
6510f4c9 GB |
11732 | 2001-12-17 Richard Kenner <kenner@gnat.com> |
11733 | ||
11734 | * misc.c (insn-codes.h): Now include. | |
82a4b025 | 11735 | |
6510f4c9 GB |
11736 | 2001-12-17 Olivier Hainque <hainque@gnat.com> |
11737 | ||
07fc65c4 | 11738 | * a-except.adb: Preparation work for future integration of the GCC 3 |
6510f4c9 GB |
11739 | exception handling mechanism |
11740 | (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines | |
11741 | to factorize previous code sequences and make them externally callable, | |
11742 | e.g. for the Ada personality routine when the GCC 3 mechanism is used. | |
11743 | (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler): | |
11744 | Use the new notification routines. | |
82a4b025 | 11745 | |
6510f4c9 GB |
11746 | 2001-12-17 Emmanuel Briot <briot@gnat.com> |
11747 | ||
11748 | * prj-tree.ads (First_Choice_Of): Document the when others case | |
82a4b025 | 11749 | |
6510f4c9 GB |
11750 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
11751 | ||
07fc65c4 | 11752 | * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in |
6510f4c9 | 11753 | HI-E mode, in order to support Ravenscar profile properly. |
82a4b025 | 11754 | |
07fc65c4 | 11755 | * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E |
6510f4c9 | 11756 | mode on 32 bits targets. |
82a4b025 | 11757 | |
6510f4c9 GB |
11758 | 2001-12-17 Vincent Celier <celier@gnat.com> |
11759 | ||
11760 | * fmap.adb: Initial version. | |
82a4b025 | 11761 | |
6510f4c9 | 11762 | * fmap.ads: Initial version. |
82a4b025 | 11763 | |
6510f4c9 GB |
11764 | * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped. |
11765 | If search is successfully done, add to mapping. | |
82a4b025 | 11766 | |
6510f4c9 | 11767 | * frontend.adb: Initialize the mapping if a -gnatem switch was used. |
82a4b025 | 11768 | |
6510f4c9 GB |
11769 | * make.adb: |
11770 | (Gnatmake): Add new local variable Mapping_File_Name. | |
11771 | Create mapping file when using project file(s). | |
11772 | Delete mapping file before exiting. | |
82a4b025 | 11773 | |
6510f4c9 | 11774 | * opt.ads (Mapping_File_Name): New variable |
82a4b025 | 11775 | |
6510f4c9 | 11776 | * osint.adb (Find_File): Use path name found in mapping, if any. |
82a4b025 | 11777 | |
6510f4c9 | 11778 | * prj-env.adb (Create_Mapping_File): New procedure |
82a4b025 | 11779 | |
6510f4c9 | 11780 | * prj-env.ads (Create_Mapping_File): New procedure. |
82a4b025 | 11781 | |
07fc65c4 | 11782 | * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem |
6510f4c9 | 11783 | (Mapping_File) |
82a4b025 | 11784 | |
6510f4c9 | 11785 | * usage.adb: Add entry for new switch -gnatem. |
82a4b025 | 11786 | |
6510f4c9 | 11787 | * Makefile.in: Add dependencies for fmap.o. |
82a4b025 | 11788 | |
6510f4c9 GB |
11789 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11790 | ||
07fc65c4 | 11791 | * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit |
6510f4c9 GB |
11792 | is a package instantiation rewritten as a package body. |
11793 | (Install_Withed_Unit): Undo previous change, now redundant. | |
82a4b025 | 11794 | |
6510f4c9 GB |
11795 | 2001-12-17 Gary Dismukes <dismukes@gnat.com> |
11796 | ||
11797 | * layout.adb: | |
11798 | (Compute_Length): Move conversion to Unsigned to callers. | |
11799 | (Get_Max_Size): Convert Len expression to Unsigned after calls to | |
11800 | Compute_Length and Determine_Range. | |
11801 | (Layout_Array_Type): Convert Len expression to Unsigned after calls to | |
11802 | Compute_Length and Determine_Range. | |
11803 | Above changes fix problem with length computation for supernull arrays | |
07fc65c4 | 11804 | where Max (Len, 0) wasn't getting applied due to the Unsigned |
6510f4c9 | 11805 | conversion used by Compute_Length. |
82a4b025 | 11806 | |
6510f4c9 GB |
11807 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
11808 | ||
11809 | * rtsfind.ads: | |
11810 | (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and | |
11811 | System.Secondary_Stack. | |
11812 | (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar | |
11813 | in HI-E mode. | |
11814 | Remove unused entity RE_Exception_Data. | |
82a4b025 | 11815 | |
6510f4c9 | 11816 | * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode. |
82a4b025 | 11817 | |
6510f4c9 GB |
11818 | * rident.ads (No_Secondary_Stack): New restriction. |
11819 | ||
3a77b68d GB |
11820 | 2001-12-17 Joel Brobecker <brobecke@gnat.com> |
11821 | ||
07fc65c4 | 11822 | * gnat_rm.texi: Fix minor typos. Found while reading the section |
3a77b68d GB |
11823 | regarding "Bit_Order Clauses" that was sent to a customer. |
11824 | Very interesting documentation! | |
82a4b025 | 11825 | |
3a77b68d GB |
11826 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11827 | ||
07fc65c4 GB |
11828 | * sem_case.adb (Choice_Image): Avoid creating improper character |
11829 | literal names by using the routine Set_Character_Literal_Name. This | |
3a77b68d | 11830 | fixes bombs in certain error message cases. |
82a4b025 | 11831 | |
3a77b68d GB |
11832 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
11833 | ||
11834 | * a-reatim.adb: Minor reformatting. | |
82a4b025 | 11835 | |
3a77b68d GB |
11836 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11837 | ||
07fc65c4 GB |
11838 | * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the |
11839 | case where the formal is an extension of another formal in the current | |
3a77b68d | 11840 | unit or in a parent generic unit. |
82a4b025 | 11841 | |
3a77b68d GB |
11842 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
11843 | ||
07fc65c4 | 11844 | * s-tposen.adb: Update comments. Minor reformatting. |
3a77b68d | 11845 | Minor code clean up. |
82a4b025 | 11846 | |
3a77b68d | 11847 | * s-tarest.adb: Update comments. Minor code reorganization. |
82a4b025 | 11848 | |
3a77b68d GB |
11849 | 2001-12-17 Gary Dismukes <dismukes@gnat.com> |
11850 | ||
07fc65c4 | 11851 | * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag |
3a77b68d | 11852 | when Java_VM. |
82a4b025 | 11853 | |
3a77b68d GB |
11854 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11855 | ||
11856 | * exp_attr.adb: Minor reformatting | |
82a4b025 | 11857 | |
3a77b68d GB |
11858 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11859 | ||
07fc65c4 | 11860 | * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle |
3a77b68d GB |
11861 | derivations nested within a child unit: verify that the parent |
11862 | type is declared in an outer scope. | |
82a4b025 | 11863 | |
3a77b68d GB |
11864 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11865 | ||
11866 | * sem_ch12.adb: Minor reformatting | |
82a4b025 | 11867 | |
3a77b68d GB |
11868 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11869 | ||
07fc65c4 GB |
11870 | * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post |
11871 | warning if current unit is a predefined one, from which bodies may | |
3a77b68d | 11872 | have been deleted. |
82a4b025 | 11873 | |
3a77b68d GB |
11874 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11875 | ||
11876 | * eval_fat.ads: Add comment that Round_Even is referenced in Ada code | |
11877 | Fix header format. Add 2001 to copyright date. | |
82a4b025 | 11878 | |
07fc65c4 | 11879 | * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference, |
3a77b68d GB |
11880 | which caused CE during compilation if checks were enabled. |
11881 | ||
79503fdd GB |
11882 | 2001-12-17 Vincent Celier <celier@gnat.com> |
11883 | ||
11884 | * make.adb: | |
11885 | (Switches_Of): New function | |
11886 | (Test_If_Relative_Path): New procedure | |
11887 | (Add_Switches): Use new function Switches_Of | |
11888 | (Collect_Arguments_And_Compile): Use new function Switches_Of. | |
11889 | When using a project file, test if there are any relative | |
11890 | search path. Fail if there are any. | |
07fc65c4 GB |
11891 | (Gnatmake): Only add switches for the primary directory when not using |
11892 | a project file. When using a project file, change directory to the | |
11893 | object directory of the main project file. When using a project file, | |
11894 | test if there are any relative search path. Fail if there are any. | |
11895 | When using a project file, fail if specified executable is relative | |
11896 | path with directory information, and prepend executable, if not | |
11897 | specified as an absolute path, with the exec directory. Make sure | |
79503fdd | 11898 | that only one -o switch is transmitted to the linker. |
82a4b025 | 11899 | |
79503fdd | 11900 | * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir |
82a4b025 | 11901 | |
79503fdd GB |
11902 | * prj-nmsc.adb: |
11903 | (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc, | |
11904 | when using a non standard naming scheme. | |
11905 | (Check_Ada_Naming_Scheme): Make sure that error messages | |
11906 | do not raise exceptions. | |
11907 | (Is_Illegal_Append): Return True if there is no dot in the suffix. | |
11908 | (Language_Independent_Check): Check the exec directory. | |
82a4b025 | 11909 | |
79503fdd | 11910 | * prj.adb (Project_Empty): Add new component Exec_Directory |
82a4b025 | 11911 | |
79503fdd GB |
11912 | * prj.ads: |
11913 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults. | |
11914 | (Project_Data): Add component Exec_Directory | |
82a4b025 | 11915 | |
79503fdd | 11916 | * snames.adb: Updated to match snames.ads revision 1.215 |
82a4b025 | 11917 | |
79503fdd | 11918 | * snames.ads: Added Exec_Dir |
82a4b025 | 11919 | |
79503fdd GB |
11920 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11921 | ||
11922 | * make.adb: Minor reformatting | |
82a4b025 | 11923 | |
79503fdd | 11924 | * prj-nmsc.adb: Minor reformatting |
82a4b025 | 11925 | |
79503fdd | 11926 | * snames.adb: Updated to match snames.ads |
82a4b025 | 11927 | |
79503fdd GB |
11928 | * snames.ads: Alphebetize entries for project file |
11929 | ||
11930 | 2001-12-17 Ed Schonberg <schonber@gnat.com> | |
11931 | ||
07fc65c4 | 11932 | * trans.c (process_freeze_entity): Do nothing if the entity is a |
79503fdd | 11933 | subprogram that was already elaborated. |
82a4b025 | 11934 | |
79503fdd | 11935 | 2001-12-17 Richard Kenner <kenner@gnat.com> |
82a4b025 | 11936 | |
07fc65c4 | 11937 | * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment |
79503fdd GB |
11938 | and Esize if object is referenced via pointer. |
11939 | ||
855ff2e1 GB |
11940 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
11941 | ||
07fc65c4 | 11942 | * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant |
855ff2e1 | 11943 | is discrete before analyzing choices. |
82a4b025 | 11944 | |
855ff2e1 GB |
11945 | 2001-12-17 Joel Brobecker <brobecke@gnat.com> |
11946 | ||
07fc65c4 GB |
11947 | * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string |
11948 | containing the name of the Ada Main Program. This string is mainly | |
855ff2e1 GB |
11949 | intended for the debugger. |
11950 | (Gen_Output_File_C): Do the equivalent change when generating a C file. | |
82a4b025 | 11951 | |
855ff2e1 GB |
11952 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11953 | ||
11954 | * ali.adb: Set new Dummy_Entry field in dependency entry | |
82a4b025 | 11955 | |
855ff2e1 | 11956 | * ali.ads: Add Dummy_Entry field to source dependency table |
82a4b025 | 11957 | |
855ff2e1 | 11958 | * bcheck.adb (Check_Consistency): Ignore dummy D lines |
82a4b025 | 11959 | |
855ff2e1 | 11960 | * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files |
82a4b025 | 11961 | |
855ff2e1 | 11962 | * lib-writ.ads: Document dummy D lines for missing files. |
82a4b025 | 11963 | |
855ff2e1 GB |
11964 | * types.ads: (Dummy_Time_Stamp): New value for non-existant files |
11965 | ||
c1c22e7a GB |
11966 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11967 | ||
11968 | * ali.adb: Type reference does not reset current file. | |
82a4b025 | 11969 | |
c1c22e7a | 11970 | * ali.adb: Recognize and scan renaming reference |
82a4b025 | 11971 | |
c1c22e7a | 11972 | * ali.ads: Add spec for storing renaming references. |
82a4b025 | 11973 | |
c1c22e7a | 11974 | * lib-xref.ads: Add documentation for handling of renaming references |
82a4b025 | 11975 | |
c1c22e7a | 11976 | * lib-xref.adb: Implement output of renaming reference. |
82a4b025 | 11977 | |
c1c22e7a GB |
11978 | * checks.adb: |
11979 | (Determine_Range): Document local variables | |
11980 | (Determine_Range): Make sure Hbound is initialized. It looks as though | |
11981 | there could be a real problem here with an uninitialized reference | |
11982 | to Hbound, but no actual example of failure has been found. | |
82a4b025 | 11983 | |
c1c22e7a GB |
11984 | 2001-12-17 Laurent Pautet <pautet@gnat.com> |
11985 | ||
11986 | * g-socket.ads: | |
11987 | Fix comment of Shutdown_Socket and Close_Socket. These functions | |
11988 | should not fail silently because if they are called twice, this | |
11989 | probably means that there is a race condition in the user program. | |
11990 | Anyway, this behaviour is consistent with the rest of this unit. | |
11991 | When an error occurs, an exception is raised with the error message | |
11992 | as exception message. | |
11993 | ||
7eb7bb07 RD |
11994 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
11995 | ||
07fc65c4 | 11996 | * frontend.adb: Move call to Check_Unused_Withs from Frontend, so |
7eb7bb07 | 11997 | that it happens before modification of Sloc values for -gnatD. |
82a4b025 | 11998 | |
07fc65c4 | 11999 | * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend, |
7eb7bb07 | 12000 | so that it happens before modification of Sloc values for -gnatD. |
82a4b025 | 12001 | |
7eb7bb07 RD |
12002 | * switch.adb: Minor reformatting |
12003 | ||
b6434700 RH |
12004 | 2001-12-15 Richard Henderson <rth@redhat.com> |
12005 | ||
12006 | * sem_ch7.adb: Wrap comment. | |
12007 | ||
44d6a706 JM |
12008 | 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk> |
12009 | ||
12010 | * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb, | |
12011 | 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb, | |
12012 | 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb, | |
12013 | 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb, | |
12014 | 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb, | |
12015 | 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in, | |
12016 | a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb, | |
12017 | a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb, | |
12018 | cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb, | |
12019 | exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb, | |
12020 | exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads, | |
12021 | g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb, | |
12022 | gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c, | |
12023 | make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads, | |
12024 | par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb, | |
12025 | repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads, | |
12026 | s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb, | |
12027 | s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads, | |
12028 | s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads, | |
12029 | s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb, | |
12030 | sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb, | |
12031 | sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb, | |
12032 | sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads, | |
12033 | sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix | |
12034 | spelling errors. | |
12035 | ||
226ada7a GB |
12036 | 2001-12-14 Vincent Celier <celier@gnat.com> |
12037 | ||
07fc65c4 | 12038 | * osint.adb(Create_Debug_File): When an object file is specified, |
226ada7a | 12039 | put the .dg file in the same directory as the object file. |
82a4b025 | 12040 | |
226ada7a GB |
12041 | 2001-12-14 Robert Dewar <dewar@gnat.com> |
12042 | ||
12043 | * osint.adb: Minor reformatting | |
82a4b025 | 12044 | |
07fc65c4 | 12045 | * lib-xref.adb (Output_Instantiation): New procedure to generate |
226ada7a | 12046 | instantiation references. |
82a4b025 | 12047 | |
226ada7a | 12048 | * lib-xref.ads: Add documentation of handling of generic references. |
82a4b025 | 12049 | |
07fc65c4 | 12050 | * ali.adb (Read_Instantiation_Ref): New procedure to read |
226ada7a | 12051 | instantiation references |
82a4b025 | 12052 | |
226ada7a | 12053 | * ali.ads: Add spec for storing instantiation references |
82a4b025 | 12054 | |
226ada7a | 12055 | * bindusg.adb: Minor reformatting |
82a4b025 | 12056 | |
226ada7a | 12057 | * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 12058 | |
226ada7a | 12059 | * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 12060 | |
226ada7a | 12061 | * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 12062 | |
226ada7a | 12063 | * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 12064 | |
226ada7a GB |
12065 | * csets.ads: |
12066 | Fix header format | |
12067 | Add 2001 to copyright date | |
12068 | Add entry for Latin-5 (Cyrillic ISO-8859-5) | |
82a4b025 | 12069 | |
226ada7a GB |
12070 | 2001-12-14 Matt Gingell <gingell@gnat.com> |
12071 | ||
07fc65c4 | 12072 | * adaint.c: mktemp is a macro on Lynx and can not be used as an |
226ada7a | 12073 | expression. |
82a4b025 | 12074 | |
226ada7a GB |
12075 | 2001-12-14 Richard Kenner <kenner@gnat.com> |
12076 | ||
07fc65c4 | 12077 | * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR |
226ada7a | 12078 | if operand is CONSTRUCTOR. |
82a4b025 | 12079 | |
226ada7a GB |
12080 | 2001-12-14 Ed Schonberg <schonber@gnat.com> |
12081 | ||
07fc65c4 GB |
12082 | * trans.c (tree_transform, case N_Assignment_Statement): Set lineno |
12083 | before emiting check on right-hand side, so that exception information | |
226ada7a GB |
12084 | is correct. |
12085 | ||
12086 | 2001-12-14 Richard Kenner <kenner@gnat.com> | |
82a4b025 | 12087 | |
07fc65c4 | 12088 | * utils.c (create_var_decl): Throw away initializing expression |
226ada7a | 12089 | if just annotating types and non-constant. |
82a4b025 | 12090 | |
226ada7a GB |
12091 | 2001-12-14 Vincent Celier <celier@gnat.com> |
12092 | ||
12093 | * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to | |
12094 | Default_Ada_... | |
82a4b025 | 12095 | |
07fc65c4 | 12096 | * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
226ada7a GB |
12097 | Remove functions. |
12098 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec. | |
82a4b025 | 12099 | |
07fc65c4 | 12100 | * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
226ada7a GB |
12101 | Remove functions. |
12102 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body. | |
12103 | ||
9b94bf9e JM |
12104 | 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk> |
12105 | ||
12106 | * ChangeLog: Remove piece of diff output. | |
12107 | ||
449d2be3 GB |
12108 | 2001-12-14 Geert Bosch <bosch@gnat.com> |
12109 | ||
12110 | * config-lang.in: Update copyright notice | |
12111 | ||
12112 | * layout.adb: Remove commented out code. | |
12113 | ||
12114 | * mdllfile.ads: Update copyright notice. Fix header format. | |
12115 | ||
12116 | * sem_case.ads: Likewise. | |
12117 | ||
12118 | * sem_ch3.adb: Minor reformatting. | |
12119 | ||
e5bd5cb4 GB |
12120 | 2001-12-12 Geert Bosch <bosch@gnat.com> |
12121 | ||
12122 | * freeze.ads: Update copyright date. | |
12123 | ||
12124 | * g-comlin.ads: Minor reformatting. | |
12125 | ||
12126 | * gnat-style.texi: Fix typo. | |
12127 | ||
b468d8ec GB |
12128 | 2001-12-12 Geert Bosch <bosch@gnat.com> |
12129 | ||
12130 | * einfo.h: Regenerate. | |
12131 | ||
ed7da216 GB |
12132 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
12133 | ||
07fc65c4 | 12134 | * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names |
ed7da216 | 12135 | on known node types, rather than untyped fields. Further cleanups. |
82a4b025 | 12136 | |
ed7da216 GB |
12137 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
12138 | ||
12139 | * sem_ch12.adb: | |
12140 | (Save_Entity_Descendant): Minor comment update. | |
12141 | (Copy_Generic_Node): Deal with incorrect reference to Associated_Node | |
07fc65c4 | 12142 | of an N_Attribute_Reference node. As per note below, this does not |
ed7da216 | 12143 | eliminate need for Associated_Node in attribute ref nodes. |
07fc65c4 | 12144 | (Associated_Node): Documentation explicitly mentions attribute |
ed7da216 | 12145 | reference nodes, since this field is used in such nodes. |
82a4b025 | 12146 | |
ed7da216 GB |
12147 | * sem_ch12.adb (Associated_Node): Minor documentation cleanup. |
12148 | ||
de76a39c GB |
12149 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
12150 | ||
12151 | * s-stalib.adb: Add more comments on with statements being needed | |
82a4b025 | 12152 | |
de76a39c | 12153 | * par-ch12.adb: Minor reformatting |
82a4b025 | 12154 | |
de76a39c | 12155 | * prj-dect.ads: Fix copyright header |
82a4b025 | 12156 | |
07fc65c4 | 12157 | * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both |
de76a39c | 12158 | inputs fit in 32 bits, but the result still overflows. |
82a4b025 | 12159 | |
de76a39c | 12160 | * s-fatgen.ads: Minor comment improvement |
82a4b025 | 12161 | |
de76a39c GB |
12162 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
12163 | ||
07fc65c4 GB |
12164 | * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a |
12165 | formal derived type, look for an inherited component from the full | |
de76a39c | 12166 | view of the parent, if any. |
82a4b025 | 12167 | |
de76a39c GB |
12168 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
12169 | ||
12170 | * checks.ads (Apply_Alignment_Check): New procedure. | |
82a4b025 | 12171 | |
07fc65c4 GB |
12172 | * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to |
12173 | ensure that the alignment of objects with address clauses is | |
de76a39c GB |
12174 | appropriate, and raise PE if not. |
12175 | ||
07fc65c4 | 12176 | * exp_util.ads (Must_Be_Aligned): Removed, replaced by |
de76a39c | 12177 | Exp_Pakd.Known_Aligned_Enough |
82a4b025 | 12178 | |
de76a39c GB |
12179 | * mdllfile.ads: Minor reformatting |
12180 | ||
12181 | * mlib-fil.ads: Minor reformatting | |
82a4b025 | 12182 | |
de76a39c GB |
12183 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
12184 | ||
07fc65c4 GB |
12185 | * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous |
12186 | fix to any component reference if enclosing record has non-standard | |
de76a39c | 12187 | representation. |
82a4b025 | 12188 | |
de76a39c GB |
12189 | 2001-12-12 Vincent Celier <celier@gnat.com> |
12190 | ||
07fc65c4 | 12191 | * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package |
de76a39c | 12192 | Iteration |
82a4b025 | 12193 | |
de76a39c GB |
12194 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
12195 | ||
07fc65c4 | 12196 | * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in |
de76a39c | 12197 | sem_attr. |
82a4b025 | 12198 | |
de76a39c GB |
12199 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
12200 | ||
12201 | * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration | |
82a4b025 | 12202 | |
de76a39c GB |
12203 | 2001-12-12 Emmanuel Briot <briot@gnat.com> |
12204 | ||
12205 | * g-regexp.adb: Remove all debug code, since it isn't required anymore, | |
12206 | and it adds dependencies to system.io. | |
82a4b025 | 12207 | |
de76a39c GB |
12208 | 2001-12-12 Pascal Obry <obry@gnat.com> |
12209 | ||
07fc65c4 | 12210 | * g-dirope.adb (Expand_Path.Var): Correctly detect end of |
de76a39c GB |
12211 | variable name. |
12212 | ||
0b09835f ES |
12213 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
12214 | ||
12215 | * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance | |
07fc65c4 GB |
12216 | that is the parent of other generics, the instance body replaces the |
12217 | instance node. Retrieve the instance of the spec, which is the one | |
0b09835f ES |
12218 | that is visible in clients and within the body. |
12219 | ||
598c3446 GB |
12220 | 2001-12-11 Vincent Celier <celier@gnat.com> |
12221 | ||
12222 | * gnatmain.adb: Initial version. | |
82a4b025 | 12223 | |
598c3446 | 12224 | * gnatmain.ads: Initial version. |
82a4b025 | 12225 | |
598c3446 | 12226 | * prj-attr.adb (Initialisation_Data): Add package Gnatstub. |
82a4b025 | 12227 | |
598c3446 | 12228 | * snames.adb: Updated to match snames.ads. |
82a4b025 | 12229 | |
598c3446 | 12230 | * snames.ads: Added Gnatstub. |
82a4b025 | 12231 | |
598c3446 GB |
12232 | 2001-12-11 Vincent Celier <celier@gnat.com> |
12233 | ||
07fc65c4 | 12234 | * prj-attr.adb (Initialization_Data): Change name from |
598c3446 | 12235 | Initialisation_Data. |
82a4b025 | 12236 | |
598c3446 GB |
12237 | 2001-12-11 Emmanuel Briot <briot@gnat.com> |
12238 | ||
12239 | * g-regpat.adb (Parse_Literal): Properly handle simple operators ?, | |
12240 | + and * applied to backslashed expressions like \r. | |
82a4b025 | 12241 | |
598c3446 GB |
12242 | 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com> |
12243 | ||
07fc65c4 | 12244 | * g-os_lib.ads: String_List type added, Argument_List type is now |
598c3446 | 12245 | subtype of String_List. |
82a4b025 | 12246 | |
598c3446 GB |
12247 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
12248 | ||
12249 | * g-os_lib.ads: Change copyright to FSF | |
12250 | Add comments for String_List type | |
82a4b025 | 12251 | |
598c3446 GB |
12252 | 2001-12-11 Vincent Celier <celier@gnat.com> |
12253 | ||
07fc65c4 | 12254 | * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a |
598c3446 GB |
12255 | string to the buffer). |
12256 | ||
7fb754a1 GB |
12257 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
12258 | ||
12259 | * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in | |
12260 | sem_attr. | |
82a4b025 | 12261 | |
7fb754a1 | 12262 | * sem_attr.adb: Simplify previous fix for Address. |
07fc65c4 GB |
12263 | (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now, |
12264 | to avoid anomalies where the bound of the type appears to raise | |
7fb754a1 GB |
12265 | constraint error. |
12266 | ||
12267 | 2001-12-11 Robert Dewar <dewar@gnat.com> | |
12268 | ||
07fc65c4 | 12269 | * lib-xref.adb (Output_Refs): Make sure pointers are always properly |
7fb754a1 | 12270 | handled. |
82a4b025 | 12271 | |
7fb754a1 GB |
12272 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
12273 | ||
07fc65c4 | 12274 | * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a |
7fb754a1 | 12275 | renamed unit before checking for recursive instantiations. |
82a4b025 | 12276 | |
7fb754a1 GB |
12277 | 2001-12-11 Emmanuel Briot <briot@gnat.com> |
12278 | ||
12279 | * prj.ads: Add comments for some of the fields. | |
12280 | ||
0873bafc GB |
12281 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
12282 | ||
07fc65c4 | 12283 | * lib-xref.adb (Output_Refs): Don't output type references outside |
0873bafc | 12284 | the main unit if they are not otherwise referenced. |
82a4b025 | 12285 | |
0873bafc GB |
12286 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
12287 | ||
07fc65c4 | 12288 | * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify |
0873bafc | 12289 | code and diagnose additional illegal uses |
82a4b025 | 12290 | |
07fc65c4 | 12291 | * sem_util.adb (Is_Object_Reference): An indexed component is an |
0873bafc | 12292 | object only if the prefix is. |
82a4b025 | 12293 | |
0873bafc GB |
12294 | 2001-12-11 Vincent Celier <celier@gnat.com> |
12295 | ||
12296 | * g-diopit.adb: Initial version. | |
82a4b025 | 12297 | |
0873bafc | 12298 | * g-diopit.ads: Initial version. |
82a4b025 | 12299 | |
0873bafc GB |
12300 | * g-dirope.adb: |
12301 | (Expand_Path): Avoid use of Unbounded_String | |
12302 | (Find, Wildcard_Iterator): Moved to child package Iteration | |
82a4b025 | 12303 | |
0873bafc | 12304 | * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS |
82a4b025 | 12305 | |
7fb754a1 | 12306 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
0873bafc GB |
12307 | |
12308 | * sem_attr.adb: Minor reformatting | |
12309 | ||
d087cd96 GB |
12310 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
12311 | ||
12312 | * sem_ch3.adb: Clarify some ???. | |
82a4b025 | 12313 | |
d087cd96 GB |
12314 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
12315 | ||
07fc65c4 | 12316 | * exp_util.adb (Must_Be_Aligned): Removed, replaced by |
d087cd96 | 12317 | Exp_Pakd.Known_Aligned_Enough |
82a4b025 | 12318 | |
07fc65c4 | 12319 | * sem_ch13.adb (Check_Address_Alignment): Removed, extended |
d087cd96 GB |
12320 | version is moved to Exp_Ch13. |
12321 | ||
12322 | 2001-12-11 Robert Dewar <dewar@gnat.com> | |
12323 | ||
12324 | * einfo.ads: Minor reformatting | |
82a4b025 | 12325 | |
d087cd96 | 12326 | * exp_ch5.adb: Add comment for previous.change |
82a4b025 | 12327 | |
d087cd96 | 12328 | * ali.adb: New interface for extended typeref stuff. |
82a4b025 | 12329 | |
d087cd96 | 12330 | * ali.ads: New interface for typeref stuff. |
82a4b025 | 12331 | |
d087cd96 | 12332 | * checks.adb (Apply_Alignment_Check): New procedure. |
82a4b025 | 12333 | |
d087cd96 | 12334 | * debug.adb: Add -gnatdM for modified ALI output |
82a4b025 | 12335 | |
d087cd96 | 12336 | * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough. |
82a4b025 | 12337 | |
07fc65c4 GB |
12338 | * lib-xref.adb: Extend generation of <..> notation to cover |
12339 | subtype/object types. Note that this is a complete rewrite, | |
12340 | getting rid of the very nasty quadratic algorithm previously | |
d087cd96 | 12341 | used for derived type output. |
82a4b025 | 12342 | |
07fc65c4 GB |
12343 | * lib-xref.ads: Extend description of <..> notation to cover |
12344 | subtype/object types. Uses {..} for these other cases. | |
d087cd96 | 12345 | Also use (..) for pointer types. |
82a4b025 | 12346 | |
d087cd96 | 12347 | * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup. |
82a4b025 | 12348 | |
07fc65c4 | 12349 | * exp_pakd.adb: Minor reformatting. Note that prevous RH should say: |
d087cd96 GB |
12350 | (Known_Aligned_Enough): Replaces Must_Be_Aligned. |
12351 | ||
290986ed GB |
12352 | 2001-12-11 Vincent Celier <celier@gnat.com> |
12353 | ||
12354 | * gnatcmd.adb: | |
12355 | Changed /COMPILE_ONLY to /ACTIONS=COMPILE | |
12356 | Changed /BIND_ONLY to /ACTIONS=BIND | |
12357 | Changed /LINK_ONLY to /ACTIONS=LINK | |
82a4b025 | 12358 | |
290986ed GB |
12359 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
12360 | ||
12361 | * sem_ch8.adb (Find_Selected_Component): improved search for a | |
12362 | candidate package in case of error. | |
82a4b025 | 12363 | |
290986ed GB |
12364 | * sem_ch12.adb (Inline_Instance_Body): place head of use_clause |
12365 | chain back on scope stack before reinstalling use clauses. | |
82a4b025 | 12366 | |
290986ed GB |
12367 | * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings |
12368 | is enabled, do not kill the code for the condition, to preserve | |
12369 | warning. | |
12370 | ||
84157f51 GB |
12371 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
12372 | ||
07fc65c4 | 12373 | * checks.adb (Insert_Valid_Check): Apply validity check to expression |
84157f51 GB |
12374 | of conversion, not to result of conversion. |
12375 | ||
12376 | 2001-12-11 Ed Schonberg <schonber@gnat.com> | |
82a4b025 | 12377 | |
07fc65c4 GB |
12378 | * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag |
12379 | before freezing parent. If the declarations are mutually recursive, | |
12380 | an access to the current record type may be frozen before the | |
84157f51 GB |
12381 | derivation is complete. |
12382 | ||
7ffa903f VC |
12383 | 2001-12-05 Vincent Celier <celier@gnat.com> |
12384 | ||
07fc65c4 | 12385 | * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY, |
7ffa903f | 12386 | -c /COMPILE_ONLY, -l /LINK_ONLY |
82a4b025 | 12387 | |
7ffa903f VC |
12388 | * opt.ads: |
12389 | (Bind_Only): New Flag | |
12390 | (Link_Only): New flag | |
82a4b025 | 12391 | |
07fc65c4 | 12392 | * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only) |
7ffa903f | 12393 | and -l (Link_Only) |
82a4b025 | 12394 | |
7ffa903f | 12395 | * makeusg.adb: Add new switches -b and -l. Update Copyright notice. |
82a4b025 | 12396 | |
7ffa903f VC |
12397 | * make.adb: |
12398 | (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags. | |
12399 | (Gnatmake): Set the step flags. Only perform a step if the | |
12400 | corresponding step flag is True. | |
12401 | (Scan_Make_Arg): Reset the bind and link step flags when -u | |
12402 | or -gnatc has been specified. | |
12403 | ||
f91b40db GB |
12404 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
12405 | ||
07fc65c4 | 12406 | * sem_eval.adb (Eval_Concatenation): If left operand is a null string, |
f91b40db | 12407 | get bounds from right operand. |
82a4b025 | 12408 | |
f91b40db | 12409 | * sem_eval.adb: Minor reformatting |
82a4b025 | 12410 | |
07fc65c4 | 12411 | * exp_util.adb (Make_Literal_Range): use bound of literal rather |
f91b40db | 12412 | than Index'First, its lower bound may be different from 1. |
82a4b025 | 12413 | |
07fc65c4 | 12414 | * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B |
f91b40db | 12415 | and C48009J |
82a4b025 | 12416 | |
f91b40db GB |
12417 | 2001-12-05 Vincent Celier <celier@gnat.com> |
12418 | ||
12419 | * prj-nmsc.adb Minor reformatting | |
82a4b025 | 12420 | |
07fc65c4 | 12421 | * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if |
f91b40db | 12422 | set and libraries are not supported. |
82a4b025 | 12423 | |
f91b40db GB |
12424 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
12425 | ||
07fc65c4 GB |
12426 | * sem_ch3.adb (Build_Derived_Private_Type): set Public status of |
12427 | private view explicitly, so the back-end can treat as a global | |
f91b40db GB |
12428 | when appropriate. |
12429 | ||
45d04cbb GB |
12430 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
12431 | ||
12432 | * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation | |
12433 | unit, always replace instance node with new body, for ASIS use. | |
12434 | ||
12435 | 2001-12-05 Vincent Celier <celier@gnat.com> | |
82a4b025 | 12436 | |
07fc65c4 GB |
12437 | * prj-nmsc.adb (Language_Independent_Check): Issue a warning if |
12438 | libraries are not supported and both attributes Library_Name and | |
45d04cbb | 12439 | Library_Dir are specified. |
82a4b025 | 12440 | |
07fc65c4 | 12441 | * prj-proc.adb (Expression): Set location of Result to location of |
45d04cbb | 12442 | first term. |
82a4b025 | 12443 | |
45d04cbb GB |
12444 | * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS. |
12445 | (prj-nmsc is now importing MLib.Tgt) | |
82a4b025 | 12446 | |
45d04cbb GB |
12447 | * prj-proc.adb: Put the change indicated above that was forgotten. |
12448 | ||
84436014 RD |
12449 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
12450 | ||
12451 | * Makefile.in: Add dependencies for System.IO for GNAT.Regexp | |
12452 | ||
7ae0dcd8 ES |
12453 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
12454 | ||
12455 | * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a | |
12456 | constraint, introduce explicit subtype declaration and derive from it. | |
82a4b025 | 12457 | |
7ae0dcd8 ES |
12458 | * sem_ch3.adb: Minor reformatting |
12459 | ||
c9a4817d RD |
12460 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
12461 | ||
07fc65c4 | 12462 | * checks.adb (Determine_Range): Increase cache size for checks. |
c9a4817d | 12463 | Minor reformatting |
82a4b025 | 12464 | |
c9a4817d RD |
12465 | * exp_ch6.adb: Minor reformatting |
12466 | (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has | |
12467 | a parameter whose root type is System.Address, since treating such | |
12468 | subprograms as pure in the code generator is almost surely a mistake | |
12469 | that will lead to unexpected results. | |
82a4b025 | 12470 | |
07fc65c4 | 12471 | * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and |
c9a4817d | 12472 | change handling of conversions. |
82a4b025 | 12473 | |
c9a4817d RD |
12474 | * g-regexp.adb: Use System.IO instead of Ada.Text_IO. |
12475 | ||
2514b839 ES |
12476 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
12477 | ||
07fc65c4 GB |
12478 | * sem_ch3.adb (Analyze_Object_Declaration): If expression is an |
12479 | aggregate with static wrong size, attach generated Raise node to | |
2514b839 ES |
12480 | declaration. |
12481 | ||
457b6274 RD |
12482 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
12483 | ||
07fc65c4 | 12484 | * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute. |
457b6274 RD |
12485 | Fixes compilation abandoned bomb in B24009B. |
12486 | ||
19349925 ES |
12487 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
12488 | ||
12489 | * sem_ch12.adb: | |
12490 | Document use of Associated_Node on Selected_Components. | |
12491 | (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants, | |
12492 | to clarify use of untyped descendant fields. | |
12493 | ||
6663c393 RD |
12494 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
12495 | ||
12496 | * prj-dect.ads: Add ??? comment | |
12497 | Add 2001 to copyright notice (was not done in after all) | |
82a4b025 | 12498 | |
6663c393 | 12499 | * prj-part.adb: Minor reformatting. Reword one awkward error message. |
82a4b025 | 12500 | |
6663c393 | 12501 | * prj.ads: Minor reformatting throughout, and add some ??? comments |
82a4b025 | 12502 | |
6663c393 RD |
12503 | * snames.ads: Minor reformatting |
12504 | ||
d7b2a6af GB |
12505 | 2001-12-05 Geert Bosch <bosch@gnat.com> |
12506 | ||
12507 | * snames.adb: Autoupdate | |
12508 | ||
fbc9a404 VC |
12509 | 2001-12-05 Vincent Celier <celier@gnat.com> |
12510 | ||
12511 | * prj-dect.adb (Parse): Rename parameter Modifying to Extends. | |
82a4b025 | 12512 | |
fbc9a404 | 12513 | * prj-dect.ads (Parse): Rename parameter Modifying to Extends. |
82a4b025 | 12514 | |
fbc9a404 | 12515 | * prj-env.adb: Minor comment changes (modifying -> extends). |
82a4b025 | 12516 | |
fbc9a404 | 12517 | * prj-nmsc.adb: Minor comment changes (modifying -> extends). |
82a4b025 | 12518 | |
07fc65c4 | 12519 | * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to |
fbc9a404 | 12520 | Tok_Extends. |
82a4b025 | 12521 | |
fbc9a404 | 12522 | * prj.adb (Initialize): Change Modifying to Extends. |
82a4b025 | 12523 | |
fbc9a404 | 12524 | * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends. |
82a4b025 | 12525 | |
fbc9a404 | 12526 | * prj.ads: Minor comment change (Modifying -> extending). |
82a4b025 | 12527 | |
fbc9a404 VC |
12528 | * snames.ads: Change modifying to extends. |
12529 | ||
7cff0b1b RD |
12530 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
12531 | ||
07fc65c4 | 12532 | * sem_warn.adb: Remove stuff for conditionals, we are not going to |
7cff0b1b | 12533 | do this after all. |
82a4b025 | 12534 | |
07fc65c4 | 12535 | * sem_warn.ads: Remove stuff for conditionals, we are not going to |
7cff0b1b RD |
12536 | do this after all. Add 2001 to copyright notice |
12537 | ||
4f56ebb7 GB |
12538 | 2001-12-04 Geert Bosch <bosch@gnat.com> |
12539 | ||
12540 | * einfo.h, sinfo.h, treeprs.ads: Regenerate. | |
12541 | ||
053defdf RD |
12542 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12543 | ||
07fc65c4 GB |
12544 | * errout.adb (Error_Msg): Ignore attempt to put error msg at junk |
12545 | location if we already have errors. Stops some cases of cascaded | |
053defdf | 12546 | errors. |
82a4b025 | 12547 | |
053defdf RD |
12548 | * errout.adb: Improve comment. |
12549 | ||
f311e166 RD |
12550 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12551 | ||
12552 | * sem_ch12.adb: | |
12553 | (Analyze_Formal_Type_Definition): Defend against Error. | |
12554 | (Analyze_Formal_Subprogram): Defend against Error. | |
82a4b025 | 12555 | |
07fc65c4 | 12556 | * par-ch12.adb (F_Formal_Type_Declaration): In case of error, |
f311e166 RD |
12557 | remove following semicolon if present. Removes cascaded error. |
12558 | ||
d61bd65a DR |
12559 | 2001-12-04 Douglas B. Rupp <rupp@gnat.com> |
12560 | ||
12561 | * bindgen.adb: | |
12562 | (Gen_Exception_Table_Ada): Write "begin" and then return if Num | |
12563 | exceptions equals 0. | |
12564 | (Gen_Exception_Table_C): Return if Num exceptions equals 0. | |
12565 | Fixes PIWG E tests (which have to be run with -gnatL). | |
12566 | ||
4ba603e2 RD |
12567 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12568 | ||
12569 | * einfo.ads: Minor reformatting | |
12570 | ||
57568d91 ES |
12571 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12572 | ||
07fc65c4 GB |
12573 | * einfo.ads: Block_Node points to the identifier of the block, not to |
12574 | the block node itself, to preserve the link when the block is | |
12575 | rewritten, e.g. within an if-statement with a static condition. | |
82a4b025 | 12576 | |
07fc65c4 | 12577 | * inline.adb (Cleanup_Scopes): recover block statement from block |
57568d91 | 12578 | entity using new meaning of Block_Node. |
82a4b025 | 12579 | |
07fc65c4 | 12580 | * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to |
57568d91 ES |
12581 | identifier of block node, rather than to node itself. |
12582 | ||
0815d36a | 12583 | 2001-12-04 Gary Dismukes <dismukes@gnat.com> |
82a4b025 | 12584 | |
0815d36a GD |
12585 | * layout.adb: |
12586 | (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size. | |
12587 | (Discrimify): Go back to setting the Etypes of the selected component | |
07fc65c4 | 12588 | because the Vname component does not exist at this point and will |
0815d36a GD |
12589 | fail name resolution. Also set Analyzed. |
12590 | Remove with and use of Sem_Res. | |
12591 | ||
edc0f304 AC |
12592 | 2001-12-04 Arnaud Charlet <charlet@gnat.com> |
12593 | ||
12594 | * Makefile.in: (HIE_SOURCES): add s-fat*. | |
12595 | ||
32213142 RD |
12596 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12597 | ||
12598 | * sem_attr.adb: | |
12599 | (Compile_Time_Known_Attribute): New procedure. | |
12600 | (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure | |
12601 | proper range check. | |
12602 | ||
c0def2ad ES |
12603 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12604 | ||
07fc65c4 | 12605 | * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before |
c0def2ad ES |
12606 | processing discriminants to diagnose illegal default values. |
12607 | ||
ee0a48c5 ES |
12608 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12609 | ||
07fc65c4 GB |
12610 | * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide |
12611 | access discriminant within a type extension that constrains its | |
ee0a48c5 ES |
12612 | parent discriminants. |
12613 | ||
dd5875a6 ES |
12614 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12615 | ||
07fc65c4 | 12616 | * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication |
dd5875a6 | 12617 | is malformed, use instance of Any_Id to allow analysis to proceed. |
82a4b025 | 12618 | |
07fc65c4 | 12619 | * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if |
dd5875a6 ES |
12620 | type definition is illegal. |
12621 | (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is | |
12622 | misplaced. | |
12623 | ||
c2a41e57 ES |
12624 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12625 | ||
07fc65c4 | 12626 | * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to |
c2a41e57 ES |
12627 | constants. |
12628 | ||
0ae84753 RD |
12629 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12630 | ||
12631 | * errout.adb: Minor reformatting | |
12632 | ||
63db260e RD |
12633 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12634 | ||
12635 | * exp_util.adb: Minor reformatting from last change | |
82a4b025 | 12636 | |
07fc65c4 GB |
12637 | * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node |
12638 | which is a rewriting of an expression, traverse the original | |
63db260e RD |
12639 | expression to remove warnings that may have been posted on it. |
12640 | ||
c6d289f4 ES |
12641 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12642 | ||
07fc65c4 | 12643 | * exp_util.adb (Must_Be_Aligned): Return false for a component of a |
c6d289f4 ES |
12644 | record that has other packed components. |
12645 | ||
5917e80d DR |
12646 | 2001-12-04 Douglass B. Rupp <rupp@gnat.com> |
12647 | ||
12648 | * adaint.c: Minor cleanups. | |
12649 | ||
2c70f9dd DR |
12650 | 2001-12-04 Douglass B. Rupp <rupp@gnat.com> |
12651 | ||
12652 | * adaint.c: Do not use utime.h on vxworks. | |
12653 | ||
e59b3387 AC |
12654 | 2001-12-04 Arnaud Charlet <charlet@gnat.com> |
12655 | ||
07fc65c4 | 12656 | * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes |
e59b3387 AC |
12657 | more confusion than it solves. |
12658 | ||
e288604a GB |
12659 | 2001-12-04 Geert bosch <bosch@gnat.com> |
12660 | ||
12661 | * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate. | |
12662 | ||
5ac21013 GB |
12663 | 2001-12-04 Geert Bosch <bosch@gnat.com> |
12664 | ||
07fc65c4 | 12665 | * Makefile.in (update-sources): New target. |
5ac21013 GB |
12666 | For use by gcc_release script. |
12667 | ||
7dd5bd5e ES |
12668 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
12669 | ||
07fc65c4 | 12670 | * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as |
7dd5bd5e ES |
12671 | a configuration pragma, it is now legal wherever a pragma can appear. |
12672 | ||
a078a589 ZW |
12673 | 2001-12-04 Zack Weinberg <zack@codesourcery.com> |
12674 | ||
12675 | * Makefile.in: Don't set ALL. Delete @cross_defines@, | |
12676 | @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS | |
12677 | is now @CROSS@ -DIN_GCC; update comment. | |
12678 | ||
0839863c GB |
12679 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
12680 | ||
12681 | * einfo.adb (Has_Pragma_Pure_Function): New flag. | |
12682 | Fix problem that stopped ceinfo from working | |
82a4b025 | 12683 | |
0839863c | 12684 | * einfo.ads (Has_Pragma_Pure_Function): New flag. |
82a4b025 | 12685 | |
0839863c GB |
12686 | * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function. |
12687 | ||
12688 | 2001-12-04 Douglas B. Rupp <rupp@gnat.com> | |
9678de49 DR |
12689 | |
12690 | * gnatchop.adb: | |
12691 | (File_Time_Stamp): New procedure. | |
12692 | (Preserve_Mode): New boolean. | |
12693 | (Write_Unit): Pass time stamp. | |
12694 | Implement -p switch (preserve time stamps). | |
82a4b025 | 12695 | |
9678de49 | 12696 | * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE). |
82a4b025 | 12697 | |
9678de49 | 12698 | * gnatchop.adb: Do usage info for -p switch |
82a4b025 | 12699 | |
9678de49 | 12700 | * adaint.h (__gnat_set_file_time_name): New function |
82a4b025 | 12701 | |
9678de49 | 12702 | * adaint.c (__gnat_set_file_time_name): Implement |
82a4b025 | 12703 | |
9678de49 DR |
12704 | * adaint.h: Fix typo |
12705 | ||
3b9a13c4 RD |
12706 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
12707 | ||
667e5c5d | 12708 | * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not |
b4f94ac1 | 12709 | have Associated_Node. |
3b9a13c4 | 12710 | |
767b404e RD |
12711 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
12712 | ||
12713 | * prj-proc.adb: Minor reformatting | |
667e5c5d | 12714 | |
767b404e RD |
12715 | * make.adb: Minor reformatting |
12716 | ||
11ac71ba GB |
12717 | 2001-12-03 Geert Bosch <bosch@gnat.com> |
12718 | ||
667e5c5d | 12719 | * make.adb: Minor reformatting. |
11ac71ba | 12720 | |
ef3d4d6e | 12721 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
b1446533 RD |
12722 | |
12723 | * sem_ch12.adb: Minor reformatting | |
12724 | ||
d6d32b24 ES |
12725 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
12726 | ||
667e5c5d AJ |
12727 | * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and |
12728 | push Standard on the stack before analyzing the instance body, | |
d6d32b24 | 12729 | in order to have a clean visibility environment. |
667e5c5d AJ |
12730 | |
12731 | * sem_ch12.adb (Inline_Instance_Body): Remove redundant code. | |
d6d32b24 | 12732 | |
13f08f03 ES |
12733 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
12734 | ||
667e5c5d | 12735 | * sem_ch12.adb (Instantiate_Package_Body): Protect against double |
13f08f03 ES |
12736 | instantiation of a body that contains an inlined body. |
12737 | ||
3bd6c100 ES |
12738 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
12739 | ||
12740 | * sem_ch12.adb: | |
12741 | (Analyze_generic_subprogram_Declaration): Set outer_generic_scope, | |
12742 | to prevent freezing within formal packages. | |
12743 | (Freeze_Subprogram_Body): If body comes from another instance that | |
12744 | appeared before its own body, place freeze node at end of current | |
12745 | declarative part, to prevent a back-end crash. | |
12746 | (Inline_Instance_Body): Handle properly a package instance within | |
12747 | a subprogram instance that is a child unit. | |
12748 | ||
58d07d8f GS |
12749 | 2001-12-01 Graham Stott <grahams@redhat.com> |
12750 | ||
12751 | * Makefile.in (misc.o): Add missing $(srcdir) prefix | |
12752 | and add optabs.h dependency. | |
12753 | ||
12754 | * misc.c: Include optabs.h | |
12755 | (gnat_tree_code_type): Make static and const. | |
12756 | (gnat_tree_code_length): Likewise. | |
12757 | (gnat_tree_code_name): Likewise. | |
12758 | (update_setjmp_buf): Obtain operands mode from insn_data. | |
12759 | ||
c87222f0 RH |
12760 | 2001-11-29 Richard Henderson <rth@redhat.com> |
12761 | ||
12762 | * init.c: Remove obsolete dwarf2 frame.h section. | |
12763 | ||
d3945f0a JM |
12764 | 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk> |
12765 | ||
12766 | * Make-lang.in (ada.generated-manpages): New dummy target. | |
12767 | ||
9f639397 ES |
12768 | 2001-11-29 Ed Schonberg <schonber@gnat.com> |
12769 | ||
667e5c5d AJ |
12770 | * g-os_lib.adb (Add_To_Command): use explicit loop to move string |
12771 | into Command, an array conversion is illegal here. Uncovered by | |
9f639397 ES |
12772 | ACATS B460005. |
12773 | ||
c835e5c6 GB |
12774 | 2001/11/28 Geert Bosch <bosch@gnat.com> |
12775 | ||
12776 | * init.c: Minor whitespace changes. | |
12777 | ||
49bb4548 DR |
12778 | 2001-11-28 Doug Rupp <rupp@gnat.com> |
12779 | ||
667e5c5d | 12780 | * init.c: (__gnat_install_handler,VMS): Increase size of alternate |
49bb4548 DR |
12781 | signal stack. |
12782 | ||
ea2417e5 ZW |
12783 | 2001-11-28 Zack Weinberg <zack@codesourcery.com> |
12784 | ||
12785 | * misc.c (gnat_expand_constant): Move declaration above | |
12786 | definition of lang_hooks. | |
12787 | (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant. | |
12788 | (gnat_init): lang_expand_constant no longer exists. | |
12789 | ||
12790 | (internal_error_function): Remove #ifdef HAVE_VPRINTF. We | |
12791 | always have vprintf. | |
12792 | (gnat_init): Always call set_internal_error_function. | |
12793 | ||
f8e0aa73 AJ |
12794 | 2001-11-27 Andreas Jaeger <aj@suse.de> |
12795 | ||
12796 | * Makefile.in (stamp-tool_src_dir): Use symbolic link. | |
12797 | ||
d99b0e79 LG |
12798 | 2001-11-27 Laurent Guerby <guerby@acm.org> |
12799 | ||
12800 | * Makefile.in: Regenerate Ada dependencies. | |
12801 | ||
3f0496e5 RH |
12802 | 2001-11-26 Richard Henderson <rth@redhat.com> |
12803 | ||
12804 | * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd, | |
12805 | gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys, | |
12806 | gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o. | |
12807 | ||
92fa4733 LG |
12808 | 2001-11-25 Laurent Guerby <guerby@acm.org> |
12809 | ||
12810 | * sysdep.c (rts_get_*): Fix style. | |
12811 | ||
07626501 LG |
12812 | 2001-11-19 Laurent Guerby <guerby@acm.org> |
12813 | ||
12814 | * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include | |
12815 | since it is of no apparent use and cause warnings. | |
12816 | ||
22703ccc NB |
12817 | 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk> |
12818 | ||
12819 | * misc.c (gnat_decode_option, gnat_init_options): Make definitions | |
12820 | static too. | |
12821 | (gnat_init): Don't return NULL. | |
12822 | (finish_parse): Remove. | |
12823 | ||
b0df4321 LG |
12824 | 2001-11-17 Laurent Guerby <guerby@acm.org> |
12825 | ||
12826 | * Make-lang.in (GNATLIBFLAGS): Add -W -Wall. | |
12827 | * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing. | |
12828 | * io-aux.c: Provide K&R prototypes to all functions, reformat code. | |
12829 | * lang-spec.h: Add missing struct field to silence warnings. | |
12830 | * sysdep.c (rts_get_*): Provide K&R prototype. | |
12831 | * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype. | |
12832 | * traceback.c (Unlock_Task, Lock_Task): Likewise. | |
12833 | * tracebak.c (__gnat_backtrace): Remove unused variable. | |
12834 | * utils.c (end_subprog_body): Move to K&R style. | |
12835 | ||
d215024f RK |
12836 | Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
12837 | ||
12838 | * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference. | |
12839 | ||
f5e99456 NB |
12840 | 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk> |
12841 | ||
12842 | * misc.c (gnat_init): Change prototype. Include the | |
12843 | functionality of the old init_parse and init_decl_processing. | |
12844 | (gnat_init_decl_processing): New prototype. | |
12845 | (init_parse): Remove. | |
12846 | * utils.c (init_decl_processing): Rename gnat_init_decl_processing. | |
12847 | ||
5d69f816 NB |
12848 | 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk> |
12849 | ||
12850 | * misc.c (gnat_print_decl, gnat_print_type): Renamed. | |
12851 | (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override. | |
12852 | (print_lang_statistics, lang_print_xnode, print_lang_identifier, | |
12853 | set_yydebug): Remove. | |
12854 | ||
3ac88239 NB |
12855 | 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk> |
12856 | ||
12857 | * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override. | |
12858 | (struct lang_hooks): Constify. | |
12859 | (language_string, lang_identify): Remove. | |
12860 | * utils.c (init_decl_processing): Update. | |
12861 | ||
d23c55c2 NB |
12862 | 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
12863 | ||
12864 | * misc.c: Include langhooks-def.h. | |
12865 | * Makefile.in: Update. | |
12866 | ||
04a1b79c RD |
12867 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
12868 | ||
12869 | * style.adb: | |
12870 | (Check_Identifier): Rewrite circuit to be compatible with use of letters | |
12871 | in the upper half of ASCII. | |
12872 | (Check_Identifier): Minor reformatting | |
12873 | ||
81fa2d39 GB |
12874 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
12875 | ||
f8e0aa73 | 12876 | * (Associated_Node, Set_Associated_Node): Do not check for |
81fa2d39 GB |
12877 | Freeze_Entity. |
12878 | ||
ffc5527f RD |
12879 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
12880 | ||
12881 | * a-reatim.ads: Minor reformatting | |
12882 | ||
865335eb RD |
12883 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
12884 | ||
f8e0aa73 | 12885 | * gnatdll.adb: Minor reformatting throughout. Many ??? added for |
865335eb RD |
12886 | undocumented declarations. |
12887 | ||
5e257178 PO |
12888 | 2001-10-30 Pascal Obry <obry@gnat.com> |
12889 | ||
f8e0aa73 | 12890 | * gnatdll.adb (Parse_Command_Line): handle -g option to be passed |
5e257178 PO |
12891 | to the binder and linker. |
12892 | Minor style fix. | |
f8e0aa73 | 12893 | |
5e257178 PO |
12894 | * mdll.ads: Fix layout. Update copyright notice. |
12895 | ||
12896 | * mdll.adb: Fix layout. Update copyright notice. | |
12897 | ||
1753e0ad RD |
12898 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
12899 | ||
12900 | * usage.adb: Minor fix to output for -gnaty. | |
12901 | ||
84bfdde0 ES |
12902 | 2001-10-30 Ed Schonberg <schonber@gnat.com> |
12903 | ||
f8e0aa73 AJ |
12904 | * a-reatim.ads: Makes Seconds_Count into a 64-bit integer, |
12905 | to accommodate all its possible values. | |
84bfdde0 | 12906 | |
f8e0aa73 | 12907 | * a-reatim.adb (Split): Special-case handling of Time_Span_First |
84bfdde0 ES |
12908 | and of small absolute values of T. |
12909 | ||
c296e5fc RK |
12910 | 2001-10-30 Richard Kenner <kenner@gnat.com> |
12911 | ||
f8e0aa73 AJ |
12912 | * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to |
12913 | set_mem_attributes since not needed and wrong if RESULT if a REG; | |
c296e5fc RK |
12914 | fixes ACATS failures. |
12915 | ||
07c809df GB |
12916 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
12917 | ||
12918 | * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads, | |
12919 | s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice. | |
12920 | ||
54d22416 | 12921 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
f8e0aa73 | 12922 | |
54d22416 | 12923 | * bindusg.adb: Undocument -f switch. |
f8e0aa73 | 12924 | |
54d22416 | 12925 | * gnatcmd.adb: Remove /FULL_ELABORATION. |
f8e0aa73 AJ |
12926 | |
12927 | * opt.ads (Force_RM_Elaboration_Order): Document that this is | |
54d22416 | 12928 | obsolescent. |
f8e0aa73 | 12929 | |
54d22416 | 12930 | * gnatbind.adb: Output new warning for use of obsolescent -f switch. |
f8e0aa73 | 12931 | |
54d22416 RD |
12932 | * gnatbind.adb: Minor update of warning msg. |
12933 | ||
af5cf6f8 VC |
12934 | 2001-10-30 Vincent Celier <celier@gnat.com> |
12935 | ||
f8e0aa73 | 12936 | * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations |
af5cf6f8 | 12937 | for project file switches (-P (/PROJECT_FILE=), |
f8e0aa73 | 12938 | -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT |
af5cf6f8 VC |
12939 | or MEDIUM or HIGH) |
12940 | ||
984bc4c3 GB |
12941 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
12942 | ||
12943 | * decl.c: Minor whitespace fixes. | |
12944 | ||
5dece937 RK |
12945 | 2001-10-30 Richard Kenner <kenner@gnat.com> |
12946 | ||
12947 | * utils2.c (build_allocator): Test for SIZE overflow in array case too | |
12948 | ||
de4bf6cb GB |
12949 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
12950 | ||
f8e0aa73 | 12951 | * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out. |
de4bf6cb | 12952 | Found due to GCC 3.0 warning of using uninitialized value. |
f8e0aa73 | 12953 | |
de4bf6cb GB |
12954 | * layout.adb: |
12955 | (Get_Max_Size): Use variant record for tracking value/expression. | |
12956 | Makes logic clearer and prevents warnings for uninitialized variables. | |
12957 | (Layout_Array_Type): Use variant record for tracking value/expression. | |
12958 | Makes logic clearer and prevents warnings for uninitialized variables. | |
12959 | ||
f5e44987 RD |
12960 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
12961 | ||
12962 | * lib.adb: Minor reformatting | |
12963 | ||
12964 | * s-taprop.ads: Minor reformatting | |
12965 | ||
45659035 | 12966 | 2001-10-29 Laurent Guerby <guerby@acm.org> |
f8e0aa73 | 12967 | |
45659035 GB |
12968 | * init.c: |
12969 | (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg | |
12970 | const. | |
12971 | (_gnat_error_handler): Make MSG const. | |
12972 | ||
12973 | 2001-10-29 Richard Kenner <kenner@gnat.com> | |
12974 | ||
12975 | * sysdep.c: Fix localtime_r problem on LynxOS. | |
12976 | Also remove #elif to avoid warnings. | |
f8e0aa73 AJ |
12977 | |
12978 | * misc.c (yyparse): Don't set up and register jmpbuf; remove decls | |
45659035 | 12979 | used by this. |
f8e0aa73 | 12980 | |
45659035 GB |
12981 | * decl.c (annotate_value): Make SIZE unsigned to avoid warning. |
12982 | ||
638e383e JM |
12983 | 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk> |
12984 | ||
12985 | * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb, | |
12986 | exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb, | |
12987 | g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads, | |
12988 | g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c, | |
12989 | layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads, | |
12990 | s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads, | |
12991 | sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb, | |
12992 | sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb, | |
12993 | sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads, | |
12994 | types.ads, urealp.adb: Fix spelling errors. | |
12995 | ||
97f6baa0 LG |
12996 | 2001-10-27 Laurent Guerby <guerby@acm.org> |
12997 | ||
12998 | * trans.c (gigi): Fix non determinism leading to bootstrap | |
12999 | comparison failures for debugging information. | |
13000 | ||
46b58b8c FW |
13001 | 2001-10-26 Florian Weimer <fw@deneb.enyo.de> |
13002 | ||
13003 | * gnat_rm.texi: Use @./@: where appropriate. | |
13004 | ||
30151c7b RD |
13005 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
13006 | ||
13007 | * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup. | |
13008 | ||
c0b1738d RK |
13009 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
13010 | ||
13011 | * gmem.c (__gnat_gmem_read_next): Properly check for EOF | |
13012 | ||
5b09c153 RK |
13013 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
13014 | ||
f8e0aa73 | 13015 | * decl.c (validate_size): Modify message for bad size to avoid |
5b09c153 RK |
13016 | implication that compiler is modifying the size. |
13017 | ||
4d553668 RD |
13018 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
13019 | ||
13020 | * prj-util.adb: Minor reformatting. Fix bad header format. | |
13021 | ||
3e542a58 RD |
13022 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
13023 | ||
13024 | * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup. | |
f8e0aa73 | 13025 | |
3e542a58 | 13026 | * sinfo.ads: Clarify use of Associated_Node (documentation only). |
f8e0aa73 AJ |
13027 | |
13028 | * sem_ch12.adb: Change Node4 to Associated_Node. Change | |
13029 | Associated_Node to Get_Associated_Node. Put use of Unchecked_Access | |
3e542a58 RD |
13030 | much more narrowly in places where needed. These are cleanups. |
13031 | ||
0bf08bfe JB |
13032 | 2001-10-26 Joel Brobecker <brobecke@gnat.com> |
13033 | ||
13034 | * 5zosinte.ads (null_pthread): new constant. | |
f8e0aa73 | 13035 | |
0bf08bfe JB |
13036 | * 5ztaprop.adb: |
13037 | (Initialize_TCB): Initialize thread ID to null, to be able to verify | |
13038 | later that this field has been set. | |
13039 | (Finalize_TCB): ditto. | |
13040 | (Suspend_Task): Verify that the thread ID is not null before using it. | |
13041 | (Resume_Task): ditto. | |
f8e0aa73 | 13042 | |
0bf08bfe JB |
13043 | * s-tasdeb.adb: |
13044 | (Resume_All_Tasks): Lock the tasks list before using it. | |
13045 | (Suspend_All_Tasks): ditto. | |
13046 | ||
7a3a8c06 RK |
13047 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
13048 | ||
f8e0aa73 | 13049 | * decl.c (gnat_to_gnu_entity, case E_General_Access_Type): |
7a3a8c06 RK |
13050 | Make constant variant of designated type for Is_Access_Constant. |
13051 | Call update_pointer_to with main variant. | |
f8e0aa73 AJ |
13052 | |
13053 | * trans.c (process_freeze_entity, process_type): | |
7a3a8c06 | 13054 | Call update_pointer_to on main variant. |
f8e0aa73 | 13055 | |
7a3a8c06 RK |
13056 | * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE. |
13057 | If main variant, update all other variants. | |
f8e0aa73 AJ |
13058 | |
13059 | * utils2.c (build_unary_op, case INDIRECT_REF): No longer set | |
7a3a8c06 RK |
13060 | TREE_STATIC. |
13061 | ||
a160babb RD |
13062 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
13063 | ||
13064 | * prj-util.adb: Minor reformatting | |
13065 | ||
b403bd17 RD |
13066 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
13067 | ||
13068 | * prj-util.adb: Minor reformatting | |
13069 | ||
5fc3b4c7 RD |
13070 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
13071 | ||
13072 | * prj-attr.adb: Minor reformatting throughout | |
13073 | ||
8c736034 RD |
13074 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
13075 | ||
13076 | * prj-attr.ads: Minor reformatting | |
13077 | Add ??? comment (this whole spec has almost no comments) | |
13078 | ||
47d5b6ed VC |
13079 | 2001-10-26 Vincent Celier <celier@gnat.com> |
13080 | ||
f8e0aa73 | 13081 | * g-os_lib.adb (Normalize_Pathname): Preserve the double slash |
b4f94ac1 | 13082 | ("//") that precede the drive letter on Interix. |
47d5b6ed | 13083 | |
41af791f GB |
13084 | 2001-10-26 Geert Bosch <bosch@gnat.com> |
13085 | ||
13086 | * gnat_rm.texi: Add GNAT Reference Manual. | |
13087 | ||
ed4a1468 RD |
13088 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
13089 | ||
f8e0aa73 | 13090 | * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name |
b4f94ac1 | 13091 | is Error. Similar change for other renaming cases. |
ed4a1468 | 13092 | |
24377ae4 RD |
13093 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
13094 | ||
13095 | * s-atacco.ads: Add pragma Inline_Always for functions. | |
13096 | Fix header format. Add copyright 2001 | |
13097 | ||
fef3204e ES |
13098 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
13099 | ||
f8e0aa73 | 13100 | * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array |
b4f94ac1 | 13101 | return Error rather than Empty so that analysis can proceed. |
fef3204e | 13102 | |
dfc69d80 ES |
13103 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
13104 | ||
f8e0aa73 | 13105 | * sem_util.adb (Enter_Name): better handling of cascaded error |
b4f94ac1 | 13106 | messages when a unit appears in its own context. |
dfc69d80 | 13107 | |
5a15af62 ES |
13108 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
13109 | ||
f8e0aa73 | 13110 | * sem_util.adb (Defining_Entity): in case of error, attach created |
b4f94ac1 | 13111 | entity to specification, so that semantic analysis can proceed. |
5a15af62 | 13112 | |
2b881d53 RD |
13113 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
13114 | ||
f8e0aa73 | 13115 | * sem_util.adb |
b4f94ac1 | 13116 | (Defining_Entity): Deal with Error. |
2b881d53 RD |
13117 | (Process_End_Label): Deal with bad end label for. |
13118 | ||
578053f2 ES |
13119 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
13120 | ||
f8e0aa73 | 13121 | * sem_elab.adb (Check_A_Call): refine message when call is in an |
578053f2 ES |
13122 | instance but callee is not declared in the generic unit. |
13123 | ||
0597ce0b | 13124 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
f8e0aa73 AJ |
13125 | |
13126 | * sem_elab.adb (Check_A_Call): check for renaming before finding the | |
0597ce0b ES |
13127 | enclosing unit, which may already be different from the calling unit. |
13128 | ||
3de6e6da GB |
13129 | 2001-10-25 Geert Bosch <bosch@gnat.com> |
13130 | ||
13131 | * 4gintnam.ads: fix header format. | |
13132 | ||
6f311316 ES |
13133 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
13134 | ||
f8e0aa73 | 13135 | * sem_res.adb (Resolve_Call): if the call is actually an indexing |
b4f94ac1 ZW |
13136 | operation on the result of a parameterless call, perform elaboration |
13137 | check after the node has been properly rewritten. | |
f8e0aa73 AJ |
13138 | |
13139 | * sem_ch12.adb (Copy_Generic_Node): after the proper body has been | |
b4f94ac1 ZW |
13140 | inlined within the generic tree, the defining identifier is not a |
13141 | compilation_unit. | |
6f311316 | 13142 | |
17be0cdf ES |
13143 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
13144 | ||
f8e0aa73 | 13145 | * sem_res.adb (Resolve): special-case resolution of Null in an |
b4f94ac1 | 13146 | instance or an inlined body to avoid view conflicts. |
f8e0aa73 AJ |
13147 | |
13148 | * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view | |
b4f94ac1 | 13149 | compatibility by retrieving the access type of the generic copy. |
17be0cdf | 13150 | |
ce9e9122 RD |
13151 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
13152 | ||
13153 | * sem_ch3.adb: | |
13154 | (Analyze_Number_Declaration): Handle error expression. | |
13155 | (Signed_Integer_Type_Declaration): Handle error bound. | |
13156 | (Analyze_Subtype_Indication): Handle error range. | |
f8e0aa73 | 13157 | |
ce9e9122 RD |
13158 | * sem_util.adb (Get_Index_Bounds): Check for Error. |
13159 | ||
e12fbc9e RD |
13160 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
13161 | ||
f8e0aa73 | 13162 | * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default |
e12fbc9e RD |
13163 | in no run time mode. |
13164 | ||
52b80488 PO |
13165 | 2001-10-25 Pascal Obry <obry@gnat.com> |
13166 | ||
f8e0aa73 | 13167 | * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet |
b4f94ac1 | 13168 | mode case for ALLOC case. |
f8e0aa73 AJ |
13169 | |
13170 | * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on | |
b4f94ac1 | 13171 | all platforms. Improvement of last change. |
52b80488 | 13172 | |
316ad9c5 RD |
13173 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
13174 | ||
13175 | * exp_ch4.adb (Expand_N_Allocator): Minor reformatting. | |
13176 | ||
1a7e4df4 GB |
13177 | 2001-10-25 Geert Bosch <bosch@gnat.com> |
13178 | ||
13179 | * osint.adb (Is_Relative): Remove duplicate. | |
13180 | ||
90a9fff2 PO |
13181 | 2001-10-25 Pascal Obry <obry@gnat.com> |
13182 | ||
f8e0aa73 | 13183 | * osint.adb (Read_Default_Search_Dirs): correctly detect relative |
b4f94ac1 | 13184 | pathnames in UNIX and DOS style with drive letter. |
90a9fff2 | 13185 | (Is_Relative): new routine. |
f8e0aa73 | 13186 | |
90a9fff2 | 13187 | * osint.adb: Minor reformatting |
f8e0aa73 AJ |
13188 | |
13189 | * osint.adb (Is_Relative): implementation using | |
b4f94ac1 | 13190 | GNAT.OS_Lib.Is_Absolute_Path. Better fix. |
90a9fff2 | 13191 | |
5c1ba4cc PO |
13192 | 2001-10-25 Pascal Obry <obry@gnat.com> |
13193 | ||
f8e0aa73 | 13194 | * g-dirope.adb (Basename): correctly compute offset between the |
b4f94ac1 | 13195 | original Path and the translated one. |
f8e0aa73 | 13196 | |
5c1ba4cc PO |
13197 | * g-dirope.adb: (Base_Name): add some comments. |
13198 | ||
a7fb206d RD |
13199 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
13200 | ||
f8e0aa73 | 13201 | * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use |
b4f94ac1 | 13202 | in HIE mode, avoids compilation abandoned message |
f8e0aa73 | 13203 | |
a7fb206d | 13204 | * exp_imgv.adb: Correct typo in previous change |
f8e0aa73 | 13205 | |
a7fb206d RD |
13206 | * exp_imgv.adb: Correct typo in previous change (not my day!) |
13207 | ||
e6a7e62e RD |
13208 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
13209 | ||
13210 | * s-tpinop.ads: Add 2001 to copyright notice. Fix header format. | |
13211 | ||
0d2b8e0b | 13212 | 2001-10-25 Pascal Obry <obry@gnat.com> |
75c09e7d | 13213 | |
f8e0aa73 | 13214 | * g-awk.ads: Move all pragma inlines next to the routine |
0d2b8e0b | 13215 | declarations. This is more uniform with other GNAT spec. |
75c09e7d | 13216 | |
0d2b8e0b | 13217 | 2001-10-22 Geert Bosch <bosch@gnat.com> |
d2740a69 GB |
13218 | |
13219 | * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem. | |
13220 | ||
0d2b8e0b | 13221 | 2001-10-19 Geert Bosch <bosch@gnat.com> |
d7ac9bdd GB |
13222 | |
13223 | * Makefile.in (tools, gnattools): Remove gnatmem. | |
13224 | ||
17ed6335 RH |
13225 | 2001-10-17 Richard Henderson <rth@redhat.com> |
13226 | ||
13227 | * Makefile.in (misc.o): Depend on langhooks.h. | |
13228 | * misc.c: Include it. | |
13229 | (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New. | |
13230 | (LANG_HOOKS_DECODE_OPTION): New. | |
13231 | (lang_hooks): Use LANG_HOOKS_INITIALIZER. | |
13232 | ||
f2436274 FW |
13233 | 2001-10-16 Florian Weimer <fw@deneb.enyo.de> |
13234 | ||
13235 | * trans.c (tree_transform): Adjust to recent change in | |
13236 | expand_asm_operands to implement named asm operands. | |
13237 | ||
b14127e6 ES |
13238 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
13239 | ||
f8e0aa73 | 13240 | * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in |
b14127e6 ES |
13241 | renaming of discriminant for mutable record type. |
13242 | ||
e70ee92a RD |
13243 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
13244 | ||
13245 | * validsw.adb: Properly save -gnatVn status. | |
13246 | ||
9a5621d7 | 13247 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
f8e0aa73 | 13248 | |
9a5621d7 RD |
13249 | * usage.adb: Add lines for V switch. |
13250 | ||
f8e0aa73 | 13251 | * gnatcmd.adb (COMPILE): Revise translations for -gnatV |
9a5621d7 RD |
13252 | (/VALIDITY_CHECKING). |
13253 | ||
45667f04 ES |
13254 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
13255 | ||
f8e0aa73 | 13256 | * sem_type.adb (Add_One_Interp): an operator for a type declared in |
45667f04 ES |
13257 | an extension of System is known to be visible. |
13258 | ||
c3de5c4c ES |
13259 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
13260 | ||
f8e0aa73 | 13261 | * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal |
c3de5c4c ES |
13262 | properly. Fixes regression on ACATS C34005G. |
13263 | ||
4fa964a6 RD |
13264 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
13265 | ||
f8e0aa73 | 13266 | * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null |
4fa964a6 RD |
13267 | loop in generic instance, since this is likely not very useful. |
13268 | ||
0868e09c RD |
13269 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
13270 | ||
f8e0aa73 | 13271 | * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize |
0868e09c | 13272 | the error message for high integrity mode. |
f8e0aa73 AJ |
13273 | |
13274 | * rtsfind.adb (RTE): Give message if we try to find an entity that | |
0868e09c | 13275 | is not available in high integrity mode. |
f8e0aa73 | 13276 | |
0868e09c RD |
13277 | * rtsfind.ads: |
13278 | (OK_To_Use_In_HIE_Mode): New array. | |
13279 | (RTE): May return Empty in high integrity mode. | |
f8e0aa73 AJ |
13280 | |
13281 | * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for | |
13282 | OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx. | |
13283 | ||
13284 | * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined | |
13285 | unit if not inlined always and in no runtime mode. Fixes problem | |
0868e09c | 13286 | caused by new Rtsfind changes. |
f8e0aa73 AJ |
13287 | |
13288 | * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if | |
0868e09c | 13289 | body is deleted. |
f8e0aa73 AJ |
13290 | |
13291 | * rtsfind.adb (RTE): Make sure we do not try to load unit after | |
0868e09c RD |
13292 | giving message for entity not available in high integrity mode. |
13293 | ||
934abf9c | 13294 | 2001-10-11 Pascal Obry <obry@gnat.com> |
f8e0aa73 | 13295 | |
934abf9c PO |
13296 | * impunit.adb: Add GNAT.CRC32. |
13297 | ||
3c72bea4 ES |
13298 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
13299 | ||
f8e0aa73 AJ |
13300 | * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle |
13301 | properly the case where one universal operand in a non-static | |
3c72bea4 ES |
13302 | exponentiation of a real literal. |
13303 | ||
44d8d2bb ES |
13304 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
13305 | ||
f8e0aa73 AJ |
13306 | * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type |
13307 | clause, return the gobal finalization list, for lack of anthing else. | |
44d8d2bb | 13308 | |
9e2b9627 ES |
13309 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
13310 | ||
f8e0aa73 AJ |
13311 | * exp_ch7.adb (Make_Transient_Block): if statement is within |
13312 | exception handler, always use new transient scope to place Clean | |
9e2b9627 ES |
13313 | procedure. |
13314 | ||
cfac6e9f PO |
13315 | 2001-10-11 Pascal Obry <obry@gnat.com> |
13316 | ||
13317 | * Makefile.in: | |
13318 | (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o | |
13319 | (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o | |
13320 | (GNATLS_RTL_OBJS): add g-crc32.o | |
13321 | (GNATMAKE_RTL_OBJS): add g-crc32.o | |
f8e0aa73 | 13322 | |
cfac6e9f PO |
13323 | * ali-util.adb: |
13324 | (CRC_Match): new function. | |
f8e0aa73 | 13325 | (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit |
cfac6e9f PO |
13326 | instead of the previous simple checksum algorithm. |
13327 | (Time_Stamp_Mismatch): use CRC_Match for comparison. | |
13328 | (Set_Source_Table): idem. | |
f8e0aa73 | 13329 | |
cfac6e9f | 13330 | * ali-util.ads: |
f8e0aa73 | 13331 | (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC |
cfac6e9f PO |
13332 | instead of simple checksum. |
13333 | (CRC_Match): new function. | |
13334 | (CRC_Error): new constant. | |
f8e0aa73 AJ |
13335 | |
13336 | * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling | |
13337 | a CRC now and not a simple checksum. A CRC uses lower-case hex | |
cfac6e9f | 13338 | letters, fixes ambiguity in parsing. |
f8e0aa73 AJ |
13339 | |
13340 | * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this | |
cfac6e9f | 13341 | is what this variable will store. |
f8e0aa73 | 13342 | |
cfac6e9f | 13343 | * bcheck.adb: Change reference to chechsum in comments by CRC. |
f8e0aa73 AJ |
13344 | (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC. |
13345 | rename All_Checksum_Match to All_CRC_Match. Change due to API | |
13346 | renaming since now GNAT does not use a simple checksum but a | |
cfac6e9f | 13347 | CRC using GNAT.CRC32. |
f8e0aa73 AJ |
13348 | |
13349 | * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC | |
cfac6e9f | 13350 | now and not anymore a simple checksum. |
f8e0aa73 AJ |
13351 | |
13352 | * lib-load.adb: Use Source_CRC instead of Source_Checksum in many | |
cfac6e9f | 13353 | places. |
f8e0aa73 | 13354 | |
cfac6e9f | 13355 | * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum. |
f8e0aa73 | 13356 | |
cfac6e9f PO |
13357 | * scans.adb: |
13358 | (Restore_Scan_State): rename Checksum to CRC. | |
13359 | (Save_Scan_State): idem. | |
f8e0aa73 | 13360 | |
cfac6e9f PO |
13361 | * scans.ads: |
13362 | With GNAT.CRC32. | |
13363 | (Checksum): rename to CRC. | |
13364 | (Saved_Scan_State): Save_Checksum field renamed to Save_CRC | |
f8e0aa73 AJ |
13365 | |
13366 | * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from | |
cfac6e9f | 13367 | GNAT.CRC32). Update copyright notice. |
f8e0aa73 AJ |
13368 | |
13369 | * scn-slit.adb: Rename many Accumulate_Checksum to Update (from | |
cfac6e9f | 13370 | GNAT.CRC32). Update copyright notice. |
f8e0aa73 | 13371 | |
cfac6e9f PO |
13372 | * scn.adb: |
13373 | (Accumulate_Checksum): removed. | |
13374 | (Update): new procedure. Add a wide-character into the CRC. | |
f8e0aa73 | 13375 | |
cfac6e9f PO |
13376 | * sinput-l.adb: |
13377 | (Complete_Source_File_Entry): use CRC32 instead of simple checksum. | |
f8e0aa73 | 13378 | (Load_File): fix initialization of S (change Source_Checksum to |
cfac6e9f | 13379 | Source_CRC) |
f8e0aa73 AJ |
13380 | |
13381 | * sinput-p.adb (Load_Project_File): rename Source_Checksum to | |
cfac6e9f | 13382 | Source_CRC in S initialization. |
f8e0aa73 | 13383 | |
cfac6e9f | 13384 | * sinput.adb (Source_Checksum): renamed to Source_CRC. |
f8e0aa73 | 13385 | |
cfac6e9f PO |
13386 | * sinput.ads (Source_Checksum): renamed to Source_CRC. |
13387 | Update comments for the CRC. | |
f8e0aa73 | 13388 | |
cfac6e9f | 13389 | * types.adb (Hex): Use lowercase for the letter part. |
f8e0aa73 AJ |
13390 | |
13391 | * types.ads (Get_Hex_String): Returns the hexadecimal representation | |
13392 | for a word. This is currently used only for CRC. In previous version, | |
13393 | the checksum was using a representation with all letter being | |
13394 | upper-case. With the new implementation (using CRC) we do not remove | |
13395 | the 32th bit of the CRC, so we can have an upper-case starting letter | |
13396 | in the CRC. This is not possible to parse in Scan_ALI (ali.adb). | |
13397 | It is ambigous since the CRC was optional and could be followed by | |
13398 | options like EB, EE. So now this routines uses lower-case letter for | |
13399 | the hexadecimal representation. Strange enough only lower case letters | |
cfac6e9f | 13400 | where checked in Scan_ALI (even if this was not a possible case). |
f8e0aa73 | 13401 | |
cfac6e9f | 13402 | * gnatvsn.ads (Library_Version): changed to 3.15a. |
f8e0aa73 AJ |
13403 | |
13404 | * s-crc32.ads: Initial version from GNAT.CRC32. This is the version | |
cfac6e9f | 13405 | for the compiler. |
f8e0aa73 AJ |
13406 | |
13407 | * s-crc32.adb: Initial version from GNAT.CRC32. This is the version | |
cfac6e9f | 13408 | for the compiler. |
f8e0aa73 | 13409 | |
cfac6e9f PO |
13410 | * ali-util.adb: Redo previous change to avoid using word CRC everywhere |
13411 | Add 2001 to copyright notice | |
13412 | (Accumulate_Checksum): Modify to use System.CRC32. | |
f8e0aa73 AJ |
13413 | |
13414 | * ali-util.ads: Redo changes of previous revision to continue to use | |
cfac6e9f | 13415 | the word Checksum. Add 2001 to copyright notice. |
f8e0aa73 | 13416 | |
cfac6e9f PO |
13417 | * ali.adb: Undo some of previous changes, not needed. |
13418 | Keep the change for lower case letters in the checksum. | |
f8e0aa73 | 13419 | |
cfac6e9f PO |
13420 | * ali.ads: Undo previous change not needed. |
13421 | ||
13422 | * bcheck.adb: Undo most of previous change, not needed. | |
13423 | But do use Checksums_Match for checksum comparison. | |
f8e0aa73 | 13424 | |
cfac6e9f PO |
13425 | * gnatls.adb: Undo most of previous change, not needed. |
13426 | But do use Checksums_Match for comparing checksums. | |
f8e0aa73 | 13427 | |
cfac6e9f | 13428 | * lib-load.adb: Undo previous change, not needed. |
f8e0aa73 | 13429 | |
cfac6e9f | 13430 | * lib-writ.adb: Undo previous change, not needed. |
f8e0aa73 AJ |
13431 | |
13432 | * lib-writ.ads: Document that checksums use lower case, | |
cfac6e9f | 13433 | not upper case letters. |
f8e0aa73 | 13434 | |
cfac6e9f | 13435 | * scans.adb: Undo previous change, not needed |
f8e0aa73 | 13436 | |
cfac6e9f | 13437 | * scans.ads: Undo previous change, not needed. |
f8e0aa73 | 13438 | |
cfac6e9f | 13439 | * scn-nlit.adb: Undo previous changes, not needed. |
f8e0aa73 | 13440 | |
cfac6e9f | 13441 | * scn-slit.adb: Undo previous change, not needed. Fix header format. |
f8e0aa73 | 13442 | |
cfac6e9f PO |
13443 | * scn.adb: |
13444 | (Accumulate_Checksum): Use System.CRC32. | |
13445 | (Initialize_Checksum): New procedure. | |
13446 | Remove other changes of previous revision. | |
f8e0aa73 | 13447 | |
cfac6e9f | 13448 | * sinput-p.adb: Undo previous change, not needed. |
f8e0aa73 | 13449 | |
cfac6e9f PO |
13450 | * sinput.adb: Undo previous change, not needed. |
13451 | ||
13452 | * sinput-l.adb: Undo previous change, not needed. | |
f8e0aa73 AJ |
13453 | |
13454 | * sinput.ads: Undo previous change, not needed. Keep only comment | |
cfac6e9f | 13455 | on new checksum algorithm |
f8e0aa73 | 13456 | |
cfac6e9f PO |
13457 | * Makefile.in: Add s-crc32 as needed, remove g-crc32. |
13458 | Also remove a-tags and a-stream from GNAT sources. | |
f8e0aa73 | 13459 | |
cfac6e9f | 13460 | * ali.adb (Scan_ALI): fix typo introduce in latest check-in. |
f8e0aa73 | 13461 | |
cfac6e9f PO |
13462 | * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o. |
13463 | ||
4d6d06a5 GB |
13464 | 2001-10-11 Geert Bosch <bosch@gnat.com> |
13465 | ||
13466 | * einfo.h: Regenerate. | |
13467 | ||
13468 | * nmake.ads: Regenerate. | |
13469 | ||
13470 | * nmake.adb: Regenerate. | |
13471 | ||
13472 | * sinfo.h: Regenerate. | |
13473 | ||
13474 | * treeprs.adb: Regenerate. | |
13475 | ||
c97412e2 GB |
13476 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
13477 | ||
13478 | * gnat-style.texi: New file describing coding guidelines for Ada. | |
f8e0aa73 | 13479 | |
b83018ca ES |
13480 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
13481 | ||
f8e0aa73 | 13482 | * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required |
b83018ca ES |
13483 | is Flag174. |
13484 | ||
e834fe1f GB |
13485 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
13486 | ||
13487 | * snames.ads: Add new names for project facility. | |
13488 | ||
13489 | * snames.adb: Update to reflect snames.ads changes. | |
13490 | ||
13491 | * snames.h: Update to reflect snames.ads changes. | |
13492 | ||
b30668b7 VC |
13493 | 2001-10-10 Vincent Celier <celier@gnat.com> |
13494 | ||
13495 | * make.adb: | |
13496 | (Add_Switches): reflect the changes for the switches attributes | |
13497 | Default_Switches indexed by the programming language, | |
13498 | Switches indexed by the file name. | |
13499 | (Collect_Arguments_And_Compile): Idem. | |
13500 | Reflect the attribute name changes. | |
f8e0aa73 | 13501 | |
b30668b7 VC |
13502 | * prj-attr.adb: |
13503 | (Initialisation_Data): Change the names of some packages and | |
13504 | attributes. | |
13505 | (Initialize): process case insensitive associative arrays. | |
f8e0aa73 | 13506 | |
b30668b7 VC |
13507 | * prj-attr.ads: |
13508 | (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array. | |
f8e0aa73 | 13509 | |
b30668b7 VC |
13510 | * prj-dect.adb: |
13511 | (Parse_Attribute_Declaration): For case insensitive associative | |
13512 | arrays, set the index string to lower case. | |
f8e0aa73 | 13513 | |
b30668b7 VC |
13514 | * prj-env.adb: |
13515 | Reflect the changes of the project attributes. | |
f8e0aa73 | 13516 | |
b30668b7 VC |
13517 | * prj-nmsc.adb: |
13518 | Replace Check_Naming_Scheme by Ada_Check and | |
13519 | Language_Independent_Check. | |
f8e0aa73 | 13520 | |
b30668b7 VC |
13521 | * prj-nmsc.ads: |
13522 | Replaced Check_Naming_Scheme by 2 procedures: | |
13523 | Ada_Check and Language_Independent_Check. | |
f8e0aa73 | 13524 | |
b30668b7 VC |
13525 | * prj-proc.adb: |
13526 | (Process_Declarative_Items): For case-insensitive associative | |
13527 | arrays, set the index string to lower case. | |
13528 | (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of | |
13529 | Prj.Nmsc.Check_Naming_Scheme. | |
f8e0aa73 | 13530 | |
b30668b7 VC |
13531 | * prj-tree.adb: |
13532 | (Case_Insensitive): New function | |
13533 | (Set_Case_Insensitive): New procedure | |
f8e0aa73 | 13534 | |
b30668b7 VC |
13535 | * prj-tree.ads: |
13536 | (Case_Insensitive): New function | |
13537 | (Set_Case_Insensitive): New procedure | |
13538 | (Project_Node_Record): New flag Case_Insensitive. | |
f8e0aa73 | 13539 | |
b30668b7 VC |
13540 | * prj-util.adb: |
13541 | (Value_Of): new function to get the string value of a single | |
13542 | string variable or attribute. | |
f8e0aa73 | 13543 | |
b30668b7 VC |
13544 | * prj-util.ads: |
13545 | (Value_Of): new function to get the string value of a single | |
13546 | string variable or attribute. | |
f8e0aa73 | 13547 | |
b30668b7 VC |
13548 | * prj.adb: |
13549 | (Ada_Default_Spec_Suffix): New function | |
13550 | (Ada_Default_Impl_Suffix): New function | |
13551 | Change definitions of several constants to reflect | |
13552 | new components of record types. | |
f8e0aa73 | 13553 | |
b30668b7 VC |
13554 | * prj.ads: |
13555 | (Naming_Data): Change several components to reflect new | |
13556 | elements of naming schemes. | |
13557 | (Project_Data): New flags Sources_Present and | |
13558 | Language_Independent_Checked. | |
13559 | (Ada_Default_Spec_Suffix): New function. | |
13560 | (Ada_Default_Impl_Suffix): New function. | |
f8e0aa73 | 13561 | |
b30668b7 VC |
13562 | * snames.ads: |
13563 | Modification of predefined names for project manager: added | |
13564 | Implementation, Specification_Exceptions, Implementation_Exceptions, | |
13565 | Specification_Suffix, Implementation_Suffix, Separate_Suffix, | |
13566 | Default_Switches, _Languages, Builder, Cross_Reference, | |
13567 | Finder. Removed Body_Part, Specification_Append, Body_Append, | |
13568 | Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind, | |
13569 | Gnatlink. | |
f8e0aa73 | 13570 | |
b30668b7 VC |
13571 | * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
13572 | Add comments. | |
f8e0aa73 | 13573 | |
b30668b7 VC |
13574 | * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted, |
13575 | not that it is Nil_Variable_Value. | |
f8e0aa73 | 13576 | |
b30668b7 VC |
13577 | * prj.ads: Add ??? for uncommented declarations |
13578 | ||
662e57b4 ES |
13579 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
13580 | ||
f8e0aa73 AJ |
13581 | * sem_prag.adb: (Analyze_Pragma, case External): If entity is a |
13582 | constant, do not indicate possible modification, so that gigi can | |
662e57b4 ES |
13583 | treat it as a bona fide constant. |
13584 | ||
72e4357f RD |
13585 | 2001-10-10 Robert Dewar <dewar@gnat.com> |
13586 | ||
13587 | * sem_prag.adb: Add processing for pragma External. | |
f8e0aa73 | 13588 | |
72e4357f | 13589 | * snames.ads: Add entry for pragma External. |
f8e0aa73 | 13590 | |
72e4357f | 13591 | * par-prag.adb: Add pragma External. |
f8e0aa73 | 13592 | |
72e4357f RD |
13593 | * snames.adb: Updated to match snames.ads. |
13594 | ||
7bc1c7df ES |
13595 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
13596 | ||
13597 | * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for | |
13598 | a dynamic task if the allocator appears in an indexed assignment | |
13599 | or selected component assignment. | |
f8e0aa73 AJ |
13600 | |
13601 | * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image): | |
13602 | For a dynamic task in an assignment statement, use target of | |
7bc1c7df ES |
13603 | assignment to generate meaningful name. |
13604 | ||
c84700e7 ES |
13605 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
13606 | ||
f8e0aa73 | 13607 | * einfo.adb (Write_Field19_Name): Body_Entity is also defined for |
c84700e7 ES |
13608 | a generic package. |
13609 | ||
13610 | * einfo.ads: Body_Entity is also defined for generic package. | |
13611 | Documentation change only | |
f8e0aa73 AJ |
13612 | |
13613 | * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an | |
13614 | others_choice for a discriminated component initialization, | |
13615 | convert discriminant references into the corresponding discriminals. | |
13616 | ||
13617 | * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate | |
13618 | only if original type is private and expression has to be wrapped | |
c84700e7 | 13619 | in a conversion. |
f8e0aa73 AJ |
13620 | |
13621 | * checks.adb: | |
13622 | (Apply_Constraint_Check): Do not perform length check | |
c84700e7 | 13623 | if expression is an aggregate with only an others_choice. |
f8e0aa73 | 13624 | (Length_N_Cond): two references to the same in_parameter |
c84700e7 ES |
13625 | (typically the discriminal in an init_proc) denote the same value. |
13626 | Two useful optimization uncovered by bugfixes above. | |
13627 | ||
d8d80dcd RD |
13628 | 2001-10-10 Robert Dewar <dewar@gnat.com> |
13629 | ||
f8e0aa73 | 13630 | * xeinfo.adb: Change int to char in translation of enumeration types. |
d8d80dcd RD |
13631 | This fixes a problem in the C representation of component alignment. |
13632 | Add 2001 to copyright notice | |
13633 | ||
a8fee948 RK |
13634 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
13635 | ||
f8e0aa73 | 13636 | * decl.c: (validate_size): Do check size of object of integral type |
a8fee948 RK |
13637 | if it is a packed array type. |
13638 | ||
c2d7fe59 RK |
13639 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
13640 | ||
f8e0aa73 | 13641 | * decl.c: (gnat_to_gnu_entity, case object): Also materialize |
c2d7fe59 RK |
13642 | VAR_DECL for constant if not Is_Public but -O0. |
13643 | ||
fb75e100 RK |
13644 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
13645 | ||
13646 | * misc.c (struct lang_hooks): Add new initializer to match GCC change. | |
13647 | ||
1724557a GB |
13648 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
13649 | ||
f8e0aa73 | 13650 | * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer |
1724557a GB |
13651 | use '/' as switch character, allowing for absolute file names. |
13652 | ||
9f2f9eb6 JM |
13653 | 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk> |
13654 | ||
13655 | * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update | |
13656 | FSF address. | |
13657 | ||
8fecf41d GB |
13658 | 2001-10-08 Geert Bosch <bosch@gnat.com> |
13659 | ||
13660 | * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): | |
13661 | Automatically build utilities when files need to be regenerated. | |
13662 | ||
589f1edf GB |
13663 | 2001-10-08 Geert Bosch <bosch@gnat.com> |
13664 | ||
13665 | * xsnames.adb: New utility for updating snames.ads and snames.adb | |
13666 | ||
67f28219 ZW |
13667 | 2001-10-08 Zack Weinberg <zack@codesourcery.com> |
13668 | ||
13669 | * Make-lang.in (ADAFLAGS): Add -W -Wall. | |
13670 | (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also. | |
13671 | (gnat1): Also depend on attribs.o. | |
13672 | (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make. | |
13673 | * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New. | |
13674 | (ADAC): Set to @ADAC@ in stage1, $(CC) later. | |
13675 | (ADAFLAGS): Add -W -Wall. | |
13676 | (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS; | |
13677 | take out CFLAGS. | |
13678 | ||
13679 | (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o, | |
13680 | s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o, | |
13681 | s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o): | |
13682 | Use $(ADAC), not $(CC), as compilation command. | |
13683 | ||
13684 | (gnattools): Depend directly on tools to build, don't use | |
13685 | recursive make. | |
13686 | (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make. | |
13687 | ||
13688 | * einfo.h, sinfo.h: New files (autogenerated). | |
13689 | ||
295ef2bb RH |
13690 | 2001-10-08 Richard Henderson <rth@redhat.com> |
13691 | ||
13692 | * comperr.adb (Abort_In_Progress): New. | |
13693 | (Compiler_Abort): Use it to prevent recursion. | |
13694 | ||
5c736541 RD |
13695 | 2001-10-08 Robert Dewar <dewar@gnat.com> |
13696 | ||
13697 | * atree.adb: Set Error_Posted in Error node, helps error recovery. | |
67f28219 ZW |
13698 | |
13699 | * par-endh.adb (Output_End_Expected): We should also not test | |
5c736541 | 13700 | Error_Posted on the Error node, since now it is always set. |
67f28219 ZW |
13701 | |
13702 | * cstand.adb (Create_Standard): Set Etype of Error to Any_Type | |
5c736541 | 13703 | to help error recovery. Part of general work on 9407-004. |
67f28219 | 13704 | |
5c736541 | 13705 | * par.adb: Add ??? for misuse of error |
67f28219 | 13706 | |
5c736541 RD |
13707 | * sem_res.adb: |
13708 | (Resolve): Defend against Error, fixes 9407-003. | |
13709 | (Resolve_Discrete_Subtype_Indication): Defend against Error. | |
67f28219 ZW |
13710 | |
13711 | * sinfo.ads (N_Error): Now has Etype field (which will be set | |
5c736541 RD |
13712 | to Any_Type to help error recovery). |
13713 | ||
a153ae15 RK |
13714 | 2001-10-08 Richard Kenner (kenner@gnat.com) |
13715 | ||
13716 | * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR): | |
13717 | Consistently set MEM attributes from expression; fixes | |
13718 | bootstrap failure on x86. | |
13719 | ||
743f3c7b GB |
13720 | 2001-10-08 Geert Bosch (bosch@gnat.com) |
13721 | ||
13722 | * 5oosinte.adb: Add 2001 to copyright notice. | |
13723 | ||
210c4ef4 GB |
13724 | 2001-10-08 Geert Bosch (bosch@gnat.com) |
13725 | ||
13726 | * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs]. | |
13727 | ||
13728 | * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs]. | |
13729 | ||
cc712abf JM |
13730 | 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> |
13731 | ||
13732 | * 5oosinte.adb: Fix spelling error of "separate" as "seperate". | |
13733 | ||
4c4abc0f GB |
13734 | 2001-10-05 Geert Bosch (bosch@gnat.com) |
13735 | ||
13736 | * adaint.h: Small formatting fix. | |
13737 | ||
7f50e2e3 GB |
13738 | 2001-10-04 Geert Bosch <bosch@gnat.com> |
13739 | ||
13740 | * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode): | |
13741 | Arg is int, not FILE *, in dummy version of functions. | |
67f28219 | 13742 | |
7f50e2e3 GB |
13743 | * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode): |
13744 | Arg is int, not FILE *. | |
13745 | ||
5d1a9698 GB |
13746 | 2001-10-04 Geert Bosch <bosch@gnat.com> |
13747 | ||
13748 | * 3lsoccon.ads: Added file, missed with initial check ins. | |
67f28219 | 13749 | |
5d1a9698 GB |
13750 | * 4lintnam.ads: Fix header format. |
13751 | Change Linux to GNU/Linux. | |
67f28219 | 13752 | |
5d1a9698 GB |
13753 | * 5iosinte.adb: Change Linux to GNU/Linux. |
13754 | ||
13755 | * 5iosinte.ads: Change Linux to GNU/Linux. | |
67f28219 | 13756 | |
5d1a9698 | 13757 | * 5itaprop.adb: Change Linux to GNU/Linux. |
67f28219 | 13758 | |
5d1a9698 GB |
13759 | * 5itaspri.ads: Change Linux to GNU/Linux. |
13760 | Update copyright notice. | |
67f28219 | 13761 | |
5d1a9698 | 13762 | * 5lintman.adb: Change Linux to GNU/Linux. |
67f28219 | 13763 | |
5d1a9698 | 13764 | * 5lml-tgt.adb: Change Linux to GNU/Linux. |
67f28219 | 13765 | |
5d1a9698 | 13766 | * 5losinte.ads: Change Linux to GNU/Linux. |
67f28219 | 13767 | |
5d1a9698 | 13768 | * 5lsystem.ads: Change Linux to GNU/Linux. |
67f28219 | 13769 | |
5d1a9698 | 13770 | * 5qosinte.adb: Change Linux to GNU/Linux. |
67f28219 | 13771 | |
5d1a9698 | 13772 | * 5qosinte.ads: Change Linux to GNU/Linux. |
67f28219 | 13773 | |
5d1a9698 | 13774 | * 5qparame.ads: Change Linux to GNU/Linux. |
67f28219 | 13775 | |
5d1a9698 | 13776 | * 5qtaprop.adb: Change Linux to GNU/Linux. |
67f28219 | 13777 | |
5d1a9698 GB |
13778 | * 5qtaspri.ads: Change Linux to GNU/Linux. |
13779 | Add 2001 to copyright notice. | |
67f28219 | 13780 | |
5d1a9698 GB |
13781 | * 5vintman.ads: Change Linux to GNU/Linux. |
13782 | Fix header format. Add 2001 to copyright notice. | |
67f28219 | 13783 | |
5d1a9698 | 13784 | * g-soccon.ads: Change Linux to GNU/Linux. |
67f28219 | 13785 | |
5d1a9698 GB |
13786 | * g-trasym.ads: Change Linux to GNU/Linux. |
13787 | Add 2001 to copyright notice. | |
67f28219 | 13788 | |
5d1a9698 | 13789 | * memtrack.adb: Change Linux to GNU/Linux. |
67f28219 | 13790 | |
5d1a9698 GB |
13791 | * s-intman.ads: Change Linux to GNU/Linux. |
13792 | Add 2001 to copyright notice. Fix header format. | |
67f28219 | 13793 | |
5d1a9698 | 13794 | * s-stache.adb: Change Linux to GNU/Linux. |
67f28219 | 13795 | |
5d1a9698 | 13796 | * adaint.c: Change Linux to GNU/Linux. |
67f28219 | 13797 | |
5d1a9698 | 13798 | * cio.c: Change Linux to GNU/Linux. |
67f28219 | 13799 | |
5d1a9698 | 13800 | * cstreams.c: Change Linux to GNU/Linux. |
67f28219 | 13801 | |
5d1a9698 | 13802 | * init.c: Change Linux to GNU/Linux. |
67f28219 | 13803 | |
5d1a9698 | 13804 | * gmem.c: Change Linux to GNU/Linux. |
67f28219 | 13805 | |
5d1a9698 GB |
13806 | * tracebak.c: Change Linux to GNU/Linux. |
13807 | ||
13808 | ||
c25ca2d7 GB |
13809 | 2001-10-02 Geert Bosch <bosch@gnat.com> |
13810 | ||
13811 | * misc.c (insert_default_attributes): Add dummy version. |