[multiple changes]
[platform/upstream/gcc.git] / gcc / ada / ChangeLog
1 2003-12-15  Robert Dewar  <dewar@gnat.com>
2
3         * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
4         sec stack size.
5
6 2003-12-15  Vincent Celier  <celier@gnat.com>
7
8         * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
9         (Gnatchop): Do not set failure status when reporting the number of
10         warnings.
11
12 2003-12-15  Doug Rupp  <rupp@gnat.com>
13
14         * s-ctrl.ads: New file.
15
16         * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
17
18         * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
19         (GNATBIND_OBJS): Add ada/s-crtl.o.
20
21         * Makefile.in [VMS]: Clean up ifeq rules.
22
23         * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
24         a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
25         g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
26         s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
27         s-tasdeb.adb: Update copyright.
28         Import System.CRTL.
29         Make minor modifications to use System.CRTL declared functions instead
30         of importing locally.
31
32 2003-12-15  GNAT Script  <nobody@gnat.com>
33
34         * Make-lang.in: Makefile automatically updated
35
36 2003-12-11  Ed Falis  <falis@gnat.com>
37
38         * 5zinit.adb: Clean up.
39
40         * 5zintman.adb (Notify_Exception): replaced case statement with a call
41         to __gnat_map_signal, imported from init.c to support
42         signal -> exception mappings that depend on the vxWorks version.
43
44         * init.c: 
45         Created and exported __gnat_map_signal to support signal -> exception
46         mapping that is dependent on the VxWorks version.
47         Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
48
49 2003-12-11  Vasiliy Fofanv  <fofanov@act-europe.fr>
50
51         * 5wosinte.ads: Link with -mthreads switch.
52
53 2003-12-11  Arnaud Charlet  <charlet@act-europe.fr>
54
55         * init.c (__gnat_install_handler [NetBSD]): Set
56         __gnat_handler_installed, as done on all other platforms.
57         Remove duplicated code.
58
59 2003-12-11  Jerome Guitton  <guitton@act-europe.fr>
60
61         * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
62
63 2003-12-11  Thomas Quinot  <quinot@act-europe.fr>
64
65         * sinfo.ads: Fix inconsistent example code in comment.
66
67 2003-12-11  Robert Dewar  <dewar@gnat.com>
68
69         * a-tiinau.adb: Add a couple of comments
70
71         * sem_ch3.adb: Minor reformatting
72
73         * sem_prag.adb: 
74         Fix bad prototype of Same_Base_Type in body (code reading cleanup)
75         Minor reformatting throughout
76
77 2003-12-11  Ed Schonberg  <schonberg@gnat.com>
78
79         * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
80         bounds of a loop, create a separate block in order to generate proper
81         cleanup actions to prevent memory leaks.
82
83         * sem_res.adb (Resolve_Call): After a call to
84         Establish_Transient_Scope, the call may be rewritten and relocated, in
85         which case no further processing is needed.
86
87         * sem_util.adb: (Wrong_Type): Refine previous fix.
88          Fixes ACATS regressions.
89
90         PR ada/13353
91
92         * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
93         be inlined.
94
95 2003-12-08  Jerome Guitton  <guitton@act-europe.fr>
96
97         * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
98         i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
99         obsolete files.
100
101         * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
102         (rts-zfp): Ditto.
103
104 2003-12-08  Robert Dewar  <dewar@gnat.com>
105
106         * 7sintman.adb: Minor reformatting
107
108         * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
109         standard linker options to get standard libraries linked. We now plan
110         to provide dummy versions of these libraries to match the appropriate
111         configurable run-time (e.g. if a library is not needed at all, provide
112         a dummy empty library).
113
114         * targparm.ads: Configurable_Run_Time mode no longer affects linker
115         options (-L parameters and standard libraries). What we plan to do is
116         to provide dummy libraries where the libraries are not required.
117
118         * gnatbind.adb: Minor comment improvement
119
120 2003-12-08  Javier Miranda  <miranda@gnat.com>
121
122         * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
123         aggregate in the parent. Otherwise constants with limited aggregates
124         are not supported. Add new formal to pass the component type (Ctype).
125         It is required to call the corresponding IP subprogram in case of
126         default initialized components.
127         (Gen_Assign): In case of default-initialized component, generate a
128         call to the IP subprogram associated with the component.
129         (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
130         of aggregate with default initialized components.
131         (Has_Default_Init_Comps): Improve implementation to recursively check
132         all the present expressions.
133
134         * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
135         to indicate that the initialization call corresponds to a
136         default-initialized component of an aggregate.
137         In case of default initialized aggregate with tasks this parameter is
138         used to generate a null string (this is just a workaround that must be
139         improved later). In case of discriminants, this parameter is used to
140         generate a selected component node that gives access to the discriminant
141         value.
142
143         * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
144         subprogram, based on Build_Task_Allocate_Block, but adapted to expand
145         allocated aggregates with default-initialized components.
146
147         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
148         the box notation is used in positional aggregates.
149
150 2003-12-08  Samuel Tardieu  <tardieu@act-europe.fr>
151
152         * lib.ads: Fix typo in comment
153
154 2003-12-08  Vincent Celier  <celier@gnat.com>
155
156         * prj.adb (Project_Empty): New component Unkept_Comments
157         (Scan): Remove procedure; moved to Prj.Err.
158
159         * prj.ads (Project_Data): New Boolean component Unkept_Comments
160         (Scan): Remove procedure; moved to Prj.Err.
161
162         * prj-dect.adb: Manage comments for the different declarations.
163
164         * prj-part.adb (With_Record): New component Node
165         (Parse): New Boolean parameter Store_Comments, defaulted to False.
166         Set the scanner to return ends of line and comments as tokens, if
167         Store_Comments is True.
168         (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
169         comments are associated with these nodes. Store the node IDs in the
170         With_Records.
171         (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
172         With_Records.
173         (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
174         the N_Project node. Call Tree.Save and Tree.Reset before scanning the
175         current project. Call Tree.Restore afterwards. Set the various nodes
176         for comment storage (Next_End, End_Of_Line, Previous_Line,
177         Previous_End).
178
179         * prj-part.ads (Parse): New Boolean parameter Store_Comments,
180         defaulted to False.
181
182         * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
183         to False. When Truncated is True, truncate the string, never go to the
184         next line.
185         (Write_End_Of_Line_Comment): New procedure
186         (Print): Process comments for nodes N_With_Clause,
187         N_Package_Declaration, N_String_Type_Declaration,
188         N_Attribute_Declaration, N_Typed_Variable_Declaration,
189         N_Variable_Declaration, N_Case_Construction, N_Case_Item.
190         Process nodes N_Comment.
191
192         * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
193         without comments and there are some comments, set the flag
194         Unkept_Comments to True.
195         (Scan): If there are comments, set the flag Unkept_Comments to True and
196         clear the comments.
197         (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
198         (Next_End_Nodes: New table
199         (Comment_Zones_Of): New function
200         (Scan): New procedure; moved from Prj. Accumulate comments in the
201         Comments table and set end of line comments, comments after, after end
202         and before end.
203         (Add_Comments): New procedure
204         (Save, Restore, Seset_State): New procedures
205         (There_Are_Unkept_Comments): New function
206         (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
207         (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
208         procedures.
209         (First_Comment_After, First_Comment_After_End): New functions
210         (First_Comment_Before, First_Comment_Before_End): New functions
211         (Next_Comment): New function
212         (End_Of_Line_Comment, Follows_Empty_Line,
213         Is_Followed_By_Empty_Line): New functions
214         (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
215         (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
216         (Set_Next_Comment): New procedure
217         (Default_Project_Node): Associate comment before if the node can store
218         comments.
219
220         * scans.ads (Token_Type): New enumeration value Tok_Comment
221         (Comment_Id): New global variable
222
223         * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
224         defaulted to False.
225         (Scan): Store position of start of comment. If comments are tokens, set
226         Comment_Id and set Token to Tok_Comment when scanning a comment.
227         (Set_Comment_As_Token): New procedure
228
229         * sinput-p.adb: Update Copyright notice
230         (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
231         that no longer exists.
232
233 2003-12-08  Javier Miranda  <miranda@gnat.com>
234
235         * sem_aggr.adb: Add dependence on Exp_Tss package
236         Correct typo in comment
237         (Resolve_Aggregate): In case of array aggregates set the estimated
238         type of the aggregate before calling resolve. This is needed to know
239         the name of the corresponding IP in case of limited array aggregates.
240         (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
241         in case of default initialized array components.
242
243         * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
244         types. Required to give support to limited aggregates in generic
245         formals.
246
247 2003-12-08  Ed Schonberg  <schonberg@gnat.com>
248
249         * sem_ch3.adb (Check_Initialization): For legality purposes, an
250         inlined body functions like an instantiation.
251         (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
252         until bounds are analyzed, to diagnose premature use of type.
253
254         * sem_util.adb (Wrong_Type): Improve error message when the type of
255         the expression is used prematurely.
256
257 2003-12-08  GNAT Script  <nobody@gnat.com>
258
259         * Make-lang.in: Makefile automatically updated
260
261 2003-12-08  Arnaud Charlet  <charlet@act-europe.fr>
262
263         * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
264         they are automatically generated by Make-lang.in and cause nothing but
265         maintenance troubles.
266
267 2003-12-05  Thomas Quinot  <quinot@act-europe.fr>
268
269         * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
270         version of this unit).
271
272 2003-12-05  Olivier Hainque  <hainque@act-europe.fr>
273
274         * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
275         5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
276         5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
277         the body of System.Interrupt_Management common to several targets.
278         Update copyright notice when appropriate.
279
280         * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
281         constant.
282
283         * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
284         to ensure that the kernel fills in the interrupted context structure
285         before calling a signal handler, which is necessary to be able to
286         unwind past it. Update the copyright notice.
287
288 2003-12-05  Jerome Guitton  <guitton@act-europe.fr>
289
290         * a-elchha.ads: New file.
291
292         * a-elchha.adb: New default last chance handler. Contents taken from
293         Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
294
295         * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
296         is moved to a-elchha.adb to provide a target-independent default last
297         chance handler.
298
299         * Makefile.rtl: Add a-elchha.o
300
301         * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
302
303 2003-12-05  Ed Schonberg  <schonberg@gnat.com>
304
305         * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
306         declared in an instance, do not inline the call if the instance is not
307         frozen yet, to prevent order of elaboration problems.
308
309         * sem_prag.adb: Add comments for previous fix.
310
311 2003-12-05  Samuel Tardieu  <tardieu@act-europe.fr>
312
313         * g-table.adb: Use the right variable in Set_Item.
314         Update copyright notice.
315
316 2003-12-05  Arnaud Charlet  <charlet@act-europe.fr>
317
318         * Makefile.in: Remove unused rules.
319
320 2003-12-05  Vincent Celier  <celier@gnat.com>
321
322         * switch-c.adb (Scan_Front_End_Switches): Remove processing of
323         -nostdlib. Not needed here after all.
324
325 2003-12-03  Thomas Quinot  <quinot@act-europe.fr>
326
327         PR ada/11724
328
329         * adaint.h, adaint.c, g-os_lib.ads: 
330         Do not assume that the offset argument to lseek(2) is a 32 bit integer,
331         on some platforms (including FreeBSD), it is a 64 bit value.
332         Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
333
334 2003-12-03  Arnaud Charlet  <charlet@act-europe.fr>
335
336         * gnatvsn.ads (Library_Version): Now contain only the relevant
337         version info.
338         (Verbose_Library_Version): New constant.
339
340         * g-spipat.adb, g-awk.adb, g-debpoo.adb,
341         g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
342         s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
343
344         * gnatlbr.adb: Clean up: replace Library_Version by
345         Verbose_Library_Version.
346
347         * make.adb, lib-writ.adb, exp_attr.adb: 
348         Clean up: replace Library_Version by Verbose_Library_Version.
349
350         * 5lintman.adb: Removed.
351
352         * Makefile.in: 
353         Update and simplify computation of LIBRARY_VERSION.
354         Fix computation of GSMATCH_VERSION.
355         5lintman.adb is no longer used: replaced by 7sintman.adb.
356
357 2003-12-03  Robert Dewar  <dewar@gnat.com>
358
359         * exp_ch5.adb: 
360         (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
361         name. Modified to consider small non-bit-packed arrays as troublesome
362         and in need of component-by-component assigment expansion.
363
364 2003-12-03  Vincent Celier  <celier@gnat.com>
365
366         * lang-specs.h: Process nostdlib as nostdinc
367
368         * back_end.adb: Update Copyright notice
369         (Scan_Compiler_Arguments): Process -nostdlib directly.
370
371 2003-12-03  Jose Ruiz  <ruiz@act-europe.fr>
372
373         * Makefile.in: 
374         When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
375         redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
376         included in HIE_NONE_TARGET_PAIRS.
377
378 2003-12-03  Ed Schonberg  <schonberg@gnat.com>
379
380         * sem_attr.adb: 
381         (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
382         is legal in an instance, because legality is cheched in the template.
383
384         * sem_prag.adb: 
385         (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
386         appplied to an unchecked conversion of a formal parameter.
387
388         * sem_warn.adb: 
389         (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
390         variables.
391
392 2003-12-03  Olivier Hainque  <hainque@act-europe.fr>
393
394         * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
395         routines. The second one is new functionality to deal with backtracing
396         through signal handlers.
397         (unwind): Split into the two separate subroutines above.
398         Update the documentation, and deal properly with sizeof (REG) different
399         from sizeof (void*).
400
401 2003-12-01  Nicolas Setton  <setton@act-europe.fr>
402
403         * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
404         so that the debugger can reliably access the value of the parameter,
405         and therefore is able to display the exception name when an exception
406         breakpoint is reached.
407
408 2003-12-01  Thomas Quinot  <quinot@act-europe.fr>
409
410         * fmap.adb: Fix typo in warning message.
411
412         * g-socket.ads, g-socket.adb: Make Free a visible instance of
413         Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
414
415 2003-12-01  Vincent Celier  <celier@gnat.com>
416
417         * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
418         ther is no Afile.
419         (Build_Library): Get the switches only if Default_Switches is declared
420         in package Binder.
421
422 2003-12-01  Ed Schonberg  <schonberg@gnat.com>
423
424         * exp_ch6.adb (Expand_Actuals): When applying validity checks to
425         actuals that are indexed components, reanalyze actual to ensure that
426         packed array references are properly expanded.
427
428         * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
429         attempted assignment to a discriminant.
430
431 2003-12-01  Robert Dewar  <dewar@gnat.com>
432
433         * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
434         reformatting.
435
436         * switch-c.adb: Minor reformatting of comments
437
438 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
439
440         * Makefile.in: Clean ups.
441
442 2003-12-01  GNAT Script  <nobody@gnat.com>
443
444         * Make-lang.in: Makefile automatically updated
445
446 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
447
448         * 5wsystem.ads: Disable zero cost exception, not ready yet.
449
450 2003-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
451
452         * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
453         to force serialization.
454
455 2003-11-26  Thomas Quinot  <quinot@act-europe.fr>
456
457         * g-socket.ads, g-socket.adb: 
458         Clarify documentation of function Stream. Introduce a Free procedure
459         to release the returned Stream once it becomes unused.
460
461         * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
462
463 2003-11-26  Arnaud Charlet  <charlet@act-europe.fr>
464
465         (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
466         since NT 4 cannot handle timeout values that are too large,
467         e.g. DWORD'Last - 1.
468
469 2003-11-26  Ed Schonberg  <schonberg@gnat.com>
470
471         * exp_ch4.adb: 
472         (Expand_N_Slice): Recognize all cases of slices that appear as actuals
473         in procedure calls and whose expansion must be deferred.
474
475         * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
476         is in exp_ch4.
477
478         * sem_ch3.adb: 
479         (Build_Derived_Array_Type): Create operator for unconstrained type
480         if ancestor is unconstrained.
481
482 2003-11-26  Vincent Celier  <celier@gnat.com>
483
484         * make.adb (Project_Object_Directory): New global variable
485         (Change_To_Object_Directory): New procedure
486         (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
487         of Change_Dir directly. Do not change working directory to object
488         directory of main project after each compilation.
489         (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
490         directly.
491         Change to object directory of main project before binding step.
492         (Initialize): Initialize Project_Object_Directory to No_Project
493
494         * mlib-prj.adb: 
495         (Build_Library): Take into account Builder'Default_Switches ("Ada") when
496         binding a Stand-Alone Library.
497
498         * output.adb: Update Copyright notice
499         (Write_Char): Output buffer when full
500
501 2003-11-26  Robert Dewar  <dewar@gnat.com>
502
503         * sem_ch13.adb: (Check_Size): Reset size if size is too small
504
505         * sem_ch13.ads: 
506         (Check_Size): Fix documentation to include bit-packed array case
507
508         * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
509
510         * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
511
512         * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
513
514 2003-11-24  Arnaud Charlet <charlet@act-europe.fr>
515
516         PR ada/13142
517         * utils.c (init_gigi_decls): Change name of built-in setjmp to
518         __builtin_setjmp, since this is apparently needed by recent
519         non Ada changes.
520
521 2003-11-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
522
523         * adadecode.c: Only include ctype.h if not IN_GCC.
524         (__gnat_decode): Use ISDIGIT from safe-ctype.h.
525
526 2003-11-24  Jose Ruiz  <ruiz@act-europe.fr>
527
528         * Makefile.in: 
529         Use 5zintman.ads for VxWorks targets. This file avoid confusion between
530         signals and interrupts.
531
532         * 5zintman.ads: New File.
533
534         * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
535         add exception signals to the set of unmasked signals.
536
537         * 5ztaprop.adb: 
538         Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
539         between signals and interrupts.
540         Add to Unblocked_Signal_Mask the set of signals that are in
541         Keep_Unmasked.
542
543         * 7sinmaop.adb: 
544         Adding a check to see whether the Interrupt_ID we want to unmask is in
545         the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
546         reason is that the index type of the Keep_Unmasked array is not always
547         Interrupt_ID; it may be a subtype of Interrupt_ID.
548
549 2003-11-24  Gary Dismukes  <dismukes@gnat.com>
550
551         * exp_util.adb: 
552         (Remove_Side_Effects): Condition constantness of object created for a
553          an unchecked type conversion on the constantness of the expression
554          to ensure the correct value for 'Constrained when passing components
555          of view-converted class-wide objects.
556
557 2003-11-24  Robert Dewar  <dewar@gnat.com>
558
559         * par-load.adb (Load): Improve handling of misspelled and missing units
560         Removes several cases of compilation abandoned messages
561
562         * lib.adb: (Remove_Unit): New procedure
563
564         * lib.ads: (Remove_Unit): New procedure
565
566         * lib-load.adb: Minor reformatting
567
568 2003-11-24  Vincent Celier  <celier@gnat.com>
569
570         * make.adb: 
571         (Gnatmake, Initialize): Call Usage instead of Makeusg directly
572         (Marking_Label): Label to mark processed source files. Incremented for
573         each executable.
574         (Gnatmake): Increase Marking_Labet for each executable
575         (Is_Marked): Compare against marking label
576         (Mark): Mark with marking label
577
578 2003-11-24  Jerome Guitton  <guitton@act-europe.fr>
579
580         * s-thread.ads: 
581         Move the declaration of the TSD for System.Threads to System.Soft_Links.
582         Add some comments.
583
584         * Makefile.in: Added target pair for s-thread.adb for cert runtime.
585         (rts-cert): build a single relocatable object for the run-time lib.
586         Fix perms.
587
588 2003-11-24  Vasiliy Fofanov  <fofanov@act-europe.fr>
589
590         * Make-lang.in: 
591         Use gnatls rather than gcc to obtain the location of GNAT RTL for
592         crosstools build.
593
594 2003-11-24  Sergey Rybin  <rybin@act-europe.fr>
595
596         * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
597         can not use it as before (that is, as a variable) when dumping it into
598         the tree file. Add a local variable to store the result of this
599         function and to be used as the string to be written into the tree.
600
601         * scn.adb (Initialize_Scanner): Add comments explaining the recent
602         changes.
603
604         * sinput.adb (Source_First, Source_Last): In case of
605         Internal_Source_File, replace returning attributes of
606         Internal_Source_Ptr (which is wrong) with returning attributes of
607         Internal_Source.
608
609 2003-11-24  Ed Schonberg  <schonberg@gnat.com>
610
611         * sem_ch3.adb: 
612         (New_Concatenation_Op): Proper name for New_Binary_Operator, only
613         used for implicit concatenation operators.
614         Code cleanup.
615
616         * sem_elab.adb: 
617         (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
618         task bodies that are in the scope of a Suppress pragma.
619         (Check_A Call): Use the flag to prevent spurious elaboration checks.
620
621         * sinfo.ads, sinfo.adb: 
622         New flag No_Elaboration_Check on function/procedure calls, to properly
623         suppress checks on calls in task bodies that are within a local suppress
624         pragma.
625
626         * exp_ch4.adb: 
627         (Expand_Concatenate_Other): Use the proper integer type for the
628         expression for the upper bound, to avoid universal_integer computations
629         when possible.
630
631 2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
632
633         * .cvsignore: Delete.
634
635 2003-11-21  Andreas Schwab  <schwab@suse.de>
636
637         * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
638
639 2003-11-21  Vasiliy Fofanov  <fofanov@act-europe.fr>
640
641         * 5wsystem.ads: Enable zero cost exception.
642
643 2003-11-21  Jerome Guitton  <guitton@act-europe.fr>
644
645         * 5ztiitho.adb: Remove an unreferenced variable.
646
647 2003-11-21  Thomas Quinot  <quinot@act-europe.fr>
648
649         * adaint.c: For FreeBSD, use mkstemp.
650
651 2003-11-21  Arnaud Charlet  <charlet@act-europe.fr>
652
653         * gnatlbr.adb: Now reference Gnat_Static_Version_String.
654
655 2003-11-21  Robert Dewar  <dewar@gnat.com>
656
657         * bld.adb: Remove useless USE of gnatvsn
658
659         * gnatchop.adb: Minor reformatting
660         Clean up version handling to be more consistent
661
662         * gnatxref.adb: Minor reformatting
663
664         * gprcmd.adb: Minor reformatting
665         Fix output of copyright to be more consistent with other tools
666
667 2003-11-21  Vincent Celier  <celier@gnat.com>
668
669         * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
670
671 2003-11-21  Sergey Rybin  <rybin@act-europe.fr>
672
673         * atree.adb (Initialize): Add initializations for global variables
674         used in New_Copy_Tree.
675
676         * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
677         Internal_Source_File as the actual).
678         Put the set of statements creating Any_Character before the set of
679         statements creating Any_Array to have Any_Character fully initialized
680         when it is used in creating Any_Array.
681
682         * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
683         not call Scan in case if the actual is Internal_Source_File
684         Add 2003 to copyright note.
685
686         * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
687         processing Internal_Source_File.
688
689         * types.ads: Add the constant Internal_Source_File representing the
690         source buffer for artificial source-code-like strings created within
691         the compiler (the definition of Source_File_Index is changed).
692
693 2003-11-20  Arnaud Charlet  <charlet@act-europe.fr>
694
695         * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
696         56system.ads: New file, FreeBSD version.
697
698 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
699
700         * Make-lang.in (ada.extraclean): Delete.
701
702 2003-11-19  Arnaud Charlet  <charlet@act-europe.fr>
703
704         * gnatmem.adb: Clean up verbose output.
705
706         * gprcmd.adb: Change copyright to FSF.
707
708 2003-11-19  Vincent Celier  <celier@gnat.com>
709
710         * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
711         and Version (ignored).
712
713         * symbols.ads: (Policy): New type
714         (Initialize): New parameter Reference, Symbol_Policy and
715         Library_Version.
716         Remove parameter Force.
717         Minor reformatting.
718
719         * snames.ads, snames.adbadb: New standard names
720         Library_Reference_Symbol_File and Library_Symbol_Policy
721
722         * mlib-prj.adb: 
723         (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
724         project.
725
726         * mlib-tgt.adb: 
727         (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
728
729         * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
730
731         * prj.adb: (Project_Empty): New component Symbol_Data
732
733         * prj.ads: (Policy, Symbol_Record): New types
734         (Project_Data): New component Symbol_Data
735
736         * prj-attr.adb: 
737         New attributes Library_Symbol_File, Library_Symbol_Policy and
738         Library_Reference_Symbol_File.
739
740         * prj-nmsc.adb: 
741         (Ada_Check): When project is a Stand-Alone library project, process
742         attribute Library_Symbol_File, Library_Symbol_Policy and
743         Library_Reference_Symbol_File.
744
745         * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
746         5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
747         5sml-tgt.adb (Build_Dynamic_Library): New parameter
748         Symbol_Data (ignored).
749
750         * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
751         (Build_Dynamic_Library): New parameter Symbol_Data. New internal
752         functions Option_File_Name and Version_String. Set new options of
753         gnatsym related to symbol file, symbol policy and reference symbol
754         file.
755
756         * 5vsymbol.adb: 
757         Extensive modifications to take into account the reference symbol file,
758         the symbol policy, the library version and to put in the symbol file the
759         minor and major IDs.
760
761         * bld.adb (Process_Declarative_Items): Put second argument of
762         gprcmd to_absolute between single quotes, to avoid problems with
763         Windows.
764
765         * bld-io.adb: Update Copyright notice.
766         (Flush): Remove last character of a line, if it is a back slash, to
767         avoid make problems.
768
769         * gnatsym.adb: 
770         Implement new scheme with reference symbol file and symbol policy.
771
772         * g-os_lib.ads: (Is_Directory): Clarify comment
773
774 2003-11-19  Robert Dewar  <dewar@gnat.com>
775
776         * atree.adb: Move New_Copy_Tree global variables to head of package
777
778         * errout.adb: Minor reformatting
779
780 2003-11-19  Javier Miranda  <miranda@gnat.com>
781
782         * sem_ch4.adb: (Diagnose_Call): Improve error message.
783         Add reference to Ada0Y (AI-50217)
784
785         * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
786         sem_util.adb: Add reference to AI-50217
787
788         * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
789
790         * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
791
792         * sem_aggr.adb: Complete documentation of AI-287 changes
793
794         * par-ch4.adb: Document previous changes.
795
796         * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
797         sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
798         Ada0Y (AI-50217)
799
800         * exp_aggr.adb: Add references to AI-287 in previous changes
801
802 2003-11-19  Ed Schonberg  <schonberg@gnat.com>
803
804         * exp_ch6.adb: 
805         (Add_Call_By_Copy_Node): Do not original node of rewritten expression
806         in the rewriting is the result of an inlined call.
807
808         * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
809         parameter is a type conversion, use original node to construct the
810         post-call assignment, because expression may have been rewritten, e.g.
811         if it is a packed array.
812
813         * sem_attr.adb: 
814         (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
815         body, just as it is in an instance.
816         Categorization routines
817
818         * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
819         Instantiate_Object): Set proper sloc reference for message on missing
820         actual.
821
822 2003-11-19  Thomas Quinot  <quinot@act-europe.fr>
823
824         * Makefile.in: Add FreeBSD libgnat pairs.
825
826         * usage.adb: Fix typo in usage message.
827
828 2003-11-19  Jerome Guitton  <guitton@act-europe.fr>
829
830         * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
831         s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
832         pragma Thread_Body.
833         Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
834
835         * s-thread.adb: This file is now a dummy implementation of
836         System.Thread.
837
838 2003-11-19  Sergey Rybin  <rybin@act-europe.fr>
839
840         * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
841
842 2003-11-19  Emmanuel Briot  <briot@act-europe.fr>
843
844         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
845         instanciation references in the parent type description.
846
847 2003-11-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
848
849         * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
850
851         * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
852         TYPE_PRECISION directly from esize.
853
854 2003-11-18  Thomas Quinot  <quinot@act-europe.fr>
855
856         * cstreams.c: 
857         Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
858
859         * init.c: Initialization routines for FreeBSD
860
861         * link.c: Link info for FreeBSD
862
863         * sysdep.c: Add the case of FreeBSD
864
865 2003-11-17  Jerome Guitton  <guitton@act-europe.fr>
866
867         * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
868         already called in System.Threads.
869
870         * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
871         environment task, as it has been moved to System.Threads.Initialization.
872
873 2003-11-17  Arnaud Charlet  <charlet@act-europe.fr>
874
875         * adaint.c (__gnatlib_install_locks): Only reference
876         __gnat_install_locks on VMS, since other platforms can avoid using
877         --enable-threads=gnat
878
879 2003-11-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
880
881         * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
882
883         * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
884         TYPE_PACKED_ARRAY_TYPE_P.
885         (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
886
887         Part of PR ada/12806
888         * utils.c (float_type_for_precision): Renamed from float_type_for_size.
889         Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
890
891 2003-11-17  Vincent Celier  <celier@gnat.com>
892
893         * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
894         to False.
895         Do not set exit status to Failure when Warning is True.
896         (Gnatchop): Make errors "no compilation units found" and
897         "no source files written" warnings only.
898
899         * make.adb (Gnatmake): When using a project file, set
900         Look_In_Primary_Dir to False.
901         (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
902         and Local_Configuration_Pragmas in the project where they are declared
903         not an extending project which might have inherited them.
904
905         * osint.adb (Locate_File): If Name is already an absolute path, do not
906         look for a directory.
907
908         * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
909         -gnats (Check_Syntax) is used, issue only a warning, not an error.
910
911         * prj.adb (Register_Default_Naming_Scheme): Add new component Project
912         in objects of type Variable_Value.
913
914         * prj.ads: (Variable_Value): New component Project
915
916         * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
917         is in a project extended by Project.
918
919         * prj-proc.adb (Add_Attributes): New parameter Project. Set component
920         Project of Variable_Values to this new parameter value.
921         (Expression): Set component Project of Variable_Values.
922         (Process_Declarative_Items): Call Add_Attributes with parameter Project.
923         Set the component Project in array elements.
924
925 2003-11-17  Sergey Rybin  <rybin@act-europe.fr>
926
927         * errout.adb: (Initialize): Add initialization for error nodes.
928
929         * sem_ch12.adb (Initialize): Add missing initializations for
930         Exchanged_Views and Hidden_Entities.
931
932 2003-11-17  Ed Schonberg  <schonberg@gnat.com>
933
934         * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
935         already instantiated tree for use in subsequent inlining.
936         (Analyze_Associations, Instantiate_Formal_Subprogram,
937         Instantiate_Object): improve error message for mismatch in
938         instantiations.
939
940         * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
941         instantiations of subprograms declared in instances.
942
943 2003-11-17  Javier Miranda  <miranda@gnat.com>
944
945         * sem_ch4.adb (Analyze_Allocator): Previous modification must be
946         executed only under the Extensions_Allowed flag.
947
948 2003-11-17  Robert Dewar  <dewar@gnat.com>
949
950         * a-exexda.adb (Address_Image): Fix documentation to indicate leading
951         zeroes suppressed.
952         (Address_Image): Fix bug of returning 0x instead of 0x0
953         Minor reformatting (function specs).
954
955         * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
956         (missed case of 33-63)
957
958         * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
959
960         * s-thread.adb: Add comments for pragma Restriction
961
962         * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
963         sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
964
965 2003-11-17  Ed Falis  <falis@gnat.com>
966
967         * s-thread.adb: Added No_Tasking restriction for this implementation.
968
969 2003-11-17  Emmanuel Briot  <briot@act-europe.fr>
970
971         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
972         instanciation references in the parent type description.
973
974 2003-11-17  GNAT Script  <nobody@gnat.com>
975
976         * Make-lang.in: Makefile automatically updated
977
978 2003-11-16  Jason Merrill  <jason@redhat.com>
979
980         * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
981         and TAGS files that include them for each front end.
982
983 2003-11-14  Andreas Jaeger  <aj@suse.de>
984
985         * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
986         is the canonical version. 
987         * misc.c (gnat_handle_option): Likewise.
988
989         * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
990
991         * 5nsystem.ads: New file for x86_64-linux-gnu.
992
993 2003-11-14  Arnaud Charlet  <charlet@act-europe.fr>
994
995         * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
996
997         * comperr.adb: Fix logic in previous change.
998
999 2003-11-13  Vincent Celier  <celier@gnat.com>
1000
1001         * 5bml-tgt.adb (Build_Dynamic_Library): Use
1002         Osint.Include_Dir_Default_Prefix instead of
1003         Sdefault.Include_Dir_Default_Name.
1004
1005         * gnatlbr.adb: Update Copyright notice
1006         (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
1007         Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
1008         instead of Sdefault.Object_Dir_Default_Name
1009
1010         * gnatlink.adb:
1011         (Process_Binder_File): Never suppress the option following -Xlinker
1012
1013         * mdll-utl.adb:
1014         (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
1015         Sdefault.Object_Dir_Default_Name.
1016
1017         * osint.ads, osint.adb:
1018         (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
1019         Minor reformatting.
1020
1021         * vms_conv.ads: Minor reformating
1022         Remove GNAT STANDARD and GNAT PSTA
1023
1024         * vms_conv.adb:
1025         Allow GNAT MAKE to have several files on the command line.
1026         (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
1027         Sdefault.Object_Dir_Default_Name.
1028         Minor Reformating
1029         Remove data for GNAT STANDARD
1030
1031         * vms_data.ads:
1032         Add new compiler qualifier /PRINT_STANDARD (-gnatS)
1033         Remove data for GNAT STANDARD
1034         Remove options and documentation for -gnatwb/-gnatwB: these warning
1035         options no longer exist.
1036
1037 2003-11-13  Ed Falis  <falis@gnat.com>
1038
1039         * 5zthrini.adb: (Init_RTS): Made visible
1040
1041         * 5zthrini.adb:
1042         (Register): Removed unnecessary call to taskVarGet that checked whether
1043          an ATSD was already set as a task var for the argument thread.
1044
1045         * s-thread.adb:
1046         Updated comment to reflect that this is a VxWorks version
1047         Added context clause for System.Threads.Initialization
1048         Added call to System.Threads.Initialization.Init_RTS
1049
1050 2003-11-13  Jerome Guitton  <guitton@act-europe.fr>
1051
1052         * 5zthrini.adb:
1053         (Init_RTS): New procedure, for the initialization of the run-time lib.
1054
1055         * s-thread.adb:
1056         Remove dependancy on System.Init, so that this file can be used in the
1057         AE653 sequential run-time lib.
1058
1059 2003-11-13  Robert Dewar  <dewar@gnat.com>
1060
1061         * bindgen.adb: Minor reformatting
1062
1063 2003-11-13  Ed Schonberg  <schonberg@gnat.com>
1064
1065         * checks.adb:
1066         (Apply_Discriminant_Check): Do no apply check if target type is derived
1067         from source type with no applicable constraint.
1068
1069         * lib-writ.adb:
1070         (Ensure_System_Dependency): Do not apply the style checks that may have
1071         been specified for the main unit.
1072
1073         * sem_ch8.adb:
1074         (Find_Selected_Component): Further improvement in error message, with
1075         RM reference.
1076
1077         * sem_res.adb:
1078         (Resolve): Handle properly the case of an illegal overloaded protected
1079         procedure.
1080
1081 2003-11-13  Javier Miranda  <miranda@gnat.com>
1082
1083         * exp_aggr.adb:
1084         (Has_Default_Init_Comps): New function to check the presence of
1085         default initialization in an aggregate.
1086         (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
1087         extension aggregate of a limited record. In addition, a new formal
1088         was added to do not initialize the record controller (if any) during
1089         this recursive expansion of ancestors.
1090         (Init_Controller): Add support for limited record components.
1091         (Expand_Record_Aggregate): In case of default initialized components
1092         convert the aggregate into a set of assignments.
1093
1094         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
1095         describing the new syntax.
1096         Nothing else needed to be done because this subprogram delegates part of
1097         its work to P_Precord_Or_Array_Component_Association.
1098         (P_Record_Or_Array_Component_Association): Give support to the new
1099         syntax for default initialization of components.
1100
1101         * sem_aggr.adb:
1102         (Resolve_Aggregate): Relax the strictness of the frontend in case of
1103         limited aggregates.
1104         (Resolve_Record_Aggregate): Give support to default initialized
1105         components.
1106         (Get_Value): In case of default initialized components, duplicate
1107         the corresponding default expression (from the record type
1108         declaration). In case of default initialization in the *others*
1109         choice, do not check that all components have the same type.
1110         (Resolve_Extension_Aggregate): Give support to limited extension
1111         aggregates.
1112
1113         * sem_ch3.adb:
1114         (Check_Initialization): Relax the strictness of the front-end in case
1115         of aggregate and extension aggregates. This test is now done in
1116         Get_Value in a per-component manner.
1117
1118         * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
1119         expression corresponds to a limited aggregate. This test is now done
1120         in Get_Value.
1121
1122         * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
1123         Box_Present flag.
1124
1125         * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
1126         present in an N_Component_Association node
1127
1128 2003-11-13  Thomas Quinot  <quinot@act-europe.fr>
1129
1130         * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
1131         type-conformant entry only if they are homographs.
1132
1133 2003-11-13  GNAT Script  <nobody@gnat.com>
1134
1135         * Make-lang.in: Makefile automatically updated
1136
1137 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1138
1139         * adadecode.c: Use <> form of include for ctype.h.
1140         * sysdep.c [IN_RTS]: Use <> form of include for time.h.
1141
1142 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1143
1144         * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
1145         Works around PR middle-end/6552.
1146
1147 2003-11-10  Ed Falis  <falis@gnat.com>
1148
1149         * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
1150
1151         * 5zinit.adb: (Install_Handler): Moved back to spec
1152         (Install_Signal_Handlers): Deleted
1153
1154         * 5zthrini.adb: Added context clause for System.Storage_Elements
1155         (Register): Only handles creation of taskVar; initialization moved to
1156         Thread_Body_Enter.
1157         (Reset_TSD): Deleted; replaced by Thread_Body_Enter
1158         Added declaration of environment task secondary stack and
1159         initialization.
1160
1161         * s-thread.adb: Implement bodies for thread body processing
1162
1163         * s-thread.ads:
1164         Added comment identifying supported targets for pragma Thread_Body.
1165
1166 2003-11-10  Pascal Obry  <obry@gnat.com>
1167
1168         * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
1169         GNAT_MAX_PATH_LEN.
1170
1171         * s-fileio.adb:
1172         (Open): Properly check for string length before copying into the buffer.
1173         Raises Name_Error if buffer is too small. Note that this was a potential
1174         buffer overflow.
1175
1176 2003-11-10  Romain Berrendonner  <berrendo@act-europe.fr>
1177
1178         * bindgen.adb, comperr.adb: Code clean ups.
1179         * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
1180
1181 2003-11-10  Sergey Rybin  <rybin@act-europe.fr>
1182
1183         * gnat1drv.adb: Add call to Sem_Elim.Initialize.
1184
1185 2003-11-10  Vincent Celier  <celier@gnat.com>
1186
1187         * gprcmd.adb:
1188         (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
1189         installation.
1190
1191         * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
1192
1193         * prj.adb: (Project_Empty): Add new boolean component Virtual
1194
1195         * prj.ads: (Virtual_Prefix): New constant string
1196         (Project_Data): New boolean component Virtual
1197
1198         * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
1199         a library project is extended by a virtual extending project.
1200
1201         * prj-part.adb:
1202         Modifications throughout to implement extending-all project, including:
1203         (Virtual_Hash, Processed_Hash): New hash tables
1204         (Create_Virtual_Extending_Project): New procedure
1205         (Look_For_Virtual_Projects_For): New procedure
1206
1207         * prj-proc.adb:
1208         (Process): After checking the projects, if main project is an
1209         extending-all project, set the object directory of all virtual extending
1210         project to the object directory of the main project.
1211         Adjust error message when a virtual extending project has the same
1212         object directory as an project being extended.
1213         (Recursive_Process): If name starts with the virtual prefix, set Virtual
1214         to True in the project data.
1215
1216         * prj-tree.adb:
1217         (Default_Project_Node): Add new boolean component Extending_All
1218         (Is_Extending_All): New function
1219         (Set_Is_Extending_All): New procedure
1220
1221         * prj-tree.ads: (Is_Extending_All): New function
1222         (Set_Is_Extending_All): New procedure
1223         (Project_Node_Record): New boolean component Extending_All
1224
1225         * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
1226
1227         * vms_data.ads:
1228         Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
1229
1230         * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
1231         "gprcmd prefix" to define it.
1232
1233 2003-11-10  Thomas Quinot  <quinot@act-europe.fr>
1234
1235         * einfo.ads: Fix a typo and remove an extraneous word in comments.
1236
1237         * lib-load.adb:
1238         (Create_Dummy_Package_Unit): Set the scope of the entity for the
1239         created dummy package to Standard_Standard, not to itself, to
1240         defend other parts of the front-end against encoutering a cycle in
1241         the scope chain.
1242
1243         * sem_ch10.adb:
1244         (Analyze_With_Clause): When setting the entities for the successive
1245         N_Expanded_Names that constitute the name of a child unit, do not
1246         attempt to go further than Standard_Standard in the chain of scopes.
1247         This case arises from the placeholder units created by
1248         Create_Dummy_Package_Unit in the case of a with_clause for a
1249         nonexistent child unit.
1250
1251 2003-11-10  Ed Schonberg  <schonberg@gnat.com>
1252
1253         * exp_ch6.adb:
1254         (Expand_Thread_Body): Place subprogram on scope stack, so that new
1255         declarations are given the proper scope.
1256
1257         * sem_ch13.adb:
1258         (Check_Expr_Constants): Reject an expression that contains a constant
1259         created during expansion, and that appears after the object to which
1260         the address clause applies.
1261
1262         * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
1263         Analyze_Iteration_Scheme, to rewrite a loop parameter specification
1264         that uses 'Range of a function call with controlled components, so
1265         that the function result can be finalized before starting the loop.
1266
1267         * sem_ch8.adb:
1268         (Find_Selected_Component): Improve error message when prefix is
1269         an implicit dereference of an incomplete type.
1270
1271 2003-11-10  Robert Dewar  <dewar@gnat.com>
1272
1273         * opt.ads: New Print_Standard flag for -gnatS switch
1274
1275         * sem_ch13.adb: Remove some additional checks for unaligned arrays
1276
1277         * cstand.adb (Create_Standard): Print out package standard if -gnatS
1278         switch set
1279
1280         * debug.adb: Update doc for -gnatds to discuss relationship with new
1281         -gnatS flag
1282
1283         * sinfo.adb: Add new field Entity_Or_Associated_Node
1284
1285         * sinfo.ads: Add new field Entity_Or_Associated_Node
1286         Update documentation for Associated_Node and Entity fields to clarify
1287         relationship and usage.
1288
1289         * sprint.adb:
1290         (Write_Id): Properly process Associated_Node field in generic template
1291
1292         * switch-c.adb:
1293         Recognize new -gnatS switch for printing package Standard
1294         This replaces gnatpsta
1295
1296         * usage.adb:
1297         Add line for  new -gnatS switch for printing package Standard
1298         This replaces gnatpsta
1299
1300 2003-11-10  Andreas Jaeger  <aj@suse.de>
1301
1302         * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
1303         integer.
1304
1305 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
1306
1307         * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
1308         by gnat1.
1309
1310 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
1311
1312         * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
1313         no longer needed.
1314
1315         * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
1316
1317         * sysdep.c: Add handling of cygwin.
1318
1319 2003-11-10  GNAT Script  <nobody@gnat.com>
1320
1321         * Make-lang.in: Makefile automatically updated
1322
1323 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
1324
1325         PR 12950
1326         * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
1327         functions. Used to handle dynamic prefix relocation, via set_std_prefix.
1328         Replace GNAT_ROOT by GCC_ROOT.
1329
1330         * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
1331
1332 2003-11-06  Zack Weinberg  <zack@codesourcery.com>
1333
1334         * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
1335         and update for changed meaning of GET_MODE_BITSIZE.
1336
1337 2003-11-04  Doug Rupp  <rupp@gnat.com>
1338
1339         * sysdep.c: Problem discovered during IA64 VMS port.
1340         [VMS] #include <unixio.h> to get proper prototypes.
1341
1342         * adaint.c:
1343         Issues discovered/problems fixed during IA64 VMS port.
1344         [VMS] #define _POSIX_EXIT for proper semantics.
1345         [VMS] #include <unixio.h> for proper prototypes.
1346         [VMS] (fork): #define IA64 version.
1347         (__gnat_os_exit): Remove unnecessary VMS specific code.
1348
1349 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1350
1351         Part of PR ada/12806
1352
1353         * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
1354         tree, not integer.
1355
1356         * decl.c:
1357         (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
1358         not integer.
1359
1360         * targtyps.c, decl.c, misc.c,
1361         gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
1362         routines to work around change in FP sizing semantics in GCC.
1363
1364         * utils.c:
1365         (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
1366
1367         * gigi.h: (enumerate_modes): New function.
1368
1369         * Make-lang.in: (ada/misc.o): Add real.h.
1370
1371         * misc.c: (enumerate_modes): New function.
1372
1373 2003-11-04  Robert Dewar  <dewar@gnat.com>
1374
1375         * 3vtrasym.adb: Minor reformatting
1376         Use terminology encoded/decoded name, rather than C++ specific notion
1377         of mangling (this is the terminology used throughout GNAT).
1378
1379         * einfo.h: Regenerated
1380
1381         * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
1382
1383         * exp_ch6.adb:
1384         (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
1385
1386         * par-prag.adb: Add dummy entry for Thread_Body pragma
1387
1388         * rtsfind.ads:
1389         Add entries for System.Threads entities for thread body processing
1390
1391         * sem_attr.adb:
1392         (Analyze_Pragma, Access attributes): Check these are not applied to a
1393         thread body, since this is not permitted
1394
1395         * sem_prag.adb: Add processing for Thread_Body pragma.
1396         Minor comment fix.
1397
1398         * sem_res.adb:
1399         (Resolve_Call): Check for incorrect attempt to call a thread body
1400          procedure with a direct call.
1401
1402         * snames.ads, snames.adb: Add entry for Thread_Body pragma
1403         Add names associated with thread body expansion
1404
1405         * snames.h: Add entry for Thread_Body pragma
1406
1407         * s-thread.adb: Add entries for thread body processing
1408         These are dummy bodies so far
1409
1410         * s-thread.ads: Add documentation on thread body handling.
1411         Add entries for thread body processing.
1412
1413 2003-11-04  Javier Miranda  <miranda@gnat.com>
1414
1415         * sem_ch10.adb:
1416         (Build_Limited_Views): Return after posting an error in case of limited
1417         with_clause on subprograms, generics, instances or generic renamings
1418         (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
1419         on subprograms, generics, instances or generic renamings
1420
1421 2003-11-04  Arnaud Charlet  <charlet@act-europe.fr>
1422
1423         * raise.c (setup_to_install): Correct mistake in last revision; two
1424         arguments out of order.
1425
1426         * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
1427         gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
1428         notice, missed in previous change.
1429         Remove trailing blanks and other style errors introduced in previous
1430         change.
1431
1432 2003-11-04  Olivier Hainque  <hainque@act-europe.fr>
1433
1434         * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
1435         rid of the wrapper for a LJM type, ensuring we don't do that if the
1436         field is addressable.  This avoids potential low level type view
1437         mismatches later on, for instance in a by-reference argument passing
1438         process.
1439
1440 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1441
1442         * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
1443         aligned at byte boundary.
1444
1445 2003-11-04  Joel Brobecker  <brobecker@gnat.com>
1446
1447         * decl.c (components_to_record): Do not delete the empty variants from
1448         the end of the union type.
1449
1450 2003-11-04  Ed Schonberg  <schonberg@gnat.com>
1451
1452         * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
1453         operation for a derived type, an explicit declaration may use a local
1454         subtype of Boolean.
1455
1456 2003-11-04  Vincent Celier  <celier@gnat.com>
1457
1458         * make.adb (Gnatmake): Allow main sources on the command line with a
1459         library project when it is only for compilation (no binding or
1460         linking).
1461
1462 2003-11-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1463
1464         * Makefile.in: Remove many duplicate variables.
1465
1466 2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
1467
1468         * Make-lang.in (dvi): Move targets to $(docobjdir).
1469         (gnat_ug_vms.dvi): Simplify rule and adjust target.
1470         (gnat_ug_wnt.dvi): Likewise.
1471         (gnat_ug_unx.dvi): Likewise.
1472         (gnat_ug_vxw.dvi): Likewise.
1473         (gnat_rm.dvi): Likewise.
1474         (gnat-style.dvi): Likewise.
1475
1476 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
1477
1478         * gigi.h: Missed commit from update for C90.
1479
1480 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
1481
1482         * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
1483
1484 2003-10-31  Andreas Schwab  <schwab@suse.de>
1485
1486         * raise.c (get_action_description_for): Fix typo in last change.
1487
1488 2003-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
1489
1490         PR ada/12761
1491         * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
1492         T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
1493
1494 2003-10-30  Kelley Cook  <kcook@gcc.gnu.org>
1495
1496         * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
1497         ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
1498         gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
1499         sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
1500         trans.c, utils.c, utils2.c: Convert function prototypes to C90.
1501
1502 2003-10-30  Vasiliy Fofanov  <fofanov@act-europe.fr>
1503
1504         * 3vtrasym.adb:
1505         Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
1506         numbers when symbol name is too long.
1507
1508 2003-10-30  Ed Falis  <falis@gnat.com>
1509
1510         * g-signal.ads, g-signal.adb: New files
1511
1512         * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
1513
1514         * Makefile.rtl: Introduce GNAT.Signals
1515
1516 2003-10-30  Robert Dewar  <dewar@gnat.com>
1517
1518         * freeze.adb: Minor reformatting
1519
1520         * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
1521
1522         * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
1523         par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
1524         New handling of Id_Check parameter to improve recognition of keywords
1525         used as identifiers.
1526         Update copyright notice to include 2003
1527
1528 2003-10-29  Robert Dewar  <dewar@gnat.com>
1529
1530         * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
1531         sem_ch10.adb: Minor reformatting
1532
1533         * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
1534         (Expand_Assign_Record): Test right hand side for bit unaligned as well
1535
1536 2003-10-29  Vasiliy Fofanov  <fofanov@act-europe.fr>
1537
1538         * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
1539         Support for TBK$SYMBOLIZE-based symbolic traceback.
1540
1541 2003-10-29  Jose Ruiz  <ruiz@act-europe.fr>
1542
1543         * exp_disp.adb:
1544         Revert previous change, that did not work well when pragma No_Run_Time
1545         was used in conjunction with a run-time other than ZFP.
1546
1547 2003-10-29  Vincent Celier  <celier@gnat.com>
1548
1549         * make.adb:
1550         (Gnatmake): When there are no Ada mains in attribute Main, disable the
1551          bind and link steps only is switch -z is not used.
1552
1553 2003-10-29  Arnaud Charlet  <charlet@act-europe.fr>
1554
1555         * Makefile.generic: Remove duplicated setting of CC.
1556
1557         * Makefile.prolog: Set CC to gcc by default, to override make's
1558         default (cc).
1559
1560         * einfo.h: Regenerated.
1561
1562 2003-10-29  Ed Schonberg  <schonberg@gnat.com>
1563
1564         * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
1565         current body, after compiling subunit.
1566
1567         * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
1568         when in deleted code, because gigi needs properly ordered freeze
1569         actions to annotate types.
1570
1571         * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
1572         prevent the premature freezing of record type that contains
1573         subcomponents with a private type that does not yet have a completion.
1574
1575 2003-10-29  Javier Miranda  <miranda@gnat.com>
1576
1577         * sem_ch12.adb:
1578         (Analyze_Package_Instantiation): Check that instances can not be used in
1579         limited with_clauses.
1580
1581         * sem_ch8.adb:
1582         (Analyze_Package_Renaming): Check that limited withed packages cannot
1583         be renamed. Improve text on error messages related to limited
1584         with_clauses.
1585
1586         * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
1587
1588         * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
1589         Update copyright notice.
1590
1591         * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
1592         (Install_Limited_Context_Clauses): New subprogram that isolates all the
1593         checks required for limited context_clauses and installs the limited
1594         view.
1595         (Install_Limited_Withed_Unit): Complete its documentation.
1596         (Analyze_Context): Check that limited with_clauses are only allowed in
1597         package specs.
1598         (Install_Context): Call Install_Limited_Context_Clauses after the
1599         parents have been installed.
1600         (Install_Limited_Withed_Unit): Add documentation. Mark the installed
1601         package as 'From_With_Type'; this mark indicates that the limited view
1602         is installed. Used to check bad usages of limited with_clauses.
1603         (Build_Limited_Views): Do not add shadow entities to the scope's list
1604         of entities. Do not add real entities to the Non_Limited_Views chain.
1605         Improve error notification.
1606         (Remove_Context_Clauses): Remove context clauses in two phases:
1607         limited views first and regular views later (to maintain the
1608         stack model).
1609         (Remove_Limited_With_Clause): If the package is analyzed then reinstall
1610         its visible entities.
1611
1612 2003-10-29  Thomas Quinot  <quinot@act-europe.fr>
1613
1614         * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
1615         with any type that Is_Fixed_Point_Type.
1616
1617         * sinfo.ads: Fix documentation for Associated_Node attribute.
1618
1619 2003-10-29  Sergey Rybin  <rybin@act-europe.fr>
1620
1621         * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
1622         both '-gnatc' and '-gnatt' are specified.
1623
1624         * atree.adb (Initialize): Add initialization for Node_Count (set to
1625         zero).
1626
1627 2003-10-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1628
1629         * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
1630         do not consider as Pure.
1631
1632         Part of implementation of function-at-a-time:
1633
1634         * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
1635         (tree_transform): Add new argument to build_component_ref.
1636         (tree_transform, case N_Assignment_Statement): Make and return an
1637         EXPR_STMT.
1638         (tree_transform): If result IS_STMT, set flags and return it.
1639         (gnat_expand_stmt, set_lineno_from_sloc): New functions.
1640
1641         * utils2.c (build_simple_component_ref, build_component_ref): Add new
1642         arg, NO_FOLD_P.
1643         (build_binary_op, case EQ_EXPR): Pass additional arg to it.
1644         (build_allocator): Likewise.
1645
1646         * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
1647         Add new arg to build_component_ref.
1648         (maybe_unconstrained_array, unchecked_convert): Likewise.
1649
1650         * ada-tree.def (EXPR_STMT): New code.
1651
1652         * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
1653
1654         * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
1655         build_component_ref calls.
1656
1657         * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
1658
1659         * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
1660         (build_component_ref): Add new argument, NO_FOLD_P.
1661
1662 2003-10-27  Arnaud Charlet  <charlet@act-europe.fr>
1663
1664         * Makefile.generic: Add missing substitution on object_deps handling.
1665
1666         PR ada/5909:
1667         * Make-lang.in (check-ada): Enable ACATS test suite.
1668
1669 2003-10-27  Robert Dewar  <dewar@gnat.com>
1670
1671         * exp_ch3.adb:
1672         (Freeze_Array_Type): We do not need an initialization routine for types
1673         derived from String or Wide_String. They should be treated the same
1674         as String and Wide_String themselves. This caused problems with the
1675         use of Initialize_Scalars.
1676
1677         * exp_ch5.adb:
1678         (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
1679         composites. This allows use of component clauses that are not byte
1680         aligned.
1681
1682         * sem_prag.adb:
1683         (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
1684         is an attempt to pack an array of atomic objects.
1685
1686         * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
1687
1688 2003-10-27  Pascal Obry  <obry@gnat.com>
1689
1690         * g-dirope.adb:
1691         (Basename): Check for drive letters in a pathname only on DOS based OS.
1692
1693 2003-10-27  Vincent Celier  <celier@gnat.com>
1694
1695         * make.adb:
1696         (Gnatmake): When unable to change dir to the object dir, display the
1697         content of the parent dir of the obj dir, to try to understand why this
1698         happens.
1699
1700 2003-10-27  GNAT Script  <nobody@gnat.com>
1701
1702         * Make-lang.in: Makefile automatically updated
1703
1704 2003-10-27  Ed Schonberg  <schonberg@gnat.com>
1705
1706         * sem_ch12.adb:
1707         (Inline_Instance_Body): Indicate that the save/restore of use_clauses
1708         should not be done in Save/Restore_Scope_Stack, because it is performed
1709         locally.
1710
1711         * sem_ch8.adb:
1712         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
1713         whether use clauses should be removed/restored.
1714
1715         * sem_ch8.ads:
1716         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
1717         whether use clauses should be removed/restored.
1718
1719 2003-10-26  Andreas Jaeger  <aj@suse.de>
1720
1721         * Makefile.in: Remove duplicated lines.
1722
1723 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
1724
1725         * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
1726         minimize the differences with ACT tree.
1727
1728         * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
1729         gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
1730         Gnatvsn.Gnat_Static_Version_String to reduce differences between
1731         ACT and FSF trees.
1732
1733 2003-10-24  Pascal Obry  <obry@gnat.com>
1734
1735         * adadecode.c (ostrcpy): New function.
1736         (__gnat_decode): Use ostrcpy of strcpy.
1737         (has_prefix): Set first parameter a const.
1738         (has_suffix): Set first parameter a const.
1739         Update copyright notice. Fix source name in header.
1740         Removes a trailing space.
1741         PR ada/12014.
1742
1743 2003-10-24  Jose Ruiz  <ruiz@act-europe.fr>
1744
1745         * exp_disp.adb:
1746         Remove the test against being in No_Run_Time_Mode before generating a
1747         call to Register_Tag. It is redundant with the test against the
1748         availability of the function Register_Tag.
1749
1750 2003-10-24  Vincent Celier  <celier@gnat.com>
1751
1752         * g-catiio.adb: (Month_Name): Correct spelling of February
1753
1754         * make.adb: (Mains): New package
1755         (Initialize): Call Mains.Delete
1756         (Gnatmake): Check that each main on the command line is a source of a
1757         project file and, if there are several mains, each of them is a source
1758         of the same project file.
1759         (Gnatmake): When a foreign language is specified in attribute Languages,
1760         no main is specified on the command line and attribute Mains is not
1761         empty, only build the Ada main. If there is no Ada main, just compile
1762         the Ada sources and their closure.
1763         (Gnatmake): If a main is specified on the command line with directory
1764         information, check that the source exists and, if it does, that the path
1765         is the actual path of a source of a project.
1766
1767         * prj-env.adb:
1768         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
1769         Full_Path is True, return the full path instead of the simple file name.
1770         (Project_Of): New function
1771
1772         * prj-env.ads:
1773         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
1774         defaulted to False.
1775         (Project_Of): New function
1776
1777 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
1778
1779         * Makefile.generic:
1780         Ensure objects of main project are always checked and rebuilt if needed.
1781         Set CC to gcc by default.
1782         Prepare new handling of link by creating a global archive (not activated
1783         yet).
1784
1785         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
1786         stringt.h: Update copyright notice. Remove trailing blanks.
1787         Fix source name in header.
1788
1789 2003-10-24  Robert Dewar  <dewar@gnat.com>
1790
1791         * sem_ch12.adb: Minor reformatting
1792
1793         * sem_ch3.adb:
1794         Minor reformatting (including new function return style throughout)
1795
1796         * sem_ch3.ads:
1797         Minor reformatting (including new function return style throughout)
1798
1799 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
1800
1801         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
1802         stringt.h: Update copyright notice. Remove trailing blanks.
1803         Fix source name in header.
1804
1805 2003-10-24  GNAT Script  <nobody@gnat.com>
1806
1807         * Make-lang.in: Makefile automatically updated
1808
1809 2003-10-23  Nathanael Nerode  <neroden@gcc.gnu.org>
1810
1811         * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
1812         stringt.h: Convert to ISO C90 declarations and definitions.
1813
1814 2003-10-23  Thomas Quinot  <quinot@act-europe.fr>
1815
1816         PR ada/11978:
1817         * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
1818         External_Tag attribute definition clauses.
1819
1820 2003-10-23  Ed Schonberg  <schonberg@gnat.com>
1821
1822         PR ada/7613:
1823         * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
1824         child unit, generate a fully qualified name to avoid spurious errors
1825         when the context contains renamings of different child units with
1826         the same simple name.
1827
1828         * exp_dbug.ads: Add documentation on name qualification for renamings
1829         of child units.
1830
1831 2003-10-23  Robert Dewar  <dewar@gnat.com>
1832
1833         * g-regpat.ads, g-regpat.adb: Minor reformatting
1834
1835 2003-10-23  Jose Ruiz  <ruiz@act-europe.fr>
1836
1837         * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
1838
1839 2003-10-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1840
1841         * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
1842         Machine call.
1843
1844         * urealp.h: (Machine): Update to proper definition.
1845
1846 2003-10-23  Arnaud Charlet  <charlet@act-europe.fr>
1847
1848         * init.c, adaint.c: Minor reformatting.
1849
1850 2003-10-23  Danny Smith  <dannysmith@users.sourceforge.net>
1851
1852         * adaint.c (w32_epoch_offset): Define static const at file level.
1853         (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
1854         rather than t_create, t_access in call to GetFileTime. Use union
1855         to convert between FILETIME and  unsigned long long.
1856         (__gnat_file_time_name): Test for invalid file handle.
1857         (__gnat_set_filetime_name): Support win32 targets using
1858         w32api SetFileTime.
1859
1860 2003-10-22  Danny Smith  <dannysmith@users.sourceforge.net>
1861
1862         * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
1863
1864         * ctrl_c.c (__gnat_int_handler): Remove declaration.
1865
1866         * decl.c (creat_concat_name):  Const-ify prefix.
1867
1868         * adaint.c: Include ctype.h if __MINGW32__.
1869         (__gnat_readlink): Mark arguments as possibly unused.
1870         (__gnat_symlink): Likewise.
1871         (__gnat_is_symbolic_link): Likewise.
1872         (__gnat_portable_spawn): Likewise.  Cast last arg of spawnvp to match
1873         declaration
1874         (__gnat_file_time_name): Don't declare struct stat statbuf when
1875         not needed.
1876         (__gnat_is_absolute_path): Add parenthesis around condition of
1877         'if' statement to avoid warning.
1878         (__gnat_plist_init): Specify void as parameter.
1879         (plist_enter): Likewise.
1880         (plist_leave): Likewise.
1881         (remove_handle): Make static. Initialize prev.
1882
1883 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
1884
1885         * Makefile.in: Disable build of gnatpsta. PR ada/10110.
1886         * cstreams.c (__gnat_full_name): Minor improvements and clean up
1887         of previous change.
1888
1889 2003-10-22  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1890
1891         * tracebak.c (MAX): Avoid redefinition warning.
1892
1893         * init.c [sgi] (__gnat_error_handler): Remove i, unused.
1894         Change msg to const char *.
1895         (__gnat_install_handler): Remove ss, unused.
1896         [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
1897         to const char *.
1898         * cstreams.c (__gnat_full_name): Declare p only when used.
1899         (__gnat_full_name) [sgi] Return buffer.
1900
1901 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
1902
1903         * mingw32.h: New file.
1904         * gnat_wrapper.adb: New file.
1905
1906 2003-10-22  Jerome Roussel  <roussel@act-europe.fr>
1907
1908         * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
1909         string match a pre compiled regular expression (the corresponding
1910         version of the function working on a raw regular expression)
1911         Fix typos in various comments
1912         Update copyright notice in spec
1913
1914 2003-10-21  Gary Dismukes  <dismukes@gnat.com>
1915
1916         * exp_ch3.adb:
1917         (Component_Needs_Simple_Initialization): Return False when the type is a
1918         packed bit array. Revise spec comments to document this case.
1919
1920         * exp_prag.adb:
1921         (Expand_Pragma_Import): Set any expression on the imported object to
1922         empty to avoid initializing imported objects (in particular this
1923         covers the case of zero-initialization of bit arrays).
1924         Update copyright notice.
1925
1926 2003-10-21  Ed Schonberg  <schonberg@gnat.com>
1927
1928         * sem_ch12.adb:
1929         (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
1930         a subunit is missing.
1931         (Instantiate_Subprogram_Body): If body of function is missing, set type
1932         of return expression explicitly in dummy body, to prevent cascaded
1933         errors when a subunit is missing.
1934         Fixes PR 5677.
1935
1936         * sem_ch3.adb:
1937         (Access_Subprogram_Declaration): Verify that return type is valid.
1938         Fixes PR 8693.
1939
1940         * sem_elab.adb:
1941         (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
1942         generic.
1943         Fixes PR 12318.
1944
1945         * sem_util.adb:
1946         (Corresponding_Discriminant): If the scope of the discriminant is a
1947         private type without discriminant, use its full view.
1948         Fixes PR 8247.
1949
1950 2003-10-21  Arnaud Charlet  <charlet@act-europe.fr>
1951
1952         * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
1953         3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
1954         3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
1955         55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
1956         56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
1957         59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
1958         5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
1959         5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
1960         5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
1961         5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
1962         5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
1963         5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
1964         5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
1965         5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
1966         7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
1967         a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
1968         a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
1969         a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
1970         bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
1971         erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
1972         err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
1973         g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
1974         g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
1975         g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
1976         g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
1977         g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
1978         g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
1979         gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
1980         g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
1981         g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
1982         i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
1983         prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
1984         prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
1985         s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
1986         s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
1987         s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
1988         s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
1989         s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
1990         s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
1991         s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
1992         s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
1993         socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
1994         s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
1995         s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
1996         s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
1997         styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
1998         s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
1999         tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
2000         vms_conv.ads, vms_conv.adb, vms_data.ads,
2001         vxaddr2line.adb: Files added. Merge with ACT tree.
2002
2003         * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
2004         5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
2005         5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
2006         5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
2007         g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
2008         s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
2009         s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2010         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
2011         s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
2012         s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
2013
2014         * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2015         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2016         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2017         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2018         4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
2019         4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
2020         4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2021         4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
2022         51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
2023         53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
2024         5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
2025         5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
2026         5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
2027         5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
2028         5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
2029         5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
2030         5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
2031         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2032         5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
2033         5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
2034         5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
2035         5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
2036         5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
2037         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
2038         5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
2039         5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
2040         5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
2041         5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
2042         5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
2043         5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
2044         5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
2045         5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
2046         5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
2047         5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
2048         6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
2049         7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
2050         7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
2051         a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
2052         a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
2053         a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
2054         a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
2055         a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
2056         ali.adb, ali.ads, ali-util.adb, ali-util.ads,
2057         a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
2058         a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
2059         a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
2060         a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
2061         a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
2062         a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
2063         a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
2064         a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
2065         a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
2066         a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
2067         a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
2068         a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
2069         atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
2070         a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
2071         a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
2072         bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
2073         checks.adb, checks.ads, cio.c, comperr.adb,
2074         comperr.ads, csets.adb, cstand.adb, cstreams.c,
2075         debug_a.adb, debug_a.ads, debug.adb, decl.c,
2076         einfo.adb, einfo.ads, errout.adb, errout.ads,
2077         eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
2078         expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
2079         exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
2080         exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
2081         exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
2082         exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
2083         exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
2084         exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
2085         exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
2086         fe.h, fmap.adb, fmap.ads, fname.adb,
2087         fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
2088         freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
2089         g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
2090         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2091         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2092         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2093         g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
2094         g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
2095         g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
2096         g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
2097         g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
2098         g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
2099         g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
2100         g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
2101         gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
2102         gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
2103         gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
2104         gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
2105         gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
2106         g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
2107         g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
2108         g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
2109         g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
2110         g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
2111         g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
2112         g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
2113         g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
2114         i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
2115         i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
2116         inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
2117         itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
2118         layout.adb, lib.adb, lib.ads, lib-list.adb,
2119         lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
2120         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2121         link.c, live.adb, make.adb, make.ads,
2122         Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
2123         mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
2124         mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
2125         misc.c, mkdir.c, mlib.adb, mlib.ads,
2126         mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
2127         mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
2128         namet.adb, namet.ads, namet.h, nlists.ads,
2129         nlists.h, nmake.adt, opt.adb, opt.ads,
2130         osint.adb, osint.ads, osint-b.adb, osint-c.adb,
2131         par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
2132         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
2133         par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
2134         par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
2135         prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
2136         prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
2137         prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
2138         prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
2139         prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
2140         prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
2141         prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
2142         prj-util.adb, prj-util.ads, raise.c, raise.h,
2143         repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
2144         rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
2145         s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
2146         s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
2147         scans.ads, scn.adb, scn.ads, s-crc32.adb,
2148         s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
2149         sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
2150         sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
2151         sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
2152         sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
2153         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
2154         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
2155         sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
2156         sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
2157         sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
2158         sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
2159         sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
2160         s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
2161         s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
2162         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
2163         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
2164         s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
2165         s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
2166         s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
2167         sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
2168         sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
2169         sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
2170         s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
2171         s-memory.adb, s-memory.ads, snames.adb, snames.ads,
2172         snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
2173         s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
2174         s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
2175         s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
2176         s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
2177         s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
2178         s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
2179         s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
2180         s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
2181         s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
2182         s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
2183         s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
2184         s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
2185         s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
2186         s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
2187         s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
2188         s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
2189         stringt.adb, stringt.ads, stringt.h, style.ads,
2190         stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
2191         s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
2192         s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
2193         switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
2194         s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
2195         table.adb, table.ads, targparm.adb, targparm.ads,
2196         targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
2197         trans.c, tree_io.adb, treepr.adb, treeprs.adt,
2198         ttypes.ads, types.ads, types.h, uintp.adb,
2199         uintp.ads, uintp.h, uname.adb, urealp.adb,
2200         urealp.ads, urealp.h, usage.adb, utils2.c,
2201         utils.c, validsw.adb, validsw.ads, widechar.adb,
2202         xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
2203         xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
2204         einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
2205         gnatvsn.ads: Merge with ACT tree.
2206
2207         * gnatvsn.adb: Rewritten in a simpler and more efficient way.
2208
2209 2003-10-20  Mark Mitchell  <mark@codesourcery.com>
2210
2211         * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
2212         (gnat_ug_vmx.info): Likewise.
2213         (gnat_ug_vxw.info): Likewise.
2214         (gnat_ug_wnt.info): Likewise.
2215         (gnat_rm.info): Likewise.
2216         (gnat-style.info): Likewise.
2217
2218         * Make-lang.in (ada.install-info): Remove target.
2219         (info): New target.
2220         (install-info): Likewise.
2221         (gnat_ug_unx.info): Simplify rule.
2222         (gnat_ug_vmx.info): Likewise.
2223         (gnat_ug_vxw.info): Likewise.
2224         (gnat_ug_wnt.info): Likewise.
2225         (gnat_rm.info): Likewise.
2226         (gnat-style.info): Likewise.
2227
2228 2003-10-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2229
2230         * Make-lang.in: Replace uses of $(target_alias) with
2231         $(target_noncanonical).
2232         * ada/Makefile.in: Remove unused mention of $(target_alias).
2233
2234 2003-10-06  Mark Mitchell  <mark@codesourcery.com>
2235
2236         * Make-lang.in (ada.info): Replace with ...
2237         (info): ... this.
2238         (ada.dvi): Replace with ...
2239         (dvi): ... this.
2240
2241 2003-09-29  Zack Weinberg  <zack@codesourcery.com>
2242
2243         * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
2244         initialize dconstp5 and dconstmp5.
2245
2246 2003-09-28  Richard Henderson  <rth@redhat.com>
2247
2248         * trans.c (tree_transform): Update call to expand_asm_operands.
2249
2250 2003-09-21  Richard Henderson  <rth@redhat.com>
2251
2252         * trans.c, utils.c: Revert.
2253
2254 2003-09-21  Richard Henderson  <rth@redhat.com>
2255
2256         * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
2257         change to const.
2258
2259 2003-09-04  Michael Matz  <matz@suse.de>
2260
2261         * misc.c: Include "target.h".
2262         * Make-lang.in (misc.o): Add dependency on target.h.
2263
2264 2003-09-03  DJ Delorie  <dj@redhat.com>
2265
2266         * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
2267         hook.
2268
2269 2003-08-30  Zack Weinberg  <zack@codesourcery.com>
2270
2271         * Makefile.in: Update substitutions to match changes to
2272         configure.  Use include directives instead of @-insertions
2273         to read in host and target fragments.  Add a rule to
2274         regenerate ada/Makefile.
2275
2276 2003-07-18  Neil Booth  <neil@daikokuya.co.uk>
2277
2278         * lang-options.h: Remove.
2279         * lang.opt: Add help text.
2280
2281 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
2282
2283         * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
2284         calls.
2285
2286 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
2287
2288         * misc.c (gnat_handle_option): Don't handle filenames.
2289
2290 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
2291
2292         * Make-lang.in: Replace PWD with PWD_COMMAND.
2293         * Makefile.adalib: Likewise.
2294         * Makefile.in: Likewise.
2295
2296 2003-07-04  Matt Kraai  <kraai@alumni.cmu.edu>
2297
2298         * misc.c (gnat_argv): Revert last change.
2299         (gnat_handle_option, gnat_init_options): Copy arguments.
2300
2301 2003-07-03  Neil Booth  <neil@daikokuya.co.uk>
2302
2303         * misc.c (gnat_argv): Make const.
2304
2305 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
2306
2307         * misc.c (save_argc, save_argv): Keep non-static!
2308
2309 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
2310
2311         * misc.c (save_argc, save_argv): Make static.
2312         (gnat_init_options): New prototype.
2313         (gnat_init_options): Update.
2314
2315 2003-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
2316
2317         * gnat_ug.texi: Remove unlikely characters from @vars.
2318         * gnat_ug_vms.texi: Regenerate.
2319
2320 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
2321
2322         * misc.c (record_code_position): Adjust emit_note call.
2323
2324 2003-06-26  Neil Booth  <neil@daikokuya.co.uk>
2325
2326         * misc.c (gnat_handle_option): Don't check for missing arguments.
2327
2328 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
2329
2330         * utils.c (end_subprog_body): Adjust expand_function_end call.
2331
2332 2003-06-16  Matt Kraai  <kraai@alumni.cmu.edu>
2333
2334         * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
2335         Bind_Main_Program.
2336
2337 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
2338
2339         * lang.opt: Declare Ada.
2340         * misc.c (gnat_init_options): Update.
2341
2342 2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
2343
2344         * utils.c (begin_subprog_body): Adjust init_function_start call.
2345
2346 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
2347
2348         * Make-lang.in: Update to use options.c and options.h.
2349         * misc.c: Include options.h not aoptions.h.
2350         (gnat_handle_option): Abort on unrecognized switch.
2351         (gnat_init_options): Request Ada switches.
2352
2353 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
2354
2355         * lang.opt: Add -Wall.
2356         * misc.c (gnat_handle_option): Handle it.
2357
2358 2003-06-12  Neil Booth  <neil@daikokuya.co.uk>
2359
2360         * misc.c (gnat_handle_option): Fix warnings.
2361
2362 2003-06-11  Matt Kraai  <kraai@alumni.cmu.edu>
2363
2364         * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
2365
2366 2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
2367
2368         * Make-lang.in: Update to handle command-line options.
2369         * lang.opt: New file.
2370         * misc.c: Include aoptions.h.
2371         (cl_options_count, cl_options): Remove.
2372         (gnat_handle_option): New.
2373         (gnat_decode_option): Remove.
2374         (LANG_HOOKS_DECODE_OPTION): Remove.
2375         (LANG_HOOKS_HANDLE_OPTION): Override.
2376
2377 2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>
2378
2379         * init.c, misc.c, trans.c, utils.c: Remove dead code.
2380
2381 2003-06-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2382
2383         * Makefile.in: Replace "host_canonical" with "host" for autoconf
2384         substitution.
2385
2386 2003-06-08  Neil Booth  <neil@daikokuya.co.uk>
2387
2388         * Make-lang.in: Update.
2389         * misc.c: Include opts.h. Define cl_options_count and cl_options.
2390
2391 2003-06-07  Neil Booth  <neil@daikokuya.co.uk>
2392
2393         * misc.c (gnat_init_options): Update.
2394
2395 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2396
2397         * Make-lang.in (ada/b_gnatb.o-warn): Remove.
2398         * bindgen.adb (Gen_Main_C): Mark ensure_reference with
2399         __attribute__ ((__unused__)).
2400
2401 2003-06-05  Jan Hubicka  <jh@suse.cz>
2402
2403         * Make-lang.in:  Add support for stageprofile and stagefeedback
2404
2405 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
2406
2407         * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
2408         (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
2409
2410 2003-06-04  Matt Kraai  <kraai@alumni.cmu.edu>
2411
2412         * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
2413         Remove non-VMS directive.
2414         (Switches for gnatlbr, Optimization Levels): Remove non-VMS
2415         alternatives.
2416         (Examples of gnatls Usage): Remove VMS alternative.
2417
2418 2003-06-04  Olivier Hainque  <hainque@act-europe.fr>
2419
2420         PR ada/9953:
2421         * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
2422         and turn ZCX_By_Default back to False since the underlying support
2423         is not quite there yet.
2424
2425 2003-06-01  Andreas Jaeger  <aj@suse.de>
2426
2427         * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
2428         and ROUND_TYPE_SIZE_UNIT.
2429
2430 2003-05-22   Geert Bosch <bosch@gnat.com>
2431
2432         * gnat_rm.texi : Remove reference to Ada Core Technologies.
2433
2434 2003-05-03  Nathan Sidwell  <nathan@codesourcery.com>
2435
2436         * trans.c (tree_transform): Use location_t and input_location
2437         directly.
2438         (build_unit_elab): Likewise.
2439         * utils.c (create_label_decl): Likewise.
2440
2441 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
2442
2443         * trans.c (tree_transform, build_unit_elab,
2444         set_lineno): Rename lineno to input_line.
2445         * utils.c (pushdecl, create_label_decl, begin_subprog_body,
2446         end_subprog_body): Likewise.
2447         * utils2.c (build_call_raise): Likewise.
2448
2449 2003-05-01  Laurent Guerby <guerby@acm.org>
2450
2451         PR ada/10546
2452         * 5iosinte.ads: Increase pthread_cond_t size to match recent
2453         LinuxThread and NPTL version, merge from ACT.
2454
2455 2003-04-28  Zack Weinberg  <zack@codesourcery.com>
2456
2457         * utils.c (convert): No need to clear TREE_CST_RTL.
2458
2459 2003-04-23   Geert Bosch <bosch@gnat.com>
2460
2461         * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
2462         1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
2463         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
2464         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
2465         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
2466         4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
2467         4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
2468         4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
2469         4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
2470         4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
2471         4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
2472         4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
2473         52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
2474         5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
2475         5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
2476         5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
2477         5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
2478         5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
2479         5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
2480         5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
2481         5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
2482         5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
2483         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
2484         5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
2485         5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
2486         5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
2487         5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
2488         5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
2489         5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
2490         5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
2491         5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
2492         5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
2493         5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
2494         5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
2495         5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
2496         5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
2497         5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
2498         5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
2499         5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
2500         5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
2501         5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
2502         5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
2503         5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
2504         5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
2505         6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
2506         7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
2507         7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
2508         9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
2509         a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
2510         a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
2511         a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
2512         a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
2513         a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
2514         a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
2515         a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
2516         a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
2517         a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
2518         a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
2519         a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
2520         a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
2521         a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
2522         a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
2523         a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
2524         a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
2525         a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
2526         a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
2527         a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
2528         a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
2529         a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
2530         a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
2531         a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
2532         a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
2533         a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
2534         a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
2535         a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
2536         a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
2537         a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
2538         a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
2539         a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
2540         a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
2541         a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
2542         a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
2543         a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
2544         a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
2545         a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
2546         a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
2547         a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
2548         a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
2549         a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
2550         a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
2551         a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
2552         a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
2553         a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
2554         a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
2555         a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
2556         a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
2557         a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
2558         a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
2559         a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
2560         a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
2561         a-wttest.ads, ada-tree.h, ada.ads, ada.h,
2562         adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
2563         ali.adb, ali.ads, alloc.ads, argv.c,
2564         atree.adb, atree.ads, atree.h, aux-io.c,
2565         back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
2566         binde.adb, binde.ads, binderr.adb, binderr.ads,
2567         bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
2568         butil.adb, butil.ads, cal.c, calendar.ads,
2569         casing.adb, casing.ads, ceinfo.adb, checks.adb,
2570         checks.ads, cio.c, comperr.adb, comperr.ads,
2571         config-lang.in, csets.adb, csets.ads, csinfo.adb,
2572         cstand.adb, cstand.ads, cuintp.c, debug.adb,
2573         debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
2574         dec-io.ads, dec.ads, deftarg.c, directio.ads,
2575         einfo.adb, einfo.ads, elists.adb, elists.ads,
2576         elists.h, errno.c, errout.adb, errout.ads,
2577         eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
2578         exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
2579         exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
2580         exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
2581         exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
2582         exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
2583         exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
2584         exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
2585         exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
2586         exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
2587         exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
2588         exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
2589         exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
2590         exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
2591         exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
2592         fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
2593         fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
2594         freeze.adb, freeze.ads, frontend.adb, frontend.ads,
2595         g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
2596         g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
2597         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
2598         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
2599         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
2600         g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
2601         g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
2602         g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
2603         g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
2604         g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
2605         g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
2606         g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
2607         g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
2608         g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
2609         g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
2610         g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
2611         g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
2612         g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
2613         g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
2614         g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
2615         g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
2616         g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
2617         get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
2618         gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
2619         gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
2620         gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
2621         gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
2622         gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
2623         gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
2624         gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
2625         hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
2626         i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
2627         i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
2628         i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
2629         i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
2630         i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
2631         i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
2632         inline.adb, inline.ads, interfac.ads, ioexcept.ads,
2633         itypes.adb, itypes.ads, krunch.adb, krunch.ads,
2634         layout.adb, layout.ads, lib-list.adb, lib-load.adb,
2635         lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
2636         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
2637         lib.adb, lib.ads, live.adb, live.ads,
2638         machcode.ads, make.adb, make.ads, makeusg.adb,
2639         makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
2640         mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
2641         memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
2642         mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
2643         mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
2644         mlib.ads, namet.adb, namet.ads, nlists.adb,
2645         nlists.ads, opt.adb, opt.ads, osint-b.adb,
2646         osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
2647         osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
2648         osint.ads, output.adb, output.ads, par-ch10.adb,
2649         par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
2650         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
2651         par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
2652         par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
2653         par-tchk.adb, par-util.adb, par.adb, par.ads,
2654         prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
2655         prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
2656         prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
2657         prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
2658         prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
2659         prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
2660         prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
2661         prj.adb, prj.ads, repinfo.adb, repinfo.ads,
2662         restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
2663         rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
2664         s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
2665         s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
2666         s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
2667         s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
2668         s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
2669         s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
2670         s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
2671         s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
2672         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
2673         s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
2674         s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
2675         s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
2676         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
2677         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
2678         s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
2679         s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
2680         s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
2681         s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
2682         s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
2683         s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
2684         s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
2685         s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
2686         s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
2687         s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
2688         s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
2689         s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
2690         s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
2691         s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
2692         s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
2693         s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
2694         s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
2695         s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
2696         s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
2697         s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
2698         s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
2699         s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
2700         s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
2701         s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
2702         s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
2703         s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
2704         s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
2705         s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
2706         s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
2707         s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
2708         s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
2709         s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
2710         s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
2711         s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
2712         s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
2713         s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
2714         s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
2715         s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
2716         s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
2717         s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
2718         s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
2719         s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
2720         s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
2721         s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
2722         s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
2723         s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
2724         s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
2725         s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
2726         s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
2727         s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
2728         s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
2729         s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
2730         s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
2731         s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
2732         s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
2733         s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
2734         s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
2735         s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
2736         s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
2737         s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
2738         s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
2739         s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
2740         s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
2741         s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
2742         s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
2743         s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
2744         s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
2745         s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
2746         s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
2747         s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
2748         s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
2749         s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
2750         s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
2751         s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
2752         s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
2753         s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
2754         s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
2755         s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
2756         s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
2757         scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
2758         sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
2759         sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
2760         sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
2761         sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
2762         sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
2763         sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
2764         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
2765         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
2766         sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
2767         sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
2768         sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
2769         sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
2770         sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
2771         sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
2772         sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
2773         sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
2774         sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
2775         sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
2776         sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
2777         sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
2778         snames.ads, sprint.adb, sprint.ads, stand.adb,
2779         stand.ads, stringt.adb, stringt.ads, style.adb,
2780         style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
2781         switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
2782         switch-m.ads, switch.adb, switch.ads, system.ads,
2783         table.adb, table.ads, targparm.adb, targparm.ads,
2784         tbuild.adb, tbuild.ads, text_io.ads, trans.c,
2785         tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
2786         tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
2787         ttypef.ads, ttypes.ads, types.adb, types.ads,
2788         uintp.adb, uintp.ads, uname.adb, uname.ads,
2789         unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
2790         usage.adb, usage.ads, validsw.adb, validsw.ads,
2791         widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
2792         xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
2793         xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
2794         formatting and other trivial changes from ACT.
2795
2796 2003-04-12  Zack Weinberg  <zack@codesourcery.com>
2797
2798         * gigi.h, utils2.c (build_constructor):
2799         Rename gnat_build_constructor. Use build_constructor.
2800         * decl.c (gnat_to_gnu_entity)
2801         * trans.c (tree_transform, pos_to_constructor, extract_values)
2802         * ada/utils.c (build_template, convert_to_fat_pointer, convert)
2803         (unchecked_convert)
2804         * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
2805         (fill_vms_descriptor):
2806         Update to match.
2807
2808 2003-04-06  Zack Weinberg  <zack@codesourcery.com>
2809
2810         * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
2811         * misc.c (gnat_tree_size): New function.
2812         (LANG_HOOKS_TREE_SIZE): Override.
2813
2814 2003-04-03  Jason Merrill  <jason@redhat.com>
2815
2816         * misc.c (gnat_adjust_rli): #if 0.
2817
2818 2003-03-31   Geert Bosch <bosch@gnat.com>
2819
2820         PR ada/10020
2821         * link.c : Fix misspelled "const" keyword
2822
2823 2003-03-23  Mark Mitchell  <mark@codesourcery.com>
2824
2825         PR c++/7086
2826         * utils2.c: Adjust calls to put_var_into_stack.
2827
2828 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
2829
2830         * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
2831
2832 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
2833
2834         * misc.c (gnat_init): Update for new prototype.
2835
2836 2003-03-05  Olivier Hainque  <hainque@gnat.com>
2837
2838         ada/9961
2839         * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
2840         warning, and fix return type for the IN_RTS && !SJLJ case.
2841
2842 2003-03-04  Tom Tromey  <tromey@redhat.com>
2843
2844         * Make-lang.in (ada.tags): New target.
2845
2846 2003-03-04  Olivier Hainque  <hainque@act-europe.fr>
2847
2848         ada/9911
2849         * a-except.adb (Unwind_RaiseException): Import a GNAT specific
2850         wrapper, which name remains constant whatever underlying GCC
2851         scheme.
2852
2853         * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
2854         the stable interface needed for a-except.
2855
2856 2003-03-02  Andreas Jaeger  <aj@suse.de>
2857
2858         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
2859         gnat_ug_wnt.texi: Regenerate.
2860
2861 2003-03-02  Laurent Guerby <guerby@acm.org>
2862
2863         * Makefile.in (install-gnatlib): Match previous change there
2864         so it works.
2865
2866 2003-02-28  Andreas Schwab  <schwab@suse.de>
2867
2868         * Make-lang.in (install-gnatlib): Change to ada directory before
2869         running make instead of using ada/Makefile directly.
2870
2871 2003-02-18  Ben Elliston  <bje@redhat.com>
2872
2873         Part of fix for PR ada/9406
2874         * gnat_ug.texi (Binder output file): Grammar fix.
2875
2876 2003-02-18  Ben Elliston  <bje@redhat.com>
2877
2878         PR other/7350
2879         * 5qtaprop.adb (Sleep): Fix typo in comment.
2880
2881 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
2882
2883         * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
2884         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
2885         gnat_ug_wnt.texi: Regenerate.
2886
2887 2003-02-03  Christian Cornelssen <ccorn@cs.tu-berlin.de>
2888
2889         * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
2890         be created if necessary.
2891         (ada.install-common): Let $(DESTDIR)$(bindir) be created
2892         if necessary.  Remove erroneous and redundant gnatchop
2893         installation commands.  Test for gnatdll before attempting
2894         to install it.
2895         (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
2896         and gnatdll from all plausible locations.
2897
2898 2003-02-01  Richard Sandiford  <rsandifo@redhat.com>
2899
2900         * utils2.c (build_unary_op): Don't check flag_volatile.
2901         * gnat_ug.texi: Remove -fvolatile from example.
2902         * gnat_ug_vxw.texi: Likewise.
2903
2904 2003-01-29  Laurent Guerby <guerby@acm.org>
2905
2906         PR ada/8344
2907         * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
2908         * Makefile.in: match previous change.
2909         * Make-lang.in: match previous change.
2910
2911 2003-01-29      Joel Sherrill <joel@OARcorp.com>
2912
2913         * 5rosinte.ads: Add SIGXCPU.
2914         * 5rtpopsp.adb: New file.
2915         * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
2916         * Makefile.in: Recognize more RTEMS targets and add the RTEMS
2917         specific file 5rtpopsp.adb.
2918         * adaint.h: Add include of <stdio.h> when target is RTEMS.  This
2919         is likely needed for all newlib targets.
2920         * init.c: Add RTEMS specific version of __gnat_initialize().
2921
2922 2003-01-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2923
2924         * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
2925
2926 2003-01-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2927
2928         * init.c (__gnat_error_handler): Make msg const.
2929
2930         * gmem.c (convert_addresses): Move declaration ...
2931         * adaint.h: ... here.
2932         * adaint.c (convert_addresses): Adapt addrs type to match
2933         prototype.
2934
2935         * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
2936
2937 2003-01-24  Andreas Schwab  <schwab@suse.de>
2938
2939         * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
2940         size_t to avoid warning.
2941
2942 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
2943
2944         * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
2945
2946 2003-01-09  Geoffrey Keating  <geoffk@apple.com>
2947
2948         * gnat_rm.texi: Remove RCS version number.
2949
2950         * ada-tree.h (union lang_tree_node): Add chain_next option.
2951
2952 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2953
2954         * Make-lang.in (ada.install-info, ada.install-common,
2955         ada.uninstall): Prepend $(DESTDIR) to the destination
2956         directory in all (un)installation commands.
2957         * Makefile.in (install-gnatlib, install-rts): Ditto.
2958
2959 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
2960
2961         * gnat_rm.texi, gnat_ug.texi: Use @copying.
2962         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
2963         gnat_ug_wnt.texi: Regenerate.
2964
2965 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
2966
2967         * gnat_rm.texi: Include gcc-common.texi.  Use GCC version number
2968         only.
2969         * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
2970         $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
2971         $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
2972         ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
2973         ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
2974         $(srcdir)/doc/include/gcc-common.texi.
2975
2976 2002-12-15   Geert Bosch <bosch@gnat.com>
2977
2978         * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
2979
2980 2002-12-14   Geert Bosch <bosch@gnat.com>
2981
2982         * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
2983         case of a body created for a Renaming_As_Body, on which
2984         conformance checks are not performed. Fixes PR ada/5690.
2985
2986 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
2987
2988         * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
2989         utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
2990         not already included.
2991         * Make-lang.in: Update dependencies.
2992
2993 2002-11-18  Nathanael Nerode  <neroden@gcc.gnu.org>
2994         * adaint.c (__gnat_tmp_name): Better, but good enough for now,
2995         solution to buffer overflow bug on GNU/Linux.
2996
2997 2002-11-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2998         Closes PR ada/5856 and PR ada/6919 !
2999         * bindgen.adb: Remove all references to Public_Version.
3000         * comperr.adb: Remove all references to Public_Version and
3001         GNATPRO_Version; correct bug reporting instructions.
3002         * comperr.ads: Change to match bug box.
3003         * gnatvsn.ads: Remove all references to Public version and
3004         GNATPRO version.
3005
3006 2002-11-13  Nathanael Nerode  <neroden@gcc.gnu.org>
3007         PR ada/6919
3008         * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
3009         GNU/Linux.
3010
3011         PR ada/6558
3012         * config-lang.in: Remove diff_excludes.
3013
3014 2002-11-05  Graham Stott  <graham.stott@btinternet.com>
3015         PR ada/8358
3016         * trans.c (gnu_pending_elaboration_lists): New GC root.
3017         (build_unit_elab): Use..
3018
3019 2002-10-30   Geert Bosch <bosch@gnat.com>
3020         PR ada/6558
3021         * misc.c : Include optabs.h
3022
3023         * Make-lang.in (misc.o): Add dependency on optabs.h
3024
3025 2002-10-29   Geert Bosch <bosch@gnat.com>
3026         PR ada/6558
3027         * Make-lang.in (gnatbind): Depend on CONFIG_H
3028
3029 2002-10-29  Geert bosch  <bosch@gnat.com>
3030         PR ada/6558
3031         * misc.c: Unrevert misc.c (1.13)
3032
3033 2002-10-28  Nathanael Nerode  <neroden@gcc.gnu.org>
3034
3035         * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
3036         maintainership comments.
3037
3038 2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
3039         PR ada/5904
3040         * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
3041         5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
3042         5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
3043         7staprop.adb: Correct statements in comments about
3044         maintainership of GNAT.
3045
3046         PR ada/5904
3047         * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
3048         gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
3049         osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
3050         osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
3051         s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
3052         s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
3053         sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
3054         switch-c.ads switch-m.adb switch-m.ads: Correct statements in
3055         comments about maintainership of GNAT.
3056
3057         PR ada/6919 (forward port of patch for PR ada/5904)
3058         * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
3059         4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
3060         4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
3061         4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
3062         4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
3063         4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
3064         4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
3065         52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
3066         5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
3067         5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
3068         5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
3069         5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
3070         5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
3071         5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
3072         5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
3073         5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
3074         5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
3075         5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
3076         5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
3077         5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
3078         5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
3079         5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
3080         5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
3081         5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
3082         5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
3083         5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
3084         5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
3085         5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
3086         7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
3087         a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
3088         a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
3089         a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
3090         a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
3091         a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
3092         a-except.adb a-except.ads a-excpol.adb a-exctra.adb
3093         a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
3094         a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
3095         a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
3096         a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
3097         a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
3098         a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
3099         a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
3100         a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
3101         a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
3102         a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
3103         a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
3104         a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
3105         a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
3106         a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
3107         a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
3108         a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
3109         a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
3110         a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
3111         a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
3112         a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
3113         a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
3114         a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
3115         a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
3116         a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
3117         a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
3118         a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
3119         a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
3120         a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
3121         a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
3122         a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
3123         a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
3124         a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
3125         a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
3126         adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
3127         alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
3128         back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
3129         binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
3130         bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
3131         ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
3132         csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
3133         cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
3134         debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
3135         einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
3136         errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
3137         exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
3138         exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
3139         exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
3140         exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
3141         exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
3142         exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
3143         exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
3144         exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
3145         exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
3146         exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
3147         exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
3148         exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
3149         exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
3150         final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
3151         fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
3152         freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
3153         g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
3154         g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
3155         gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
3156         gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
3157         gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
3158         gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
3159         gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
3160         gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
3161         i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
3162         i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
3163         i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
3164         i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
3165         impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
3166         itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
3167         lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
3168         lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
3169         lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
3170         lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
3171         makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
3172         namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
3173         nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
3174         osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
3175         par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
3176         par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
3177         par-endh.adb par-labl.adb par-load.adb par-prag.adb
3178         par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
3179         prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
3180         prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
3181         prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
3182         prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
3183         prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
3184         prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
3185         repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
3186         rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
3187         s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
3188         s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
3189         s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
3190         s-direio.adb s-direio.ads s-except.ads s-exctab.adb
3191         s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
3192         s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
3193         s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
3194         s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
3195         s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
3196         s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
3197         s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
3198         s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
3199         s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
3200         s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
3201         s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
3202         s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
3203         s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
3204         s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
3205         s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
3206         s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
3207         s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
3208         s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
3209         s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
3210         s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
3211         s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
3212         s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
3213         s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
3214         s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
3215         s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
3216         s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
3217         s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
3218         s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
3219         s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
3220         s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
3221         s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
3222         s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
3223         s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
3224         s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
3225         s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
3226         s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
3227         s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
3228         s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
3229         s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
3230         s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
3231         s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
3232         s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
3233         s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
3234         s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
3235         s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
3236         s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
3237         s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
3238         s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
3239         s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
3240         s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
3241         s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
3242         s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
3243         s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
3244         s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
3245         s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
3246         s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
3247         s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
3248         s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
3249         s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
3250         s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
3251         s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
3252         s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
3253         s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
3254         s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
3255         s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
3256         s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
3257         s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
3258         s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
3259         s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
3260         s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
3261         s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
3262         s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
3263         s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
3264         s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
3265         s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
3266         s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
3267         s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
3268         s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
3269         scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
3270         sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
3271         sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
3272         sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
3273         sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
3274         sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
3275         sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
3276         sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
3277         sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
3278         sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
3279         sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
3280         sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
3281         sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
3282         sem_type.adb sem_type.ads sem_util.adb sem_util.ads
3283         sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
3284         sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
3285         sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
3286         sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
3287         snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
3288         stringt.ads stringt.h style.adb style.ads stylesw.adb
3289         stylesw.ads switch.adb switch.ads sysdep.c system.ads
3290         table.adb table.ads targparm.adb targparm.ads targtyps.c
3291         tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
3292         tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
3293         treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
3294         types.adb types.ads types.h uintp.adb uintp.ads uintp.h
3295         uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
3296         usage.ads utils.c utils2.c validsw.adb validsw.ads
3297         widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
3298         xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
3299         xtreeprs.adb: Correct statements in comments about maintainership
3300         of GNAT.
3301
3302 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
3303
3304         * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
3305         * Makefile.in (TOOLS_LIBS): Add ../../version.o.
3306         * gnatvsn.ads: Gnat_Version_String is now a function.
3307         * gnatvsn.adb: New file.  When asked for Gnat_Version_String,
3308         copy the C version_string into a String and return it.
3309         * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
3310         gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
3311         Remove pragma Ident (Gnat_Version_String).  If this was the
3312         sole use of package Gnatvsn, remove the with statement too.
3313         * gnat1drv.adb: Tweak -gnatv output.
3314
3315 2002-09-17  Richard Henderson  <rth@redhat.com>
3316
3317         * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
3318         * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
3319         * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
3320         (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
3321         * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
3322         and real_2expN instead of a loop.
3323         * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
3324         (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
3325
3326 2002-08-25  Andre Leis <a.leis@gmx.net>
3327             David Billinghurst (David.Billinghurst@riotinto.com>
3328
3329         * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
3330
3331 2002-08-13  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3332
3333         * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
3334         Remove $(CONFIG_H) dependency.
3335
3336 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
3337
3338         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
3339
3340 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3341
3342         * adadecode.c (ada_demangle): Use xstrdup in lieu of
3343         xmalloc/strcpy.
3344         * misc.c (gnat_decode_option): Likewise.
3345
3346 2002-07-15  Florian Weimer  <fw@deneb.enyo.de>
3347
3348         * make.adb (Add_Switch): Make Generic_Position a procedure.  The
3349         function approach did not work well because of a side effect (the
3350         function call could reallocate the table which was being indexed
3351         using its result). Fixes ada/4851. [RESURRECTED]
3352
3353 2002-07-01  Roger Sayle  <roger@eyesopen.com>
3354
3355         * ada/utils.c (builtin_function): Accept an additional parameter.
3356
3357 2002-06-28  Andreas Jaeger  <aj@suse.de>
3358
3359         PR ada/7144
3360         * Makefile.in: Fix typo in comment, patch by Adrian Knoth
3361         <adi@thur.de>.
3362
3363 2002-06-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3364
3365         * Makefile.in (SHELL): Set to @SHELL@.
3366
3367 2002-06-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3368
3369         * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
3370         array size calculation.
3371
3372 2002-06-04  Andreas Jaeger  <aj@suse.de>
3373
3374         * Make-lang.in (gnatbind): Readd rule that has been lost in last
3375         patch.
3376
3377 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
3378
3379         Merge from pch-branch:
3380
3381         * config-lang.in (gtfiles): Add ada-tree.h.
3382         * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
3383         (SET_TYPE_MODULUS): New.
3384         (SET_TYPE_INDEX): New.
3385         (SET_TYPE_DIGITS_VALUE): New.
3386         (SET_TYPE_RM_SIZE): New.
3387         (SET_TYPE_UNCONSTRAINED_ARRAY): New.
3388         (SET_TYPE_ADA_SIZE): New.
3389         (SET_TYPE_ACTUAL_BOUNDS): New.
3390         (SET_DECL_CONST_CORRESPONDING_VAR): New.
3391         (SET_DECL_ORIGINAL_FIELD): New.
3392         (TREE_LOOP_ID): Correct typo.
3393         * decl.c: Use new macros.
3394         * utils.c: Include debug.h, use new macros.
3395         * utils2.c: Use new macros.
3396
3397         * ada-tree.h: Update all macros for new tree description.
3398         (struct tree_loop_id): New.
3399         (union lang_tree_node): New.
3400         (struct lang_decl): New.
3401         (struct lang_type): New.
3402         * misc.c (gnat_mark_tree): Delete.
3403         (LANG_HOOKS_MARK_TREE): Delete.
3404         * trans.c (tree_transform): No longer any need to cast
3405         for TREE_LOOP_ID.
3406
3407         * utils.c (struct language_function): New dummy structure.
3408
3409         * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
3410         (misc.o): Likewise.
3411         (utils.o): Likewise; also gtype-ada.h.
3412         * Make-lang.in (gnat1): Add dependency on s-gtype.
3413         (gnatbind): Add dependency on $(CONFIG_H).
3414         * utils.c: Correct last #include.
3415         (stuct e_stack): Remove unnecessary 'static'.
3416         (mark_e_stack): Remove unused prototype.
3417
3418         * scn-nlit.adb: Remove whitespace after version number to
3419         keep lines under 80 chars.
3420         * snames.adb: Likewise.
3421         * treepr.ads: Likewise.
3422
3423         * Makefile.in (decl.o): Include gt-ada-<filename>.h.
3424         (misc.o): Likewise.
3425         (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
3426         * config-lang.in (gtfiles): New.
3427         * decl.c: Use gengtype for roots.
3428         * gigi.h: Use gengtype for roots.
3429         * trans.c: Use gengtype for roots.
3430         * utils.c: Use gengtype for roots, marking.  Include gtype-ada.h.
3431
3432 2002-06-02  Gabriel Dos Reis  <gdr@codesourcery.com>
3433
3434         * misc.c (gnat_init): Adjust setting of internal_error_function.
3435
3436 2002-06-01  Joseph S. Myers  <jsm28@cam.ac.uk>
3437
3438         * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
3439         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3440         gnat_ug_wnt.texi: Regenerate.
3441
3442 2002-05-31  Florian Weimer  <fw@deneb.enyo.de>
3443
3444         * 5ntaprop.adb (with System.OS_Primitives): Remove.
3445
3446         * cstreams.c (max_path_len): Move from here ...
3447         * adaint.c (__gnat_max_path_len): ... to here.
3448         * adaint.c (__gnat_max_path_len): Declare.
3449         * g-dirope.adb (Max_Path): Adjust.
3450         * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
3451         * i-cstrea.ads (max_path_len): Adjust.
3452         * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
3453         * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
3454
3455         * Makefile.in, Make-lang.in: Documentation is now built in
3456         Make-lang.in.  Store Info and generated Texinfo files in the
3457         source directory.
3458         * gnat_ug.texi: Remove CVS keywords, correct version number.
3459         Set file name correctly.
3460
3461         * gnat_ug_*.texi: Add.
3462         * .cvsignore: Ignore generated Texinfo files.
3463
3464 2002-05-30  Zack Weinberg  <zack@codesourcery.com>
3465
3466         * ada.h: Add MI guard macro.
3467         (SUBTYPE): Define constants with an anonymous enum, not static
3468         const variables.
3469         (IN): Cast constants to appropriate type before use.
3470
3471 2002-05-26  Joseph S. Myers  <jsm28@cam.ac.uk>
3472
3473         * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
3474         (experimental)".
3475
3476 2002-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3477
3478         * Make-lang.in (CP, ECHO): Copy from Makefile.in.
3479         (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
3480         (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
3481         (ALL_ADA_CFLAGS): Likewise.
3482         (ADA_INCLUDES): Likewise.
3483         Adapt for new working dir.
3484         (GNATBIND): Use Makefile.in version.
3485         (.SUFFIXES): Copy from Makefile.in.
3486         (ada-warn): Define.
3487         (.adb.o, .ads.o): Copy from Makefile.in.
3488         Added $(OUTPUT_OPTION).
3489         (GNAT1_C_OBJS): Moved from Makefile.in.
3490         Prefix with ada subdir.
3491         (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
3492         (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
3493         Adapt for new working dir.
3494         (EXTRA_GNATBIND_OBJS): Likewise.
3495         (ADA_BACKEND): Moved from Makefile.in.
3496         Renamed to avoid conflict with global BACKEND.
3497         Use that one.
3498         (TARGET_ADA_SRCS): Moved from Makefile.in.
3499         (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
3500         Use ADA_BACKEND.
3501         (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
3502         (ada_extra_files): Moved from Makefile.in.
3503         Prefix with ada subdir.
3504         (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
3505         (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
3506         (ada/nmake.ads): Likewise.
3507         (update-sources): Moved from Makefile.in.
3508         Prefix with ada subdir.
3509         (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
3510         (ADA_TREE_H): Likewise.
3511         (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
3512         (ada/memtrack.o): Likewise.
3513         (ada/adadecode.o): Likewise.
3514         Update dependencies.
3515         (ada/adaint.o): New.
3516         (ada/argv.o): Moved from Makefile.in.
3517         Prefix with ada subdir.
3518         Update dependencies.
3519         (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
3520         (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
3521         (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
3522         Prefix with ada subdir.
3523         (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
3524         (GNAT DEPENDENCIES): Regenerate.
3525         * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
3526         toplevel Makefile.in.
3527         (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
3528         (TARGET_ADA_SRCS): Removed.
3529         (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
3530         (GNATBIND_OBJS): Likewise.
3531         (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
3532         (BACKEND): Removed.
3533         (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
3534         (TREE_H): Likewise.
3535         (ada_extra_files): Likewise.
3536         (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
3537         (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
3538         (update-sources): Likewise.
3539         (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
3540         (ADA_TREE_H): Likewise.
3541         (adadecoce.o): Likewise.
3542         (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
3543         (GNAT DEPENDENCIES): Likewise.
3544
3545 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3546
3547         * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
3548         * Makefile.in: Likewise.
3549
3550 2002-05-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3551
3552         * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
3553         Restore $(CONFIG_H) and prefix.o dependencies.
3554         (ada.stage[1-4]): Depend on stage?-start.
3555
3556         * Makefile.in (b_gnatb.c): Depend on interfac.o.
3557
3558 2002-05-02  Jim Wilson  <wilson@redhat.com>
3559
3560         * utils.c (finish_record_type): Change record_size to record_type.
3561
3562 2001-05-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3563
3564         * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
3565         (ALL_ADA_CFLAGS): Define.  Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
3566         ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
3567
3568 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
3569
3570         * misc.c (gnat_parse_file): Update.
3571
3572 2002-04-24  Neil Booth  <neil@daikokuya.demon.co.uk>
3573
3574         * misc.c (gnat_init): Don't set lang_attribute_common.
3575
3576 2002-04-21  Joseph S. Myers  <jsm28@cam.ac.uk>
3577
3578         * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
3579
3580 2002-04-21  Florian Weimer  <fw@deneb.enyo.de>
3581
3582         * gnat_ug.texi: New file.
3583
3584         * gnat_rm.texi: Do not include texiplus.texi.  Include fdl.texi
3585         instead of gfdl.texi
3586
3587         * xgnatug.adb, ug_words: New files.
3588
3589         * Makefile.in (doc, dvi): New targets.  Build gnat_ug_*,
3590         gnat_rm and gnat-style manuals.
3591
3592 2002-04-18  Neil Booth  <neil@daikokuya.demon.co.uk>
3593
3594         * gigi.h (incomplete_type_error): Remove.
3595         * utils.c (incomplete_type_error): Remove.
3596
3597 2002-04-16  Mark Mitchell  <mark@codesourcery.com>
3598
3599         * trans.c (tree_transform): Add has_scope argument to
3600         expand_start_stmt_expr.
3601
3602 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
3603
3604         * gigi.h (truthvalue_conversion): Rename.
3605         * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
3606         * trans.c (tree_transform): Update.
3607         * utils2.c (truthvalue_conversion): Rename, update.
3608         (build_binary_op, build_unary_op): Update.
3609
3610 2002-04-04  Laurent Guerby  <guerby@acm.org>
3611
3612         * make.adb: Implement -margs, remove restriction about file name placement.
3613         * makeusg.adb: Documentation update.
3614         * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
3615         * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
3616
3617 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
3618
3619         * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
3620         (builtin_function): Similarly.
3621
3622 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
3623
3624         * decl.c (gnat_to_gnu_entity): Update.
3625         * gigi.h (mark_addressable): Rename.
3626         * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
3627         * trans.c (tree_transform): Update.
3628         * utils.c (create_var_decl): Update.
3629         * util2.c (build_binary_op, build_unary_op,
3630         fill_vms_descriptor): Update.
3631         (mark_addressable): Rename, update.
3632
3633 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
3634
3635         * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
3636         Rename.
3637         * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
3638         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
3639         * trans.c (tree_transform, convert_with_check): Update.
3640         * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
3641         Rename.
3642
3643 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
3644
3645         * gigi.h (finish_incomplete_decl): Rename.
3646         * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
3647         * utils.c (gnat_init_decl_processing): Don't set hook.
3648         (finish_incomplete_decl): Rename.
3649
3650 2002-03-29  Andreas Schwab  <schwab@suse.de>
3651
3652         * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
3653         directory.
3654
3655 2001-03-28  Robert Dewar <dewar@gnat.com>
3656
3657         * checks.ads:
3658         (Remove_Checks): New procedure
3659
3660         * checks.adb:
3661         (Remove_Checks): New procedure
3662
3663         * exp_util.adb:
3664         Use new Duplicate_Subexpr functions
3665         (Duplicate_Subexpr_No_Checks): New procedure
3666         (Duplicate_Subexpr_No_Checks_Orig): New procedure
3667         (Duplicate_Subexpr): Restore original form (checks duplicated)
3668         (Duplicate_Subexpr): Call Remove_Checks
3669
3670         * exp_util.ads:
3671         (Duplicate_Subexpr_No_Checks): New procedure
3672         (Duplicate_Subexpr_No_Checks_Orig): New procedure
3673         Add 2002 to copyright notice
3674
3675         * sem_util.adb: Use new Duplicate_Subexpr functions
3676
3677         * sem_eval.adb:
3678         (Eval_Indexed_Component): This is the place to call
3679         Constant_Array_Ref and to replace the value. We simply merge
3680         the code of this function in here, since it is now no longer
3681         used elsewhere. This fixes the problem of the back end not
3682         realizing we were clever enough to see that this was
3683         constant.
3684         (Expr_Val): Remove call to Constant_Array_Ref
3685         (Expr_Rep_Val): Remove call to Constant_Array_Ref
3686         Minor reformatting
3687         (Constant_Array_Ref): Deal with string literals (patch
3688         suggested by Zack Weinberg on the gcc list)
3689
3690 2001-03-28  Ed Schonberg <schonber@gnat.com>
3691
3692         * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
3693         Duplicate_Subexpr_Move_Checks.
3694
3695         * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
3696         Duplicate_Subexpr_Move_Checks.
3697
3698         * sem_eval.adb: (Constant_Array_Ref): Verify that constant
3699         value of array exists before retrieving it (it may a private
3700         protected component in a function).
3701
3702 2002-03-28   Geert Bosch <bosch@gnat.com>
3703
3704         * prj-pp.adb : New file.
3705
3706         * prj-pp.ads : New file.
3707
3708 2002-03-28  Andreas Jaeger  <aj@suse.de>
3709
3710         * Makefile.in (stamp-sdefault): Fix path for Makefile.
3711
3712 2002-03-28  Neil Booth  <neil@daikokuya.demon.co.uk>
3713
3714         * misc.c (gnat_expand_expr): Move prototype.
3715
3716 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
3717
3718         * misc.c (insert_default_attributes): Remove.
3719
3720 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
3721
3722         * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
3723         (gnat_init): Don't set hook.
3724         (gnat_expand_expr): Fix prototype.
3725
3726 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
3727
3728         * misc.c (ggc_p): Remove.
3729
3730 2002-03-27  Geert Bosch  <bosch@gnat.com>
3731
3732         * prj-makr.ads, prj-makr.adb : New files.
3733
3734 2002-03-26  Neil Booth  <neil@daikokuya.demon.co.uk>
3735
3736         * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
3737         (lang_mark_tree): Make static, rename.
3738
3739 2002-03-25  Neil Booth  <neil@daikokuya.demon.co.uk>
3740
3741         * misc.c (maybe_build_cleanup): Remove.
3742
3743 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
3744
3745         * gigi.h (yyparse): Remove.
3746
3747 2002-03-23  Florian Weimer  <fw@deneb.enyo.de>
3748
3749         * gnat_rm.texi: Sync with ACT version.
3750           (From Ben Brosgol <brosgol@gnat.com>)
3751
3752 2002-03-20  Neil Booth  <neil@daikokuya.demon.co.uk>
3753
3754         * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
3755         (gnat_init): Remove old hook.
3756
3757 2002-03-17  Neil Booth  <neil@daikokuya.demon.co.uk>
3758
3759         * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
3760         (yyparse): Rename gnat_parse_file.
3761
3762 2002-03-14  Geoffrey Keating  <geoffk@redhat.com>
3763
3764         Delete all lines containing "$Revision:".
3765         * xeinfo.adb: Don't look for revision numbers.
3766         * xnmake.adb: Likewise.
3767         * xsinfo.adb: Likewise.
3768         * xsnames.adb: Likewise.
3769         * xtreeprs.adb: Likewise.
3770
3771 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3772
3773         * misc.c (gnat_tree_code_type, gnat_tree_code_length,
3774         gnat_tree_code_name): Delete.
3775         (tree_code_type, tree_code_length, tree_code_name): Define.
3776         (gnat_init): Don't try to copy into the various tree_code
3777         arrays.
3778
3779 2002-03-11  Richard Henderson  <rth@redhat.com>
3780
3781         * Makefile.in (.NOTPARALLEL): Add fake tag.
3782
3783 2002-03-07  Geert Bosch  <bosch@gnat.com>
3784
3785         * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
3786         s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
3787         switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
3788         switch-m.adb, switch-m.ads : New files.
3789
3790 2002-03-07  Geert Bosch  <bosch@gnat.com>
3791
3792         * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
3793         4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
3794         4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
3795         4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
3796         5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
3797         5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
3798         5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
3799         5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
3800         5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
3801         5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
3802         5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
3803         5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
3804         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
3805         5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
3806         5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
3807         5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
3808         5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
3809         5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
3810         5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
3811         5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
3812         7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
3813         Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
3814         a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
3815         a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
3816         a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
3817         a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
3818         a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
3819         a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
3820         a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
3821         adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
3822         atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
3823         bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
3824         csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
3825         einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
3826         eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
3827         exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
3828         exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
3829         exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
3830         exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
3831         exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
3832         expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
3833         freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
3834         g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
3835         g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
3836         g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
3837         g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
3838         g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
3839         g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
3840         gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
3841         gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
3842         gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
3843         i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
3844         impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
3845         lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
3846         lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
3847         memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
3848         mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
3849         nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
3850         output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
3851         par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
3852         prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
3853         prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
3854         prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
3855         rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
3856         s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
3857         s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
3858         s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
3859         s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
3860         s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
3861         s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
3862         s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
3863         s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
3864         s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
3865         s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
3866         s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
3867         s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
3868         s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
3869         s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
3870         s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
3871         sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
3872         sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
3873         sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
3874         sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
3875         sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
3876         sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
3877         sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
3878         sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
3879         sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
3880         sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
3881         snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
3882         stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
3883         table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
3884         tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
3885         treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
3886         types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
3887         utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
3888         xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
3889
3890         * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
3891         g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
3892         mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
3893         osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
3894
3895         * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
3896         5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
3897
3898         * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
3899         to mdll-fil.ad[bs] and mdll-util.ad[bs]
3900
3901         * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
3902         from mdllfile.ad[bs] and mdlltool.ad[bs]
3903
3904 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3905
3906         * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
3907         lieu of explicit sizeof/sizeof.
3908
3909 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
3910
3911         * misc.c (copy_lang_decl): Remove.
3912
3913 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
3914
3915         * misc.c: Delete traditional-mode-related code copied from the
3916         C front end but not used, or used only to permit the compiler
3917         to link.
3918
3919 2002-02-07  Richard Henderson  <rth@redhat.com>
3920
3921         * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
3922         * adaint.h (__gnat_to_gm_time): Update prototype.
3923
3924 2002-01-30  Richard Henderson  <rth@redhat.com>
3925
3926         * trans.c (tree_transform) [N_Loop_Statement]: Use
3927         expand_exit_loop_top_cond.
3928
3929 2001-12-23  Richard Henderson  <rth@redhat.com>
3930
3931         * utils.c (end_subprog_body): Push GC context around
3932         rest_of_compilation for nested functions.
3933
3934 2001-12-23  Richard Henderson  <rth@redhat.com>
3935
3936         * 5nosinte.ads: Get definition of "int" from Interfaces.C.
3937
3938 2001-12-23  Florian Weimer  <fw@deneb.enyo.de>
3939
3940         * gnat-style.texi (Declarations and Types): Remove ancient style
3941         rule which was mandated by code generation issues.
3942
3943         * gnat-style.texi (header): Add @dircategory, @direntry.
3944         (title page): Remove date.
3945         (general) Add @./@: where approriate, and two spaces after the
3946         full stop at the end of a sentence.  Use @samp markup when
3947         referring concrete lexical entities (keywords, attribute names
3948         etc.), and @syntax for ARM grammar elements. Use @r for English
3949         text in comments.  Use @emph for emphasis.  Change "if-statements"
3950         etc. to "if statements" (without @samp). Break long lines.  Make
3951         casing of section names consistent.
3952         (Identifiers): Use @samp markup for variable names.
3953         (Comments): Use @samp markup for comment characters. Line-end
3954         comments may follow any Ada code, not just statements.  Fix
3955         misspelling of "Integer" as "integer".
3956         (Loop statements): Do not use variable name "I", use "J".
3957         (Subprogram Declarations): Document alignment.
3958         (Subprogram Bodies, Block statements): Document empty line before
3959         "begin".
3960
3961 2001-12-22  Florian Weimer  <fw@deneb.enyo.de>
3962
3963         * make.adb (Add_Switch): Make Generic_Position a procedure.  The
3964         function approach did not work well because of a side effect (the
3965         function call could reallocate the table which was being indexed
3966         using its result). Fixes ada/4851.
3967
3968 2001-12-19  Robert Dewar <dewar@gnat.com>
3969
3970         * bindgen.adb: Minor reformatting
3971
3972         * cstand.adb: Minor reformatting
3973
3974         * fmap.adb: Minor reformatting
3975         Change name from Add for Add_To_File_Map (Add is much too generic)
3976         Change Path_Name_Of to Mapped_Path_Name
3977         Change File_Name_Of to Mapped_File_Name
3978         Fix copyright dates in header
3979
3980         * fmap.ads:
3981         Change name from Add for Add_To_File_Map (Add is much too generic)
3982         Change Path_Name_Of to Mapped_Path_Name
3983         Change File_Name_Of to Mapped_File_Name
3984         Fix copyright dates in header
3985
3986         * fname-uf.adb: Minor reformatting.  New names of stuff in Fmap.
3987         Add use clause for Fmap.
3988
3989         * make.adb: Minor reformatting
3990
3991         * osint.adb: Minor reformatting.  Change of names in Fmap.
3992         Add use clause for Fmap.
3993
3994         * prj-env.adb: Minor reformatting
3995
3996         * prj-env.ads: Minor reformatting
3997
3998         * switch.adb: Minor reformatting.  Do proper raise of Bad_Switch if
3999         error found (there were odd exceptions to this general rule in
4000         -gnatec/-gnatem processing)
4001
4002 2001-12-19  Olivier Hainque <hainque@gnat.com>
4003
4004         * raise.c (__gnat_eh_personality): Exception handling personality
4005         routine for Ada.  Still in rough state, inspired from the C++ version
4006         and still containing a bunch of debugging artifacts.
4007         (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
4008         inspired from the C++ library.
4009
4010         * raise.c (eh_personality): Add comments. Part of work for the GCC 3
4011         exception handling integration.
4012
4013 2001-12-19  Arnaud Charlet <charlet@gnat.com>
4014
4015         * Makefile.in: Remove use of 5smastop.adb which is obsolete.
4016         (HIE_SOURCES): Add s-secsta.ad{s,b}.
4017         (HIE_OBJS): Add s-fat*.o
4018         (RAVEN_SOURCES): Remove files that are no longer required. Add
4019         interrupt handling files.
4020         (RAVEN_MOD): Removed, no longer needed.
4021
4022 2001-12-19  Robert Dewar <dewar@gnat.com>
4023
4024         * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
4025         Add 2001 to copyright date
4026
4027         * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
4028         need to force universal inlining for these cases.
4029
4030 2001-12-19  Arnaud Charlet <charlet@gnat.com>
4031
4032         * s-taprob.adb: Minor clean ups so that this unit can be used in
4033         Ravenscar HI.
4034
4035         * exp_ch7.adb: Allow use of secondary stack in HI mode.
4036         Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
4037
4038 2001-12-19  Vincent Celier <celier@gnat.com>
4039
4040         * prj-tree.ads (Project_Node_Record): Add comments for components
4041         Pkg_Id and Case_Insensitive.
4042
4043 2001-12-19  Pascal Obry <obry@gnat.com>
4044
4045         * g-socket.adb: Minor reformatting. Found while reading code.
4046
4047 2001-12-19  Robert Dewar <dewar@gnat.com>
4048
4049         * prj-tree.ads: Minor reformatting
4050
4051 2001-12-20  Joseph S. Myers  <jsm28@cam.ac.uk>
4052
4053         * config-lang.in (diff_excludes): Remove.
4054
4055 2001-12-17  Ed Schonberg <schonber@gnat.com>
4056
4057         * sem_res.adb (Resolve_Selected_Component): do not generate a
4058         discriminant check if the selected component is a component of
4059         the argument of an initialization procedure.
4060
4061         * trans.c (tree_transform, case of arithmetic operators): If result
4062         type is private, the gnu_type is the base type of the full view,
4063         given that the full view itself may be a subtype.
4064
4065 2001-12-17  Robert Dewar <dewar@gnat.com>
4066
4067         * sem_res.adb: Minor reformatting
4068
4069         * trans.c (tree_transform, case N_Real_Literal): Add missing third
4070         parameter in call to Machine (unknown horrible effects from this
4071         omission).
4072
4073         * urealp.h: Add definition of Round_Even for call to Machine
4074         Add third parameter for Machine
4075
4076 2001-12-17  Ed Schonberg <schonber@gnat.com>
4077
4078         * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
4079         predefined units in No_Run_Time mode.
4080
4081 2001-12-17  Richard Kenner <kenner@gnat.com>
4082
4083         * misc.c (insn-codes.h): Now include.
4084
4085 2001-12-17  Olivier Hainque <hainque@gnat.com>
4086
4087         * a-except.adb: Preparation work for future integration of the GCC 3
4088         exception handling mechanism
4089         (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
4090         to factorize previous code sequences and make them externally callable,
4091         e.g. for the Ada personality routine when the GCC 3 mechanism is used.
4092         (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
4093         Use the new notification routines.
4094
4095 2001-12-17  Emmanuel Briot <briot@gnat.com>
4096
4097         * prj-tree.ads (First_Choice_Of): Document the when others case
4098
4099 2001-12-17  Arnaud Charlet <charlet@gnat.com>
4100
4101         * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
4102         HI-E mode, in order to support Ravenscar profile properly.
4103
4104         * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
4105         mode on 32 bits targets.
4106
4107 2001-12-17  Vincent Celier <celier@gnat.com>
4108
4109         * fmap.adb: Initial version.
4110
4111         * fmap.ads: Initial version.
4112
4113         * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
4114         If search is successfully done, add to mapping.
4115
4116         * frontend.adb: Initialize the mapping if a -gnatem switch was used.
4117
4118         * make.adb:
4119         (Gnatmake): Add new local variable Mapping_File_Name.
4120          Create mapping file when using project file(s).
4121          Delete mapping file before exiting.
4122
4123         * opt.ads (Mapping_File_Name): New variable
4124
4125         * osint.adb (Find_File): Use path name found in mapping, if any.
4126
4127         * prj-env.adb (Create_Mapping_File): New procedure
4128
4129         * prj-env.ads (Create_Mapping_File): New procedure.
4130
4131         * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
4132         (Mapping_File)
4133
4134         * usage.adb: Add entry for new switch -gnatem.
4135
4136         * Makefile.in: Add dependencies for fmap.o.
4137
4138 2001-12-17  Ed Schonberg <schonber@gnat.com>
4139
4140         * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
4141         is a package instantiation rewritten as a package body.
4142         (Install_Withed_Unit): Undo previous change, now redundant.
4143
4144 2001-12-17  Gary Dismukes <dismukes@gnat.com>
4145
4146         * layout.adb:
4147         (Compute_Length): Move conversion to Unsigned to callers.
4148         (Get_Max_Size): Convert Len expression to Unsigned after calls to
4149         Compute_Length and Determine_Range.
4150         (Layout_Array_Type): Convert Len expression to Unsigned after calls to
4151         Compute_Length and Determine_Range.
4152         Above changes fix problem with length computation for supernull arrays
4153         where Max (Len, 0) wasn't getting applied due to the Unsigned
4154         conversion used by Compute_Length.
4155
4156 2001-12-17  Arnaud Charlet <charlet@gnat.com>
4157
4158         * rtsfind.ads:
4159         (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
4160          System.Secondary_Stack.
4161         (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
4162          in HI-E mode.
4163         Remove unused entity RE_Exception_Data.
4164
4165         * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
4166
4167         * rident.ads (No_Secondary_Stack): New restriction.
4168
4169 2001-12-17  Joel Brobecker <brobecke@gnat.com>
4170
4171         * gnat_rm.texi: Fix minor typos. Found while reading the section
4172         regarding "Bit_Order Clauses" that was sent to a customer.
4173         Very interesting documentation!
4174
4175 2001-12-17  Robert Dewar <dewar@gnat.com>
4176
4177         * sem_case.adb (Choice_Image): Avoid creating improper character
4178         literal names by using the routine Set_Character_Literal_Name. This
4179         fixes bombs in certain error message cases.
4180
4181 2001-12-17  Arnaud Charlet <charlet@gnat.com>
4182
4183         * a-reatim.adb: Minor reformatting.
4184
4185 2001-12-17  Ed Schonberg <schonber@gnat.com>
4186
4187         * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
4188         case where the formal is an extension of another formal in the current
4189         unit or in a parent generic unit.
4190
4191 2001-12-17  Arnaud Charlet <charlet@gnat.com>
4192
4193         * s-tposen.adb: Update comments.  Minor reformatting.
4194         Minor code clean up.
4195
4196         * s-tarest.adb: Update comments.  Minor code reorganization.
4197
4198 2001-12-17  Gary Dismukes <dismukes@gnat.com>
4199
4200         * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
4201         when Java_VM.
4202
4203 2001-12-17  Robert Dewar <dewar@gnat.com>
4204
4205         * exp_attr.adb: Minor reformatting
4206
4207 2001-12-17  Ed Schonberg <schonber@gnat.com>
4208
4209         * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
4210         derivations nested within a child unit: verify that the parent
4211         type is declared in an outer scope.
4212
4213 2001-12-17  Robert Dewar <dewar@gnat.com>
4214
4215         * sem_ch12.adb: Minor reformatting
4216
4217 2001-12-17  Ed Schonberg <schonber@gnat.com>
4218
4219         * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
4220         warning if current unit is a predefined one, from which bodies may
4221         have been deleted.
4222
4223 2001-12-17  Robert Dewar <dewar@gnat.com>
4224
4225         * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
4226         Fix header format. Add 2001 to copyright date.
4227
4228         * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
4229         which caused CE during compilation if checks were enabled.
4230
4231 2001-12-17  Vincent Celier <celier@gnat.com>
4232
4233         * make.adb:
4234         (Switches_Of): New function
4235         (Test_If_Relative_Path): New procedure
4236         (Add_Switches): Use new function Switches_Of
4237         (Collect_Arguments_And_Compile): Use new function Switches_Of.
4238         When using a project file, test if there are any relative
4239         search path. Fail if there are any.
4240         (Gnatmake): Only add switches for the primary directory when not using
4241         a project file. When using a project file, change directory to the
4242         object directory of the main project file. When using a project file,
4243         test if there are any relative search path. Fail if there are any.
4244         When using a project file, fail if specified executable is relative
4245         path with directory information, and prepend executable, if not
4246         specified as an absolute path, with the exec directory.  Make sure
4247         that only one -o switch is transmitted to the linker.
4248
4249         * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
4250
4251         * prj-nmsc.adb:
4252         (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
4253         when using a non standard naming scheme.
4254         (Check_Ada_Naming_Scheme): Make sure that error messages
4255         do not raise exceptions.
4256         (Is_Illegal_Append): Return True if there is no dot in the suffix.
4257         (Language_Independent_Check): Check the exec directory.
4258
4259         * prj.adb (Project_Empty): Add new component Exec_Directory
4260
4261         * prj.ads:
4262         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
4263         (Project_Data): Add component Exec_Directory
4264
4265         * snames.adb: Updated to match snames.ads revision 1.215
4266
4267         * snames.ads: Added Exec_Dir
4268
4269 2001-12-17  Robert Dewar <dewar@gnat.com>
4270
4271         * make.adb: Minor reformatting
4272
4273         * prj-nmsc.adb: Minor reformatting
4274
4275         * snames.adb: Updated to match snames.ads
4276
4277         * snames.ads: Alphebetize entries for project file
4278
4279 2001-12-17  Ed Schonberg <schonber@gnat.com>
4280
4281         * trans.c (process_freeze_entity): Do nothing if the entity is a
4282         subprogram that was already elaborated.
4283
4284 2001-12-17  Richard Kenner <kenner@gnat.com>
4285
4286         * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
4287         and Esize if object is referenced via pointer.
4288
4289 2001-12-17  Ed Schonberg <schonber@gnat.com>
4290
4291         * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
4292         is discrete before analyzing choices.
4293
4294 2001-12-17  Joel Brobecker <brobecke@gnat.com>
4295
4296         * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
4297         containing the name of the Ada Main Program. This string is mainly
4298         intended for the debugger.
4299         (Gen_Output_File_C): Do the equivalent change when generating a C file.
4300
4301 2001-12-17  Robert Dewar <dewar@gnat.com>
4302
4303         * ali.adb: Set new Dummy_Entry field in dependency entry
4304
4305         * ali.ads: Add Dummy_Entry field to source dependency table
4306
4307         * bcheck.adb (Check_Consistency): Ignore dummy D lines
4308
4309         * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
4310
4311         * lib-writ.ads: Document dummy D lines for missing files.
4312
4313         * types.ads: (Dummy_Time_Stamp): New value for non-existant files
4314
4315 2001-12-17  Robert Dewar <dewar@gnat.com>
4316
4317         * ali.adb: Type reference does not reset current file.
4318
4319         * ali.adb: Recognize and scan renaming reference
4320
4321         * ali.ads: Add spec for storing renaming references.
4322
4323         * lib-xref.ads: Add documentation for handling of renaming references
4324
4325         * lib-xref.adb: Implement output of renaming reference.
4326
4327         * checks.adb:
4328         (Determine_Range): Document local variables
4329         (Determine_Range): Make sure Hbound is initialized. It looks as though
4330          there could be a real problem here with an uninitialized reference
4331          to Hbound, but no actual example of failure has been found.
4332
4333 2001-12-17  Laurent Pautet <pautet@gnat.com>
4334
4335         * g-socket.ads:
4336         Fix comment of Shutdown_Socket and Close_Socket. These functions
4337         should not fail silently because if they are called twice, this
4338         probably means that there is a race condition in the user program.
4339         Anyway, this behaviour is consistent with the rest of this unit.
4340         When an error occurs, an exception is raised with the error message
4341         as exception message.
4342
4343 2001-12-17  Robert Dewar <dewar@gnat.com>
4344
4345         * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
4346         that it happens before modification of Sloc values for -gnatD.
4347
4348         * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
4349         so that it happens before modification of Sloc values for -gnatD.
4350
4351         * switch.adb: Minor reformatting
4352
4353 2001-12-15  Richard Henderson  <rth@redhat.com>
4354
4355         * sem_ch7.adb: Wrap comment.
4356
4357 2001-12-16  Joseph S. Myers  <jsm28@cam.ac.uk>
4358
4359         * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
4360         5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
4361         5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
4362         5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
4363         5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
4364         7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
4365         a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
4366         a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
4367         cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
4368         exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
4369         exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
4370         g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
4371         gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
4372         make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
4373         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
4374         repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
4375         s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
4376         s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
4377         s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
4378         s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
4379         sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
4380         sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
4381         sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
4382         sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
4383         spelling errors.
4384
4385 2001-12-14  Vincent Celier <celier@gnat.com>
4386
4387         * osint.adb(Create_Debug_File): When an object file is specified,
4388         put the .dg file in the same directory as the object file.
4389
4390 2001-12-14  Robert Dewar <dewar@gnat.com>
4391
4392         * osint.adb: Minor reformatting
4393
4394         * lib-xref.adb (Output_Instantiation): New procedure to generate
4395         instantiation references.
4396
4397         * lib-xref.ads: Add documentation of handling of generic references.
4398
4399         * ali.adb (Read_Instantiation_Ref): New procedure to read
4400         instantiation references
4401
4402         * ali.ads: Add spec for storing instantiation references
4403
4404         * bindusg.adb: Minor reformatting
4405
4406         * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4407
4408         * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4409
4410         * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4411
4412         * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
4413
4414         * csets.ads:
4415         Fix header format
4416         Add 2001 to copyright date
4417         Add entry for Latin-5 (Cyrillic ISO-8859-5)
4418
4419 2001-12-14  Matt Gingell <gingell@gnat.com>
4420
4421         * adaint.c: mktemp is a macro on Lynx and can not be used as an
4422         expression.
4423
4424 2001-12-14  Richard Kenner <kenner@gnat.com>
4425
4426         * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
4427         if operand is CONSTRUCTOR.
4428
4429 2001-12-14  Ed Schonberg <schonber@gnat.com>
4430
4431         * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
4432         before emiting check on right-hand side, so that exception information
4433         is correct.
4434
4435 2001-12-14  Richard Kenner <kenner@gnat.com>
4436
4437         * utils.c (create_var_decl): Throw away initializing expression
4438         if just annotating types and non-constant.
4439
4440 2001-12-14  Vincent Celier <celier@gnat.com>
4441
4442         * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
4443         Default_Ada_...
4444
4445         * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
4446         Remove functions.
4447         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
4448
4449         * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
4450         Remove functions.
4451         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
4452
4453 2001-12-16  Joseph S. Myers  <jsm28@cam.ac.uk>
4454
4455         * ChangeLog: Remove piece of diff output.
4456
4457 2001-12-14  Geert Bosch <bosch@gnat.com>
4458
4459         * config-lang.in: Update copyright notice
4460
4461         * layout.adb: Remove commented out code.
4462
4463         * mdllfile.ads: Update copyright notice. Fix header format.
4464
4465         * sem_case.ads: Likewise.
4466
4467         * sem_ch3.adb: Minor reformatting.
4468
4469 2001-12-12  Geert Bosch <bosch@gnat.com>
4470
4471         * freeze.ads: Update copyright date.
4472
4473         * g-comlin.ads: Minor reformatting.
4474
4475         * gnat-style.texi: Fix typo.
4476
4477 2001-12-12  Geert Bosch <bosch@gnat.com>
4478
4479         *  einfo.h: Regenerate.
4480
4481 2001-12-12  Ed Schonberg <schonber@gnat.com>
4482
4483         * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
4484         on known node types, rather than untyped fields. Further cleanups.
4485
4486 2001-12-12  Robert Dewar <dewar@gnat.com>
4487
4488         * sem_ch12.adb:
4489         (Save_Entity_Descendant): Minor comment update.
4490         (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
4491          of an N_Attribute_Reference node. As per note below, this does not
4492         eliminate need for Associated_Node in attribute ref nodes.
4493         (Associated_Node): Documentation explicitly mentions attribute
4494         reference nodes, since this field is used in such nodes.
4495
4496         * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
4497
4498 2001-12-12  Robert Dewar <dewar@gnat.com>
4499
4500         * s-stalib.adb: Add more comments on with statements being needed
4501
4502         * par-ch12.adb: Minor reformatting
4503
4504         * prj-dect.ads: Fix copyright header
4505
4506         * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
4507         inputs fit in 32 bits, but the result still overflows.
4508
4509         * s-fatgen.ads: Minor comment improvement
4510
4511 2001-12-12  Ed Schonberg <schonber@gnat.com>
4512
4513         * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
4514         formal derived type, look for an inherited component from the full
4515         view of the parent, if any.
4516
4517 2001-12-12  Robert Dewar <dewar@gnat.com>
4518
4519         * checks.ads (Apply_Alignment_Check): New procedure.
4520
4521         * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
4522         ensure that the alignment of objects with address clauses is
4523         appropriate, and raise PE if not.
4524
4525         * exp_util.ads (Must_Be_Aligned): Removed, replaced by
4526         Exp_Pakd.Known_Aligned_Enough
4527
4528         * mdllfile.ads: Minor reformatting
4529
4530         * mlib-fil.ads: Minor reformatting
4531
4532 2001-12-12  Ed Schonberg <schonber@gnat.com>
4533
4534         * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
4535         fix to any component reference if enclosing record has non-standard
4536         representation.
4537
4538 2001-12-12  Vincent Celier <celier@gnat.com>
4539
4540         * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
4541         Iteration
4542
4543 2001-12-12  Ed Schonberg <schonber@gnat.com>
4544
4545         * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
4546         sem_attr.
4547
4548 2001-12-12  Robert Dewar <dewar@gnat.com>
4549
4550         * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
4551
4552 2001-12-12  Emmanuel Briot <briot@gnat.com>
4553
4554         * g-regexp.adb: Remove all debug code, since it isn't required anymore,
4555         and it adds dependencies to system.io.
4556
4557 2001-12-12  Pascal Obry <obry@gnat.com>
4558
4559         * g-dirope.adb (Expand_Path.Var): Correctly detect end of
4560         variable name.
4561
4562 2001-12-11  Ed Schonberg <schonber@gnat.com>
4563
4564         * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
4565         that is the parent of other generics, the instance body replaces the
4566         instance node.  Retrieve the instance of the spec, which is the one
4567         that is visible in clients and within the body.
4568
4569 2001-12-11  Vincent Celier <celier@gnat.com>
4570
4571         * gnatmain.adb: Initial version.
4572
4573         * gnatmain.ads: Initial version.
4574
4575         * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
4576
4577         * snames.adb: Updated to match snames.ads.
4578
4579         * snames.ads: Added Gnatstub.
4580
4581 2001-12-11  Vincent Celier <celier@gnat.com>
4582
4583         * prj-attr.adb (Initialization_Data): Change name from
4584         Initialisation_Data.
4585
4586 2001-12-11  Emmanuel Briot <briot@gnat.com>
4587
4588         * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
4589         + and * applied to backslashed expressions like \r.
4590
4591 2001-12-11  Vasiliy Fofanov <fofanov@gnat.com>
4592
4593         * g-os_lib.ads: String_List type added, Argument_List type is now
4594         subtype of String_List.
4595
4596 2001-12-11  Robert Dewar <dewar@gnat.com>
4597
4598         * g-os_lib.ads: Change copyright to FSF
4599         Add comments for String_List type
4600
4601 2001-12-11  Vincent Celier <celier@gnat.com>
4602
4603         * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
4604         string to the buffer).
4605
4606 2001-12-11  Ed Schonberg <schonber@gnat.com>
4607
4608         * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
4609         sem_attr.
4610
4611         * sem_attr.adb: Simplify previous fix for Address.
4612         (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
4613         to avoid anomalies where the bound of the type appears to raise
4614         constraint error.
4615
4616 2001-12-11  Robert Dewar <dewar@gnat.com>
4617
4618         * lib-xref.adb (Output_Refs): Make sure pointers are always properly
4619         handled.
4620
4621 2001-12-11  Ed Schonberg <schonber@gnat.com>
4622
4623         * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
4624         renamed unit before checking for recursive instantiations.
4625
4626 2001-12-11  Emmanuel Briot <briot@gnat.com>
4627
4628         * prj.ads: Add comments for some of the fields.
4629
4630 2001-12-11  Robert Dewar <dewar@gnat.com>
4631
4632         * lib-xref.adb (Output_Refs): Don't output type references outside
4633         the main unit if they are not otherwise referenced.
4634
4635 2001-12-11  Ed Schonberg <schonber@gnat.com>
4636
4637         * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
4638         code and diagnose additional illegal uses
4639
4640         * sem_util.adb (Is_Object_Reference): An indexed component is an
4641         object only if the prefix is.
4642
4643 2001-12-11  Vincent Celier <celier@gnat.com>
4644
4645         * g-diopit.adb: Initial version.
4646
4647         * g-diopit.ads: Initial version.
4648
4649         * g-dirope.adb:
4650         (Expand_Path): Avoid use of Unbounded_String
4651         (Find, Wildcard_Iterator): Moved to child package Iteration
4652
4653         * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
4654
4655 2001-12-11  Robert Dewar <dewar@gnat.com>
4656
4657         * sem_attr.adb: Minor reformatting
4658
4659 2001-12-11  Ed Schonberg <schonber@gnat.com>
4660
4661         * sem_ch3.adb: Clarify some ???.
4662
4663 2001-12-11  Robert Dewar <dewar@gnat.com>
4664
4665         * exp_util.adb (Must_Be_Aligned): Removed, replaced by
4666         Exp_Pakd.Known_Aligned_Enough
4667
4668         * sem_ch13.adb (Check_Address_Alignment): Removed, extended
4669         version is moved to Exp_Ch13.
4670
4671 2001-12-11  Robert Dewar <dewar@gnat.com>
4672
4673         * einfo.ads: Minor reformatting
4674
4675         * exp_ch5.adb: Add comment for previous.change
4676
4677         * ali.adb: New interface for extended typeref stuff.
4678
4679         * ali.ads: New interface for typeref stuff.
4680
4681         * checks.adb (Apply_Alignment_Check): New procedure.
4682
4683         * debug.adb: Add -gnatdM for modified ALI output
4684
4685         * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
4686
4687         * lib-xref.adb: Extend generation of <..> notation to cover
4688         subtype/object types. Note that this is a complete rewrite,
4689         getting rid of the very nasty quadratic algorithm previously
4690         used for derived type output.
4691
4692         * lib-xref.ads: Extend description of <..> notation to cover
4693         subtype/object types. Uses {..} for these other cases.
4694         Also use (..) for pointer types.
4695
4696         * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
4697
4698         * exp_pakd.adb: Minor reformatting.  Note that prevous RH should say:
4699         (Known_Aligned_Enough): Replaces Must_Be_Aligned.
4700
4701 2001-12-11  Vincent Celier <celier@gnat.com>
4702
4703         * gnatcmd.adb:
4704         Changed /COMPILE_ONLY to /ACTIONS=COMPILE
4705         Changed /BIND_ONLY to /ACTIONS=BIND
4706         Changed /LINK_ONLY to /ACTIONS=LINK
4707
4708 2001-12-11  Ed Schonberg  <schonber@gnat.com>
4709
4710         * sem_ch8.adb (Find_Selected_Component): improved search for a
4711         candidate package in case of error.
4712
4713         * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
4714         chain back on scope stack before reinstalling use clauses.
4715
4716         * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
4717         is enabled, do not kill the code for the condition, to preserve
4718         warning.
4719
4720 2001-12-11  Robert Dewar <dewar@gnat.com>
4721
4722         * checks.adb (Insert_Valid_Check): Apply validity check to expression
4723         of conversion, not to result of conversion.
4724
4725 2001-12-11  Ed Schonberg <schonber@gnat.com>
4726
4727         * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
4728         before freezing parent. If the declarations are mutually recursive,
4729         an access to the current record type may be frozen before the
4730         derivation is complete.
4731
4732 2001-12-05  Vincent Celier <celier@gnat.com>
4733
4734         * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
4735         -c /COMPILE_ONLY, -l /LINK_ONLY
4736
4737         * opt.ads:
4738         (Bind_Only): New Flag
4739         (Link_Only): New flag
4740
4741         * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
4742         and -l (Link_Only)
4743
4744         * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
4745
4746         * make.adb:
4747         (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
4748         (Gnatmake): Set the step flags. Only perform a step if the
4749         corresponding step flag is True.
4750         (Scan_Make_Arg): Reset the bind and link step flags when -u
4751         or -gnatc has been specified.
4752
4753 2001-12-05  Ed Schonberg <schonber@gnat.com>
4754
4755         * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
4756         get bounds from right operand.
4757
4758         * sem_eval.adb: Minor reformatting
4759
4760         * exp_util.adb (Make_Literal_Range): use bound of literal rather
4761         than Index'First, its lower bound may be different from 1.
4762
4763         * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
4764         and C48009J
4765
4766 2001-12-05  Vincent Celier <celier@gnat.com>
4767
4768         * prj-nmsc.adb Minor reformatting
4769
4770         * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
4771         set and libraries are not supported.
4772
4773 2001-12-05  Ed Schonberg <schonber@gnat.com>
4774
4775         * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
4776         private view explicitly, so the back-end can treat as a global
4777         when appropriate.
4778
4779 2001-12-05  Ed Schonberg <schonber@gnat.com>
4780
4781         * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
4782          unit, always replace instance node with new body, for ASIS use.
4783
4784 2001-12-05  Vincent Celier <celier@gnat.com>
4785
4786         * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
4787         libraries are not supported and both attributes Library_Name and
4788         Library_Dir are specified.
4789
4790         * prj-proc.adb (Expression): Set location of Result to location of
4791         first term.
4792
4793         * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
4794         (prj-nmsc is now importing MLib.Tgt)
4795
4796         * prj-proc.adb: Put the change indicated above that was forgotten.
4797
4798 2001-12-05  Robert Dewar <dewar@gnat.com>
4799
4800         * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
4801
4802 2001-12-05  Ed Schonberg <schonber@gnat.com>
4803
4804         * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
4805         constraint, introduce explicit subtype declaration and derive from it.
4806
4807         * sem_ch3.adb: Minor reformatting
4808
4809 2001-12-05  Robert Dewar <dewar@gnat.com>
4810
4811         * checks.adb (Determine_Range): Increase cache size for checks.
4812         Minor reformatting
4813
4814         * exp_ch6.adb: Minor reformatting
4815         (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
4816         a parameter whose root type is System.Address, since treating such
4817         subprograms as pure in the code generator is almost surely a mistake
4818         that will lead to unexpected results.
4819
4820         * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
4821         change handling of conversions.
4822
4823         * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
4824
4825 2001-12-05  Ed Schonberg <schonber@gnat.com>
4826
4827         * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
4828         aggregate with static wrong size, attach generated Raise node to
4829         declaration.
4830
4831 2001-12-05  Robert Dewar <dewar@gnat.com>
4832
4833         * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
4834         Fixes compilation abandoned bomb in B24009B.
4835
4836 2001-12-05  Ed Schonberg <schonber@gnat.com>
4837
4838         * sem_ch12.adb:
4839         Document use of Associated_Node on Selected_Components.
4840         (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
4841         to clarify use of untyped descendant fields.
4842
4843 2001-12-05  Robert Dewar <dewar@gnat.com>
4844
4845         * prj-dect.ads: Add ??? comment
4846         Add 2001 to copyright notice (was not done in after all)
4847
4848         * prj-part.adb: Minor reformatting. Reword one awkward error message.
4849
4850         * prj.ads: Minor reformatting throughout, and add some ??? comments
4851
4852         * snames.ads: Minor reformatting
4853
4854 2001-12-05  Geert Bosch <bosch@gnat.com>
4855
4856         * snames.adb: Autoupdate
4857
4858 2001-12-05  Vincent Celier <celier@gnat.com>
4859
4860         * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
4861
4862         * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
4863
4864         * prj-env.adb: Minor comment changes (modifying -> extends).
4865
4866         * prj-nmsc.adb: Minor comment changes (modifying -> extends).
4867
4868         * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
4869         Tok_Extends.
4870
4871         * prj.adb (Initialize): Change Modifying to Extends.
4872
4873         * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
4874
4875         * prj.ads: Minor comment change (Modifying -> extending).
4876
4877         * snames.ads: Change modifying to extends.
4878
4879 2001-12-05  Robert Dewar <dewar@gnat.com>
4880
4881         * sem_warn.adb: Remove stuff for conditionals, we are not going to
4882         do this after all.
4883
4884         * sem_warn.ads: Remove stuff for conditionals, we are not going to
4885         do this after all.  Add 2001 to copyright notice
4886
4887 2001-12-04  Geert Bosch <bosch@gnat.com>
4888
4889         *  einfo.h, sinfo.h, treeprs.ads: Regenerate.
4890
4891 2001-12-04  Robert Dewar <dewar@gnat.com>
4892
4893         * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
4894         location if we already have errors. Stops some cases of cascaded
4895         errors.
4896
4897         * errout.adb: Improve comment.
4898
4899 2001-12-04  Robert Dewar <dewar@gnat.com>
4900
4901         * sem_ch12.adb:
4902         (Analyze_Formal_Type_Definition): Defend against Error.
4903         (Analyze_Formal_Subprogram): Defend against Error.
4904
4905         * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
4906         remove following semicolon if present. Removes cascaded error.
4907
4908 2001-12-04  Douglas B. Rupp <rupp@gnat.com>
4909
4910         * bindgen.adb:
4911         (Gen_Exception_Table_Ada): Write "begin" and then return if Num
4912          exceptions equals 0.
4913         (Gen_Exception_Table_C): Return if Num exceptions equals 0.
4914         Fixes PIWG E tests (which have to be run with -gnatL).
4915
4916 2001-12-04  Robert Dewar <dewar@gnat.com>
4917
4918         * einfo.ads: Minor reformatting
4919
4920 2001-12-04  Ed Schonberg <schonber@gnat.com>
4921
4922         * einfo.ads: Block_Node points to the identifier of the block, not to
4923         the block node itself, to preserve the link when the block is
4924         rewritten, e.g. within an if-statement with a static condition.
4925
4926         * inline.adb (Cleanup_Scopes): recover block statement from block
4927         entity using new meaning of Block_Node.
4928
4929         * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
4930         identifier of block node, rather than to node itself.
4931
4932 2001-12-04  Gary Dismukes <dismukes@gnat.com>
4933
4934         * layout.adb:
4935         (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
4936         (Discrimify): Go back to setting the Etypes of the selected component
4937         because the Vname component does not exist at this point and will
4938         fail name resolution. Also set Analyzed.
4939         Remove with and use of Sem_Res.
4940
4941 2001-12-04  Arnaud Charlet <charlet@gnat.com>
4942
4943         * Makefile.in: (HIE_SOURCES): add s-fat*.
4944
4945 2001-12-04  Robert Dewar <dewar@gnat.com>
4946
4947         * sem_attr.adb:
4948         (Compile_Time_Known_Attribute): New procedure.
4949         (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
4950          proper range check.
4951
4952 2001-12-04  Ed Schonberg <schonber@gnat.com>
4953
4954         * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
4955         processing discriminants to diagnose illegal default values.
4956
4957 2001-12-04  Ed Schonberg <schonber@gnat.com>
4958
4959         * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
4960         access discriminant within a type extension that constrains its
4961         parent discriminants.
4962
4963 2001-12-04  Ed Schonberg <schonber@gnat.com>
4964
4965         * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
4966         is malformed, use instance of Any_Id to allow analysis to proceed.
4967
4968         * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
4969         type definition is illegal.
4970         (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
4971         misplaced.
4972
4973 2001-12-04  Ed Schonberg <schonber@gnat.com>
4974
4975         * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
4976         constants.
4977
4978 2001-12-04  Robert Dewar <dewar@gnat.com>
4979
4980         * errout.adb: Minor reformatting
4981
4982 2001-12-04  Robert Dewar <dewar@gnat.com>
4983
4984         * exp_util.adb: Minor reformatting from last change
4985
4986         * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
4987         which is a rewriting of an expression, traverse the original
4988         expression to remove warnings that may have been posted on it.
4989
4990 2001-12-04  Ed Schonberg <schonber@gnat.com>
4991
4992         * exp_util.adb (Must_Be_Aligned): Return false for a component of a
4993         record that has other packed components.
4994
4995 2001-12-04  Douglass B. Rupp <rupp@gnat.com>
4996
4997         * adaint.c: Minor cleanups.
4998
4999 2001-12-04  Douglass B. Rupp <rupp@gnat.com>
5000
5001         * adaint.c: Do not use utime.h on vxworks.
5002
5003 2001-12-04  Arnaud Charlet <charlet@gnat.com>
5004
5005         * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
5006         more confusion than it solves.
5007
5008 2001-12-04  Geert bosch <bosch@gnat.com>
5009
5010         * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
5011
5012 2001-12-04  Geert Bosch  <bosch@gnat.com>
5013
5014         * Makefile.in (update-sources): New target.
5015         For use by gcc_release script.
5016
5017 2001-12-04  Ed Schonberg <schonber@gnat.com>
5018
5019         * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
5020         a configuration pragma, it is now legal wherever a pragma can appear.
5021
5022 2001-12-04  Zack Weinberg  <zack@codesourcery.com>
5023
5024         * Makefile.in: Don't set ALL.  Delete @cross_defines@,
5025         @cross_overrides@, @build_overrides@ stanzas.  INTERNAL_CFLAGS
5026         is now @CROSS@ -DIN_GCC; update comment.
5027
5028 2001-12-04  Robert Dewar <dewar@gnat.com>
5029
5030         * einfo.adb (Has_Pragma_Pure_Function): New flag.
5031         Fix problem that stopped ceinfo from working
5032
5033         * einfo.ads (Has_Pragma_Pure_Function): New flag.
5034
5035         * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
5036
5037 2001-12-04  Douglas B. Rupp <rupp@gnat.com>
5038
5039         * gnatchop.adb:
5040         (File_Time_Stamp): New procedure.
5041         (Preserve_Mode): New boolean.
5042         (Write_Unit): Pass time stamp.
5043         Implement -p switch (preserve time stamps).
5044
5045         * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
5046
5047         * gnatchop.adb: Do usage info for -p switch
5048
5049         * adaint.h (__gnat_set_file_time_name): New function
5050
5051         * adaint.c (__gnat_set_file_time_name): Implement
5052
5053         * adaint.h: Fix typo
5054
5055 2001-12-03  Robert Dewar <dewar@gnat.com>
5056
5057         * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
5058         have Associated_Node.
5059
5060 2001-12-03  Robert Dewar <dewar@gnat.com>
5061
5062         * prj-proc.adb: Minor reformatting
5063
5064         * make.adb: Minor reformatting
5065
5066 2001-12-03  Geert Bosch <bosch@gnat.com>
5067
5068         * make.adb: Minor reformatting.
5069
5070 2001-12-03 Robert Dewar  <dewar@gnat.com>
5071
5072         * sem_ch12.adb: Minor reformatting
5073
5074 2001-12-03  Ed Schonberg <schonber@gnat.com>
5075
5076         * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
5077         push Standard on the stack before analyzing the instance body,
5078         in order to have a clean visibility environment.
5079
5080         * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
5081
5082 2001-12-03  Ed Schonberg <schonber@gnat.com>
5083
5084         * sem_ch12.adb (Instantiate_Package_Body): Protect against double
5085         instantiation of a body that contains an inlined body.
5086
5087 2001-12-03  Ed Schonberg <schonber@gnat.com>
5088
5089         * sem_ch12.adb:
5090         (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
5091         to prevent freezing within formal packages.
5092         (Freeze_Subprogram_Body): If body comes from another instance that
5093         appeared before its own body, place freeze node at end of current
5094         declarative part, to prevent a back-end crash.
5095         (Inline_Instance_Body): Handle properly a package instance within
5096         a subprogram instance that is a child unit.
5097
5098 2001-12-01  Graham Stott  <grahams@redhat.com>
5099
5100         * Makefile.in (misc.o): Add missing $(srcdir) prefix
5101         and add optabs.h dependency.
5102
5103         * misc.c: Include optabs.h
5104         (gnat_tree_code_type): Make static and const.
5105         (gnat_tree_code_length): Likewise.
5106         (gnat_tree_code_name): Likewise.
5107         (update_setjmp_buf): Obtain operands mode from insn_data.
5108
5109 2001-11-29  Richard Henderson  <rth@redhat.com>
5110
5111         * init.c: Remove obsolete dwarf2 frame.h section.
5112
5113 2001-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
5114
5115         * Make-lang.in (ada.generated-manpages): New dummy target.
5116
5117 2001-11-29  Ed Schonberg <schonber@gnat.com>
5118
5119         * g-os_lib.adb (Add_To_Command): use explicit loop to move string
5120         into Command, an array conversion is illegal here. Uncovered by
5121         ACATS B460005.
5122
5123 2001/11/28  Geert Bosch <bosch@gnat.com>
5124
5125         * init.c: Minor whitespace changes.
5126
5127 2001-11-28  Doug Rupp <rupp@gnat.com>
5128
5129         * init.c: (__gnat_install_handler,VMS): Increase size of alternate
5130         signal stack.
5131
5132 2001-11-28  Zack Weinberg  <zack@codesourcery.com>
5133
5134         * misc.c (gnat_expand_constant): Move declaration above
5135         definition of lang_hooks.
5136         (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
5137         (gnat_init): lang_expand_constant no longer exists.
5138
5139         (internal_error_function): Remove #ifdef HAVE_VPRINTF.  We
5140         always have vprintf.
5141         (gnat_init): Always call set_internal_error_function.
5142
5143 2001-11-27  Andreas Jaeger  <aj@suse.de>
5144
5145         * Makefile.in (stamp-tool_src_dir): Use symbolic link.
5146
5147 2001-11-27  Laurent Guerby  <guerby@acm.org>
5148
5149         * Makefile.in: Regenerate Ada dependencies.
5150
5151 2001-11-26  Richard Henderson  <rth@redhat.com>
5152
5153         * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
5154         gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
5155         gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
5156
5157 2001-11-25  Laurent Guerby  <guerby@acm.org>
5158
5159         * sysdep.c (rts_get_*): Fix style.
5160
5161 2001-11-19  Laurent Guerby  <guerby@acm.org>
5162
5163         * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
5164         since it is of no apparent use and cause warnings.
5165
5166 2001-11-18  Neil Booth  <neil@daikokuya.demon.co.uk>
5167
5168         * misc.c (gnat_decode_option, gnat_init_options): Make definitions
5169         static too.
5170         (gnat_init): Don't return NULL.
5171         (finish_parse): Remove.
5172
5173 2001-11-17  Laurent Guerby  <guerby@acm.org>
5174
5175         * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
5176         * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
5177         * io-aux.c: Provide K&R prototypes to all functions, reformat code.
5178         * lang-spec.h: Add missing struct field to silence warnings.
5179         * sysdep.c (rts_get_*): Provide K&R prototype.
5180         * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
5181         * traceback.c (Unlock_Task, Lock_Task): Likewise.
5182         * tracebak.c (__gnat_backtrace): Remove unused variable.
5183         * utils.c (end_subprog_body): Move to K&R style.
5184
5185 Thu Nov 15 18:16:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5186
5187         * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
5188
5189 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
5190
5191         * misc.c (gnat_init): Change prototype.  Include the
5192         functionality of the old init_parse and init_decl_processing.
5193         (gnat_init_decl_processing): New prototype.
5194         (init_parse): Remove.
5195         * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
5196
5197 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
5198
5199         * misc.c (gnat_print_decl, gnat_print_type): Renamed.
5200         (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
5201         (print_lang_statistics, lang_print_xnode, print_lang_identifier,
5202         set_yydebug): Remove.
5203
5204 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
5205
5206         * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
5207         (struct lang_hooks): Constify.
5208         (language_string, lang_identify): Remove.
5209         * utils.c (init_decl_processing): Update.
5210
5211 2001-11-06  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
5212
5213         * misc.c: Include langhooks-def.h.
5214         * Makefile.in: Update.
5215
5216 2001-10-30  Robert Dewar <dewar@gnat.com>
5217
5218         * style.adb:
5219         (Check_Identifier): Rewrite circuit to be compatible with use of letters
5220         in the upper half of ASCII.
5221         (Check_Identifier): Minor reformatting
5222
5223 2001-10-30  Geert Bosch <bosch@gnat.com>
5224
5225         * (Associated_Node, Set_Associated_Node): Do not check for
5226         Freeze_Entity.
5227
5228 2001-10-30  Robert Dewar <dewar@gnat.com>
5229
5230         * a-reatim.ads: Minor reformatting
5231
5232 2001-10-30  Robert Dewar <dewar@gnat.com>
5233
5234         * gnatdll.adb: Minor reformatting throughout. Many ??? added for
5235         undocumented declarations.
5236
5237 2001-10-30  Pascal Obry <obry@gnat.com>
5238
5239         * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
5240         to the binder and linker.
5241         Minor style fix.
5242
5243         * mdll.ads: Fix layout.  Update copyright notice.
5244
5245         * mdll.adb: Fix layout.  Update copyright notice.
5246
5247 2001-10-30  Robert Dewar <dewar@gnat.com>
5248
5249         * usage.adb: Minor fix to output for -gnaty.
5250
5251 2001-10-30  Ed Schonberg <schonber@gnat.com>
5252
5253         * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
5254         to accommodate all its possible values.
5255
5256         * a-reatim.adb (Split): Special-case handling of Time_Span_First
5257         and of small absolute values of T.
5258
5259 2001-10-30  Richard Kenner <kenner@gnat.com>
5260
5261         * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
5262         set_mem_attributes since not needed and wrong if RESULT if a REG;
5263         fixes ACATS failures.
5264
5265 2001-10-30  Geert Bosch <bosch@gnat.com>
5266
5267         * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
5268         s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
5269
5270 2001-10-30  Robert Dewar <dewar@gnat.com>
5271
5272         * bindusg.adb: Undocument -f switch.
5273
5274         * gnatcmd.adb: Remove /FULL_ELABORATION.
5275
5276         * opt.ads (Force_RM_Elaboration_Order): Document that this is
5277         obsolescent.
5278
5279         * gnatbind.adb: Output new warning for use of obsolescent -f switch.
5280
5281         * gnatbind.adb: Minor update of warning msg.
5282
5283 2001-10-30  Vincent Celier <celier@gnat.com>
5284
5285         * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
5286         for project file switches (-P (/PROJECT_FILE=),
5287          -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
5288         or MEDIUM or HIGH)
5289
5290 2001-10-30  Geert Bosch <bosch@gnat.com>
5291
5292         * decl.c: Minor whitespace fixes.
5293
5294 2001-10-30  Richard Kenner <kenner@gnat.com>
5295
5296         * utils2.c (build_allocator): Test for SIZE overflow in array case too
5297
5298 2001-10-30  Geert Bosch <bosch@gnat.com>
5299
5300         * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
5301         Found due to GCC 3.0 warning of using uninitialized value.
5302
5303         * layout.adb:
5304         (Get_Max_Size): Use variant record for tracking value/expression.
5305          Makes logic clearer and prevents warnings for uninitialized variables.
5306         (Layout_Array_Type): Use variant record for tracking value/expression.
5307          Makes logic clearer and prevents warnings for uninitialized variables.
5308
5309 2001-10-30  Robert Dewar <dewar@gnat.com>
5310
5311         * lib.adb: Minor reformatting
5312
5313         * s-taprop.ads: Minor reformatting
5314
5315 2001-10-29  Laurent Guerby  <guerby@acm.org>
5316
5317         * init.c:
5318         (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
5319         const.
5320         (_gnat_error_handler): Make MSG const.
5321
5322 2001-10-29  Richard Kenner <kenner@gnat.com>
5323
5324         * sysdep.c: Fix localtime_r problem on LynxOS.
5325         Also remove #elif to avoid warnings.
5326
5327         * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
5328         used by this.
5329
5330         * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
5331
5332 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
5333
5334         * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
5335         exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
5336         g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
5337         g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
5338         layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
5339         s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
5340         sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
5341         sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
5342         sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
5343         types.ads, urealp.adb: Fix spelling errors.
5344
5345 2001-10-27  Laurent Guerby <guerby@acm.org>
5346
5347         * trans.c (gigi): Fix non determinism leading to bootstrap
5348         comparison failures for debugging information.
5349
5350 2001-10-26  Florian Weimer  <fw@deneb.enyo.de>
5351
5352         * gnat_rm.texi: Use @./@: where appropriate.
5353
5354 2001-10-26  Robert Dewar <dewar@gnat.com>
5355
5356         * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
5357
5358 2001-10-26  Richard Kenner <kenner@gnat.com>
5359
5360         * gmem.c (__gnat_gmem_read_next): Properly check for EOF
5361
5362 2001-10-26  Richard Kenner <kenner@gnat.com>
5363
5364         * decl.c (validate_size): Modify message for bad size to avoid
5365         implication that compiler is modifying the size.
5366
5367 2001-10-26  Robert Dewar <dewar@gnat.com>
5368
5369         * prj-util.adb: Minor reformatting. Fix bad header format.
5370
5371 2001-10-26  Robert Dewar <dewar@gnat.com>
5372
5373         * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
5374
5375         * sinfo.ads: Clarify use of Associated_Node (documentation only).
5376
5377         * sem_ch12.adb: Change Node4 to Associated_Node. Change
5378         Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
5379         much more narrowly in places where needed. These are cleanups.
5380
5381 2001-10-26  Joel Brobecker <brobecke@gnat.com>
5382
5383         * 5zosinte.ads (null_pthread): new constant.
5384
5385         * 5ztaprop.adb:
5386         (Initialize_TCB): Initialize thread ID to null, to be able to verify
5387          later that this field has been set.
5388         (Finalize_TCB): ditto.
5389         (Suspend_Task): Verify that the thread ID is not null before using it.
5390         (Resume_Task): ditto.
5391
5392         * s-tasdeb.adb:
5393         (Resume_All_Tasks): Lock the tasks list before using it.
5394         (Suspend_All_Tasks): ditto.
5395
5396 2001-10-26  Richard Kenner <kenner@gnat.com>
5397
5398         * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
5399         Make constant variant of designated type for Is_Access_Constant.
5400         Call update_pointer_to with main variant.
5401
5402         * trans.c (process_freeze_entity, process_type):
5403         Call update_pointer_to on main variant.
5404
5405         * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
5406         If main variant, update all other variants.
5407
5408         * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
5409         TREE_STATIC.
5410
5411 2001-10-26  Robert Dewar <dewar@gnat.com>
5412
5413         * prj-util.adb: Minor reformatting
5414
5415 2001-10-26  Robert Dewar <dewar@gnat.com>
5416
5417         * prj-util.adb: Minor reformatting
5418
5419 2001-10-26  Robert Dewar <dewar@gnat.com>
5420
5421         * prj-attr.adb: Minor reformatting throughout
5422
5423 2001-10-26  Robert Dewar <dewar@gnat.com>
5424
5425         * prj-attr.ads: Minor reformatting
5426         Add ??? comment (this whole spec has almost no comments)
5427
5428 2001-10-26  Vincent Celier <celier@gnat.com>
5429
5430         * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
5431         ("//") that precede the drive letter on Interix.
5432
5433 2001-10-26  Geert Bosch <bosch@gnat.com>
5434
5435         * gnat_rm.texi: Add GNAT Reference Manual.
5436
5437 2001-10-25  Robert Dewar <dewar@gnat.com>
5438
5439         * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
5440         is Error. Similar change for other renaming cases.
5441
5442 2001-10-25  Robert Dewar <dewar@gnat.com>
5443
5444         * s-atacco.ads: Add pragma Inline_Always for functions.
5445         Fix header format. Add copyright 2001
5446
5447 2001-10-25  Ed Schonberg <schonber@gnat.com>
5448
5449         * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
5450         return Error rather than Empty so that analysis can proceed.
5451
5452 2001-10-25  Ed Schonberg <schonber@gnat.com>
5453
5454         * sem_util.adb (Enter_Name): better handling of cascaded error
5455         messages when a unit appears in its own context.
5456
5457 2001-10-25  Ed Schonberg <schonber@gnat.com>
5458
5459         * sem_util.adb (Defining_Entity): in case of error, attach created
5460         entity to specification, so that semantic analysis can proceed.
5461
5462 2001-10-25  Robert Dewar <dewar@gnat.com>
5463
5464         * sem_util.adb
5465         (Defining_Entity): Deal with Error.
5466         (Process_End_Label): Deal with bad end label for.
5467
5468 2001-10-25  Ed Schonberg <schonber@gnat.com>
5469
5470         * sem_elab.adb (Check_A_Call): refine message when call is in an
5471         instance but callee is not declared in the generic unit.
5472
5473 2001-10-25  Ed Schonberg <schonber@gnat.com>
5474
5475         * sem_elab.adb (Check_A_Call): check for renaming before finding the
5476         enclosing unit, which may already be different from the calling unit.
5477
5478 2001-10-25  Geert Bosch <bosch@gnat.com>
5479
5480         * 4gintnam.ads: fix header format.
5481
5482 2001-10-25  Ed Schonberg <schonber@gnat.com>
5483
5484         * sem_res.adb (Resolve_Call): if the call is actually an indexing
5485         operation on the result of a parameterless call, perform elaboration
5486         check after the node has been properly rewritten.
5487
5488         * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
5489         inlined within the generic tree, the defining identifier is not a
5490         compilation_unit.
5491
5492 2001-10-25  Ed Schonberg <schonber@gnat.com>
5493
5494         * sem_res.adb (Resolve): special-case resolution of Null in an
5495          instance or an inlined body to avoid view conflicts.
5496
5497         * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
5498          compatibility by retrieving the access type of the generic copy.
5499
5500 2001-10-25  Robert Dewar <dewar@gnat.com>
5501
5502         * sem_ch3.adb:
5503         (Analyze_Number_Declaration): Handle error expression.
5504         (Signed_Integer_Type_Declaration): Handle error bound.
5505         (Analyze_Subtype_Indication): Handle error range.
5506
5507         * sem_util.adb (Get_Index_Bounds): Check for Error.
5508
5509 2001-10-25  Robert Dewar <dewar@gnat.com>
5510
5511         * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
5512         in no run time mode.
5513
5514 2001-10-25  Pascal Obry <obry@gnat.com>
5515
5516         * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
5517         mode case for ALLOC case.
5518
5519         * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
5520         all platforms. Improvement of last change.
5521
5522 2001-10-25  Robert Dewar <dewar@gnat.com>
5523
5524         * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
5525
5526 2001-10-25  Geert Bosch  <bosch@gnat.com>
5527
5528         * osint.adb (Is_Relative): Remove duplicate.
5529
5530 2001-10-25  Pascal Obry <obry@gnat.com>
5531
5532         * osint.adb (Read_Default_Search_Dirs): correctly detect relative
5533         pathnames in UNIX and DOS style with drive letter.
5534         (Is_Relative): new routine.
5535
5536         * osint.adb: Minor reformatting
5537
5538         * osint.adb (Is_Relative): implementation using
5539         GNAT.OS_Lib.Is_Absolute_Path. Better fix.
5540
5541 2001-10-25  Pascal Obry <obry@gnat.com>
5542
5543         * g-dirope.adb (Basename): correctly compute offset between the
5544         original Path and the translated one.
5545
5546         * g-dirope.adb: (Base_Name): add some comments.
5547
5548 2001-10-25  Robert Dewar <dewar@gnat.com>
5549
5550         * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
5551         in HIE mode, avoids compilation abandoned message
5552
5553         * exp_imgv.adb: Correct typo in previous change
5554
5555         * exp_imgv.adb: Correct typo in previous change (not my day!)
5556
5557 2001-10-25  Robert Dewar <dewar@gnat.com>
5558
5559         * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
5560
5561 2001-10-25  Pascal Obry <obry@gnat.com>
5562
5563         * g-awk.ads: Move all pragma inlines next to the routine
5564          declarations. This is more uniform with other GNAT spec.
5565
5566 2001-10-22  Geert Bosch  <bosch@gnat.com>
5567
5568         * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
5569
5570 2001-10-19  Geert Bosch  <bosch@gnat.com>
5571
5572         * Makefile.in (tools, gnattools): Remove gnatmem.
5573
5574 2001-10-17  Richard Henderson  <rth@redhat.com>
5575
5576         * Makefile.in (misc.o): Depend on langhooks.h.
5577         * misc.c: Include it.
5578         (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
5579         (LANG_HOOKS_DECODE_OPTION): New.
5580         (lang_hooks): Use LANG_HOOKS_INITIALIZER.
5581
5582 2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
5583
5584         * trans.c (tree_transform): Adjust to recent change in
5585         expand_asm_operands to implement named asm operands.
5586
5587 2001-10-11  Ed Schonberg  <schonber@gnat.com>
5588
5589         * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
5590         renaming of discriminant for mutable record type.
5591
5592 2001-10-11  Robert Dewar  <dewar@gnat.com>
5593
5594         * validsw.adb: Properly save -gnatVn status.
5595
5596 2001-10-11  Robert Dewar <dewar@gnat.com>
5597
5598         * usage.adb: Add lines for V switch.
5599
5600         * gnatcmd.adb (COMPILE): Revise translations for -gnatV
5601         (/VALIDITY_CHECKING).
5602
5603 2001-10-11  Ed Schonberg <schonber@gnat.com>
5604
5605         * sem_type.adb (Add_One_Interp): an operator for a type declared in
5606         an extension of System is known to be visible.
5607
5608 2001-10-11  Ed Schonberg <schonber@gnat.com>
5609
5610         * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
5611         properly. Fixes regression on ACATS C34005G.
5612
5613 2001-10-11  Robert Dewar <dewar@gnat.com>
5614
5615         * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
5616         loop in generic instance, since this is likely not very useful.
5617
5618 2001-10-11  Robert Dewar <dewar@gnat.com>
5619
5620         * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
5621         the error message for high integrity mode.
5622
5623         * rtsfind.adb (RTE): Give message if we try to find an entity that
5624         is not available in high integrity mode.
5625
5626         * rtsfind.ads:
5627         (OK_To_Use_In_HIE_Mode): New array.
5628         (RTE): May return Empty in high integrity mode.
5629
5630         * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
5631         OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
5632
5633         * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
5634         unit if not inlined always and in no runtime mode. Fixes problem
5635         caused by new Rtsfind changes.
5636
5637         * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
5638         body is deleted.
5639
5640         * rtsfind.adb (RTE): Make sure we do not try to load unit after
5641         giving message for entity not available in high integrity mode.
5642
5643 2001-10-11  Pascal Obry <obry@gnat.com>
5644
5645         * impunit.adb: Add GNAT.CRC32.
5646
5647 2001-10-11  Ed Schonberg <schonber@gnat.com>
5648
5649         * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
5650         properly the case where one universal operand in a non-static
5651         exponentiation of a real literal.
5652
5653 2001-10-11  Ed Schonberg <schonber@gnat.com>
5654
5655         * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
5656         clause, return the gobal finalization list, for lack of anthing else.
5657
5658 2001-10-11  Ed Schonberg <schonber@gnat.com>
5659
5660         * exp_ch7.adb (Make_Transient_Block): if statement is within
5661         exception handler, always use new transient scope to place Clean
5662         procedure.
5663
5664 2001-10-11  Pascal Obry <obry@gnat.com>
5665
5666         * Makefile.in:
5667         (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
5668         (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
5669         (GNATLS_RTL_OBJS): add g-crc32.o
5670         (GNATMAKE_RTL_OBJS): add g-crc32.o
5671
5672         * ali-util.adb:
5673         (CRC_Match): new function.
5674         (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
5675         instead of the previous simple checksum algorithm.
5676         (Time_Stamp_Mismatch): use CRC_Match for comparison.
5677         (Set_Source_Table): idem.
5678
5679         * ali-util.ads:
5680         (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
5681         instead of simple checksum.
5682         (CRC_Match): new function.
5683         (CRC_Error): new constant.
5684
5685         * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
5686         a CRC now and not a simple checksum. A CRC uses lower-case hex
5687         letters, fixes ambiguity in parsing.
5688
5689         * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
5690         is what this variable will store.
5691
5692         * bcheck.adb: Change reference to chechsum in comments by CRC.
5693         (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
5694         rename All_Checksum_Match to All_CRC_Match. Change due to API
5695         renaming since now GNAT does not use a simple checksum but a
5696         CRC using GNAT.CRC32.
5697
5698         * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
5699         now and not anymore a simple checksum.
5700
5701         * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
5702         places.
5703
5704         * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
5705
5706         * scans.adb:
5707         (Restore_Scan_State): rename Checksum to CRC.
5708         (Save_Scan_State): idem.
5709
5710         * scans.ads:
5711         With GNAT.CRC32.
5712         (Checksum): rename to CRC.
5713         (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
5714
5715         * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
5716         GNAT.CRC32).  Update copyright notice.
5717
5718         * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
5719         GNAT.CRC32).  Update copyright notice.
5720
5721         * scn.adb:
5722         (Accumulate_Checksum): removed.
5723         (Update): new procedure. Add a wide-character into the CRC.
5724
5725         * sinput-l.adb:
5726         (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
5727         (Load_File): fix initialization of S (change Source_Checksum to
5728         Source_CRC)
5729
5730         * sinput-p.adb (Load_Project_File): rename Source_Checksum to
5731         Source_CRC in S initialization.
5732
5733         * sinput.adb (Source_Checksum): renamed to Source_CRC.
5734
5735         * sinput.ads (Source_Checksum): renamed to Source_CRC.
5736         Update comments for the CRC.
5737
5738         * types.adb (Hex): Use lowercase for the letter part.
5739
5740         * types.ads (Get_Hex_String): Returns the hexadecimal representation
5741         for a word. This is currently used only for CRC. In previous version,
5742         the checksum was using a representation with all letter being
5743         upper-case. With the new implementation (using CRC) we do not remove
5744         the 32th bit of the CRC, so we can have an upper-case starting letter
5745         in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
5746         It is ambigous since the CRC was optional and could be followed by
5747         options like EB, EE. So now this routines uses lower-case letter for
5748         the hexadecimal representation. Strange enough only lower case letters
5749         where checked in Scan_ALI (even if this was not a possible case).
5750
5751         * gnatvsn.ads (Library_Version): changed to 3.15a.
5752
5753         * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
5754         for the compiler.
5755
5756         * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
5757         for the compiler.
5758
5759         * ali-util.adb: Redo previous change to avoid using word CRC everywhere
5760         Add 2001 to copyright notice
5761         (Accumulate_Checksum): Modify to use System.CRC32.
5762
5763         * ali-util.ads: Redo changes of previous revision to continue to use
5764         the word Checksum. Add 2001 to copyright notice.
5765
5766         * ali.adb: Undo some of previous changes, not needed.
5767         Keep the change for lower case letters in the checksum.
5768
5769         * ali.ads: Undo previous change not needed.
5770
5771         * bcheck.adb: Undo most of previous change, not needed.
5772         But do use Checksums_Match for checksum comparison.
5773
5774         * gnatls.adb: Undo most of previous change, not needed.
5775         But do use Checksums_Match for comparing checksums.
5776
5777         * lib-load.adb: Undo previous change, not needed.
5778
5779         * lib-writ.adb: Undo previous change, not needed.
5780
5781         * lib-writ.ads: Document that checksums use lower case,
5782         not upper case letters.
5783
5784         * scans.adb: Undo previous change, not needed
5785
5786         * scans.ads: Undo previous change, not needed.
5787
5788         * scn-nlit.adb: Undo previous changes, not needed.
5789
5790         * scn-slit.adb: Undo previous change, not needed.  Fix header format.
5791
5792         * scn.adb:
5793         (Accumulate_Checksum): Use System.CRC32.
5794         (Initialize_Checksum): New procedure.
5795         Remove other changes of previous revision.
5796
5797         * sinput-p.adb: Undo previous change, not needed.
5798
5799         * sinput.adb: Undo previous change, not needed.
5800
5801         * sinput-l.adb: Undo previous change, not needed.
5802
5803         * sinput.ads: Undo previous change, not needed.  Keep only comment
5804         on new checksum algorithm
5805
5806         * Makefile.in: Add s-crc32 as needed, remove g-crc32.
5807         Also remove a-tags and a-stream from GNAT sources.
5808
5809         * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
5810
5811         * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
5812
5813 2001-10-11  Geert Bosch  <bosch@gnat.com>
5814
5815         * einfo.h: Regenerate.
5816
5817         * nmake.ads: Regenerate.
5818
5819         * nmake.adb: Regenerate.
5820
5821         * sinfo.h: Regenerate.
5822
5823         * treeprs.adb: Regenerate.
5824
5825 2001-10-10  Geert Bosch  <bosch@gnat.com>
5826
5827         * gnat-style.texi: New file describing coding guidelines for Ada.
5828
5829 2001-10-10  Ed Schonberg <schonber@gnat.com>
5830
5831         * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
5832         is Flag174.
5833
5834 2001-10-10  Geert Bosch  <bosch@gnat.com>
5835
5836         * snames.ads: Add new names for project facility.
5837
5838         * snames.adb: Update to reflect snames.ads changes.
5839
5840         * snames.h: Update to reflect snames.ads changes.
5841
5842 2001-10-10  Vincent Celier <celier@gnat.com>
5843
5844         * make.adb:
5845         (Add_Switches): reflect the changes for the switches attributes
5846         Default_Switches indexed by the programming language,
5847         Switches indexed by the file name.
5848         (Collect_Arguments_And_Compile): Idem.
5849         Reflect the attribute name changes.
5850
5851         * prj-attr.adb:
5852         (Initialisation_Data): Change the names of some packages and
5853         attributes.
5854         (Initialize): process case insensitive associative arrays.
5855
5856         * prj-attr.ads:
5857         (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
5858
5859         * prj-dect.adb:
5860         (Parse_Attribute_Declaration): For case insensitive associative
5861          arrays, set the index string to lower case.
5862
5863         * prj-env.adb:
5864         Reflect the changes of the project attributes.
5865
5866         * prj-nmsc.adb:
5867         Replace Check_Naming_Scheme by Ada_Check and
5868         Language_Independent_Check.
5869
5870         * prj-nmsc.ads:
5871         Replaced Check_Naming_Scheme by 2 procedures:
5872         Ada_Check and Language_Independent_Check.
5873
5874         * prj-proc.adb:
5875         (Process_Declarative_Items): For case-insensitive associative
5876         arrays, set the index string to lower case.
5877         (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
5878         Prj.Nmsc.Check_Naming_Scheme.
5879
5880         * prj-tree.adb:
5881         (Case_Insensitive): New function
5882         (Set_Case_Insensitive): New procedure
5883
5884         * prj-tree.ads:
5885         (Case_Insensitive): New function
5886         (Set_Case_Insensitive): New procedure
5887         (Project_Node_Record): New flag Case_Insensitive.
5888
5889         * prj-util.adb:
5890         (Value_Of): new function to get the string value of a single
5891         string variable or attribute.
5892
5893         * prj-util.ads:
5894         (Value_Of): new function to get the string value of a single
5895         string variable or attribute.
5896
5897         * prj.adb:
5898         (Ada_Default_Spec_Suffix): New function
5899         (Ada_Default_Impl_Suffix): New function
5900         Change definitions of several constants to reflect
5901         new components of record types.
5902
5903         * prj.ads:
5904         (Naming_Data): Change several components to reflect new
5905         elements of naming schemes.
5906         (Project_Data): New flags Sources_Present and
5907         Language_Independent_Checked.
5908         (Ada_Default_Spec_Suffix): New function.
5909         (Ada_Default_Impl_Suffix): New function.
5910
5911         * snames.ads:
5912         Modification of predefined names for project manager: added
5913         Implementation, Specification_Exceptions, Implementation_Exceptions,
5914         Specification_Suffix, Implementation_Suffix, Separate_Suffix,
5915         Default_Switches, _Languages, Builder, Cross_Reference,
5916         Finder. Removed Body_Part, Specification_Append, Body_Append,
5917         Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
5918         Gnatlink.
5919
5920         * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
5921         Add comments.
5922
5923         * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
5924         not that it is Nil_Variable_Value.
5925
5926         * prj.ads: Add ??? for uncommented declarations
5927
5928 2001-10-10  Ed Schonberg <schonber@gnat.com>
5929
5930         * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
5931         constant, do not indicate possible modification, so that gigi can
5932         treat it as a bona fide constant.
5933
5934 2001-10-10  Robert Dewar <dewar@gnat.com>
5935
5936         * sem_prag.adb: Add processing for pragma External.
5937
5938         * snames.ads: Add entry for pragma External.
5939
5940         * par-prag.adb: Add pragma External.
5941
5942         * snames.adb: Updated to match snames.ads.
5943
5944 2001-10-10  Ed Schonberg <schonber@gnat.com>
5945
5946         * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
5947         a dynamic task if the allocator appears in an indexed assignment
5948         or selected component assignment.
5949
5950         * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
5951         For a dynamic task in an assignment statement, use target of
5952         assignment to generate meaningful name.
5953
5954 2001-10-10  Ed Schonberg <schonber@gnat.com>
5955
5956         * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
5957         a generic package.
5958
5959         * einfo.ads: Body_Entity is also defined for generic package.
5960         Documentation change only
5961
5962         * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
5963         others_choice for a discriminated component initialization,
5964         convert discriminant references into the corresponding discriminals.
5965
5966         * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
5967         only if original type is private and expression has to be wrapped
5968         in a conversion.
5969
5970         * checks.adb:
5971         (Apply_Constraint_Check): Do not perform length check
5972         if expression is an aggregate with only an others_choice.
5973         (Length_N_Cond): two references to the same in_parameter
5974         (typically the discriminal in an init_proc) denote the same value.
5975         Two useful optimization uncovered by bugfixes above.
5976
5977 2001-10-10  Robert Dewar <dewar@gnat.com>
5978
5979         * xeinfo.adb: Change int to char in translation of enumeration types.
5980         This fixes a problem in the C representation of component alignment.
5981         Add 2001 to copyright notice
5982
5983 2001-10-10  Richard Kenner <kenner@gnat.com>
5984
5985         * decl.c: (validate_size): Do check size of object of integral type
5986         if it is a packed array type.
5987
5988 2001-10-10  Richard Kenner <kenner@gnat.com>
5989
5990         * decl.c: (gnat_to_gnu_entity, case object): Also materialize
5991         VAR_DECL for constant if not Is_Public but -O0.
5992
5993 2001-10-10  Richard Kenner  <kenner@gnat.com>
5994
5995         * misc.c (struct lang_hooks): Add new initializer to match GCC change.
5996
5997 2001-10-10  Geert Bosch  <bosch@gnat.com>
5998
5999         * xnmake.adb (XNmake): Fix handling of -s/-b options.  No longer
6000         use '/' as switch character, allowing for absolute file names.
6001
6002 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
6003
6004         * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
6005         FSF address.
6006
6007 2001-10-08  Geert Bosch  <bosch@gnat.com>
6008
6009         * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
6010         Automatically build utilities when files need to be regenerated.
6011
6012 2001-10-08  Geert Bosch  <bosch@gnat.com>
6013
6014         * xsnames.adb: New utility for updating snames.ads and snames.adb
6015
6016 2001-10-08  Zack Weinberg  <zack@codesourcery.com>
6017
6018         * Make-lang.in (ADAFLAGS): Add -W -Wall.
6019         (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
6020         (gnat1): Also depend on attribs.o.
6021         (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
6022         * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
6023         (ADAC): Set to @ADAC@ in stage1, $(CC) later.
6024         (ADAFLAGS): Add -W -Wall.
6025         (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
6026         take out CFLAGS.
6027
6028         (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
6029         s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
6030         s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
6031         Use $(ADAC), not $(CC), as compilation command.
6032
6033         (gnattools): Depend directly on tools to build, don't use
6034         recursive make.
6035         (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
6036
6037         * einfo.h, sinfo.h: New files (autogenerated).
6038
6039 2001-10-08  Richard Henderson  <rth@redhat.com>
6040
6041         * comperr.adb (Abort_In_Progress): New.
6042         (Compiler_Abort): Use it to prevent recursion.
6043
6044 2001-10-08  Robert Dewar <dewar@gnat.com>
6045
6046         * atree.adb: Set Error_Posted in Error node, helps error recovery.
6047
6048         * par-endh.adb (Output_End_Expected): We should also not test
6049         Error_Posted on the Error node, since now it is always set.
6050
6051         * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
6052         to help error recovery. Part of general work on 9407-004.
6053
6054         * par.adb: Add ??? for misuse of error
6055
6056         * sem_res.adb:
6057         (Resolve): Defend against Error, fixes 9407-003.
6058         (Resolve_Discrete_Subtype_Indication): Defend against Error.
6059
6060         * sinfo.ads (N_Error): Now has Etype field (which will be set
6061         to Any_Type to help error recovery).
6062
6063 2001-10-08  Richard Kenner (kenner@gnat.com)
6064
6065         * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
6066         Consistently set MEM attributes from expression; fixes
6067         bootstrap failure on x86.
6068
6069 2001-10-08  Geert Bosch  (bosch@gnat.com)
6070
6071         * 5oosinte.adb: Add 2001 to copyright notice.
6072
6073 2001-10-08  Geert Bosch  (bosch@gnat.com)
6074
6075         * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
6076
6077         * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
6078
6079 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
6080
6081         * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
6082
6083 2001-10-05  Geert Bosch  (bosch@gnat.com)
6084
6085         * adaint.h: Small formatting fix.
6086
6087 2001-10-04  Geert Bosch  <bosch@gnat.com>
6088
6089         * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
6090         Arg is int, not FILE *, in dummy version of functions.
6091
6092         * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
6093         Arg is int, not FILE *.
6094
6095 2001-10-04  Geert Bosch  <bosch@gnat.com>
6096
6097         * 3lsoccon.ads: Added file, missed with initial check ins.
6098
6099         * 4lintnam.ads: Fix header format.
6100         Change Linux to GNU/Linux.
6101
6102         * 5iosinte.adb: Change Linux to GNU/Linux.
6103
6104         * 5iosinte.ads: Change Linux to GNU/Linux.
6105
6106         * 5itaprop.adb: Change Linux to GNU/Linux.
6107
6108         * 5itaspri.ads: Change Linux to GNU/Linux.
6109         Update copyright notice.
6110
6111         * 5lintman.adb: Change Linux to GNU/Linux.
6112
6113         * 5lml-tgt.adb: Change Linux to GNU/Linux.
6114
6115         * 5losinte.ads: Change Linux to GNU/Linux.
6116
6117         * 5lsystem.ads: Change Linux to GNU/Linux.
6118
6119         * 5qosinte.adb: Change Linux to GNU/Linux.
6120
6121         * 5qosinte.ads: Change Linux to GNU/Linux.
6122
6123         * 5qparame.ads: Change Linux to GNU/Linux.
6124
6125         * 5qtaprop.adb: Change Linux to GNU/Linux.
6126
6127         * 5qtaspri.ads: Change Linux to GNU/Linux.
6128         Add 2001 to copyright notice.
6129
6130         * 5vintman.ads: Change Linux to GNU/Linux.
6131         Fix header format.  Add 2001 to copyright notice.
6132
6133         * g-soccon.ads: Change Linux to GNU/Linux.
6134
6135         * g-trasym.ads: Change Linux to GNU/Linux.
6136         Add 2001 to copyright notice.
6137
6138         * memtrack.adb: Change Linux to GNU/Linux.
6139
6140         * s-intman.ads: Change Linux to GNU/Linux.
6141         Add 2001 to copyright notice.  Fix header format.
6142
6143         * s-stache.adb: Change Linux to GNU/Linux.
6144
6145         * adaint.c: Change Linux to GNU/Linux.
6146
6147         * cio.c: Change Linux to GNU/Linux.
6148
6149         * cstreams.c: Change Linux to GNU/Linux.
6150
6151         * init.c: Change Linux to GNU/Linux.
6152
6153         * gmem.c: Change Linux to GNU/Linux.
6154
6155         * tracebak.c: Change Linux to GNU/Linux.
6156
6157
6158 2001-10-02  Geert Bosch  <bosch@gnat.com>
6159
6160         * misc.c (insert_default_attributes): Add dummy version.