OSDN Git Service

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