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