OSDN Git Service

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