OSDN Git Service

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