OSDN Git Service

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