OSDN Git Service

2004-06-25 Pascal Obry <obry@gnat.com>
[pf3gnuchains/gcc-fork.git] / gcc / ada / ChangeLog
1 2004-06-25  Pascal Obry  <obry@gnat.com>
2
3         * makegpr.adb (Build_Library): Remove parameter Lib_Address and
4         Relocatable from Build_Dynamic_Library call.
5
6         * gnat_ugn.texi: Change documentation about Library_Kind. Dynamic and
7         Relocatable are now synonym.
8
9         * Makefile.in: Use s-parame-mingw.adb on MingW platform.
10
11         * mlib-prj.adb (Build_Library): Remove DLL_Address constant definition.
12         Remove parameter Lib_Address and Relocatable from Build_Dynamic_Library
13         call.
14
15         * mlib-tgt.ads, mlib-tgt.adb (Build_Dynamic_Library): Remove parameter
16         Lib_Address and Relocatable.
17         (Default_DLL_Address): Removed.
18
19         * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, 
20         mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, 
21         mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-vxworks.adb:
22         (Build_Dynamic_Library): Remove parameter Lib_Address and Relocatable.
23         (Default_DLL_Address): Removed.
24
25         * mlib-tgt-mingw.adb: Ditto.
26         (Build_Dynamic_Library): Do not add "lib" prefix to the DLL name.
27
28         * s-taprop-mingw.adb (Create_Task): Use Adjust_Storage_Size to compute
29         the initial thread stack size.
30
31         * a-strmap.ads: Move package L to private part as it is not used in
32         the spec. Found while reading code.
33
34 2004-06-25  Olivier Hainque  <hainque@act-europe.fr>
35
36         * tracebak.c: Introduce support for a GCC infrastructure based
37         implementation of __gnat_backtrace.
38
39         * raise.c: Don't rely on a C mapping of the GNAT_GCC_Exception record
40         any more. Use accessors instead. This eases maintenance and relaxes
41         some alignment constraints.
42         (_GNAT_Exception structure): Remove the Ada specific fields
43         (EID_For, Adjust_N_Cleanups_For): New accessors, exported by
44         a-exexpr.adb.
45         (is_handled_by, __gnat_eh_personality): Replace component references to
46         exception structure by use of the new accessors.
47
48         * init.c (__gnat_initialize): Adjust comments to match the just
49         reverted meaning of the -static link-time option.
50
51         * adaint.c (convert_addresses): Arrange not to define a stub for
52         mips-irix any more, as we now want to rely on a real version from a
53         recent libaddr2line.
54
55         * a-exexpr.adb: Provide new accessors to a GNAT_GCC occurrence, so that
56         the personality routine can use them and not have to rely on a C
57         counterpart of the record anymore. This simplifies maintenance and
58         relaxes the constraint of having Standard'Maximum_Alignment match
59         BIGGEST_ALIGNMENT.
60         Update comments, and add a section on the common header alignment issue.
61
62 2004-06-25  Geert Bosch  <bosch@gnat.com>
63
64         * a-ngelfu.adb (Tanh): Use full 20 digit precision for constants in
65         polynomial approximation. Fixes inconsistency with Cody/Waite algorithm.
66
67 2004-06-25  Robert Dewar  <dewar@gnat.com>
68
69         * gnat_rm.texi: Fix section on component clauses to indicate that the
70         restriction on byte boundary placement still applies for bit packed
71         arrays.
72         Add comment on stack usage from Initialize_Scalars
73
74         * gnat_ugn.texi: Add documentation for -gnatyLnnn
75
76         * stylesw.ads, stylesw.adb: Implement new -gnatyLnnn option for
77         limiting nesting level.
78
79         * usage.adb: Add line for -gnatyLnnn switch
80
81         * g-debpoo.ads, xtreeprs.adb, sinput.ads, sem_ch13.ads,
82         sem_ch13.adb, exp_aggr.adb: Minor reformatting
83
84         * sem_prag.adb (Process_Atomic_Shared_Volatile): Set Is_Atomic on base
85         type as well as on the subtype. This corrects a problem in freeze in
86         setting alignments of atomic types.
87
88         * sem_eval.ads: Minor comment typo fixed
89
90         * par-util.adb (Push_Scope_Stack): Check for violation of max nesting
91         level.  Minor reformatting.
92
93         * fname.adb (Is_Predefined_File_Name): Require a letter after the
94         minus sign. This means that file names like a--b.adb will not be
95         considered predefined.
96
97         * freeze.adb: Propagate new flag Must_Be_On_Byte_Boundary to containing
98         record Test new flag and give diagnostic for bad component clause.
99         (Freeze_Entity): Set alignment of array from component alignment in
100         cases where this is safe to do.
101
102         * exp_pakd.adb: Set new flag Must_Be_On_Byte_Boundary for large packed
103         arrays.
104
105         * cstand.adb: (Create_Standard): Set alignment of String to 1
106
107         * einfo.ads, einfo.adb: Introduce new flag Must_Be_On_Byte_Boundary
108
109         * exp_ch4.adb (Expand_Array_Equality): Improve efficiency of generated
110         code in the common constrained array cases.
111
112         * a-storio.adb: Change implementation to avoid possible alignment
113         problems on machines requiring strict alignment (data should be moved
114         as type Buffer, not type Elmt).
115
116         * checks.adb (Apply_Array_Size_Check): Improve these checks by
117         killing the overflow checks which we really do not need (64-bits is
118         enough).
119
120 2004-06-25  Vincent Celier  <celier@gnat.com>
121
122         * makegpr.adb (Is_Included_In_Global_Archive): New Boolean function
123         (Add_Archives.Recursive_Add_Archives): Call Add_Archive_Path
124         inconditionally for the main project.
125         (Recursive_Add_Archives.Add_Archive_Path): New procedure
126         (Link_Executables.Check_Time_Stamps): New procedure
127         (Link_Executables.Link_Foreign): New procedure
128         Changes made to reduce nesting level of this package
129         (Check): New procedure
130         (Add_Switches): When not in quiet output, check that a switch is not
131         the concatenation of several valid switches. If it is, issue a warning.
132         (Build_Global_Archive): If the global archive is rebuilt, linking need
133         to be done.
134         (Compile_Sources): Rebuilding a library archive does not imply
135         rebuilding the global archive.
136         (Build_Global_Archive): New procedure
137         (Build_Library): New name for Build_Archive, now only for library
138         project
139         (Check_Archive_Builder): New procedure
140         (Create_Global_Archive_Dependency_File): New procedure
141         (Gprmake): Call Build_Global_Archive before linking
142         * makegpr.adb: Use Other_Sources_Present instead of Sources_Present
143         throughout.
144         (Scan_Arg): Display the Copyright notice when -v is used
145
146         * gnat_ugn.texi: Document new switch -files= (VMS qualifier /FILES=)
147         for gnatls.
148
149         * vms_data.ads: Add qualifier /MAX_NESTING=nnn (-gnatyLnnn) for GNAT
150         COMPILE.
151         Add new GNAT LIST qualifier /FILES=
152         Added qualifier /DIRECTORY= to GNAT METRIC
153         Added qualifier /FILES= to GNAT METRIC
154         Added qualifier /FILES to GNAT PRETTY
155
156         * switch.adb (Is_Front_End_Switch): Refine the test for --RTS or -fRTS,
157         to take into account both versions of the switch.
158
159         * switch-c.adb (Scan_Front_End_Switches): New switch -gnatez. Should
160         always be the last switch to the gcc driver. Disable switch storing so
161         that switches automatically added by the gcc driver are not put in the
162         ALI file.
163
164         * prj.adb (Project_Empty): Take into account changes in components of
165         Project_Data.
166
167         * prj.ads (Languages_Processed): New enumaration value All_Languages.
168
169         * prj.ads (Project_Data): Remove component Lib_Elaboration: never
170         used. Split Boolean component Ada_Sources_Present in two Boolean
171         components Ada_Sources_Present and Other_Sources_Present.
172         Minor reformatting
173
174         * prj-env.adb (For_All_Source_Dirs.Add): Use Ada_Sources_Present
175         instead of Sources_Present.
176         (Set_Ada_Paths.Add.Recursive_Add): Ditto
177
178         * prj-nmsc.adb: Minor reformatting
179         (Check_Ada_Naming_Scheme): New name of procedure Check_Naming_Scheme
180         (Check_Ada_Naming_Scheme_Validity): New name of previous procedure
181         Check_Ada_Naming_Scheme.
182         Change Sources_Present to Ada_Sources_Present or Other_Sources_Present
183         throughout.
184
185         * prj-part.adb (Post_Parse_Context_Clause): New Boolean parameter
186         In_Limited.
187         Make sure that all cycles where there is at least one "limited with"
188         are detected.
189         (Parse_Single_Project): New Boolean parameter In_Limited
190
191         * prj-proc.adb (Recursive_Check): When Process_Languages is
192         All_Languages, call first Prj.Nmsc.Ada_Check, then
193         Prj.Nmsc.Other_Languages_Check.
194
195         * prj-proc.adb (Process): Use Ada_Sources_Present or
196         Other_Sources_Present (instead of Sources_Present) depending on
197         Process_Languages.
198
199         * lang-specs.h: Keep -g and -m switches in the same order, and as the
200         last switches.
201
202         * lib.adb (Switch_Storing_Enabled): New global Boolean flag
203         (Disable_Switch_Storing): New procedure. Set Switch_Storing_Enabled to
204         False.
205         (Store_Compilation_Switch): Do nothing if Switch_Storing_Enabled is
206         False.
207
208         * lib.ads (Disable_Switch_Storing): New procedure.
209
210         * make.adb: Modifications to reduce nesting level of this package.
211         (Check_Standard_Library): New procedure
212         (Gnatmake.Check_Mains): New procedure
213         (Gnatmake.Create_Binder_Mapping_File): New procedure
214         (Compile_Sources.Compile): Add switch -gnatez as the last option
215         (Display): Never display -gnatez
216
217         * Makefile.generic: 
218         When using $(MAIN_OBJECT), always use $(OBJ_DIR)/$(MAIN_OBJECT)
219
220         * gnatcmd.adb (Check_Project): New function
221         (Process_Link): New procedure to reduce nesting depth
222         (Check_Files): New procedure to reduce the nesting depth.
223         For GNAT METRIC, include the inherited sources in extending projects.
224         (GNATCmd): When GNAT LS is invoked with a project file and no files,
225         add the list of files from the sources of the project file. If this list
226         is too long, put it in a temp text files and use switch -files=
227         (Delete_Temp_Config_Files): Delete the temp text file that contains
228         a list of source for gnatpp or gnatmetric, if one has been created.
229         (GNATCmd): For GNAT METRIC and GNAT PRETTY, if the number of sources
230         in the project file is too large, create a temporary text file that
231         list them and pass it to the tool with "-files=<temp text file>".
232         (GNATCmd): For GNAT METRIC add "-d=<abject dir>" as the first switch
233
234         * gnatlink.adb (Gnatlink): Do not compile with --RTS= when the
235         generated file is in not in Ada.
236
237         * gnatls.adb: Remove all parameters And_Save that are no longer used.
238         (Scan_Ls_Arg): Add processing for -files=
239         (Usage): Add line for -files=
240
241         * g-os_lib.adb (On_Windows): New global constant Boolean flag
242         (Normalize_Pathname): When on Windows and the path starts with a
243         directory separator, make sure that the resulting path will start with
244         a drive letter.
245
246         * clean.adb (Clean_Archive): New procedure
247         (Clean_Project): When there is non-Ada code, delete the global archive,
248         the archive dependency files, the object files and their dependency
249         files, if they exist.
250         (Gnatclean): Call Prj.Pars.Parse for All_Languages, not for Ada only.
251
252 2004-06-25  Thomas Quinot  <quinot@act-europe.fr>
253
254         * sinfo.ads: Fix typo in comment.
255
256         * sem_dist.adb (Process_Remote_AST_Attribute): Simplify code that uses
257         the TSS for remote access-to-subprogram types, since these TSS are
258         always present once the type has been analyzed.
259         (RAS_E_Dereference): Same.
260
261         * sem_attr.adb (Analyze_Attribute): When analysis of an attribute
262         reference raises Bad_Attribute, mark the reference as analyzed so the
263         node (and any children resulting from rewrites that could have occurred
264         during the analysis that ultimately failed) is not analyzed again.
265
266         * exp_ch7.ads (Find_Final_List): Fix misaligned comment.
267
268         * exp_dist.adb: Minor comment fix.
269
270         * exp_ch4.adb (Expand_N_Allocator): For an allocator whose expected
271         type is an anonymous access type, no unchecked deallocation of the
272         allocated object can occur. If the object is controlled, attach it with
273         a count of 1. This allows attachment to the Global_Final_List, if
274         no other relevant list is available.
275         (Get_Allocator_Final_List): For an anonymous access type that is
276         the type of a discriminant or record component, the corresponding
277         finalisation list is the one of the scope of the type.
278
279 2004-06-25  Ed Schonberg  <schonberg@gnat.com>
280
281         * sem_ch3.adb (Replace_Type): When computing the signature of an
282         inherited subprogram, use the first subtype if the derived type
283         declaration has no constraint.
284
285         * exp_ch6.adb (Add_Call_By_Copy_Code): Check that formal is an array
286         before applying previous optimization. Minor code cleanup.
287
288         * exp_util.adb (Is_Possibly_Unaligned_Slice): If the component is
289         placed at the beginning of an unpacked record without explicit
290         alignment, a slice of it will be aligned and does not need a copy when
291         used as an actual.
292
293 2004-06-25  Ed Schonberg  <schonberg@gnat.com>
294
295         PR ada/15591
296         PR ada/15592
297         * sem_ch8.adb (Attribute_Renaming): Reject renaming if the attribute
298         reference is written with expressions mimicking parameters.
299
300 2004-06-25  Hristian Kirtchev  <kirtchev@gnat.com>
301
302         PR ada/15589
303         * sem_ch3.adb (Build_Derived_Record_Type): Add additional check to
304         STEP 2a. The constraints of a full type declaration of a derived record
305         type are checked for conformance with those declared in the
306         corresponding private extension declaration. The message
307         "not conformant with previous declaration" is emitted if an error is
308         detected.
309
310 2004-06-25  Vasiliy Fofanov  <fofanov@act-europe.fr>
311
312         * g-traceb.ads: Document the need for -E binder switch in the spec.
313
314         * g-trasym.ads: Document the need for -E binder switch in the spec.
315
316 2004-06-25  Jose Ruiz  <ruiz@act-europe.fr>
317
318         * sem_prag.adb: Add handling of pragma Detect_Blocking.
319
320         * snames.h, snames.ads, snames.adb: Add entry for pragma
321         Detect_Blocking.
322
323         * s-rident.ads: Change reference to pragma Detect_Blocking.
324
325         * targparm.ads, targparm.adb: Allow pragma Detect_Blocking in
326         system.ads.
327
328         * opt.ads (Detect_Blocking): New Boolean variable (defaulted to False)
329         to indicate whether pragma Detect_Blocking is active.
330
331         * par-prag.adb: Add entry for pragma Detect_Blocking.
332
333         * rtsfind.adb (RTU_Loaded): Fix the temporary kludge to get past bug
334         of not handling WITH.
335         Note that this replaces the previous update which was incorrect.
336
337 2004-06-25  Javier Miranda  <miranda@gnat.com>
338
339         * sem_ch10.adb (Re_Install_Use_Clauses): Force the installation of the
340         use-clauses to have a clean environment.
341
342         * sem_ch8.adb (Install_Use_Clauses): Addition of a new formal to force
343         the installation of the use-clauses to stablish a clean environment in
344         case of compilation of a separate unit; otherwise the call to
345         use_one_package is protected by the barrier Applicable_Use.
346
347         * sem_ch8.ads (Install_Use_Clauses): Addition of a new formal to force
348         the installation of the use-clauses to stablish a clean environment in
349         case of compilation of a separate unit.
350         (End_Use_Clauses): Minor comment cleanup.
351
352 2004-06-25  Sergey Rybin  <rybin@act-europe.fr>
353
354         * gnat_ugn.texi: Add description of the gnatpp 'files' switch
355
356 2004-06-23  Richard Henderson  <rth@redhat.com>
357
358         * trans.c (gnat_gimplify_stmt): Update gimplify_type_sizes call.
359
360 2004-06-20  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
361
362         * decl.c (elaborate_expression, elaborate_expression_1): Arguments
363         now bool instead of int.
364         (gnat_to_gnu_entity, elaborate_expression_1): New arg to COMPONENT_REF.
365         * trans.c (gnu_switch_label_stack): New function.
366         (gnat_to_gnu, N_Object_Renaming_Declaration): Result is what the
367         elaboration of renamed entity returns.
368         (gnat_to_gnu, case N_Case_Statement): Add branches to end label.
369         (add_decl_stmt): Don't add TYPE_DECL for UNCONSTRAINED_ARRAY_TYPE.
370         (gnat_gimplify_stmt): Use alloc_stmt_list, not build_empty_stmt.
371         (gnat_gimplify_stmt, case DECL_STMT): gimplify DECL_SIZE and
372         DECL_SIZE_UNIT and simplify variable-sized case.
373         (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted.
374         Callers changes to call gimplify_type_sizes and gimplify_one_sizepos.
375         (gnat_stabilize_reference): Add arg to COMPONENT_REF.
376         (build_unit_elab): Disable for now.
377         * utils.c (mark_visited): New function.
378         (pushdecl): Walk tree to call it for global decl.
379         (update_pointer_to): Update all variants of pointer and ref types.
380         Add arg to COMPONENT_REF.
381         (convert): Likewise.
382         Move check for converting between variants lower down.
383         * utils2.c (build_simple_component_ref): Add arg to COMPONENT_REF.
384         (build_allocator): Don't force type of MODIFY_EXPR.
385         (gnat_mark_addressable, case VAR_DECL): Unconditionally call
386         put_var_into_stack.
387
388 2004-06-14  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
389
390         * ada-tree.def (LOOP_STMT, EXIT_STMT): Update documentation.
391         * ada-tree.h (EXIT_STMT_LABEL): Renamed from EXIT_STMT_LOOP.
392         * decl.c (gnat_to_gnu_entity): Also set force_global for imported
393         subprograms.
394         * trans.c (gnu_loop_label_stack): Renamed from gnu_loop_stmt_stack;
395         all callers changed.
396         (gnat_to_gnu, case N_Loop_Statement, case N_Exit_Statement): Change
397         the way that EXIT_STMT finds the loop label.
398         (gnat_gimplify_stmt, case LOOP_STMT, EXIT_STMT): Likewise.
399         (gnat_gimplify_stmt, case DECL_STMT): Handle variable-sized decls here.
400         (add_stmt): Use annotate_with_locus insted of setting directly.
401         (pos_to_construct): Set TREE_PURPOSE of each entry to index.
402         (gnat_stabilize_reference, case ARRAY_RANGE_REF): Merge with ARRAY_REF.
403         * utils.c (gnat_install_builtins): Install __builtin_memcmp.
404         (build_vms_descriptor): Add extra args to ARRAY_REF.
405         (convert): Use VIEW_CONVERT_EXPR between aggregate types.
406         * utils2.c (gnat_truthvalue_conversion, case INTEGER_CST, REAL_CST):
407         New cases.
408         (build_binary_op): Don't make explicit CONVERT_EXPR.
409         Add extra rgs to ARRAY_REF.
410
411 2004-06-14  Pascal Obry  <obry@gnat.com>
412
413         * gnat_ugn.texi: Document relocatable vs. dynamic Library_Kind on
414         Windows.  Fix minor typo.
415
416         * mlib-tgt-mingw.adb: New implementation using the GCC -shared option
417         which is now supported on Windows. With this implementation using the
418         Library Project feature is no different on Windows than on UNIX.
419
420 2004-06-14  Vincent Celier  <celier@gnat.com>
421
422         * makegpr.adb (Compile_Sources): Nothing to do when there are no
423         non-Ada sources.
424
425         * mlib-tgt-vxworks.adb (Library_Exists_For): Remove incorrect comment
426
427         * prj-part.adb (Parse_Single_Project): When a duplicate project name is
428         found, show the project name and the path of the previously parsed
429         project file.
430
431 2004-06-14  Ed Schonberg  <schonberg@gnat.com>
432
433         * exp_ch6.adb (Add_Call_By_Copy_Code): For an out-parameter that is an
434         array, avoid copying the actual before the call.
435
436 2004-06-14  Thomas Quinot  <quinot@act-europe.fr>
437
438         * g-debpoo.adb: Remove alignment assumptions from GNAT.Debug_Pools.
439         Instead, allocate memory on worst-case alignment assumptions, and then
440         return an aligned address within the allocated zone.
441
442 2004-06-14  Robert Dewar  <dewar@gnat.com>
443
444         * bindgen.adb (Gen_Adainit_Ada): Do not generate external references to
445         elab entities in predefined units in No_Run_Time_Mode.
446         (Gen_Adainit_C): Same fix
447         (Gen_Elab_Calls_Ada): Do not generate calls to elaborate predefined
448         units in No_Run_Time_Mode
449         (Gen_Elab_Calls_C): Same fix
450
451         * symbols-vms-alpha.adb: Minor reformatting
452
453         * g-debpoo.ads: Minor reformatting
454
455         * lib.adb (In_Same_Extended_Unit): Version working on node id's
456
457         * lib.ads (In_Same_Extended_Unit): Version working on node id's
458
459         * lib-xref.adb: Minor cleanup, use new version of In_Same_Extended_Unit
460         working on nodes.
461
462         * make.adb: Minor reformatting
463
464         * par-ch12.adb: Minor reformatting
465
466         * par-prag.adb: Add dummy entry for pragma Profile_Warnings
467
468         * prj-strt.adb: Minor reformatting
469
470         * restrict.ads, restrict.adb: Redo handling of profile restrictions to
471         be more general.
472
473         * sem_attr.adb: Minor reformatting
474
475         * sem_ch7.adb: Minor reformatting
476
477         * sem_elab.adb (Check_A_Call): Deal with problem of calling init proc
478         for type in the same unit as the object declaration.
479
480         * sem_prag.adb (Check_Arg_Is_External_Name): New procedure, allows
481         static string expressions and not just string literals.
482         Minor reformatting
483         (Set_Warning): Reset restriction warning flag for restriction pragma
484         Implement pragma Profile_Warnings
485         Implement pragma Profile (Restricted)
486         Give obolescent messages for old restrictions and pragmas
487
488         * snames.h, snames.ads, snames.adb: Add new entry for pragma
489         Profile_Warnings.
490
491         * s-rident.ads: Add declarations for restrictions required by profile
492         Restricted and profile Ravenscar.
493
494         * targparm.ads, targparm.adb: Allow pragma Profile in system.ads
495
496         * gnat_ugn.texi: Correct some missing entries in the list of GNAT
497         configuration pragmas.
498
499 2004-06-11  Vincent Celier  <celier@gnat.com>
500
501         * mlib-tgt-vms-alpha.adb (Build_Dynamic_Library): Issue switch -R to
502         gnatsym, when symbol policy is Restricted.
503
504         * mlib-tgt-vms-ia64.adb (Build_Dynamic_Library): Issue switch -R to
505         gnatsym, when symbol policy is Restricted.
506
507         * symbols-vms-alpha.adb (Initialize): When symbol policy is Restricted,
508         read the symbol file.
509         (Finalize): Fail in symbol policy Restricted if a symbol in the original
510         symbol file is not in the object files. Do not create a new symbol file
511         when symbol policy is Restricted.
512
513         * gnatbind.adb (Gnatbind): Initialize Snames, because Snames is used
514         in Scng.
515
516         * gnatsym.adb (Parse_Vmd_Line): Process new switch -R for symbol policy
517         Restricted.
518         (Usage): Line for new switch -R
519
520         * make.adb (Initialize): When the platform is not VMS, add the
521         directory where gnatmake is invoked in the front of the path, if
522         gnatmake is invoked with directory information.  Change the Scan_Args
523         while loop to a for loop.
524         (Recursive_Compute_Depth): Remove parameter Visited. Improve efficiency:
525         if Depth is equal or greater than the proposed depth, there is nothing
526         to do.
527         (Initialize): Call Recursive_Compute_Depth with initial Depth equal to 1
528         instead of 0.
529
530         * prj.ads: Add new symbol policy Restricted.
531
532         * prj-dect.adb (Parse_Case_Construction): Call End_Case_Construction
533         with the new parameters Check_All_Labels and Case_Location.
534
535         * prj-nmsc.adb (Ada_Check): Process new symbol policy Restricted
536         (Library_Symbol_File needs to be defined).
537
538         * prj-strt.adb (End_Case_Construction): New parameters Check_All_Labels
539         and Case_Location If Check_All_Labels is True, check that all values of
540         the string type are used, and output warning(s) if they are not.
541
542         * prj-strt.ads (End_Case_Construction): New parameters Check_All_Labels
543         and Case_Location.
544
545         * gnat_ugn.texi: Reorder subclauses in menus "Switches for gcc"
546
547         * gnat_ugn.texi: Update documentation about the library directory in
548         Library Projects.
549
550         * makegpr.adb (Display_Command): In verbose mode, also display the
551         value of the CPATH env var, when the compiler is gcc.
552         (Initialize): Change the Scan_Args while loop to a for loop
553         (Compile_Individual_Sources): Change directory to object directory
554         before compilations.
555
556         * symbols.ads: New symbol policy Restricted.
557
558 2004-06-11  Olivier Hainque  <hainque@act-europe.fr>
559
560         * a-except.adb (Raise_After_Setup family): Remove. The responsibility
561         is now taken care of internally in the Exception_Propagation package
562         and does not require clients assistance any more.
563
564         * a-exexpr.adb (Is_Setup_And_Not_Propagated,
565         Set_Setup_And_Not_Propagated, and Clear_Setup_And_Not_Propagated): New
566         functions. Helpers to maintain a predicate required in the handling of
567         occurrence transfer between tasks.
568         This is now handled internally and does not require clients assistance
569         for the setup/propagate separation anymore.
570         (Setup_Exception, Propagate_Exception): Simplify the Private_Data
571         allocation strategy, handle the Setup_And_Not_Propagated predicate and
572         document.
573
574         * s-taenca.adb (Check_Exception): Use raise_with_msg instead of
575         raise_after_setup, now that everything is handled internally within the
576         setup/propagation engine.
577
578 2004-06-11  Hristian Kirtchev  <kirtchev@gnat.com>
579
580         * exp_ch6.adb (Expand_Inlined_Call): Add function Formal_Is_Used_Once.
581         Add additional conditions for the case of an actual being a simple
582         name or literal. Improve inlining by preventing the generation
583         of temporaries with a short lifetime (one use).
584
585 2004-06-11  Hristian Kirtchev  <kirtchev@gnat.com>
586
587         PR ada/15587
588
589         * einfo.ads: Minor comment updates for Has_Completion and
590         E_Constant list of flags.
591
592         * sem_ch3.adb (Analyze_Object_Declaration): Full constant declarations
593         and constant redeclarations now set the Has_Completion flag of their
594         defining identifiers.
595
596         * sem_ch7.adb (Analyze_Package_Spec): Add procedure
597         Inspect_Deferred_Constant_Completion.
598         Used to detect private deferred constants that have not been completed
599         either by a constant redeclaration or pragma Import. Emits error message
600         "constant declaration requires initialization expression".
601
602         * sem_prag.adb (Process_Import_Or_Interface): An Import pragma now
603         completes a deferred constant.
604
605 2004-06-11  Geert Bosch  <bosch@gnat.com>
606
607         * eval_fat.adb (Decompose_Int): Fix rounding of negative numbers.
608
609         * s-fatgen.adb (Gradual_Scaling): Correct off-by-one error in
610         calculating exponent for scaling denormal numbers.
611         (Leading_Part): Properly raise Constraint_Error for zero or negative
612         Adjustment.
613         (Remainder): Properly raise Constraint_Error for zero divisor.
614
615 2004-06-11  Thomas Quinot  <quinot@act-europe.fr>
616
617         * sem_util.adb: Minor reformatting.
618
619         * exp_ch2.adb (Expand_Entry_Parameter): Generate an explicit
620         dereference when accessing the entry parameter record.
621         (Check_Array_Type): Always check for possible implicit dereference.
622         (maybe_implicit_dereference): Rename to check_no_implicit_derefence.
623         Abort if a pointer is still present (denoting that an implicit
624         dereference was left in the tree by the front-end).
625
626         * sem_attr.adb (Expand_Entry_Parameter): Generate an explicit
627         dereference when accessing the entry parameter record.
628         (Check_Array_Type): Always check for possible implicit dereference.
629         (maybe_implicit_dereference): Rename to check_no_implicit_derefence.
630         Abort if a pointer is still present (denoting that an implicit
631         dereference was left in the tree by the front-end).
632
633 2004-06-11  Emmanuel Briot  <briot@act-europe.fr>
634
635         * g-debpoo.adb (Deallocate, Dereference): Add prefix "error:" to error
636         message, like the compiler itself does. Easier to parse the output.
637
638         * g-debpoo.ads: (Allocate, Deallocate, Dereference): Add comments.
639
640         * gnat_ugn.texi (gnatxref, gnatfind): Clarify that source names should
641         be base names, and not includes directories.
642
643 2004-06-11  Arnaud Charlet  <charlet@act-europe.fr>
644
645         * Makefile.generic ($(EXEC)): Depend on $(OBJECTS), not $(OBJ_FILES),
646         so that dependencies are properly taken into account by make.
647
648 2004-06-11  Arnaud Charlet  <charlet@act-europe.fr>
649
650         PR ada/15622
651         * s-unstyp.ads, s-maccod.ads, sem_ch8.adb, s-auxdec.ads,
652         exp_intr.adb, s-auxdec-vms_64.ads: Fix typo: instrinsic -> intrinsic
653
654 2004-06-11  Jerome Guitton  <guitton@act-europe.fr>
655
656         * Makefile.in (install-gnatlib): install target-specific run-time files.
657
658         * Make-lang.in: Remove obsolete targets.
659
660 2004-06-11  Ed Schonberg  <schonberg@gnat.com>
661
662         * par-ch12.adb (P_Generic): Add scope before analyzing subprogram
663         specification, to catch misuses of program unit names.
664
665         * sem_res.adb (Resolve_Type_Conversion): Do not emit warnings on
666         superfluous conversions in an instance.
667
668 2004-06-11  Ed Schonberg  <schonberg@gnat.com>
669
670         PR ada/15403
671
672         * sem_ch12.adb (Save_References): If operator node has been folded to
673         enumeration literal, associated_node must be discarded.
674
675 2004-06-11  Jose Ruiz  <ruiz@act-europe.fr>
676
677         * s-stchop-vxworks.adb: Add required pragma Convention to
678         Task_Descriptor because it is updated by a C function.
679
680 2004-06-08  Arnaud Charlet  <charlet@act-europe.fr>
681
682         PR ada/15568
683
684         * Makefile.in: Remove target specific SO_OPT on IRIX
685
686 2004-06-07  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
687
688         * ada-tree.def (TRANSFORM_EXPR, ALLOCATE_EXPR, USE_EXPR): Deleted.
689         (GNAT_NOP_EXPR, GNAT_LOOP_ID, EXPR_STMT, NULL_STMT): Likewise.
690         (BLOCK_STMT, IF_STMT, GOTO_STMT, LABEL_STMT, RETURN_STMT): Likewise.
691         (ASM_STMT, BREAK_STMT, REGION_STMT,HANDLER_STMT): Likewise.
692         (STMT_STMT, USE_STMT): New statement codes.
693         (LOOP_STMT, EXIT_STMT): Make slight semantic changes.
694         * ada-tree.h: Reflect above changes.
695         (struct tree_loop_id): Deleted.
696         (union lang_tree_node, struct lang_decl, struct lang_type):
697         Now just contains a tree node; update macros using TYPE_LANG_SPECIFIC
698         and DECL_LANGUAGE_SPECIFIC to reflect these changes.
699         (DECL_INIT_BY_ASSIGN_P, TRE_LOOP_NODE_ID, TREE_SLOC): Deleted.
700         (IS_ADA_STMT): New macro.
701         * decl.c (annotate_decl_with_node): New function.
702         (gnat_to_gnu_entity): Use it and Sloc_to_locus instead of set_lineno.
703         (gnat_to_gnu_entity, case object): Remove call to expand CONVERT_EXPR.
704         Call add_stmt_with_node to do needed assignments.
705         Add call to update setjmp buffer directly, not via EXPR_STMT.
706         (maybe_variable): Argment GNAT_NODE deleted.
707         * gigi.h (maybe_variable): Likewise.
708         (make_transform, add_stmt_with_node, set_block_for_group): New.
709         (gnat_gimplify_expr, gnat_expand_body, Sloc_to_locus): Likewise.
710         (set_block_jmpbuf_decl, get_block_jmpbuf_decl): Likewise.
711         (discard_file_names, gnu_block_stack, gnat_to_code): Deleted.
712         (set_lineno, set_lineno_from_sloc): Likewise.
713         (record_code_position, insert_code_for): Likewise.
714         (gnat_poplevel): Now returns void.
715         (end_subprog_body): Now takes argument.
716         * misc.c (cgraph.h, tree-inline.h): New includes.
717         (gnat_tree_size, LANG_HOOKS_TREE_SIZE): Deleted.
718         (gnat_post_options, LANG_HOOKS_POST_OPTIONS): New.
719         (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Likewise.
720         (LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_GIMPLIFY_EXPR): Likewise.
721         (gnat_parse_file): Don't set immediate_size_expand.
722         Call cgraph functions.
723         (gnat_expand_expr): Remove most cases.
724         (record_code_position, insert_code_for): Remove from here.
725         * trans.c (toplev.h, tree-gimple.h): Now included.
726         (discard_file_names): Deleted.
727         (gnu_block_stack, gnu_block_stmt_node, gnu_block_stmt_free_list): Del.
728         (first_nondeleted_insn, make_expr_stmt_from_rtl): Likewise.
729         (struct stmt_group, current_stmt_group, stmt_group_free_list): New.
730         (gnu_stack_free_list, record_cost_position, insert_code_for): Likewise.
731         (add_cleanup, push_stack, gnat_gimplify_stmt, add_cleanup): Likewise.
732         (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Likewise.
733         (gnat_expand_body_1, gnat_gimplify_expr, annotate_with_node): Likewise.
734         (set_block_for_group, add_stmt_list): Likewise.
735         (start_stmt_group): Renamed from start_block_stmt.
736         (end_stmt_group): Likewise, from end_block_stmt.
737         (build_stmt_group): Likewise, from build_block_stmt, also add arg.
738         (gigi): Don't set discard_file_names or call set_lineno.
739         Disallow front end ZCX; call gnat_to_gnu, not gnat_to_code.
740         (tree_transform): Deleted, now renamed to be gnat_to_gnu.
741         Numerous changes throughout to reflect new names and complete
742         function-at-a-time implementation.
743         (gnat_expand_stmt): Delete or comment out all cases.
744         (process_inlined_subprograms): Use add_stmt.
745         (process_decls): Use gnat_to_gnu, not gnat_to_code, and don't
746         call set_lineno; also remove unneeded block handling.
747         (process_type): Remove unneeded block handling.
748         (build_unit_elab): Remove calls to deleted functions.
749         * utils.c (cgraph.h, tree-inline.h, tree-gimple.h): Now include.
750         (tree-dump.h): Likewise.
751         (struct ada_binding_level): Add field jmpbuf_decl.
752         (gnat_define_builtin, gnat_install_builtins): New.
753         (gnat_gimplify_function, gnat_finalize): Likewise.
754         (gnat_poplevel): No longer return BLOCK, set it instead.
755         Remove code dealing with nested functions.
756         (gnat_init_decl_processing): Also set size_type_node.
757         Call gnat_install_builtins.
758         (create_var_decl): Don't set DECL_INIT_BY_ASSIGN.
759         (create_subprog_decl): Change handling of inline_flag; set TREE_STATIC.
760         Remove special-case for "main".
761         (end_subprog_body): Add arg and rework for tree-ssa.
762         (convert): Don't use GNAT_NOP_EXPR or look for TRANSFORM_EXPR.
763         Add case for BOOLEAN_TYPE.
764         * utils2.c (rtl.h): Now include.
765         (build_call_raise): Test Debug_Flag_NN directly.
766         (build_call_alloc_dealloc): Don't use local stack allocation for now.
767         (gnat_mark_addressable, case GNAT_NOP_EXPR): Deleted.
768         (gnat_mark_addressable, case VAR_DECL): Handle both early & late cases.
769
770 2004-06-07  Robert Dewar  <dewar@gnat.com>
771
772         * a-direct.ads, einfo.ads: Minor comment updates
773
774         * s-taprop-lynxos.adb, s-taprop-tru64.adb, s-taprop-irix.adb,
775         s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb,
776         s-taprop-dummy.adb, s-taprop-os2.adb, s-taprop-solaris.adb,
777         s-taprop-vms.adb, s-taprop-mingw.adb, s-taprop-vxworks.adb,
778         s-taprop-posix.adb, s-taprop.ads, exp_dbug.adb: Minor reformatting.
779
780         * s-interr-sigaction.adb: Remove unreferenced variable
781         (Attached_Interrupts).  Minor reformatting.
782         Avoid use of variable I (replace by J).
783
784         * par-ch10.adb: Fix text of one error message
785
786         * checks.adb, checks.ads, cstand.adb, vms_data.ads, errout.ads,
787         exp_aggr.adb, exp_ch3.adb, exp_ch3.ads, exp_ch5.adb, exp_ch6.adb,
788         exp_ch9.adb, exp_code.adb, gnat1drv.adb, lib-load.adb, lib-writ.adb,
789         opt.adb, par.adb, opt.ads, par-ch11.adb, par-ch3.adb, par-ch4.adb,
790         par-ch5.adb, par-ch6.adb, par-ch8.adb, par-ch9.adb, par-prag.adb,
791         par-util.adb, scng.adb, sem_aggr.adb, sem_attr.adb, sem_cat.adb,
792         sem_ch10.adb, sem_ch10.adb, sem_ch11.adb, sem_ch12.adb, sem_ch2.adb,
793         sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb,
794         sem_ch7.adb, sem_ch8.adb, sem_ch9.adb, sem_eval.adb, sem_prag.adb,
795         sem_res.adb, sem_type.adb, sem_util.adb, sinfo.ads, snames.adb,
796         snames.ads, snames.h, sprint.adb, switch-c.adb: Modifications for Ada
797         2005 support.
798
799 2004-06-07  Doug Rupp  <rupp@gnat.com>
800
801         * mlib-tgt-vms.adb: Rename mlib-tgt-vms.adb mlib-tgt-vms-alpha.adb
802
803         * s-vaflop-vms.adb: Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb
804
805         * mlib-tgt-vms-ia64.adb: New file.
806
807         * Makefile.in: Rename mlib-tgt-vms.adb to mlib-tgt-vms-alpha.adb
808         Add mlib-tgt-vms-ia64.adb
809         Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb.
810         Move to alpha specific ifeq section.
811         Add VMS specific versions of symbols.adb
812         Renaming of 5q vms files.
813
814         * 5qsystem.ads renamed to system-vms_64.ads.
815
816 2004-06-07  Vincent Celier  <celier@gnat.com>
817
818         * a-calend.ads: Add a GNAT Note comment after function Time_Of to
819         explain that when a time of day corresponding to the non existing hour
820         on the day switching to DST is specified, Split may return a different
821         value for Seconds.
822
823         * gnatcmd.adb: Add processing of GNAT METRIC (for gnatmetric), similar
824         to GNAT PRETTY.
825
826         * g-os_lib.adb (OpenVMS): New Boolean value imported from System.
827         (Normalize_Pathname): Only resolve VMS logical names when on VMS.
828
829         * mlib-prj.adb (Build_Library): New flag Gtrasymobj_Needed, initialize
830         to False.
831         If Gtrasymobj_Needed is True, add the full path of g-trasym.obj to
832         the linking options.
833         (Build_Library.Check_Libs): On VMS, if there is a dependency on
834         g-trasym.ads, set Gtrasymobj_Needed to True.
835
836         * prj-attr.adb: Add new package Metrics for gnatmetric
837
838         * prj-nmsc.adb (Record_Other_Sources): Put source file names in
839         canonical case to take into account files with upper case characters on
840         Windows.
841         (Ada_Check): Load the reference symbol file name in the name buffer to
842         check it, not the symbol file name.
843
844         * snames.ads, snames.adb: Add standard name Metrics (name of project
845         file package for gnatmetric).
846
847         * vms_conv.ads: Add Metric to Comment_Type
848
849         * vms_conv.adb (Initialize): Add component dor Metric in Command_List
850
851         * vms_data.ads: Add qualifiers for GNAT METRIC
852
853         * makegpr.adb (Link_Executables): Take into account the switches
854         specified in package Linker of the main project.
855
856 2004-06-07  Thomas Quinot  <quinot@act-europe.fr>
857
858         * bindgen.adb (Set_Unit_Number): Units is an instance of Table, and so
859         the index of the last element is Units.Last, not Units.Table'Last
860         (which is usually not a valid index within the actually allocated
861         storage for the table).
862
863         * exp_ch4.adb (Insert_Dereference_Action): Change predicate that
864         determines whether to generate a call to a checked storage pool
865         Dereference action.
866         Generate such a call only for a dereference that either comes from
867         source, or is the result of rewriting a dereference that comes from
868         source.
869
870 2004-06-07  Romain Berrendonner  <berrendo@act-europe.fr>
871
872         * bindgen.adb (Gen_Output_File): Add support for GAP builds.
873
874 2004-06-07  Eric Botcazou  <ebotcazou@act-europe.fr>
875
876         (gnat_to_gnu_entity) <E_Array_Subtype>: For multi-dimensional arrays at
877         file level, elaborate the stride for inner dimensions in alignment
878         units, not bytes.
879
880         * exp_ch5.adb: Correct wrong reference to Component_May_Be_Bit_Aligned
881         in a comment.
882
883 2004-06-07  Javier Miranda  <miranda@gnat.com>
884
885         * exp_ch6.adb: Correct wrong modification in previous patch
886
887 2004-06-07  Vasiliy Fofanov  <fofanov@act-europe.fr>
888
889         * g-trasym.ads: Corrected comment to properly reflect level of support
890         on VMS.
891
892 2004-06-07  Hristian Kirtchev  <kirtchev@gnat.com>
893
894         * lib-xref.adb (Generate_Reference): Add nested function Is_On_LHS. It
895         includes case of a variable referenced on the left hand side of an
896         assignment, therefore remove redundant code. Variables and prefixes of
897         indexed or selected components are now marked as referenced on left
898         hand side. Warnings are now properly emitted when variables or prefixes
899         are assigned but not read.
900
901         * sem_warn.adb (Output_Unreferenced_Messages): Add additional checks to
902         left hand side referenced variables. Private access types do not
903         produce the warning "variable ... is assigned but never read".
904         Add also additional checks to left hand side referenced variables.
905         Aliased, renamed objects and access types do not produce the warning
906         "variable ... is assigned but never read" since other entities may read
907         the memory location.
908
909 2004-06-07  Jerome Guitton  <guitton@act-europe.fr>
910
911         * Makefile.in: In the powerpc/vxworks-specific section, restore
912         EXTRA_GNATRTL_NONTASKING_OBJS and EXTRA_GNATRTL_TASKING_OBJS (removed
913         by mistake).
914
915 2004-06-07  Ed Schonberg  <schonberg@gnat.com>
916
917         * sem_ch4.adb (Remove_Abstract_Operations): Refine the removal of
918         predefined operators.
919         Removes spurious type errors from g-trasym-vms.adb.
920
921         * sem_res.adb (Rewrite_Renamed_Operator): If intrinsic operator is
922         distinct from the operator appearing in the source, call appropriate
923         routine to insert conversions when needed, and complete resolution of
924         node.
925         (Resolve_Intrinsic_Operator): Fix cut-and-paste bug on transfer of
926         interpretations for rewritten right operand.
927         (Set_Mixed_Mode_Operand): Handle properly a universal real operand when
928         the other operand is overloaded and the context is a type conversion.
929
930 2004-06-07  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
931
932         * ada-tree.def (BLOCK_STMT): Now has two operands.
933         (BREAK_STMT): New.
934
935         * ada-tree.h: (BLOCK_STMT_BLOCK): New macro.
936
937         * gigi.h: (gnat_poplevel): Now returns a tree.
938
939         * trans.c (end_block_stmt): Add arg; all callers changed.
940         (tree_transform, case N_Case_Statement): Make a BLOCK_STMT for a WHEN.
941         (start_block_stmt): Clear BLOCK_STMT_BLOCK.
942         (add_stmt): Set TREE_TYPE.
943         (gnat_expand_stmt, case BLOCK_STMT): Handle BLOCK_STMT_BLOCK.
944         (gnat_expand_stmt, case BREAK_STMT): New case.
945
946         * utils.c (gnat_poplevel): Return a BLOCK, if we made one.
947
948 2004-06-07  Jose Ruiz  <ruiz@act-europe.fr>
949
950         * s-stchop.adsm s-stchop.adb, s-stchop-vxworks.adb: Remove the
951         procedure Set_Stack_Size that is not needed.
952
953 2004-06-07  Sergey Rybin  <rybin@act-europe.fr>
954
955         * gnat_ugn.texi: Clarify the case when non-standard naming scheme is
956         used for gnatpp input file and for the files upon which it depends
957
958 2004-06-07  Ben Brosgol  <brosgol@gnat.com>
959
960         * gnat_ugn.texi: Wordsmithing of "GNAT and Libraries" chapter
961
962 2004-06-07  Arnaud Charlet  <charlet@act-europe.fr>
963
964         * gnatvsn.ads: Bump version numbers appropriately.
965         Add new build type.
966
967 2004-06-07  Pascal Obry  <obry@gnat.com>
968
969         * gnat_ugn.texi: Improve comments about imported names and link names
970         on Windows. Add a note about the requirement to use -k gnatdll's option
971         when working with a DLL which has stripped stdcall symbols (no @nn
972         suffix).
973
974 2004-05-27  Vincent Celier  <celier@gnat.com>
975
976         * vms_data.ads: Add new GNAT PRETTY qualifiers /NO_BACKUP and
977         COMMENTS_LAYOUT=UNTOUCHED
978
979         * symbols-vms.adb, symbols-vms-alpha.adb: Renamed symbols-vms.adb to
980         symbols-vms-alpha.adb
981
982 2004-05-27  Thomas Quinot  <quinot@act-europe.fr>
983
984         * sem.ads: Clarify documentation on checks suppression.
985
986         * einfo.ads (Is_Known_Non_Null): Minor comment typo fix and rephrasing.
987
988 2004-05-27  Ed Schonberg  <schonberg@gnat.com>
989
990         * sem_util.adb (Is_Descendent_Of): Examine properly all ancestors in
991         the case of multiple derivations.
992         (Is_Object_Reference): For a selected component, verify that the prefix
993         is itself an object and not a value.
994
995         * sem_ch12.adb (Same_Instantiated_Constant): New name for
996         Same_Instantiated_Entity.
997         (Same_Instantiated_Variable): Subsidiary to
998         Check_Formal_Package_Instance, to recognize actuals for in-out generic
999         formals that are obtained from a previous formal package.
1000         (Instantiate_Subprogram_Body): Emit proper error when
1001         generating code and the proper body of a stub is missing.
1002
1003         * sem_ch4.adb (Remove_Address_Interpretations): If the operation still
1004         has a universal interpretation, do the disambiguation here.
1005
1006         * exp_ch4.adb (Expand_N_Type_Conversion,
1007         Expand_N_Unchecked_Type_Conversion): Special handling when target type
1008         is Address, to avoid typing anomalies when Address is a visible integer
1009         type.
1010
1011         * exp_ch6.adb (Expand_N_Subprogram_Body): Use Is_Descendent_Of_Address
1012         to determine whether a subprogram should not be marked Pure, even when
1013         declared in a pure package.
1014
1015 2004-05-27  Jose Ruiz  <ruiz@act-europe.fr>
1016
1017         * gnat_ugn.texi: Replace pragma Ravenscar by pragma Profile.
1018
1019         * gnat_rm.texi: Replace Max_Entry_Queue_Depth by Max_Entry_Queue_Length
1020         Document No_Dynamic_Attachment, that supersedes No_Dynamic_Interrupts.
1021         Update the documentation about the Ravenscar profile, following the
1022         definition found in AI-249.
1023
1024         * sem_prag.adb: Use FIFO_Within_Priorities and Ceiling_Locking when
1025         setting the Profile (Ravenscar). This must be done in addition to
1026         setting the required restrictions.
1027
1028         * rtsfind.ads: Add the set of operations defined in package
1029         Ada.Interrupts.
1030
1031         * exp_ch6.adb: Check whether we are violating the No_Dynamic_Attachment
1032         restriction.
1033
1034 2004-05-27  Eric Botcazou  <ebotcazou@act-europe.fr>
1035
1036         lang-specs.h: Always require -c or -S and always redirect to /dev/null
1037         if -gnatc or -gnats is passed.
1038
1039 2004-05-27  Hristian Kirtchev  <kirtchev@gnat.com>
1040
1041         * sem_prag.adb (Sig_Flags): A Pragma_Unchecked_Union does not count as
1042         a significant reference. Warnings are now properly emitted when a
1043         discriminated type is not referenced.
1044
1045         * lib-xref.adb (Generate_Reference): A deferred constant completion,
1046         record representation clause or record type discriminant does not
1047         produce a reference to its corresponding entity. Warnings are now
1048         properly emitted when deferred constants and record types are not
1049         referenced.
1050
1051 2004-05-27  Geert Bosch  <bosch@gnat.com>
1052
1053         * Makefile.in: Use long version of libm routines on ia64 gnu/linux.
1054         Fixes ACATS Annex G tests.
1055
1056 2004-05-27  Robert Dewar  <dewar@gnat.com>
1057
1058         * rtsfind.adb (RTU_Loaded): Temporary kludge to get past bug of not
1059         handling WITH
1060
1061 2004-05-27  Arnaud Charlet  <charlet@act-europe.fr>
1062
1063         * s-interr.adb (Server_Task): Take into account case of early return
1064         from sigwait under e.g. linux.
1065
1066 2004-05-27  Sergey Rybin  <rybin@act-europe.fr>
1067
1068         * gnat_ugn.texi: Add description for the new gnatpp options:
1069          -rnb - replace the original source without creating its backup copy
1070          -c0 - do not format comments
1071
1072 2004-05-24  Geert Bosch  <bosch@gnat.com>
1073
1074         * a-numaux-x86.adb (Reduce): Reimplement using an approximation of Pi
1075         with 192 bits of precision, sufficient to reduce a double-extended
1076         arguments X with a maximum relative error of T'Machine_Epsilon, for X
1077         in -2.0**32 .. 2.0**32.
1078         (Cos, Sin):  Always reduce arguments of 1/4 Pi or larger, to prevent
1079         reduction by the processor, which only uses a 68-bit approximation of
1080         Pi.
1081         (Tan): Always reduce arguments and compute function either using
1082         the processor's fptan instruction, or by dividing sin and cos as needed.
1083
1084 2004-05-24  Doug Rupp  <rupp@gnat.com>
1085
1086         * adaint.c (__gnat_readdir): Cast CRTL function retun value to avoid
1087         gcc error on 32/64 bit VMS.
1088
1089 2004-05-24  Olivier Hainque  <hainque@act-europe.fr>
1090
1091         * init.c (__gnat_error_handler): Handle EEXIST as EACCES for SIGSEGVs,
1092         since this is what we get for stack overflows although not documented
1093         as such.
1094         Document the issues which may require adjustments to our signal
1095         handlers.
1096
1097 2004-05-24  Ed Schonberg  <schonberg@gnat.com>
1098
1099         * inline.adb (Add_Scope_To_Clean): Do not add cleanup actions to the
1100         enclosing dynamic scope if the instantiation is within a generic unit.
1101
1102 2004-05-24  Arnaud Charlet  <charlet@act-europe.fr>
1103
1104         * exp_dbug.ads: Fix typo.
1105
1106         * Makefile.in: s-osinte-linux-ia64.ads was misnamed.
1107         Rename it to its proper name: system-linux-ia64.ads
1108         (stamp-gnatlib1): Remove extra target specific run time files when
1109         setting up the rts directory.
1110
1111 2004-05-24  Javier Miranda  <miranda@gnat.com>
1112
1113         * einfo.ads, einfo.adb (Limited_Views): Removed.
1114         (Limited_View): New attribute that replaces the previous one. It is
1115         now a bona fide package with the limited-view list through the
1116         first_entity and first_private attributes.
1117
1118         * sem_ch10.adb (Install_Private_With_Clauses): Give support to
1119         limited-private-with clause.
1120         (Install_Limited_Withed_Unit): Install the private declarations of a
1121         limited-private-withed package. Update the installation of the shadow
1122         entities according to the new structure (see Build_Limited_Views)
1123         (Build_Limited_Views): Replace the previous implementation of the
1124         limited view by a package entity that references the first shadow
1125         entity plus the first shadow private entity (required for limited-
1126         private-with clause)
1127         (New_Internal_Shadow_Entity): Code cleanup.
1128         (Remove_Limited_With_Clause): Update the implementation to undo the
1129         new work carried out by Build_Limited_Views.
1130         (Build_Chain): Complete documentation.
1131         Replace Ada0Y by Ada 0Y in comments
1132         Minor reformating
1133
1134         * sem_ch3.adb (Array_Type_Declaration): In case of anonymous access
1135         types the level of accessibility depends on the enclosing type
1136         declaration.
1137
1138         * sem_ch8.adb (Find_Expanded_Name): Fix condition to detect shadow
1139         entities. Complete documentation of previous change.
1140
1141 2004-05-24  Robert Dewar  <dewar@gnat.com>
1142
1143         * namet.adb: Minor reformatting
1144         Avoid use of name I (replace by J)
1145         Minor code restructuring
1146
1147         * sem_ch6.adb: Minor reformatting
1148
1149         * lib-writ.adb: Do not set restriction as active if this is a
1150         Restriction_Warning case.
1151
1152         * sem_prag.adb: Reset restriction warning flag if real pragma
1153         restriction encountered.
1154
1155         * s-htable.adb: Minor reformatting
1156         Change rotate count to 3 in Hash (improves hash for small strings)
1157
1158         * 5qsystem.ads: Add comments for type Address (no literals allowed).
1159
1160         * gnat_ugn.texi: Add new section of documentation "Code Generation
1161         Control", which describes the use of -m switches.
1162
1163 2004-05-24  Eric Botcazou  <ebotcazou@act-europe.fr>
1164
1165         trans.c (tree_transform) <N_Identifier>: Do the dereference directly
1166         through the DECL_INITIAL for renamed variables.
1167
1168 2004-05-24  Arnaud Charlet  <charlet@act-europe.fr>
1169
1170         * s-osinte-linux-ia64.ads: Renamed system-linux-ia64.ads
1171
1172 2004-05-19  Joel Brobecker  <brobecker@gnat.com>
1173
1174         * exp_dbug.ads: Correct comments concerning handling of overloading,
1175         since we no longer use $ anymore.
1176
1177 2004-05-19  Sergey Rybin  <rybin@act-europe.fr>
1178
1179         * sem_ch10.adb (Optional_Subunit): When loading a subunit, do not
1180         ignore errors if ASIS_Mode is set. This prevents creating ASIS trees
1181         with illegal subunits.
1182
1183 2004-05-19  Ed Schonberg  <schonberg@gnat.com>
1184
1185         * sem_ch6.adb (Check_Following_Pragma): When compiling a subprogram
1186         body with front-end inlining enabled, check whether an inline pragma
1187         appears immediately after the body and applies to it.
1188
1189         * sem_prag.adb (Cannot_Inline): Emit warning if front-end inlining is
1190         enabled and the pragma appears after the body of the subprogram.
1191
1192 2004-05-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1193
1194         Part of function-at-a-time conversion
1195
1196         * misc.c (adjust_decl_rtl): Deleted.
1197         (LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK):
1198         Define.
1199
1200         * gigi.h: (adjust_decl_rtl, kept_level_p, set_block): Deleted.
1201         (add_decl_stmt, add_stmt, block_has_vars): New functions.
1202         (gnat_pushlevel, gnat_poplevel): Renamed from pushlevel and poplevel.
1203
1204         * decl.c (elaborate_expression, maybe_pad_type): Call add_decl_stmt
1205         when making a decl.
1206         (gnat_to_gnu_entity): Likewise.
1207         Use add_stmt to update setjmp buffer.
1208         Set TREE_ADDRESSABLE instead of calling put_var_into_stack and
1209         flush_addressof.
1210         No longer call adjust_decl_rtl.
1211         (DECL_INIT_BY_ASSIGN_P): New macro.
1212         (DECL_STMT_VAR): Likewise.
1213
1214         * trans.c (gigi): Call start_block_stmt to make the outermost
1215         BLOCK_STMT.
1216         (gnat_to_code, gnu_to_gnu, tree_transform, process_decls, process_type):
1217         Call start_block_stmt and end_block_stmt temporarily.
1218         Use gnat_expand_stmt instead of expand_expr_stmt.
1219         (add_decl_stmt): New function.
1220         (tree_transform): Call it.
1221         (add_stmt): Also emit initializing assignment for DECL_STMT if needed.
1222         (end_block_stmt): Set type and NULL_STMT.
1223         (gnat_expand_stmt): Make recursize call instead of calling
1224         expand_expr_stmt.
1225         (gnat_expand_stmt, case DECL_STMT): New case.
1226         (set_lineno_from_sloc): Do nothing if global.
1227         (gnu_block_stmt_node, gnu_block_stmt_free_list): New variables.
1228         (start_block_stmt, add_stmt, end_block_stmt): New functions.
1229         (build_block_stmt): Call them.
1230         (gnat_to_code): Don't expand NULL_STMT.
1231         (build_unit_elab): Rename pushlevel and poplevel to gnat_* and change
1232         args.
1233         (tree_transform): Likewise.
1234         (tree_transform, case N_Null_Statement): Return NULL_STMT.
1235         (gnat_expand_stmt, case NULL_STMT): New case.
1236         (gnat_expand_stmt, case IF_STMT): Allow nested IF_STMT to have no
1237         IF_STMT_TRUE.
1238
1239         * utils2.c (gnat_mark_addressable, case VAR_DECL): Do not set
1240         TREE_ADDRESSABLE.
1241
1242         * utils.c (create_var_decl): Do not call expand_decl or
1243         expand_decl_init.
1244         Set TREE_ADDRESSABLE instead of calling gnat_mark_addressable.
1245         Set DECL_INIT_BY_ASSIGN_P when needed and do not generate MODIFY_EXPR
1246         here.
1247         (struct e_stack): Add chain_next to GTY.
1248         (struct binding_level): Deleted.
1249         (struct ada_binding_level): New struct.
1250         (free_block_chain): New.
1251         (global_binding_level, clear_binding_level): Deleted.
1252         (global_bindings_p): Rework to see if no chain.
1253         (kept_level_p, set_block): Deleted.
1254         (gnat_pushlevel): Renamed from pushlevel and extensive reworked to use
1255         new data structure and work directly on BLOCK node.
1256         (gnat_poplevel): Similarly.
1257         (get_decls): Look at BLOCK_VARS.
1258         (insert_block): Work directly on BLOCK node.
1259         (block_has_var): New function.
1260         (pushdecl): Rework for new binding structures.
1261         (gnat_init_decl_processing): Rename and rework calls to pushlevel and
1262         poplevel.
1263         (build_subprog_body): Likewise.
1264         (end_subprog_body): Likewise; also set up BLOCK in DECL_INITIAL.
1265
1266         * ada-tree.def (DECL_STMT, NULL_STMT): New codes.
1267
1268         * ada-tree.h: (DECL_INIT_BY_ASSIGN_P): New macro.
1269         (DECL_STMT_VAR): Likewise.
1270
1271 2004-05-17  Robert Dewar  <dewar@gnat.com>
1272
1273         * restrict.ads, restrict.adb (Process_Restriction_Synonym): New
1274         procedure
1275
1276         * sem_prag.adb (Analyze_Pragma, case Restrictions): Cleanup handling
1277         of restriction synonyums by using
1278         Restrict.Process_Restriction_Synonyms.
1279
1280         * snames.ads, snames.adb: Add entries for Process_Restriction_Synonym
1281
1282         * s-restri.ads (Tasking_Allowed): Correct missing comment
1283
1284         * s-rident.ads: Add entries for restriction synonyms
1285
1286         * ali.adb: Fix some problems with badly formatted ALI files that can
1287         result in infinite loops.
1288
1289         * s-taprop-lynxos.adb, s-tpopsp-lynxos.adb, s-taprop-tru64.adb,
1290         s-tpopsp-posix-foreign.adb, s-taprop-irix.adb, s-interr-sigaction.adb,
1291         s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb,
1292         s-taprop-dummy.adb, s-interr-dummy.adb, s-taprop-os2.adb,
1293         s-taprop-solaris.adb, s-tpopsp-solaris.adb, s-asthan-vms.adb,
1294         s-inmaop-vms.adb, s-interr-vms.adb, s-taprop-vms.adb,
1295         s-tpopde-vms.adb, s-taprop-mingw.adb, s-interr-vxworks.adb,
1296         s-taprop-vxworks.adb, s-tpopsp-vxworks.adb, s-taprop-posix.adb,
1297         s-tpopsp-posix.adb, s-tratas-default.adb, a-dynpri.adb,
1298         a-tasatt.adb, a-taside.adb, a-taside.ads, exp_attr.adb,
1299         exp_ch9.adb, g-thread.adb, rtsfind.ads, sem_attr.adb,
1300         s-interr.adb, s-interr.ads, s-soflin.ads, s-taasde.adb,
1301         s-taasde.ads, s-taenca.adb, s-taenca.ads, s-taprop.ads,
1302         s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
1303         s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
1304         s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
1305         s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
1306         s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
1307         s-tpoben.adb, s-tpobop.adb, s-tpobop.ads, s-tporft.adb,
1308         s-tposen.adb, s-tposen.ads, s-tratas.adb, s-tratas.ads: Change Task_ID
1309         to Task_Id (minor cleanup).
1310
1311 2004-05-17  Vincent Celier  <celier@gnat.com>
1312
1313         * g-os_lib.adb (Normalize_Pathname.Final_Value): Remove trailing
1314         directory separator.
1315
1316         * prj-proc.adb (Recursive_Process): Inherit attribute Languages from
1317         project being extended, if Languages is not declared in extending
1318         project.
1319
1320 2004-05-17  Javier Miranda  <miranda@gnat.com>
1321
1322         * sem_ch10.adb (Install_Limited_Withed_Unit): Do not install the
1323         limited view of a visible sibling.
1324
1325 2004-05-14  Robert Dewar  <dewar@gnat.com>
1326
1327         * gnat_ugn.texi: Minor change to -gnatS documentation
1328
1329         * sprint.adb: Remove some instances of Assert (False) and for this
1330         purpose replace them by output of a ??? string.
1331
1332         * checks.adb, exp_aggr.adb, sem_elim.adb: Remove useless pragma
1333         Assert (False).
1334
1335         * lib-writ.adb, lib-load.adb, lib.ads, lib.adb: Remove Dependent_Unit
1336         flag processing. This was suppressing required dependencies in
1337         No_Run_Time mode and is not needed since the binder does not generate
1338         references for things in libgnat anyway.
1339
1340         * sem_ch3.adb (Access_Type_Declaration): Reorganize code to avoid GCC
1341         warning.
1342
1343 2004-05-14  Thomas Quinot  <quinot@act-europe.fr>
1344
1345         * gnat_ugn.texi: Document AIX-specific issue with initialization of
1346         resolver library.
1347
1348         * exp_ch4.adb (Insert_Dereference_Action): Do not generate dereference
1349         action for the case of an actual parameter in an init proc call.
1350
1351 2004-05-14  Ed Schonberg  <schonberg@gnat.com>
1352
1353         * sem_ch4.adb (Analyze_Selected_Component): If prefix is a protected
1354         subtype, check visible entities in base type.
1355
1356         * exp_ch7.adb (Clean_Simple_Protected_Objects): Do not generate cleanup
1357         actions if the object is a renaming.
1358
1359         * sem_ch12.adb (Same_Instantiated_Entity): Predicate for
1360         Check_Formal_Package_Instance, to determine more precisely when the
1361         formal and the actual denote the same entity.
1362
1363 2004-05-14  Javier Miranda  <miranda@gnat.com>
1364
1365         * par-ch10.adb (P_Context_Clause): Complete documentation on AI-262
1366
1367         * sem_ch10.adb (Analyze_With_Clause): After analyzed, the entity
1368         corresponding to a private_with must be removed from visibility; it
1369         will be made visible later, just before we analyze the private part of
1370         the package.
1371         (Check_Private_Child_Unit): Allow private_with clauses in public
1372         siblings.
1373         (Install_Siblings): Make visible the private entities of private-withed
1374         siblings.
1375         (Install_Withed_Unit): Do not install the private withed unit if we
1376         are compiling a package declaration and the Private_With_OK flag was
1377         not set by the caller. These declarations will be installed later,
1378         just before we analyze the private part of the package.
1379
1380         * sem_ch3.adb (Analyze_Object_Declaration): In case of errors detected
1381         during the evaluation of the expression that initializes the object,
1382         decorate it with the expected type to avoid cascade errors.
1383         Code cleanup.
1384
1385         * sem_ch6.adb (Analyze_Subprogram_Body): If we are compiling a library
1386         subprogram we have to install the private_with clauses after its
1387         specification has been analyzed (as documented in AI-262.TXT).
1388
1389         * sem_ch8.adb (Has_Private_With): New function. Determines if the
1390         current compilation unit has a private with on a given entity.
1391         (Find_Direct_Name): Detect the Beaujolais problem described in
1392         AI-262.TXT
1393
1394         * sem_utils.ads, sem_util.adb (Is_Ancestor_Package): New function. It
1395         provides the functionality of the function Is_Ancestor that was
1396         previously available in sem_ch10. It has been renamed to avoid
1397         overloading.
1398
1399         * sprint.adb (Sprint_Node_Actual): Print limited_with clauses
1400
1401 2004-05-14  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1402
1403         * utils.c (build_vms_descriptor): Use SImode pointers.
1404
1405 2004-05-14  Vasiliy Fofanov  <fofanov@act-europe.fr>
1406
1407         * gnat_ugn.texi: Revised chapter "GNAT and Libraries".
1408
1409 2004-05-14  GNAT Script  <nobody@gnat.com>
1410
1411         * Make-lang.in: Makefile automatically updated
1412
1413 2004-05-14  Arnaud Charlet  <charlet@act-europe.fr>
1414
1415         Renaming of target specific files for clarity
1416
1417         * Makefile.in: Rename GNAT target specific files.
1418
1419         * 31soccon.ads, 31soliop.ads 35soccon.ads, 3asoccon.ads,
1420         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3psoccon.ads,
1421         3ssoccon.ads, 3ssoliop.ads, 3veacodu.adb, 3vexpect.adb,
1422         3vsoccon.ads, 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb,
1423         3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, 3wsoliop.ads,
1424         3zsoccon.ads, 3zsocthi.adb, 3zsocthi.ads, 41intnam.ads,
1425         42intnam.ads, 45intnam.ads, 4aintnam.ads, 4cintnam.ads,
1426         4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, 4lintnam.ads,
1427         4nintnam.ads, 4ointnam.ads, 4onumaux.ads, 4pintnam.ads,
1428         4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, 4vcalend.ads,
1429         4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, 4wintnam.ads,
1430         4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, 4zsytaco.ads,
1431         51osinte.adb, 51osinte.ads, 51system.ads,
1432         52osinte.adb, 52osinte.ads, 53osinte.ads, 54osinte.ads,
1433         55osinte.adb, 55osinte.ads, 55system.ads, 56osinte.adb,
1434         56osinte.ads, 56system.ads, 56taprop.adb, 56taspri.ads,
1435         56tpopsp.adb, 57system.ads, 58system.ads,
1436         5amastop.adb, 5aml-tgt.adb, 5aosinte.adb, 5aosinte.ads,
1437         5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
1438         5atpopsp.adb, 5avxwork.ads, 5bml-tgt.adb, 5bosinte.adb,
1439         5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5csystem.ads,
1440         5dsystem.ads, 5esystem.ads, 5fintman.adb, 5fosinte.adb,
1441         5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
1442         5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gml-tgt.adb,
1443         5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
1444         5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
1445         5hml-tgt.adb, 5hosinte.adb, 5hosinte.ads, 5hparame.ads,
1446         5hsystem.ads, 5htaprop.adb, 5htaspri.ads, 5htraceb.adb,
1447         5iosinte.adb, 5iosinte.ads, 5itaprop.adb, 5itaspri.ads,
1448         5ksystem.ads, 5kvxwork.ads, 5lml-tgt.adb, 5losinte.ads,
1449         5lparame.adb, 5lsystem.ads, 5msystem.ads, 5mvxwork.ads,
1450         5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5nsystem.ads,
1451         5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
1452         5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
1453         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
1454         5posprim.adb, 5psystem.ads, 5pvxwork.ads, 5sintman.adb,
1455         5sml-tgt.adb, 5sosinte.adb, 5sosinte.ads, 5sosprim.adb,
1456         5sparame.adb, 5ssystem.ads, 5staprop.adb, 5stasinf.adb,
1457         5stasinf.ads, 5staspri.ads, 5stpopsp.adb, 5svxwork.ads,
1458         5tosinte.ads, 5usystem.ads, 5vasthan.adb, 5vdirval.adb,
1459         5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
1460         5vmastop.adb, 5vml-tgt.adb, 5vosinte.adb, 5vosinte.ads,
1461         5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsymbol.adb,
1462         5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
1463         5vtpopde.ads, 5vtraent.adb, 5vtraent.ads, 5vvaflop.adb,
1464         5wdirval.adb, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
1465         5wml-tgt.adb, 5wosinte.ads, 5wosprim.adb, 5wsystem.ads,
1466         5wtaprop.adb, 5wtaspri.ads, 5xparame.ads, 5xsystem.ads,
1467         5xvxwork.ads, 5yparame.ads, 5ysystem.ads, 5zinterr.adb,
1468         5zintman.adb, 5zintman.ads, 5zml-tgt.adb, 5zosinte.adb,
1469         5zosinte.ads, 5zosprim.adb, 5zparame.ads, 5zstchop.adb,
1470         5zsystem.ads, 5ztaprop.adb, 5ztaspri.ads, 5ztfsetr.adb,
1471         5ztpopsp.adb, 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads,
1472         7sinmaop.adb, 7sintman.adb, 7sosinte.adb, 7sosprim.adb,
1473         7staprop.adb, 7staspri.ads, 7stfsetr.adb, 7stpopsp.adb,
1474         7straceb.adb, 7straces.adb, 7strafor.adb, 7strafor.ads,
1475         7stratas.adb, 86numaux.adb, 86numaux.ads: Replaced by files below.
1476
1477         * a-caldel-vms.adb, a-calend-mingw.adb, a-calend-vms.adb,
1478         a-calend-vms.ads, a-dirval-mingw.adb, a-dirval-vms.adb,
1479         a-excpol-abort.adb, a-excpol-interix.adb, a-intnam-aix.ads,
1480         a-intnam-dummy.ads, a-intnam-freebsd.ads, a-intnam-hpux.ads,
1481         a-intnam-interix.ads, a-intnam-irix.ads, a-intnam-linux.ads,
1482         a-intnam-lynxos.ads, a-intnam-mingw.ads, a-intnam-os2.ads,
1483         a-intnam-solaris.ads, a-intnam-tru64.ads, a-intnam-unixware.ads,
1484         a-intnam-vms.ads, a-intnam-vxworks.ads, a-numaux-libc-x86.ads,
1485         a-numaux-vxworks.ads, a-numaux-x86.adb, a-numaux-x86.ads,
1486         a-sytaco-vxworks.adb, a-sytaco-vxworks.ads, g-eacodu-vms.adb,
1487         g-expect-vms.adb, g-soccon-aix.ads, g-soccon-freebsd.ads,
1488         g-soccon-hpux.ads, g-soccon-interix.ads, g-soccon-irix.ads,
1489         g-soccon-mingw.ads, g-soccon-solaris.ads, g-soccon-tru64.ads,
1490         g-soccon-unixware.ads, g-soccon-vms.adb, g-soccon-vxworks.ads,
1491         g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi-vms.adb,
1492         g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads,
1493         g-soliop-mingw.ads, g-soliop-solaris.ads, g-soliop-unixware.ads,
1494         g-trasym-vms.adb, i-cpp-vms.adb, i-cstrea-vms.adb,
1495         interfac-vms.ads, mlib-tgt-aix.adb, mlib-tgt-hpux.adb,
1496         mlib-tgt-irix.adb, mlib-tgt-linux.adb, mlib-tgt-mingw.adb,
1497         mlib-tgt-solaris.adb, mlib-tgt-tru64.adb, mlib-tgt-vms.adb,
1498         mlib-tgt-vxworks.adb, s-asthan-vms.adb, s-gloloc-mingw.adb,
1499         s-inmaop-dummy.adb, s-inmaop-posix.adb, s-inmaop-vms.adb,
1500         s-interr-dummy.adb, s-interr-sigaction.adb, s-interr-vms.adb,
1501         s-interr-vxworks.adb, s-intman-dummy.adb, s-intman-irix.adb,
1502         s-intman-irix-athread.adb, s-intman-mingw.adb, s-intman-posix.adb,
1503         s-intman-solaris.adb, s-intman-vms.adb, s-intman-vms.ads,
1504         s-intman-vxworks.adb, s-intman-vxworks.ads, s-mastop-irix.adb,
1505         s-mastop-tru64.adb, s-mastop-vms.adb, s-mastop-x86.adb,
1506         s-memory-mingw.adb, s-osinte-aix.adb, s-osinte-aix.ads,
1507         s-osinte-aix-fsu.ads, s-osinte-dummy.ads, s-osinte-freebsd.adb,
1508         s-osinte-freebsd.ads, s-osinte-fsu.adb, s-osinte-hpux.ads,
1509         s-osinte-hpux-dce.adb, s-osinte-hpux-dce.ads, s-osinte-interix.ads,
1510         s-osinte-irix.adb, s-osinte-irix.ads, s-osinte-irix-athread.ads,
1511         s-osinte-linux.ads, s-osinte-linux-fsu.ads, s-osinte-linux-ia64.ads,
1512         s-osinte-lynxos-3.adb, s-osinte-lynxos-3.ads, s-osinte-lynxos.adb,
1513         s-osinte-lynxos.ads, s-osinte-mingw.ads, s-osinte-os2.adb,
1514         s-osinte-os2.ads, s-osinte-posix.adb, s-osinte-solaris.adb,
1515         s-osinte-solaris.ads, s-osinte-solaris-fsu.ads,
1516         s-osinte-solaris-posix.ads, s-osinte-tru64.adb, s-osinte-tru64.ads,
1517         s-osinte-unixware.adb, s-osinte-unixware.ads, s-osinte-vms.adb,
1518         s-osinte-vms.ads, s-osinte-vxworks.adb,
1519         s-osinte-vxworks.ads, s-osprim-mingw.adb,
1520         s-osprim-os2.adb, s-osprim-posix.adb, s-osprim-solaris.adb,
1521         s-osprim-unix.adb, s-osprim-vms.adb, s-osprim-vms.ads,
1522         s-osprim-vxworks.adb, s-parame-ae653.ads, s-parame-hpux.ads,
1523         s-parame-linux.adb, s-parame-os2.adb, s-parame-solaris.adb,
1524         s-parame-vms.ads, s-parame-vms-restrict.ads, s-parame-vxworks.ads,
1525         s-proinf-irix-athread.adb, s-proinf-irix-athread.ads,
1526         s-stchop-vxworks.adb, s-taprop-dummy.adb,
1527         s-taprop-hpux-dce.adb, s-taprop-irix.adb,
1528         s-taprop-irix-athread.adb, s-taprop-linux.adb, s-taprop-lynxos.adb,
1529         s-taprop-mingw.adb, s-taprop-os2.adb, s-taprop-posix.adb,
1530         s-taprop-solaris.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
1531         s-taprop-vxworks.adb, s-tasinf-irix.ads, s-tasinf-irix-athread.adb,
1532         s-tasinf-irix-athread.ads, s-tasinf-solaris.adb, s-tasinf-solaris.ads,
1533         s-tasinf-tru64.ads, s-taspri-dummy.ads, s-taspri-hpux-dce.ads,
1534         s-taspri-linux.ads, s-taspri-lynxos.ads, s-taspri-mingw.ads,
1535         s-taspri-os2.ads, s-taspri-posix.ads, s-taspri-solaris.ads,
1536         s-taspri-tru64.ads, s-taspri-vms.ads, s-taspri-vxworks.ads,
1537         s-tfsetr-default.adb, s-tfsetr-vxworks.adb, s-tpopde-vms.adb,
1538         s-tpopde-vms.ads, s-tpopsp-lynxos.adb, s-tpopsp-posix.adb,
1539         s-tpopsp-posix-foreign.adb, s-tpopsp-solaris.adb, s-tpopsp-vxworks.adb,
1540         s-traceb-hpux.adb, s-traceb-mastop.adb, s-traces-default.adb,
1541         s-traent-vms.adb, s-traent-vms.ads, s-trafor-default.adb,
1542         s-trafor-default.ads, s-tratas-default.adb, s-vaflop-vms.adb,
1543         s-vxwork-alpha.ads, s-vxwork-m68k.ads, s-vxwork-mips.ads,
1544         s-vxwork-ppc.ads, s-vxwork-sparcv9.ads, s-vxwork-xscale.ads,
1545         symbols-vms.adb, system-aix.ads, system-freebsd-x86.ads,
1546         system-hpux.ads, system-interix.ads, system-irix-n32.ads,
1547         system-irix-o32.ads, system-linux-x86_64.ads,
1548         system-linux-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads,
1549         system-mingw.ads, system-os2.ads, system-solaris-sparc.ads,
1550         system-solaris-sparcv9.ads, system-solaris-x86.ads, system-tru64.ads,
1551         system-unixware.ads, system-vms.ads, system-vms-zcx.ads,
1552         system-vxworks-alpha.ads, system-vxworks-m68k.ads,
1553         system-vxworks-mips.ads, system-vxworks-ppc.ads,
1554         system-vxworks-sparcv9.ads, system-vxworks-xscale.ads: Replace files
1555         above.
1556
1557 2004-05-13  Zack Weinberg  <zack@codesourcery.com>
1558
1559         * trans.c (gnat_stabilize_reference_1): Remove case 'b'.
1560
1561 2004-05-13  Diego Novillo  <dnovillo@redhat.com>
1562
1563         Merge from tree-ssa-20020619-branch.
1564
1565         * config-lang.in (boot_language, build_by_default): Set
1566         to no.
1567         * utils.c (unchecked_convert): Use OEP_ONLY_CONST.
1568         (max_size): Add static chain op for call_expr.
1569
1570 2004-05-12  Richard Sandiford  <rsandifo@redhat.com>
1571
1572         PR target/15331
1573         * 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '.
1574
1575 2004-05-11  Roger Sayle  <roger@eyesopen.com>
1576
1577         * utils.c (max_size): Use MIN_EXPR to find the minimum value of a
1578         COND_EXPR.
1579
1580 2004-05-10  Doug Rupp  <rupp@gnat.com>
1581
1582         * 5qsystem.ads: Remove Short_Address subtype declaration. Moved to
1583         system.aux_dec.
1584
1585         * s-auxdec.ads: Add Short_Address subtype (moved here from System).
1586
1587         * Makefile.in: [VMS]: Add translation for 5qauxdec.ads.
1588
1589         * init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha.
1590         Fixes undefined symbols in IA64 gnatlib.
1591
1592         * 5vinmaop.adb: Reference s-auxdec for Short_Address.
1593
1594         * 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype
1595         Short_Address). This will be moved to system.auxdec.
1596
1597 2004-05-10  Thomas Quinot  <quinot@act-europe.fr>
1598
1599         * sem_util.adb: Replace test for presence of a node that is always
1600         present with a call to Discard_Node.
1601
1602         * sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to
1603         Analyze on the library unit node after generation of distribution stub
1604         constructs.  The call was a no-op because Unit_Node has already been
1605         Analyzed, and the tree fragments for the distribution stubs are
1606         analyzed as they are inserted in Exp_Dist.
1607         Update comment regarding to distribution stubs to reflect that we
1608         do not generate stub in separate files anymore.
1609
1610         * einfo.ads: Clarify the fact that a tagged private type has the
1611         E_Record_Type_With_Private Ekind.
1612
1613         * erroutc.adb: Minor reformatting
1614
1615         * erroutc.ads (Max_Msg_Length): Increase to cover possible larger
1616         values if line length is increased using -gnatyM (noticed during code
1617         reading).
1618
1619         * eval_fat.adb: Minor reformatting
1620         Put spaces around exponentiation operator
1621
1622 2004-05-10  Ed Schonberg  <schonberg@gnat.com>
1623
1624         PR ada/15005
1625         * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix
1626         has been rewritten as an explicit dereference, retrieve type of
1627         original node to check for possibly unconstrained record type.
1628
1629 2004-05-10  Ed Schonberg  <schonberg@gnat.com>
1630
1631         * exp_ch7.adb (Check_Visibly_Controlled): If given operation is not
1632         overriding, use the operation of the parent unconditionally.
1633
1634         * sem_ch4.adb (Remove_Address_Interpretations): Remove address
1635         operation when either operand is a literal, to avoid further
1636         ambiguities.
1637
1638         * sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and
1639         overridden by a previous explicit declaration, mark the previous entity
1640         as overriding.
1641
1642         * sem_disp.adb (Check_Dispatching_Operation): New predicate
1643         Is_Visibly_Controlled, to determine whether a declaration of a
1644         primitive control operation for a derived type overrides an inherited
1645         one. Add warning if the explicit declaration does not override.
1646
1647 2004-05-10  Vincent Celier  <celier@gnat.com>
1648
1649         * gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in
1650         some cases when the sources are no longer present.
1651
1652         * make.adb (Collect_Arguments): Fail if an external source, not part
1653         of any project need to be compiled, when switch -x has not been
1654         specified.
1655
1656         * makeusg.adb: Document new switch -x
1657
1658         * opt.ads (External_Unit_Compilation_Allowed): New Boolean flag,
1659         defaulted to False.
1660
1661         * switch-m.adb (Scan_Make_Switches): New switch -x
1662
1663         * vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for
1664         gnatmake switch -x.
1665
1666         * gnat_ugn.texi: Document new gnatmake switch -x
1667
1668 2004-05-10  Eric Botcazou  <ebotcazou@act-europe.fr>
1669
1670         * misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0.
1671
1672         * utils.c (create_var_decl): Do not modify the DECL_COMMON flag.
1673         (process_attributes): Likewise.
1674
1675 2004-05-10  Joel Brobecker  <brobecker@gnat.com>
1676
1677         * s-inmaop.ads: Fix spelling mistake in one of the comments.
1678
1679 2004-05-10  Robert Dewar  <dewar@gnat.com>
1680
1681         * gnat_ugn.texi: Document that for config pragma files, the maximum
1682         line length is always 32767.
1683
1684         * gnat_rm.texi: For pragma Eliminate, note that concatenation of string
1685         literals is now allowed.
1686
1687         * gnat-style.texi: Remove statement about splitting long lines before
1688         an operator rather than after, since we do not follow this rule at all.
1689         Clarify rule (really lack of rule) for spaces around exponentiation
1690
1691         * sem_elim.adb: Allow concatenation of string literals as well as a
1692         single string literal for pragma arguments.
1693
1694         * sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function
1695
1696         * a-textio.adb (Terminate_Line): Do not add line feed if nothing
1697         written for append case.
1698
1699         * frontend.adb: Changes to avoid checking max line length in config
1700         pragma files.
1701
1702         * g-os_lib.ads: Minor reformatting
1703
1704         * mlib-utl.adb: Do not define Max_Line_Length locally (definition was
1705         wrong in any case. Instead use standard value. Noticed during code
1706         reading.
1707
1708         * opt.ads (Max_Line_Length): New field, used to implement removal of
1709         limitation on length of lines when scanning config pragma files.
1710
1711         * osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb,
1712         makeutl.ads, makeutl.adb: Minor reformatting
1713
1714         * scn.adb: Do not check line length while scanning config pragma files
1715         Do not check line length while scanning out license information
1716
1717         * scng.adb: Changes to avoid line length checks while parsing config
1718         pragma files.
1719
1720 2004-05-10  GNAT Script  <nobody@gnat.com>
1721
1722         * Make-lang.in: Makefile automatically updated
1723
1724 2004-05-05  Arnaud Charlet  <charlet@act-europe.fr>
1725
1726         * osint.adb (Find_Program_Name): Fix handling of VMS version
1727         number.
1728
1729 2004-05-05  Emmanuel Briot  <briot@act-europe.fr>
1730
1731         * g-os_lib.ads (Invalid_Time): New constant
1732
1733         * adaint.h, adaint.c (__gnat_file_time_name, __gnat_file_time_fd): Now
1734         return OS_Time instead of time_t to match what is imported by Ada.
1735         Now return -1 if the file doesn't exist, instead of a random value
1736
1737 2004-05-05  Robert Dewar  <dewar@gnat.com>
1738
1739         * usage.adb: Add line for -gnatR?s switch
1740
1741         * sem_ch13.adb, exp_ch2.adb: Minor reformatting
1742
1743         * g-regpat.ads, g-regpat.adb: Add documentation on handling of Size
1744         and for Match (Data_First, Data_last)
1745
1746         * lib-writ.adb (Write_With_Lines): Ensure that correct index number is
1747         written when we are dealing with multi-unit files.
1748
1749 2004-05-05  Jerome Guitton  <guitton@act-europe.fr>
1750
1751         * Makefile.in: Remove unused targets and variables.
1752
1753 2004-05-05  Vincent Celier  <celier@gnat.com>
1754
1755         * switch-m.adb: New gnatmake switch -eI
1756
1757         * vms_data.ads: Add VMS equivalents of new gnatclean swith -innn and
1758         of new gnatmake switch -eInnn.
1759
1760         * makegpr.adb: Take into account new parameters Index and Src_Index in
1761         Prj.Util.
1762
1763         * clean.adb: Implement support for multi-unit sources, including new
1764         switch -i.
1765
1766         * gnatcmd.adb (GNATCmd): Call Prj.Util.Value_Of with new parameter
1767         Src_Index.
1768
1769         * make.ads, make.adb (Insert_Q): New parameter Index, defaulted to 0
1770         (Extract_From_Q): New out parameter Index
1771         (Mark, Is_Marked): Subprograms moved to Makeutl
1772         (Switches_Of): New parameter Source_Index
1773         (Add_Switch): New parameter Index
1774         (Check): New parameter Source_Index
1775         (Collect_Arguments): New parameter Source_Index
1776         (Collect_Arguments_And_Compile): New parameter Source_Index
1777         (Compile): New parameter Source_Index
1778         Put subprograms in alphabetical order
1779         Add support for multi-source sources, including in project files.
1780
1781         * makeutl.ads, makeutl.adb (Unit_Index_Of): New function
1782         (Mark, Is_Marked, Delete_All_Marks): New subprograms, moved from
1783         Make.
1784
1785         * makeusg.adb: New gnatmake switch -eInnn
1786
1787         * mlib-prj.adb (Build_Library): Add new parameter Src_Index to call to
1788         Prj.Util.Value_Of.
1789
1790         * opt.ads (Main_Index): New variable, defaulted to 0.
1791
1792         * osint.ads, osinte.adb (Add_File): New parameter Index
1793         (Current_Source_Index): New function
1794
1795         * prj.adb: Take into account new components Index and Src_Index
1796
1797         * prj.ads (String_Element): New component Index
1798         (Variable_Value): New component Index
1799         (Array_Element): New component Src_Index
1800
1801         * prj-attr.adb: Indicate that optional index may be specified for
1802         attributes Main, Executable, Spec, Body and some of Switches.
1803
1804         * prj-attr.ads (Attribute_Kind): New values for optional indexes
1805         (Attribute_Record): New component Optional_Index
1806
1807         * prj-com.ads (File_Name_Data): New component Index
1808
1809         * prj-dect.adb (Parse_Attribute_Declaration): Process optional index
1810
1811         * prj-env.adb (Put): Output optional index
1812
1813         * prj-makr.adb: Put indexes for multi-unit sources in SFN pragmas and
1814         attributes Spec and Body.
1815
1816         * prj-nmsc.adb: Process optional indexes
1817
1818         * prj-pp.adb: Ouput "at" for optional indexes
1819
1820         * prj-proc.adb: Take into account optional indexes
1821
1822         * prj-strt.ads, prj-strt.adb (Terms): New Boolean parameter
1823         Optional_Index. For string literal,
1824         process optional index when Optional_Index is True.
1825         (Parse_Expresion): New Boolean parameter Optional_Index
1826
1827         * prj-tree.ads, prj-tree.adb (Source_Index_Of): New function
1828         (Set_Source_Index_Of): New procedure
1829
1830         * prj-util.adb (Executable_Of, Value_Of): Take into account optional
1831         index.
1832
1833         * prj-util.ads (Executable_Of): New parameter Index
1834         (Value_Of (Name_Id, Array_Element_Id) returning Variable_Value):
1835         New parameter Src_Index, defaulted to 0.
1836
1837 2004-05-05  Ed Schonberg  <schonberg@gnat.com>
1838
1839         PR ada/15257
1840         * sem_ch3.adb (Access_Definition): If this is an access parameter
1841         whose designated type is imported through a limited_with clause, do
1842         not add the enclosing subprogram to the list of private dependents of
1843         the type.
1844
1845 2004-05-05  Ed Schonberg  <schonberg@gnat.com>
1846
1847         PR ada/15258
1848         * sem_ch6.adb (Base_Types_Match): True if one type is imported through
1849         a limited_with clause, and the other is its non-limited view.
1850
1851 2004-05-05  Thomas Quinot  <quinot@act-europe.fr>
1852
1853         * cstand.adb (Create_Standard): Initialize Stand.Boolean_Literals.
1854
1855         * exp_attr.adb, exp_ch5.adb, exp_ch9.adb, exp_disp.adb,
1856         exp_fixd.adb, sem_attr.adb, sem_dist.adb, sem_util.adb: Use
1857         Stand.Boolean_Literals to produce references to entities
1858         Standard_False and Standard_True from compile-time computed boolean
1859         values.
1860
1861         * stand.ads (Boolean_Literals): New variable, provides the entity
1862         values for False and True, for use by the expander.
1863
1864 2004-05-05  Doug Rupp  <rupp@gnat.com>
1865
1866         * 5vinmaop.adb, 5[vx]system.ads: Add Short_Address subtype
1867         5vinmaop.adb: Unchecked convert Short_Address vice Address
1868
1869         * adaint.c, raise.c: Caste CRTL function return value
1870         to avoid gcc error on 32/64 bit IVMS.
1871
1872         * Makefile.in [VMS]: Use iar archiver if host = Alpha/VMS and
1873         target = IA64/VMS.
1874
1875         * init.c[VMS]: Only call Alpha specific __gnat_error_prehandler IN_RTS.
1876
1877         * 5qsystem.ads (Address): Declare as Long_Integer
1878         (Short_Address): Declare as 32 bit subtype of Address
1879         Declare  abstract address operations to avoid gratuitous ambiguities.
1880
1881 2004-05-05  Jose Ruiz  <ruiz@act-europe.fr>
1882
1883         * gnat_rm.texi: Use the new restriction Simple_Barriers (AI-249)
1884         instead of the old Boolean_Entry_Barriers.
1885         Ditto for No_Task_Attributes_Package instead of No_Task_Attributes.
1886
1887 2004-05-05  GNAT Script  <nobody@gnat.com>
1888
1889         * Make-lang.in: Makefile automatically updated
1890
1891 2004-05-03  Arnaud Charlet  <charlet@act-europe.fr>
1892
1893         * 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used.
1894
1895 2004-05-03  Olivier Hainque  <hainque@act-europe.fr>
1896
1897         PR ada/15152
1898
1899         * exp_ch2.adb (Expand_Current_Value): Leave Machine_Code Asm arguments
1900         alone. Replacing object references by literals is inappropriate in a
1901         so low level context.
1902
1903 2004-05-03  Arnaud Charlet  <charlet@act-europe.fr>
1904
1905         * a-exexpr.adb: Add comments
1906
1907 2004-05-03  Joel Brobecker  <brobecker@gnat.com>
1908
1909         * a-tags.adb (Tag_Table): Add Index_Check pragma Suppress. Allows us to
1910         declare the Ancestor_Tags array in Type_Specific_Data with a small size
1911         without risking a bounds check error when accessing one of its
1912         components.
1913         (Type_Specific_Data): Define Ancestor_Tags as a small array.
1914         This prevents us from hitting a limitation during the debug info
1915         generation when using stabs.
1916
1917         * a-tags.adb (Dispatch_Table): Define the Prims_Ptr component as a
1918         small array.
1919         This prevents us from hitting a limitation during the debug info
1920         generation when using stabs.
1921
1922 2004-05-03  Eric Botcazou  <ebotcazou@act-europe.fr>
1923
1924         lang-specs.h: Remove -gnatz* from specs.
1925
1926 2004-05-03  Vincent Celier  <celier@gnat.com>
1927
1928         * gprmake.adb, makegpr.ads, makegpr.adb: New files.
1929
1930         * Make-lang.in, Makefile.in: Add gprmake
1931
1932 2004-05-03  Thomas Quinot  <quinot@act-europe.fr>
1933
1934         * sem_aggr.adb: Fix typo in comment.
1935
1936 2004-05-03  Robert Dewar  <dewar@gnat.com>
1937
1938         * make.adb: Minor reformatting
1939
1940         * rtsfind.ads, rtsfind.adb: (RTU_Loaded): New function
1941
1942         * sem_attr.adb (Eval_Attribute, case Type_Class): Fix check for address
1943         so that it works when address is not a private type.
1944
1945         * sem_ch13.adb (Check_Expr_Constants, case N_Integer_Literal): Deal
1946         properly with rewritten unchecked conversions. This prevents
1947         order-of-elaboration issues that can otherwise arise.
1948         (Minimum_Size): Don't check size of access types under VMS
1949
1950         * sem_ch4.adb (Remove_Address_Interpretation): New circuit to remove
1951         interpretations of integer literals as type System.Address.
1952
1953         * sem_util.ads, sem_util.adb (Is_Descendent_Of_Address): New function
1954         (Is_Descendent_Of): New function
1955
1956 2004-05-03  Jose Ruiz  <ruiz@act-europe.fr>
1957
1958         * sem_prag.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
1959         Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length.
1960         No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment.
1961
1962         * sem_res.adb: Use the new restriction Max_Entry_Queue_Length instead
1963         of the old Max_Entry_Queue_Depth.
1964
1965         * snames.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
1966         Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length
1967         No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment
1968
1969         * snames.ads: New entry for proper handling of Boolean_Entry_Barriers.
1970         New entry for proper handling of Max_Entry_Queue_Depth.
1971         New entry for proper handling of No_Dynamic_Interrupts.
1972
1973         * s-rident.ads: Adding restriction Simple_Barriers (AI-00249) that
1974         supersedes the GNAT specific restriction Boolean_Entry_Barriers.
1975         Adding restriction Max_Entry_Queue_Length (AI-00249) that supersedes
1976         the GNAT specific restriction Max_Entry_Queue_Depth.
1977         Adding restriction No_Dynamic_Attachment (AI-00249) that supersedes
1978         the GNAT specific restriction No_Dynamic_Interrupts.
1979
1980         * restrict.ads, restrict.adb: Use the new restriction Simple_Barriers
1981         instead of the old Boolean_Entry_Barriers.
1982         Use the new restriction No_Dynamic_Attachment instead of the old
1983         No_Dynamic_Interrupts.
1984
1985         * exp_ch9.adb: Check restriction Simple_Barriers (AI-00249) that
1986         supersedes the GNAT specific restriction Boolean_Entry_Barriers.
1987
1988         * gnatbind.adb: Use the new restriction Max_Entry_Queue_Length instead
1989         of the old Max_Entry_Queue_Depth.
1990
1991 2004-05-03  GNAT Script  <nobody@gnat.com>
1992
1993         * Make-lang.in: Makefile automatically updated
1994
1995 2004-04-29  Ed Schonberg  <schonberg@gnat.com>
1996
1997         * checks.adb (Enable_Range_Check): If the prefix of an index component
1998         is an access to an unconstrained array, perform check unconditionally.
1999
2000 2004-04-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2001
2002         * decl.c (gnat_to_gnu_field): Also call make_packable_type if
2003         Component_Clause.
2004
2005 2004-04-29  Olivier Hainque  <hainque@act-europe.fr>
2006
2007         * init.c (__gnat_install_handler, __gnat_error_handler): Remove
2008         alternate stack setting. There was no support for the tasking cases
2009         and the changes eventually caused a number of side-effect failures in
2010         the non-tasking case too.
2011
2012 2004-04-29  Eric Botcazou  <ebotcazou@act-europe.fr>
2013
2014         lang-specs.h: Redirect output to /dev/null if -gnatc or -gnatz or
2015         -gnats is passed.
2016
2017 2004-04-29  Vincent Celier  <celier@gnat.com>
2018
2019         * make.adb (Gnatmake): Increase max size of argument array for
2020         gnatbind for the potential addition of -F.
2021         If there are Stand-Alone Library projects, invoke gnatbind with -F to
2022         be sure that elaboration flags will be checked.
2023
2024         * switch-c.adb: Correct call to Scan_Pos for -gnateI
2025
2026 2004-04-29  Thomas Quinot  <quinot@act-europe.fr>
2027
2028         * sem_warn.adb (Check_References): Move '<access-variable> may be
2029         null' warning out of under Warn_On_No_Value_Assigned.
2030
2031 2004-04-29  Ed Falis  <falis@gnat.com>
2032
2033         * gnat_ugn.texi: Fixed texi error
2034
2035 2004-04-29  Robert Dewar  <dewar@gnat.com>
2036
2037         * sem_ch4.adb (Remove_Abstract_Operations): Unconditionally remove
2038         abstract operations if they come from predefined files.
2039
2040         * gnat_rm.texi: Fix bad doc for pragma Elaboration_Checks (should be
2041         Dynamic, not RM).
2042
2043         * s-addope.adb: Correct obvious error in mod function
2044
2045 2004-04-28  Andrew W. Reynolds  <awreynolds@mac.com>
2046
2047         * Makefile.in: Add target pairs for powerpc darwin*
2048         tasking support.
2049
2050         * a-intnam-darwin.ads, s-osinte-darwin.adb,
2051         s-osinte-darwin.ads, system-darwin-ppc.ads: New files.
2052
2053 2004-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
2054
2055         * Makefile.in: Add target macro definitions for s390*-linux*.
2056         * system-linux-s390.ads: New file.
2057         * system-linux-s390x.ads: New file.
2058
2059 2004-04-28  Joseph S. Myers  <jsm@polyomino.org.uk>
2060
2061         * gnat_ugn.texi: Correct argument to @setfilename.
2062
2063 2004-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
2064
2065         * a-exexpr.adb (Unwind_Word): New data type.
2066         (Unwind_Exception): Use it as type of Private1 and Private2.
2067
2068         * raise.c (db_action_for): Fix debug printf.
2069
2070 2004-04-27  Ed Schonberg  <schonberg@gnat.com>
2071
2072         * a-wtmoio.ads: Formal type must be a modular type, not a signed
2073         integer type.
2074
2075 2004-04-27  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2076
2077         * decl.c (gnat_to_gnu_entity, case object): Call
2078         __builtin_update_setjmp_buf.
2079
2080         * gigi.h (update_setjmp_buf): Deleted.
2081         (ADT_update_setjmp_buf_decl, update_setjmp_buf_decl): New.
2082
2083         * misc.c: (update_setjmp_buf): Deleted.
2084
2085         * trans.c (gnat_to_gnu): Call do_pending_stack_adjust and emit_queue
2086         around block of RTL.
2087
2088         * utils.c (init_gigi_decls): Initialize update_setjmp_buf.
2089
2090 2004-04-26  Thomas Quinot  <quinot@act-europe.fr>
2091
2092         * sem_dist.adb, exp_dist.adb: When constructing a RAS value for a local
2093         subprogram for which no pragma All_Calls_Remote applies, store the
2094         address of the real subprogram in the underlying record type, so local
2095         dereferences do not go through the PCS.
2096
2097 2004-04-26  Robert Dewar  <dewar@gnat.com>
2098
2099         * i-c.ads: Add some type qualifications to avoid ambiguities when
2100         compiling with s-auxdec.ads and a non-private address type.
2101
2102 2004-04-26  Arnaud Charlet  <charlet@act-europe.fr>
2103
2104         * Makefile.rtl: Fix error in previous check-in:
2105         Add s-addope.o to non tasking object list (rather than tasking object
2106         list).
2107
2108 2004-04-26  Javier Miranda  <miranda@gnat.com>
2109
2110         * sem_aggr.adb: Fix typo in comments
2111         (Resolve_Aggr_Expr): Propagate the type to the nested aggregate.
2112         Required to check the null-exclusion attribute.
2113
2114         * sem_attr.adb (Resolve_Attribute): Check the accessibility level in
2115         case of anonymous access types in record and array components. For a
2116         component definition the level is the same of the enclosing composite
2117         type.
2118
2119         * sem_ch3.adb (Analyze_Component_Declaration): In case of components
2120         that are anonymous access types the level of accessibility depends on
2121         the enclosing type declaration. In order to have this information, set
2122         the scope of the anonymous access type to the enclosing record type
2123         declaration.
2124         (Array_Type_Declaration): In case of components that are anonymous
2125         access types the level of accessibility depends on the enclosing type
2126         declaration. In order to have this information, set the scope of the
2127         anonymous access type to the enclosing array type declaration.
2128
2129         * sem_ch3.adb (Array_Type_Declaration): Set the scope of the anonymous
2130         access type.
2131
2132         * sem_ch8.adb (Analyze_Object_Renaming): Add check to verify that
2133         renaming of anonymous access-to-constant types allowed if and only if
2134         the renamed object is access-to-constant.
2135
2136         * sem_util.adb (Type_Access_Level): In case of anonymous access types
2137         that are component_definition or discriminants of a nonlimited type,
2138         the level is the same as that of the enclosing component type.
2139
2140 2004-04-26  Sergey Rybin  <rybin@act-europe.fr>
2141
2142         * sem_elim.adb: Some minor code reorganization from code reading. Fix
2143         misprint in the function name (File_Name_Match).
2144
2145 2004-04-23  Laurent GUERBY <laurent@guerby.net>
2146
2147         * Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after
2148         install.
2149
2150 2004-04-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2151
2152         * Make-lang.in (GNATBIND_OBJS): Add s-addope.o.
2153
2154 2004-04-23  Emmanuel Briot  <briot@act-europe.fr>
2155
2156         * adaint.c (__gnat_try_lock): No longer requires that the parent
2157         directory be writable, the directory itself is enough.
2158         (gnat_is_absolute_path): Change profile, so that the call from
2159         GNAT.OS_Lib can be made more efficient.
2160
2161         * adaint.h (gnat_is_absolute_path): Change profile, so that the call
2162         from GNAT.OS_Lib can be made more efficient.
2163
2164         * g-os_lib.adb (Is_Absolute_Path): More efficient implementation, avoid
2165         one copy of the file name. Found by code reading.
2166
2167 2004-04-23  Vincent Celier  <celier@gnat.com>
2168
2169         * gnat_ugn.texi: Add documentation for gnatmake switch -eL
2170         Correct documentation on gnatmake switches transmitted to the compiler
2171
2172         * ali.ads: Minor comment fix
2173
2174 2004-04-23  Javier Miranda  <miranda@gnat.com>
2175
2176         * sem_ch6.adb: (Confirming Types): Code cleanup
2177
2178         * decl.c (gnat_to_gnu_entity): Give support to anonymous access to
2179         subprogram types: E_Anonymous_Access_Subprogram_Type and
2180         E_Anonymous_Access_Protected_Subprogram_Type.
2181
2182 2004-04-23  Thomas Quinot  <quinot@act-europe.fr>
2183
2184         * sem_dist.adb: Add a new paramter to the RAS_Access TSS indicating
2185         whether a pragma All_Calls_Remote applies to the subprogram on which
2186         'Access is taken.
2187         No functional change is introduced by this revision; the new parameter
2188         will be used to allow calls to local RCI subprograms to be optimized
2189         to not use the PCS in the case where no pragma All_Calls_Remote applies,
2190         as is already done in the PolyORB implementation of the DSA.
2191
2192         * exp_dist.adb: Add a new paramter to the RAS_Access TSS indicating
2193         whether a pragma All_Calls_Remote applies to the subprogram on which
2194         'Access is taken.
2195         No functional change is introduced by this revision; the new parameter
2196         will be used to allow calls to local RCI subprograms to be optimized
2197         to not use the PCS in the case where no pragma All_Calls_Remote applies,
2198         as is already done in the PolyORB implementation of the DSA.
2199
2200 2004-04-23  Robert Dewar  <dewar@gnat.com>
2201
2202         * Makefile.rtl: Add entry for s-addope.o in run time library list
2203         * Make-lang.in: Add entry for s-addope.o to GNAT1 objects
2204         * s-addope.ads, s-addope.adb: New files.
2205
2206         * s-carsi8.adb, s-carun8.adb, s-casi16.adb, s-casi32.adb,
2207         s-casi64.adb, s-caun16.adb, s-caun32.adb, s-caun64.adb,
2208         s-finimp.adb, s-geveop.adb, s-stoele.adb: Modifications to allow
2209         System.Address to be non-private and signed.
2210
2211         * sem_elim.adb: Minor reformatting (fairly extensive)
2212         Some minor code reorganization from code reading
2213         Add a couple of ??? comments
2214
2215 2004-04-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2216
2217         * trans.c (tree_transform, build_unit_elab): Don't call getdecls.
2218         (tree_transform, case N_If_Statement): Remove non-determinism.
2219
2220         * utils.c (begin_subprog_body): Just set DECL_CONTEXT in PARM_DECL.
2221
2222 2004-04-23  Sergey Rybin  <rybin@act-europe.fr>
2223
2224         * gnat_rm.texi: Small fixes in the changes made in the 'pragma
2225         Eliminate' section.
2226
2227         * snames.ads, snames.adb: Remove Name_Homonym_Number (Homonym_Number is
2228         no longer used as a parameter name for Eliminate pragma).
2229
2230 2004-04-22  Laurent GUERBY <laurent@guerby.net>
2231
2232         PR optimization/14984
2233         PR optimization/14985
2234         * trans.c (gigi): Fix non determinism leading to bootstrap
2235         comparison failures.
2236
2237 2004-04-21  Pascal Obry  <obry@gnat.com>
2238
2239         * adaint.c (__gnat_portable_spawn): Quote first argument (argv[0])
2240         passed to spawnvp() to properly handle program pathname with spaces on
2241         Win32.
2242
2243 2004-04-21  Emmanuel Briot  <briot@act-europe.fr>
2244
2245         * g-debpoo.adb (Print_Info): Avoid extra work if Display_Slots is False.
2246         (Allocate, Deallocate, Free_Physically): Make sure the tasks are
2247         unlocked in case of exceptions.
2248
2249 2004-04-21  Joel Brobecker  <brobecker@gnat.com>
2250
2251         * gigi.h (get_target_no_dollar_in_label): Remove extern declaration.
2252         This function does not exist anymore.
2253
2254 2004-04-21  Thomas Quinot  <quinot@act-europe.fr>
2255
2256         * gnatbind.adb, gnatlink.adb: Update name of imported C symbol.
2257
2258         * link.c: Move variables to the __gnat name space.
2259
2260         * Makefile.in: list link.o explicitly when needed.
2261
2262         * mlib.adb: Remove pragma Linker_Option for "link.o" from mlib.
2263
2264 2004-04-21  Javier Miranda  <miranda@gnat.com>
2265
2266         * einfo.adb (Original_Access_Type): New subprogram
2267         (Set_Original_Access_Type): New subprogram
2268         (Write_Field21_Name): Write the name of the new field
2269
2270         * einfo.ads (Original_Access_Type): New field present in access to
2271         subprogram types.
2272         Addition of two new entities: E_Anonymous_Access_Subprogram_Type, and
2273         E_Anonymous_Access_Protected_Subprogram_Type.
2274
2275         * lib-xref.adb (Output_One_Ref): Give support to anonymous access to
2276         subprogram types.
2277
2278         * lib-xref.ads (Xref_Entity_Letters): Initialize values corresponding
2279         to anonymous access to subprogram types.
2280
2281         * sem_attr.adb (Resolve_Attribute): Give support to anonymous access
2282         to subprogram types.
2283
2284         * sem_ch3.adb (Access_Definition): Complete decoration of entities
2285         corresponding to anonymous access to subprogram types.
2286         (Analyze_Component_Declaration): Add new actual to the call to
2287         subprogram replace_anonymous_access_to_protected_subprogram.
2288         (Array_Type_Declaration): Add new actual to the call to subprogram
2289         replace_anonymous_access_to_protected_subprogram.
2290         (Process_Discriminants): Add new actual to the call to subprogram
2291         replace_anonymous_access_to_protected_subprogram.
2292         (Replace_Anonymous_Access_To_Protected_Subprogram): New formal.
2293
2294         * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New
2295         formal.
2296
2297         * sem_ch6.adb, sem_type.adb, sem_res.adb: Give support to anonymous
2298         access to subprogram types.
2299
2300         * sem_util.adb (Has_Declarations): Addition of package_specification
2301         nodes.
2302
2303 2004-04-21  Ed Schonberg  <schonberg@gnat.com>
2304
2305         * sem_prag.adb (Make_Inline): If subprogram is a renaming, propagate
2306         inlined flags to renamed entity only if in current unit.
2307
2308 2004-04-21  Thomas Quinot  <quinot@act-europe.fr>
2309
2310         * s-parint.ads: Add DSA implementation marker.
2311
2312         * rtsfind.ads, rtsfind.adb, snames.ads, snames.adb, s-rpc.adb: Use the
2313         value of System.Partition_Interface.DSA_Implementation to determine
2314         what version of the distributed systems annex is available (no
2315         implementation, GLADE, or PolyORB).
2316
2317 2004-04-21  Joel Brobecker  <brobecker@gnat.com>
2318
2319         * targtyps.c (get_target_no_dollar_in_label): Remove, no longer used.
2320
2321 2004-04-21  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2322
2323         * utils.c (convert, case CONSTRUCTOR, COMPONENT_REF): Do not make node
2324         with new type if alias sets differ.
2325         Fixes ACATS c41103b.
2326
2327 2004-04-21  Vincent Celier  <celier@gnat.com>
2328
2329         * prj.ads: Remove FORTRAN as an accepted language: not tested yet.
2330         Add array Lang_Args for the language specific compiling argument
2331         switches.
2332
2333         * gnat_ugn.texi: Explain in more details when a library is rebuilt.
2334
2335 2004-04-21  Sergey Rybin  <rybin@act-europe.fr>
2336
2337         * gnat_rm.texi: Update the descripton of the Eliminate pragma
2338         according to the recent changes in the format of the parameters of the
2339         pragma (replacing Homonym_Number with Source_Location).
2340
2341 2004-04-19  Arnaud Charlet  <charlet@act-europe.fr>
2342
2343         * 5isystem.ads: Removed, unused.
2344
2345         * gnat_rm.texi: Redo 1.13 change.
2346
2347 2004-04-19  Robert Dewar  <dewar@gnat.com>
2348
2349         * s-stoele.ads: Clean up definition of Storage_Offset (the new
2350         definition is cleaner, avoids the kludge of explicit Standard operator
2351         references, and also is consistent with a visible System.Address with
2352         no visible operations.
2353
2354         * s-geveop.adb: Add declarations to avoid assumption of visible
2355         operations on type System.Address (since these might not be available
2356         if Address is a non-private type for which the operations
2357         are made abstract).
2358
2359         * sem_eval.adb: Minor reformatting
2360
2361         * s-carsi8.ads, s-carun8.ads, s-casi16.ads, s-casi32.ads,
2362         s-casi64.ads, s-caun16.ads, s-caun32.ads, s-caun64.ads: Minor
2363         reformatting (new function spec format).
2364
2365         * s-auxdec.adb, s-carsi8.adb, s-carun8.adb, s-casi16.adb,
2366         s-casi32.adb, s-casi64.adb, s-caun16.adb, s-caun32.adb,
2367         s-caun64.adb: Add declarations to avoid assumption of visible
2368         operations on type System.Address (since these might not be available
2369         if Address is a non-private type for which the operations are made
2370         abstract).
2371
2372         * lib.ads, lib.adb (Synchronize_Serial_Number): New procedure.
2373
2374         * exp_intr.adb: Minor comment update
2375
2376         * exp_aggr.adb, exp_attr.adb, exp_ch13.adb: Minor reformatting.
2377
2378         * 5omastop.adb: Add declarations to avoid assumption of visible
2379         operations on type System.Address (since these might not be available
2380         if Address is a non-private type for which the operations
2381         are made abstract).
2382
2383 2004-04-19  Vincent Celier  <celier@gnat.com>
2384
2385         * switch-m.adb: (Scan_Make_Switches): Process new switch -eL
2386
2387         * prj-pars.ads (Parse): New Boolean parameter Process_Languages,
2388         defaulted to Ada.
2389
2390         * prj-proc.adb (Process): New Boolean parameter Process_Languages,
2391         defaulted to Ada.
2392         Call Check with Process_Languages.
2393         (Check): New Boolean parameter Process_Languages. Call Recursive_Check
2394         with Process_Languages.
2395         (Recursive_Check): New Boolean parameter Process_Languages. Call
2396         Nmsc.Ada_Check or Nmsc.Other_Languages_Check according to
2397         Process_Languages.
2398
2399         * prj-proc.ads (Process): New Boolean parameter Process_Languages,
2400
2401         * prj-util.ads, prj-util.adb (Executable_Of): New Boolean
2402         parameter Ada_Main, defaulted to True.
2403         Check for Ada specific characteristics only when Ada_Main is True.
2404
2405         * opt.ads: (Follow_Links): New Boolean flag for gnatmake
2406
2407         * prj.adb: (Project_Empty): Add new Project_Data components.
2408
2409         * prj.ads: New types and tables for non Ada languages.
2410         (Project_Data): New components Languages, Impl_Suffixes,
2411         First_Other_Source, Last_Other_Source, Imported_Directories_Switches,
2412         Include_Path, Include_Data_Set.
2413
2414         * prj-env.ads, prj-env.adb: Minor reformatting
2415
2416         * prj-nmsc.ads, prj-nmsc.adb: (Other_Languages_Check): New procedure
2417         Put subprograms in alphabetical order
2418
2419         * prj-pars.adb (Parse): New Boolean parameter Process_Languages,
2420         defaulted to Ada; Call Prj.Proc.Process with Process_Languages and
2421         Opt.Follow_Links.
2422
2423         * mlib-prj.adb: Back out modification in last version, as they are
2424         incorrect.
2425         (Build_Library.Check_Libs): Remove useless pragma Warnings (Off)
2426
2427         * make.adb: (Mains): Moved to package Makeutl
2428         (Linker_Opts): Moved to package Makeutl
2429         (Is_External_Assignment): Moved to package Makeutl
2430         (Test_If_Relative_Path): Moved to package Makeutl
2431         (Gnatmake): Move sorting of linker options to function
2432         Makeutl.Linker_Options_Switches.
2433
2434         * makeutl.ads, makeutl.adb: New files.
2435
2436         * Makefile.in: Add makeutl.o to the object files for gnatmake
2437
2438         * makeusg.adb: Add line for new switch -eL.
2439
2440         * gnatls.adb (Image): New function.
2441         (Output_Unit): If in verbose mode, output the list of restrictions
2442         specified by pragmas Restrictions.
2443
2444         * 5bml-tgt.adb, 5vml-tgt.adb (Build_Dynamic_Library): Do not use
2445         Text_IO.
2446
2447         * a-calend.adb (Split): Shift the date by multiple of 56 years, if
2448         needed, to put it in the range 1970 (included) - 2026 (excluded).
2449         (Time_Of): Do not shift Unix_Min_Year (1970).
2450         Shift the date by multiple of 56 years, if needed, to put it in the
2451         range 1970 (included) - 2026 (excluded).
2452
2453         * adaint.h, adaint.c (__gnat_set_executable): New function.
2454
2455 2004-04-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2456
2457         * trans.c (tree_transform, case N_Subprogram_Body): Temporarily push
2458         and pop GC context.
2459         (tree_transform, case N_Procedure_Call): Fix typo in setting TREE_TYPE.
2460         (tree_transform, case N_Label): Don't set LABEL_STMT_FIRST_IN_EH.
2461         (tree_transform, case N_Procedure_Call_Statement): Build a tree.
2462         (tree_transform, case N_Code_Statement): Likewise.
2463         (gnat_expand_stmt, case LABEL_STMT): Don't look at
2464         LABEL_STMT_FIRST_IN_EH.
2465         (gnat_expand_stmt, case ASM_STMT): New case.
2466
2467         * utils2.c (build_unary_op): Properly set TREE_READONLY of
2468         UNCONSTRAINED_ARRAY_REF.
2469
2470         * utils.c (poplevel): Temporarily push/pop GC context around inline
2471         function expansion.
2472
2473         * decl.c (maybe_variable): Properly set TREE_READONLY of
2474         UNCONSTRAINED_ARRAY_REF.
2475         (make_packable_type): Only reference TYPE_IS_PADDING_P for RECORD_TYPE.
2476
2477         * ada-tree.def: (ASM_STMT): New.
2478
2479         * ada-tree.h: (LABEL_STMT_FIRST_IN_EH): Deleted.
2480         (ASM_STMT_TEMPLATE, ASM_STMT_OUTPUT, ASM_STMT_ORIG_OUT,
2481         ASM_STMT_INPUT): New.
2482         (ASM_STMT_CLOBBER): Likewise.
2483
2484 2004-04-19  Thomas Quinot  <quinot@act-europe.fr>
2485
2486         * a-except.adb, s-parint.ads, s-parint.adb, types.ads, types.h: Use
2487         general rcheck mechanism to raise Program_Error for E.4(18), instead
2488         of a custom raiser in System.Partition_Interface.
2489         Part of general cleanup work before PolyORB integration.
2490
2491         * snames.ads, snames.adb: Add new runtime library entities and names
2492         for PolyORB DSA.
2493
2494         * sem_dist.ads, sem_dist.adb (Get_Subprogram_Id): Move from sem_dist to
2495         exp_dist.
2496         (Build_Subprogram_Id): New subprogram provided by exp_dist
2497         Code reorganisation in preparation for PolyORB integration.
2498
2499         * exp_dist.ads, exp_dist.adb (Get_Subprogram_Id): Move from sem_dist to
2500         exp_dist.
2501         (Build_Subprogram_Id): New subprogram provided by exp_dist
2502
2503         * sem_ch4.adb (Analyze_One_Call): Fix error message for mismatch in
2504         actual parameter types for call to dereference of an
2505         access-to-subprogram type.
2506
2507         * rtsfind.ads: Add new runtime library entities and names for PolyORB
2508         DSA.
2509
2510         * gnatlink.adb (Value): Remove. Use Interfaces.C.Strings.Value
2511         instead, which has the same behaviour here since we never pass it a
2512         NULL pointer.
2513
2514         * link.c (run_path_option, Solaris case): Use -Wl, as for other
2515         platforms.
2516
2517         * Makefile.in: adjust object file lists for gnatlink and gnatmake
2518         to account for new dependency upon Interfaces.C.Strings + link.o
2519         For x86 FreeBSD, use 86numaux.
2520
2521         * make.adb, gnatcmd.adb: Linker_Library_Path_Option has been moved up
2522         from Mlib.Tgt to Mlib.
2523
2524         * mlib.ads, mlib.adb (Linker_Library_Path_Option): New subprogram, now
2525         target-independent.
2526
2527         * mlib-tgt.ads, mlib-tgt.adb (Linker_Library_Path_Option): Remove
2528         target-specific versions of this subprogram, now implemented as a
2529         target-independent function in Mlib.
2530
2531         * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb, 5lml-tgt.adb,
2532         5sml-tgt.adb, 5vml-tgt.adb, 5zml-tgt.adb, 5wml-tgt.adb
2533         (Linker_Library_Path_Option): Remove target-specific versions of this
2534         subprogram, now implemented as a target-independent function in Mlib.
2535
2536         * atree.adb: (Allocate_Initialize_Node): New subprogram.
2537         Factors out node table slots allocation.
2538         (Fix_Parents): New subprogram.
2539         Encapsulate the pattern of fixing up parent pointers for syntactic
2540         children of a rewritten node.
2541         (New_Copy_Tree): Use New_Copy to copy non-entity nodes.
2542         (Rewrite): Use New_Copy when creating saved copy of original node.
2543         (Replace): Use Copy_Node to copy nodes.
2544
2545 2004-04-19  Javier Miranda  <miranda@gnat.com>
2546
2547         * sprint.adb (Sprint_Node_Actual): Give support to the new
2548         Access_To_Subprogram node available in Access_Definition nodes. In
2549         addition, give support to the AI-231 node fields: null-exclusion,
2550         all-present, constant-present.
2551
2552         * sem_util.ads, sem_util.adb: (Has_Declarations): New subprogram
2553
2554         * sinfo.ads, sinfo.adb:
2555         New field Access_To_Subprogram_Definition in Access_Definition nodes
2556
2557         * sem_ch6.adb (Process_Formals): Move here the code that creates and
2558         decorates internal subtype declaration corresponding to the
2559         null-excluding formal. This code was previously in Set_Actual_Subtypes.
2560         In addition, carry out some code cleanup on this code. In case of
2561         access to protected subprogram call
2562         Replace_Anonymous_Access_To_Protected_Subprogram.
2563         (Set_Actual_Subtypes): Code cleanup.
2564
2565         * sem_ch8.adb (Analyze_Object_Renaming): Remove un-necessary call to
2566         Find_Type in case of anonymous access renamings. Add warning in case of
2567         null-excluding attribute used in anonymous access renaming.
2568
2569         * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New
2570         subprogram
2571
2572         * sem_ch3.adb (Replace_Anonymous_Access_To_Protected_Subprogram): New
2573         subprogram.
2574         (Access_Definition): In case of anonymous access to subprograms call
2575         the corresponding semantic routine to decorate the node.
2576         (Access_Subprogram_Declaration): Addition of some comments indicating
2577         some code that probably should be added here. Detected by comparison
2578         with the access_definition subprogram.
2579         (Analyze_Component_Declaration): In case of access to protected
2580         subprogram call Replace_Anonymous_Access_To_Protected.
2581         (Array_Type_Declaration): In case of access to protected subprogram call
2582         Replace_Anonymous_Access_To_Protected_Subprogram.
2583         (Process_Discriminants): In case of access to protected subprogram call
2584         Replace_Anonymous_Access_To_Protected_Subprogram.
2585
2586         * par.adb (P_Access_Definition): New formal that indicates if the
2587         null-exclusion part was present.
2588         (P_Access_Type_Definition): New formal that indicates if the caller has
2589         already parsed the null-excluding part.
2590
2591         * par-ch3.adb (P_Subtype_Declaration): Code cleanup.
2592         (P_Identifier_Declarations): Code cleanup and give support to renamings
2593         of anonymous access to subprogram types.
2594         (P_Derived_Type_Def_Or_Private_Ext_Decl): Code cleanup.
2595         (P_Array_Type_Definition): Give support to AI-254.
2596         (P_Component_Items): Give support to AI-254.
2597         (P_Access_Definition): New formal that indicates if the header was
2598         already parsed by the caller.
2599         (P_Access_Type_Definition): New formal that indicates if the caller has
2600         already parsed the null-excluding part.
2601
2602         * par-ch6.adb (P_Formal_Part): Add the null-excluding parameter to the
2603         call to P_Access_Definition.
2604
2605 2004-04-19  Geert Bosch  <bosch@gnat.com>
2606
2607         * checks.adb (Apply_Float_Conversion_Check): New procedure to implement
2608         the delicate semantics of floating-point to integer conversion.
2609         (Apply_Type_Conversion_Checks): Use Apply_Float_Conversion_Check.
2610
2611         * eval_fat.adb (Machine_Mantissa): Moved to spec.
2612         (Machine_Radix): New function.
2613
2614         * eval_fat.ads (Machine_Mantissa): Moved from body for use in
2615         conversion checks.
2616         (Machine_Radix): New function also for use in conversion checks.
2617
2618 2004-04-19  Ed Schonberg  <schonberg@gnat.com>
2619
2620         * par-prag.adb (Source_File_Name_Project): Fix typo in error message.
2621
2622         * exp_ch9.adb (Expand_Access_Protected_Subprogram_Type): Call analyze
2623         to decorate the access-to-protected subprogram and the equivalent type.
2624
2625         * checks.adb (Null_Exclusion_Static_Checks): Code cleanup. Give support
2626         to anonymous access to subprogram types.
2627
2628         * exp_ch4.adb (Expand_N_In): Preserve Static flag before
2629         constant-folding, for legality checks in contexts that require an RM
2630         static expression.
2631
2632         * exp_ch6.adb (Expand_N_Function_Call): If call may generate large
2633         temporary but stack checking is not enabled, increment serial number
2634         to so that symbol generation is consistent with and without stack
2635         checking.
2636
2637         * exp_util.ads, exp_util.adb (May_Generate_Large_Temp): Predicate is
2638         independent on whether stack checking is enabled, caller must check
2639         the corresponding flag.
2640
2641         * sem_ch3.adb (Constrain_Index): Index bounds given by attributes need
2642         range checks.
2643         (Build_Derived_Concurrent_Type): Inherit Is_Constrained flag from
2644         parent if it has discriminants.
2645         (Build_Derived_Private_Type): Constructed full view does
2646         not come from source.
2647         (Process_Discriminants): Default discriminants on a tagged type are
2648         legal if this is the internal completion of a private untagged
2649         derivation.
2650
2651         * sem_ch6.adb (Set_Actual_Subtypes): The generated declaration needs
2652         no constraint checks, because it corresponds to an existing object.
2653
2654         * sem_prag.adb (Process_Convention): Pragma applies
2655         only to subprograms in the same declarative part, i.e. the same unit,
2656         not the same scope.
2657
2658         * sem_res.adb (Valid_Conversion): In an instance or inlined body,
2659         ignore type mismatch on a numeric conversion if expression comes from
2660         expansion.
2661
2662 2004-04-19  Sergey Rybin  <rybin@act-europe.fr>
2663
2664         * sem_elim.adb (Process_Eliminate_Pragma): Remove the processing for
2665         Homonym_Number parameter, add processing for Source_Location parameter
2666         corresponding.
2667         (Check_Eliminated): Remove the check for homonym numbers, add the check
2668         for source location traces.
2669
2670         * sem_elim.ads (Process_Eliminate_Pragma): Replace Arg_Homonym_Number
2671         with Arg_Source_Location corresponding to the changes in the format of
2672         the pragma.
2673
2674         * sem_prag.adb: (Analyze_Pragma): Changes in the processing of
2675         Eliminate pragma corresponding to the changes in the format of the
2676         pragma: Homonym_Number is replaced with Source_Location, two ways of
2677         distinguishing homonyms are mutially-exclusive.
2678
2679 2004-04-19  Joel Brobecker  <brobecker@gnat.com>
2680
2681         * get_targ.ads (Get_No_Dollar_In_Label): Remove.
2682
2683         * exp_dbug.adb (Output_Homonym_Numbers_Suffix): Remove use of
2684         No_Dollar_In_Label, no longer necessary, as it is always True.
2685         (Strip_Suffixes): Likewise.
2686
2687 2004-04-19  Gary Dismukes  <dismukes@gnat.com>
2688
2689         * s-stalib.ads (type Exception_Code): Use Integer'Size for exponent of
2690         modulus for compatibility with size clause on targets with 16-bit
2691         Integer.
2692
2693         * layout.adb (Discrimify): In the case of private types, set Vtyp to
2694         full type to fix type mismatches on calls to size functions for
2695         discriminant-dependent array components.
2696
2697 2004-04-19  Jerome Guitton  <guitton@act-europe.fr>
2698
2699         * Makefile.in (gnatlib-zcx): New target, for building a ZCX run-time
2700         lib.
2701
2702 2004-04-19  Pascal Obry  <obry@gnat.com>
2703
2704         * mdll-utl.adb (Locate): New version is idempotent.
2705
2706 2004-04-17  Laurent Guerby <laurent@guerby.net>
2707
2708         PR ada/14988 (partial)
2709         * impunit.adb: Fix typo.
2710
2711 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2712
2713         * Make-lang.in: Remove obsolete rts-none, rts-cert, install-rts-none,
2714         and install-rts-cert targets.  Remove all gnatlib and gnattools
2715         targets and all other rts-* targets (moved to libada).  Remove (now)
2716         unused Make variables CHMOD, CHMOD_AX_FLAGS, shext, THREAD_KIND,
2717         TRACE, GNATLIBFLAGS, GNATLIBCFLAGS.
2718
2719 2004-04-08  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2720
2721         * trans.c (tree_transform): Shortcut returning error_mark_node for
2722         statements in annotate_only_mode.
2723         (tree_transform, case N_Label, case N_Return_Statement,
2724         N_Goto_Statement): Make statement tree instead of generating code.
2725         (tree_transform, case N_Assignment_Statement): No longer check
2726         type_annotate_only.
2727         (gnat_expand_stmt, case GOTO_STMT, case LABEL_STMT, case
2728         RETURN_STMT): New.
2729         (first_nondeleted_insn, build_block_stmt, make_expr_stmt_from_rtl):
2730         New fcns.
2731         (gnat_to_gnu): Collect any RTL generated and deal with it.
2732         (tree_transform, case N_And_Then): Refine when have non-null RTL_EXPR.
2733         (tree_transform case N_If_Statement): Rewrite to make IF_STMT.
2734         (gnat_expand_stmt, case BLOCK_STMT, IF_STMT): New cases.
2735
2736         * ada-tree.def (GOTO_STMT, LABEL_STMT, RETURN_STMT): New tree nodes.
2737
2738         * ada-tree.def (EXPR_STMT): Fix typo in name.
2739         (BLOCK_STMT, IF_STMT): New nodes.
2740
2741         * ada-tree.h (GOTO_STMT_LABEL, LABEL_STMT_LABEL,
2742         LABEL_STMT_FIRST_IN_EH): New macros.
2743         (RETURN_STMT_EXPR): Likewise.
2744
2745         * ada-tree.h: (BLOCK_STMT_LIST, IF_STMT_COND, IF_STMT_TRUE,
2746         IF_STMT_ELSEIF, IF_STMT_ELSE): New macros.
2747
2748 2004-04-08  Thomas Quinot  <quinot@act-europe.fr>
2749
2750         * atree.ads: Correct documentation on extended nodes.
2751
2752         * link.c: Set run_path_option for FreeBSD.
2753
2754 2004-04-08  Vincent Celier  <celier@gnat.com>
2755
2756         * mlib-prj.adb (Build_Library.Check_Libs): On OpenVMS, if dec.ali is
2757         one of the ALI file, do not link with DEC lib.
2758
2759         * par.adb Remove the last two characters ("%s" or "%b") when checking
2760         if a language defined unit may be recompiled.
2761
2762 2004-04-08  Ed Schonberg  <schonberg@gnat.com>
2763
2764         * sem_ch4.adb (Remove_Abstract_Operations): Improve error message when
2765         removal of abstract operation leaves no possible interpretation for
2766         expression.
2767
2768         * sem_eval.adb (Eval_Qualified_Expression): Use
2769         Set_Raises_Constraint_Error on node when needed, so that it does not
2770         get optimized away by subsequent optimizations.
2771
2772         * sem_res.adb (Resolve_Intrinsic_Operator): Save interpretations of
2773         operands even when they are not wrapped in a type conversion.
2774
2775 2004-04-08  Olivier Hainque  <hainque@act-europe.fr>
2776
2777         * sem_prag.adb (Set_Exported): Warn about making static as result of
2778         export only when the export is coming from source. This may be not
2779         be true e.g. on VMS where we expand export pragmas for exception codes
2780         together with imported or exported exceptions, and we don't want the
2781         user to be warned about something he didn't write.
2782
2783 2004-04-08  Thomas Quinot  <quinot@act-europe.fr>
2784
2785         * sem_util.adb (Note_Possible_Modification): Reorganize to remove code
2786         duplication between normal entities and those declared as renamings.
2787         No functional change.
2788
2789         * s-fileio.ads (Form): Remove pragma Inline, as we cannot currently
2790         inline functions returning an unconstrained result.
2791
2792 2004-04-08  Eric Botcazou  <ebotcazou@act-europe.fr>
2793
2794         * utils.c (type_for_mode): Handle BLKmode and VOIDmode properly, to
2795         conform to what other front-ends do.
2796
2797 2004-04-08  Doug Rupp  <rupp@gnat.com>
2798
2799         * 5vml-tgt.adb: Use Gas instead of VMS Macro to build auto init shared
2800         libraries.
2801
2802 2004-04-06  Pascal Obry  <obry@gnat.com>
2803
2804         * adaint.c (DIR_SEPARATOR): Properly set DIR_SEPARATOR on Win32.
2805
2806         * osint.adb (Program_Name): Do not look past a directory separator.
2807
2808 2004-04-06  Thomas Quinot  <quinot@act-europe.fr>
2809
2810         * atree.adb: Update comment (Rewrite_Substitute_Node no longer exists).
2811
2812         * exp_ch6.adb (Rewrite_Function_Call): Clarify documentation of
2813         requirement for preserving a copy of the original assignment node.
2814
2815         * sinfo.ads: Update comment (Original_Tree -> Original_Node).
2816
2817 2004-04-06  Olivier Hainque  <hainque@act-europe.fr>
2818
2819         (__gnat_initialize [Vxworks]): Enable references to the crtstuff bits
2820         when supported.
2821
2822 2004-04-06  Ed Schonberg  <schonberg@gnat.com>
2823
2824         * sem_ch4.adb (Remove_Abstract_Operations): Extend previous changes to
2825         operator calls in functional notation, and apply
2826         Universal_Interpretation to operands, not to their type.
2827
2828 2004-04-06  Robert Dewar  <dewar@gnat.com>
2829
2830         * 5wdirval.adb: Minor reformatting
2831
2832 2004-04-06  Ed Falis  <falis@gnat.com>
2833
2834         * gnat_rm.texi: Improve a reference to the GCC manual
2835
2836 2004-04-05  Vincent Celier  <celier@gnat.com>
2837
2838         * adaint.h, adaint.c: Add function __gnat_named_file_length
2839
2840         * impunit.adb: Add Ada.Directories to the list
2841
2842         * Makefile.in: Add VMS and Windows versions of
2843         Ada.Directories.Validity package body.
2844
2845         * Makefile.rtl: Add a-direct and a-dirval
2846
2847         * mlib-tgt.ads: Minor comment update.
2848
2849         * a-dirval.ads, a-dirval.adb, 5vdirval.adb, 5wdirval.adb,
2850         a-direct.ads, a-direct.adb: New files.
2851
2852 2004-04-05  Vincent Celier  <celier@gnat.com>
2853
2854         PR ada/13620
2855         * make.adb (Scan_Make_Arg): Pass any -fxxx switches to gnatlink, not
2856         just to the compiler.
2857
2858 2004-04-05  Robert Dewar  <dewar@gnat.com>
2859
2860         * a-except.adb (Exception_Name_Simple): Make sure lower bound of
2861         returned string is 1.
2862
2863         * ali-util.adb: Use proper specific form for Warnings (Off, entity)
2864
2865         * eval_fat.ads: Minor reformatting
2866
2867         * g-curexc.ads: Document that lower bound of returned string values
2868         is always one.
2869
2870         * gnatlink.adb: Add ??? comment for previous change
2871         (need to document why this is VMS specific)
2872
2873         * s-stoele.ads: Minor reformatting
2874
2875         * tbuild.ads: Minor reformatting throughout (new function specs)
2876
2877         * par-ch10.adb (P_Context_Clause): Handle comma instead of semicolon
2878         after WITH.
2879
2880         * scng.adb: Minor reformatting
2881
2882 2004-04-05  Geert Bosch  <bosch@gnat.com>
2883
2884         * eval_fat.adb (Machine): Remove unnecessary suppression of warning.
2885         (Leading_Part): Still perform truncation to machine number if the
2886         specified radix_digits is greater or equal to machine_mantissa.
2887
2888 2004-04-05  Javier Miranda  <miranda@gnat.com>
2889
2890         * par-ch3.adb: Complete documentation of previous change
2891         Correct wrong syntax documentation of the OBJECT_DECLARATION rule
2892         (aliased must appear before constant).
2893
2894         * par-ch4.adb: Complete documentation of previous change.
2895
2896         * par-ch6.adb: Complete documentation of previous change.
2897
2898         * sinfo.ads: Fix typo in commment.
2899
2900 2004-04-05  Ed Schonberg  <schonberg@gnat.com>
2901
2902         * sem_ch3.adb (Inherit_Components): If derived type is private and has
2903         stored discriminants, use its discriminants to constrain parent type,
2904         as is done for non-private derived record types.
2905
2906         * sem_ch4.adb (Remove_Abstract_Operations): New subprogram to implement
2907         Ada 2005 AI-310: an abstract non-dispatching operation is not a
2908         candidate interpretation in an overloaded call.
2909
2910         * tbuild.adb (Unchecked_Convert_To): Preserve conversion node if
2911         expression is Null and target type is not an access type (e.g. a
2912         non-private address type).
2913
2914 2004-04-05  Thomas Quinot  <quinot@act-europe.fr>
2915
2916         * exp_ch6.adb (Rewrite_Function_Call): When rewriting an assignment
2917         statement whose right-hand side is an inlined call, save a copy of the
2918         original assignment subtree to preserve enough consistency for
2919         Analyze_Assignment to proceed.
2920
2921         * sem_ch5.adb (Analyze_Assignment): Remove a costly copy of the
2922         complete assignment subtree which is now unnecessary, as the expansion
2923         of inlined call has been improved to preserve a consistent assignment
2924         tree.  Note_Possible_Modification must be called only
2925         after checks have been applied, or else unnecessary checks will
2926         be generated.
2927
2928         * sem_util.adb (Note_Possible_Modification): Reorganise the handling
2929         of explicit dereferences that do not Come_From_Source:
2930          - be selective on cases where we must go back to the dereferenced
2931            pointer (an assignment to an implicit dereference must not be
2932            recorded as modifying the pointer);
2933          - do not rely on Original_Node being present (Analyze_Assignment
2934            calls Note_Possible_Modification on a copied tree).
2935
2936         * sem_warn.adb (Check_References): When an unset reference to a pointer
2937         that is never assigned is encountered, prefer '<pointer> may be null'
2938         warning over '<pointer> is never assigned a value'.
2939
2940 2004-04-05  Ramon Fernandez  <fernandez@gnat.com>
2941
2942         * tracebak.c: Change STOP_FRAME in ppc vxworks to be compliant with
2943         the ABI.
2944
2945 2004-04-05  Olivier Hainque  <hainque@act-europe.fr>
2946
2947         * 5gmastop.adb (Pop_Frame): Comment out the pragma Linker_Option for
2948         libexc. We currently don't reference anything in this library and
2949         linking it in triggers linker warnings we don't want to see.
2950
2951         * init.c: Update comments.
2952
2953 2004-04-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2954
2955         * decl.c (gnat_to_gnu_entity): Use TYPE_READONLY.
2956         * utils.c (create_field_decl): Likewise.
2957         * utils2.c (build_unary_op, gnat_build_constructor): Likewise.
2958
2959 2004-04-02  Arnaud Charlet  <charlet@act-europe.fr>
2960
2961         * gnat-style.texi, gnat_rm.texi, gnat_ugn.texi: Remove RCS tags.
2962         Replace ifinfo by ifnottex, to make makeinfo --html happy again.
2963         Add info directory entry and category.
2964
2965 2004-04-02  Jan Hubicka  <jh@suse.cz>
2966
2967         * utils.c: Include function.h
2968         (end_subprog_body): Clear DECL_STRUCT_FUNCTION.
2969
2970 2004-04-01  Arnaud Charlet  <charlet@act-europe.fr>
2971
2972         PR ada/14150
2973         * Make-lang.in: Clean up generation of documentation
2974
2975         * gnat-style.texi, gnat_rm.texi, ug_words: Resync with AdaCore version
2976
2977         * xgnatug.adb: Removed, replaced by xgnatugn.adb
2978
2979         * xgnatugn.adb: Replaces xgnatug.adb
2980
2981         * gnat_ug.texi: Removed, replaced by gnat_ugn.texi
2982
2983         * gnat_ugn.texi: Replaces gnat_ug.texi. Resync with AdaCore version
2984
2985         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
2986         gnat_ug_wnt.texi: Removed.
2987
2988 2004-04-01  Arnaud Charlet  <charlet@act-europe.fr>
2989
2990         * utils2.c: Update copyright notice.
2991
2992 2004-04-01  Robert Dewar  <dewar@gnat.com>
2993
2994         * checks.adb: Minor reformatting throughout
2995         Note that prev checkin added RM reference to alignment warning
2996
2997 2004-04-01  Ed Schonberg  <schonberg@gnat.com>
2998
2999         * exp_aggr.adb (Get_Component_Val): Treat a string literal as
3000         non-static when building aggregate for bit-packed array.
3001
3002         * exp_ch4.adb (Expand_N_Slice): If a packed slice is an actual of a
3003         function call that is itself the actual in a procedure call, build
3004         temporary for it.
3005
3006         * exp_pakd.adb (Expand_Bit_Packed_Element_Set): If right-hand side is
3007         a string literal, create a temporary for it, constant folding only
3008         handles scalars here.
3009
3010 2004-04-01  Vincent Celier  <celier@gnat.com>
3011
3012         * ali-util.adb (Post_Scan, Error_Msg, Error_Msg_S, Error_Msg_SC,
3013         Error_Msg_SP): New empty procedures to instantiate the Scanner.
3014         (Style, Scanner): Instantiations of Styleg and Scng to be able to scan
3015         tokens.
3016         (Accumulate_Checksum, Initialize_Checksum): Remove procedures.
3017         (Get_File_Checksum): Use the instantiated scanner to scan all the tokens
3018         and get the checksum.
3019
3020         * make.adb (Gnatmake): Do not insert into Q the Main_Source if it is
3021         already in the Q.
3022         Increase the Marking_Label at the end of the Multiple_Main_Loop,
3023         instead of at the beginning.
3024
3025         * osint.adb (Lib_File_Name): Use Multi_Unit_Index_Character, not '~'
3026         directly.
3027         (Osint package elaboration): Change Multi_Unit_Index_Character to '$' if
3028         on VMS.
3029
3030         * osint.ads (Multi_Unit_Index_Character): New Character global variable
3031
3032         * osint-c.adb (Set_Library_Info_Name): Use Multi_Unit_Index_Character,
3033         not '~' directly.
3034
3035         * par.adb: Remove test on file name to detect language defined units.
3036         Add test on unit name, after parsing, to detect language defined units
3037         that are not compiled with -gnatg (except System.RPC and its children)
3038
3039         * par-ch10.adb (P_Compilation_Unit): In multi-unit sources, scan the
3040         following units without style checking.
3041
3042         * switch-c.adb: Change -gnatC to -gnateI
3043
3044         * usage.adb: Document new switch -gnateInnn
3045
3046         * scng.adb (Accumulate_Token_Checksum): New procedure
3047         (Scan): Call Accumulate_Token_Checksum after each identifier, reserved
3048         word or literal number.
3049         (Scan.Nlit.Scan_Integer): Do not accumulate internal '_' in litteral
3050         numbers.
3051
3052 2004-04-01  Thomas Quinot  <quinot@act-europe.fr>
3053
3054         * a-tasatt.adb,
3055         g-comlin.adb, sinput-c.adb, s-secsta.adb, s-tpobop.adb,
3056         switch-m.adb, 56taprop.adb, 5ginterr.adb, 5gmastop.adb,
3057         5staprop.adb, 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb,
3058         5vtpopde.adb: Add missing 'constant' keywords.
3059
3060 2004-04-01  Javier Miranda  <miranda@gnat.com>
3061
3062         * par-ch4.adb: (P_Allocator): Code cleanup
3063
3064         * sem_ch3.adb (Access_Definition): Properly set the null-excluding
3065         attribute.
3066
3067         * sinfo.ads: Complete documentation of previous change
3068
3069 2004-04-01  Pascal Obry  <obry@gnat.com>
3070
3071         * gnatlink.adb (Process_Binder_File): Remove duplicate linker options
3072         only on VMS.  This special handling was done because an old GNU/ld bug
3073         on Windows which has been fixed.
3074
3075 2004-04-01  GNAT Script  <nobody@gnat.com>
3076
3077         * Make-lang.in: Makefile automatically updated
3078
3079 2004-03-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3080
3081         * decl.c (gnat_to_gnu_entity, make_type_from_size):
3082         Use TYPE_UNSIGNED, not TREE_UNSIGNED.
3083         * trans.c (tree_transform, convert_with_check): Likewise.
3084         * utils.c (gnat_signed_or_unsigned_type): Likewise.
3085         (build_vms_descriptor, unchecked_convert): Likewise.
3086         * utils2.c (nonbinary_modular_operation): Likewise.
3087
3088 2004-03-29  Javier Miranda  <miranda@gnat.com>
3089
3090         * checks.adb (Null_Exclusion_Static_Checks): New subprogram
3091         (Install_Null_Excluding_Check): Local subprogram that determines whether
3092         an access node requires a runtime access check and if so inserts the
3093         appropriate run-time check.
3094         (Apply_Access_Check): Call Install_Null_Excluding check if required
3095         (Apply_Constraint_Check): Call Install_Null_Excluding check if required
3096
3097         * checks.ads: (Null_Exclusion_Static_Checks): New subprogram
3098
3099         * einfo.ads: Fix typo in comment
3100
3101         * exp_ch3.adb (Build_Assignment): Generate conversion to the
3102         null-excluding type to force the corresponding run-time check.
3103         (Expand_N_Object_Declaration): Generate conversion to the null-excluding
3104         type to force the corresponding run-time check.
3105
3106         * exp_ch5.adb (Expand_N_Assignment_Statement): Generate conversion to
3107         the null-excluding type to force the corresponding run-time check.
3108
3109         * exp_ch6.adb (Expand_Call): Do not generate the run-time check in
3110         case of access types unless they have the null-excluding attribute.
3111
3112         * sprint.adb (Sprint_Node_Actual): Give support to the null-exclusing
3113         part.
3114
3115         * exp_util.ads: Fix typo in comment
3116
3117         * par.adb (P_Null_Exclusion): New subprogram
3118         (P_Subtype_Indication): New formal that indicates if the null-excluding
3119         part has been scanned-out and it was present
3120
3121         * par-ch3.adb, par-ch4.adb, par-ch6.adb: Give support to AI-231
3122
3123         * sem_aggr.adb: (Check_Can_Never_Be_Null): New subprogram
3124         (Aggregate_Constraint_Checks): Generate conversion to the null-excluding
3125         type to force the corresponding run-time check
3126         (Resolve_Aggregate): Propagate the null-excluding attribute to the array
3127         components
3128         (Resolve_Array_Aggregate): Carry out some static checks
3129         (Resolve_Record_Aggregate.Get_Value): Carry out some static check
3130
3131         * sem_ch3.adb (Access_Definition): In Ada 0Y the Can_Never_Be_Null
3132         attribute must be set only if specified by means of the null-excluding
3133         part. In addition, we must also propagate the access-constant attribute
3134         if present.
3135         (Access_Subprogram_Declaration, Access_Type_Declaration,
3136         Analyze_Component_Declaration, Analyze_Object_Declaration,
3137         Array_Type_Declaration, Process_Discriminants,
3138         Analyze_Subtype_Declaration): Propagate the null-excluding attribute
3139         and carry out some static checks.
3140         (Build_Derived_Access_Type): Set the null-excluding attribute
3141         (Derived_Type_Declaration, Process_Subtype): Carry out some static
3142         checks.
3143
3144         * sem_ch4.adb (Analyze_Allocator): Carry out some static checks
3145
3146         * sem_ch5.adb (Analyze_Assignment): Carry out some static checks
3147
3148         * sem_ch6.adb (Process_Formals): Carry out some static checks.
3149         (Set_Actual_Subtypes): Generate null-excluding subtype if the
3150         null-excluding part was present; it is not required to be done here in
3151         case of anonymous access types.
3152         (Set_Formal_Mode): Ada 0Y allows anonymous access to have the null
3153         value.
3154
3155         * sem_res.adb (Resolve_Actuals): Carry out some static check
3156         (Resolve_Null): Allow null in anonymous access
3157
3158         * sinfo.adb: New subprogram Null_Exclusion_Present
3159         All_Present and Constant_Present available on access_definition nodes
3160
3161         * sinfo.ads: New flag Null_Exclusion_Present on subtype_declaration,
3162         object_declaration, derived_type_definition, component_definition,
3163         discriminant_specification, access_to_object_definition,
3164         access_function_definition, allocator, access_procedure_definition,
3165         access_definition, parameter_specification, All_Present and
3166         Constant_Present flags available on access_definition nodes.
3167
3168 2004-03-29  Robert Dewar  <dewar@gnat.com>
3169
3170         * fname.adb, fname.ads, fname-sf.adb, fname-uf.adb, fname-uf.ads,
3171         gnat1drv.adb, lib.adb, lib.ads, lib-load.adb, lib-writ.adb,
3172         opt.ads, osint.adb, osint.ads, osint-c.adb, par.adb,
3173         par-ch10.adb, par-load.adb, par-prag.adb, sfn_scan.adb,
3174         sfn_scan.ads, sinput-l.adb, sinput-l.ads, switch-c.adb,
3175         sem_prag.adb: Updates to handle multiple units/file
3176
3177         * par.adb: Change test for s-rpc to s-rp for detecting rpc and children
3178
3179         * par.adb, memtrack.adb, prj-makr.adb, prj-part.adb,
3180         sem_util.adb: Minor reformatting
3181
3182         * sem_ch12.adb: Add comment for previous change
3183
3184 2004-03-29  Laurent Pautet  <pautet@act-europe.fr>
3185
3186         * osint.adb (Executable_Prefix): Set Exec_Name to the current
3187         executable name when not initialized. Otherwise, use its current value.
3188
3189         * osint.ads (Exec_Name): Move Exec_Name from body to spec in order to
3190         initialize it to another executable name than the current one. This
3191         allows to configure paths for an executable name (gnatmake) different
3192         from the current one (gnatdist).
3193
3194 2004-03-29  Ed Schonberg  <schonberg@gnat.com>
3195
3196         * exp_ch6.adb (Expand_Call): A call to a function declared in the
3197         current unit cannot be inlined if it appears in the body of a withed
3198         unit, to avoid order of elaboration problems in gigi.
3199
3200         * exp_ch9.adb (Build_Protected_Sub_Specification): Generate debugging
3201         information for protected (wrapper) operation as well, to simplify gdb
3202         use.
3203
3204         * sem_ch6.adb (Analyze_Subprogram_Body): For a private operation in a
3205         protected body, indicate that the entity for the generated spec comes
3206         from source, to ensure that references are properly generated for it.
3207         (Build_Body_To_Inline): Do not inline a function that returns a
3208         controlled type.
3209
3210         * sem_prag.adb (Process_Convention): If subprogram is overloaded, only
3211         apply convention to homonyms that are declared explicitly.
3212
3213         * sem_res.adb (Make_Call_Into_Operator): If the operation is a function
3214         that renames an equality operator and the operands are overloaded,
3215         resolve them with the declared formal types, before rewriting as an
3216         operator.
3217
3218 2004-03-29  GNAT Script  <nobody@gnat.com>
3219
3220         * Make-lang.in: Makefile automatically updated
3221
3222 2004-03-25  Vasiliy Fofanov  <fofanov@act-europe.fr>
3223
3224         * memtrack.adb: Log realloc calls, which are treated as free followed
3225         by alloc.
3226
3227 2004-03-25  Vincent Celier  <celier@gnat.com>
3228
3229         * prj-makr.adb (Process_Directories): Detect when a file contains
3230         several units. Do not include such files in the config pragmas or
3231         in the naming scheme.
3232
3233         * prj-nmsc.adb (Record_Source): New parameter Trusted_Mode.
3234         Resolve links only when not in Trusted_Mode.
3235         (Find_Sources, Recursive_Find_Dirs, Find_Source_Dirs, Locate_Directory):
3236         Do not resolve links for the display names.
3237
3238         * prj-part.adb (Parse_Single_Project, Project_Path_Name_Of): Do not
3239         resolve links when computing the display names.
3240
3241 2004-03-25  Thomas Quinot  <quinot@act-europe.fr>
3242
3243         * sem_attr.adb (Check_Dereference): When the prefix of a 'Tag
3244         attribute reference does not denote a subtype, it can be any
3245         expression that has a classwide type, potentially after an implicit
3246         dereference.  In particular, the prefix can be a view conversion for
3247         a classwide type (for which Is_Object_Reference holds), but it can
3248         also be a value conversion for an access-to-classwide type. In the
3249         latter case, there is an implicit dereference, and the original node
3250         for the prefix does not verify Is_Object_Reference.
3251
3252         * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): A view
3253         conversion of a discriminant-dependent component of a mutable object
3254         is one itself.
3255
3256 2004-03-25  Ed Schonberg  <schonberg@gnat.com>
3257
3258         * freeze.adb (Freeze_Entity): When an inherited subprogram is
3259         inherited, has convention C, and has unconstrained array parameters,
3260         place the corresponding warning on the derived type declaration rather
3261         than the original subprogram.
3262
3263         * sem_ch12.adb (Instantiate_Formal_Subprogram): Set From_Default
3264         indication on renaming declaration, if formal has a box and actual
3265         is absent.
3266
3267         * sem_ch8.adb (Analyze_Subprogram_Renaming): Use From_Default flag to
3268         determine whether to generate an implicit or explicit reference to
3269         the renamed entity.
3270
3271         * sinfo.ads, sinfo.adb: New flag From_Default, to indicate that a
3272         subprogram renaming comes from a defaulted formal subprogram in an
3273         instance.
3274
3275 2004-03-25  Gary Dismukes  <dismukes@gnat.com>
3276
3277         * sem_elab.adb (Check_Elab_Call): Refine loop that checks for default
3278         value expressions to ensure that calls within a component definition
3279         will be checked (since those are evaluated during the record type's
3280         elaboration).
3281
3282 2004-03-25  Arnaud Charlet  <charlet@act-europe.fr>
3283
3284         * s-tpobop.adb: Code clean up:
3285         (Requeue_Call): Extract from PO_Service_Entries to remove duplicated
3286         code.
3287         (PO_Do_Or_Queue): Remove duplicated code and use Requeue_Call.
3288
3289 2004-03-25  Jose Ruiz  <ruiz@act-europe.fr>
3290
3291         * Makefile.in: Clean up in the ravenscar run time.
3292
3293 2004-03-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3294
3295         * decl.c (gnat_to_gnu_entity, case E_Access_Type): Pass value
3296         of No_Strict_Aliasing to build_pointer_type_for_mode.
3297         * utils.c (update_pointer_to): Walk pointer and ref chains.
3298
3299 2004-03-22  Cyrille Comar  <comar@act-europe.fr>
3300
3301         * ali.ads: Fix Comment about Dynamic_Elab.
3302
3303         * gnatls.adb (Output_Unit): Add output of many flags (Dynamic_Elab,
3304         Has_RACW, Is_Generic, etc.)
3305         (Output_Object, Gnatls): Take into account ALI files not attached to
3306         an object.
3307
3308 2004-03-22  Vincent Celier  <celier@gnat.com>
3309
3310         * gprep.adb: Change all String_Access to Name_Id
3311         (Is_ASCII_Letter): new function
3312         (Double_File_Name_Buffer): New procedure
3313         (Preprocess_Infile_Name): New procedure
3314         (Process_Files): New procedure
3315         (Gnatprep): Check if output and input are existing directories.
3316         Call Process_Files to do the real job.
3317
3318 2004-03-22  Robert Dewar  <dewar@gnat.com>
3319
3320         * prj-env.adb, prj-nmsc.ads, prj-proc.ads,
3321         s-stache.ads, s-stache.adb: Comment updates. Minor reformatting.
3322
3323 2004-03-22  Sergey Rybin  <rybin@act-europe.fr>
3324
3325         * scn.adb (Contains): Add check for EOF, is needed for a degenerated
3326         case when the source contains only comments.
3327
3328 2004-03-22  Ed Schonberg  <schonberg@gnat.com>
3329
3330         * sem_ch10.adb (Analyze_Compilation_Unit): When generating a
3331         declaration for a child subprogram body that acts as a spec, indicate
3332         that the entity in the declaration needs debugging information.
3333
3334         * sem_ch3.adb (Complete_Private_Subtype): Do not build an underlying
3335         full view if the subtype is created for a constrained record component;
3336         gigi has enough information to construct the record, and there is no
3337         place in the tree for the declaration.
3338
3339         * sem_ch6.adb (Build_Body_To_Inline): Use an internal name without
3340         serial number for the dummy body that is built for analysis, to avoid
3341         inconsistencies in the generation of internal names when compiling
3342         with -gnatN.
3343
3344 2004-03-22  Thomas Quinot  <quinot@act-europe.fr>
3345
3346         * sem_util.adb (Is_Object_Reference): A view conversion denotes an
3347         object.
3348
3349 2004-03-22  GNAT Script  <nobody@gnat.com>
3350
3351         * Make-lang.in: Makefile automatically updated
3352
3353 2004-03-21  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3354
3355         * decl.c (gnat_to_gnu_entity): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
3356         * trans.c (tree_transform, emit_index_check): Likewise.
3357         * utils.c (build_template): Likewise.
3358         (max_size, convert): Remove handling of WITH_RECORD_EXPR.
3359         (maybe_unconstrained_array, unchecked_convert): Likewise.
3360         * utils2.c (gnat_truthvalue_conversion, build_binary_op): Likewise.
3361         (build_unary_op): Likewise.
3362         (compare_arrays, build_allocator): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
3363         (fill_vms_descriptor): Likewise.
3364         (build_call_alloc_dealloc): Likewise.
3365         ALIGN is unsigned.
3366         * gigi.h (build_call_alloc_dealloc): Alignment is unsigned.
3367
3368 2004-03-20  Joseph S. Myers  <jsm@polyomino.org.uk>
3369
3370         PR other/14630
3371         * gnat_ug.texi: Add info directory category and entry.
3372         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3373         gnat_ug_wnt.texi: Regenerate.
3374
3375 2004-03-19  Arnaud Charlet  <charlet@act-europe.fr>
3376
3377         * ada-tree.h: Update copyright notice.
3378         Minor reformatting.
3379
3380 2004-03-19  Olivier Hainque  <hainque@act-europe.fr>
3381
3382         * decl.c (gnat_to_gnu_entity, case E_Exception): Handle VMS exceptions
3383         as regular exception objects and not as mere integers representing the
3384         condition code.  The latter approach required some dynamics to mask off
3385         severity bits, which did not fit well into the GCC table based model.
3386         (gnat_to_gnu_entity, objects): Don't supply an external name for VMS
3387         exception data objects. We don't it and it would conflict with the other
3388         external symbol we have to generate for such exceptions.
3389
3390         * trans.c (tree_transform, case N_Exception_Handler): Remove part of
3391         the special code for VMS exceptions, since these are now represented
3392         as regular exceptions objects.
3393
3394 2004-03-19 Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3395
3396         * decl.c (debug_no_type_hash): Remove.
3397         (gnat_to_gnu_entity, case E_Array_Type): Don't set and clear it.
3398         * misc.c (LANG_HOOK_HASH_TYPE): Redefine.
3399
3400 2004-03-19  Laurent Guerby <laurent@guerby.net>
3401
3402         * sem_prag.adb (Suppress_Unsuppress_Echeck): use loop instead of
3403         aggregate, allows bootstrap from 3.3 on powerpc-darwin.
3404
3405 2004-03-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3406
3407         * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Add checking.
3408         (TYPE_CONTAINS_TEMPLATE_P, TYPE_OBJECT_RECORD_TYPE): Likewise.
3409         (TYPE_RM_SIZE_INT): Directly use type.values.
3410         (TREE_LOOP_ID): Clean up check.
3411         * decl.c (gnat_to_gnu_entity, case E_Enumeration_Type): Use
3412         TYPE_VALUES, not TYPE_FIELDS.
3413         * trans.c (convert_with_check): Delay access of bounds of basetype
3414         until sure is numeric.
3415
3416 2004-03-18  Arnaud Charlet  <charlet@act-europe.fr>
3417
3418         * 5atpopsp.adb: Remove RTEMS from list of platforms using this file.
3419
3420         Code clean up:
3421         * 5ataprop.adb, 5ftaprop.adb, 5htaprop.adb, 5itaprop.adb, 5staprop.adb,
3422         5vtaprop.adb, 5wtaprop.adb, 7staprop.adb (Finalize_TCB): Use
3423         Specific.Set instead of direct call to e.g pthread_setspecific.
3424
3425 2004-03-18  Thomas Quinot  <quinot@act-europe.fr>
3426
3427         * adaint.c: Update comments.
3428
3429         * Makefile.in: set PREFIX_OBJS, SYMLIB, THREADSLIB, and
3430         GNATLIB_SHARED for FreeBSD.
3431
3432 2004-03-18  Jose Ruiz  <ruiz@act-europe.fr>
3433
3434         * init.c [VxWorks]: Do not fix the stack size for the environment task.
3435         When needed (stack checking) the stack size is retrieved
3436         from the VxWorks kernel.
3437
3438         * Makefile.in: Flag -nostdinc is required when building the run time
3439         for avoiding looking for files in the base compiler.
3440         Add the VxWorks specific version of the package body for
3441         System.Stack_checking.Operations (5zstchop.adb).
3442
3443         * Make-lang.in: Add the object file for
3444         System.Stack_Checking.Operations.
3445
3446         * Makefile.rtl: Add object file for the package
3447         System.Stack_Checking.Operations.
3448
3449         * s-stchop.ads, s-stchop.adb, 5zstchop.adb: New files.
3450
3451         * s-stache.ads, s-stache.adb: Move the operations related to stack
3452         checking from this package to package System.Stack_Checking.Operations.
3453         This way, stack checking operations are only linked in the final
3454         executable when using the -fstack-check flag.
3455
3456 2004-03-18  Doug Rupp  <rupp@gnat.com>
3457
3458         * Makefile.in [VMS]: Handle 64 bit specs (5qsystem.ads, 5xcrtl.ads).
3459         Reorganize ifeq's.
3460
3461         * 5qsystem.ads, 5xcrtl.ads: New files.
3462
3463 2004-03-18  Vincent Celier  <celier@gnat.com>
3464
3465         * prj.adb (Reset): Reset hash table Files_Htable
3466
3467         * prj-env.adb (Source_Paths, Object_Paths): New tables.
3468         (Add_To_Source_Path, Add_To_Object_Path): New procedures, to replace
3469         the procedures Add_To_Path_File.
3470         (Set_Ada_Paths): Accumulate source and object dirs in the tables,
3471         making sure that each directory is present only once and, for object
3472         dirs, when a directory already present is added, the duplicate is
3473         removed and the directory is always put as the last in the table.
3474         Write the path files at the end of these accumulations.
3475
3476         * prj-nmsc.adb (Record_Source): Add source file name in hash table
3477         Files_Htable for all sources.
3478
3479         * prj-proc.adb (Process): Remove restrictions between not directly
3480         related extending projects.
3481
3482 2004-03-18  Emmanuel Briot  <briot@act-europe.fr>
3483
3484         * prj-nmsc.ads, prj-nmsc.adb (Ada_Check): New parameter Trusted_Mode.
3485         (Find_Sources): Minor speed optimization.
3486
3487         * prj-proc.ads, prj-proc.adb (Check, Recursive_Check, Process): New
3488         parameter Trusted_Mode.
3489
3490 2004-03-18  Sergey Rybin  <rybin@act-europe.fr>
3491
3492         * scn.adb (Determine_License): Take into account a degenerated case
3493         when the source contains only comments.
3494
3495 2004-03-18  Ed Schonberg  <schonberg@gnat.com>
3496
3497         * sem_warn.adb (Check_References): For a warning on a selected
3498         component that does not come from source, locate an uninitialized
3499         component of the record type to produce a more precise error message.
3500
3501 2004-03-15  Jerome Guitton  <guitton@act-europe.fr>
3502
3503         * 3zsoccon.ads: Fix multicast options.
3504
3505         * s-thread.ads: Move unchecked conversion from ATSD_Access to Address
3506         in the spec.
3507
3508 2004-03-15  Robert Dewar  <dewar@gnat.com>
3509
3510         * sem_prag.adb: Make sure No_Strict_Aliasing flag is set right when
3511         pragma used for a private type.
3512
3513         * lib-xref.adb (Generate_Reference): Do not generate warning if
3514         reference is in a different unit from the pragma Unreferenced.
3515
3516         * 5vtpopde.adb: Minor reformatting
3517         Fix casing of To_Task_ID
3518
3519         * sem_ch13.adb (Validate_Unchecked_Conversion): Set No_Strict_Aliasing
3520         flag if we have an unchecked conversion to an access type in the same
3521         unit.
3522
3523 2004-03-15  Geert Bosch  <bosch@gnat.com>
3524
3525         * a-ngcoty.adb (Modulus): In alternate formula for large real or
3526         imaginary parts, use Double precision throughout.
3527
3528         * a-tifiio.adb (Put_Scaled): Remove remaining pragma Debug. Not only
3529         we want to be able to compile run-time with -gnata for testing, but
3530         this may also be instantiated in user code that is compiled with -gnata.
3531
3532 2004-03-15  Olivier Hainque  <hainque@act-europe.fr>
3533
3534         * s-stalib.ads (Exception_Code): New type, to represent Import/Export
3535         codes. Having a separate type for this is useful to enforce consistency
3536         throughout the various run-time units.
3537         (Exception_Data): Use Exception_Code for Import_Code.
3538
3539         * s-vmextra.ads, s-vmexta.adb: Use Exception_Code instead of a mix of
3540         Natural and Integer in various places.
3541         (Register_VMS_Exception): Use Base_Code_In to compute the exception code
3542         with the severity bits masked off.
3543         (Register_VMS_Exception): Handle the additional exception data pointer
3544         argument.
3545
3546         * raise.c (_GNAT_Exception structure): Remove the handled_by_others
3547         component, now reflected by an exported accessor.
3548         (is_handled_by): New routine to compute whether the propagated
3549         occurrence matches some handler choice specification. Extracted out of
3550         get_action_description_for, and expanded to take care of the VMS
3551         specifities.
3552         (get_action_description_for): Use is_handled_by instead of an explicit
3553         complex condition to decide if the current choice at hand catches the
3554         propagated occurrence.
3555
3556         * raise.h (Exception_Code): New type for C.
3557
3558         * rtsfind.ads (RE_Id, RE_Unit_Table): Add
3559         System.Standard_Library.Exception_Code, to allow references from the
3560         pragma import/export expander.
3561
3562         * a-exexpr.adb (Is_Handled_By_Others, Language_For, Import_Code_For):
3563         New accessors to allow easy access to GNAT exception data
3564         characteristics.
3565         (GNAT_GCC_Exception record, Propagate_Exception): Get rid of the
3566         redundant Handled_By_Others component, helper for the personality
3567         routine which will now be able to call the appropriate exception data
3568         accessor instead.
3569
3570         * cstand.adb (Create_Standard): Adjust the type of the Import_Code
3571         component of Standard_Exception_Type to be the closest possible to
3572         Exception_Code in System.Standard_Library, that we cannot get at this
3573         point. Expand a ??? comment to notify that this type node should
3574         probably be rewritten later on.
3575
3576         * exp_prag.adb (Expand_Pragma_Import_Export_Exception): Adjust the
3577         registration call to include a pointer to the exception object in the
3578         arguments.
3579
3580         * init.c (__gnat_error_handler): Use Exception_Code and Base_Code_In
3581         instead of int and explicit bitmasks.
3582
3583 2004-03-15  Vincent Celier  <celier@gnat.com>
3584
3585         * vms_data.ads: Add new GNAT BIND qualifier /STATIC. Makes /NOSHARED
3586         equivalent to /STATIC and /NOSTATIC equivalent to /SHARED.
3587
3588         * a-tasatt.adb (To_Access_Code): Remove this UC instantiation, no
3589         longer needed now that it is in the spec of
3590         System.Tasking.Task_Attributes.
3591
3592         * adaint.h, adaint.c: (__gnat_create_output_file): New function
3593
3594         * gnatcmd.adb: Fix bug introduced in previous rev: /= instead of =
3595
3596         * g-os_lib.ads, g-os_lib.adb (Create_Output_Text_File): New function.
3597
3598         * make.adb (Gnatmake): Do not check the executable suffix; it is being
3599         taken care of in Scan_Make_Arg.
3600         (Scan_Make_Arg): Add the executable suffix only if the argument
3601         following -o, in canonical case, does not end with the executable
3602         suffix.  When in verbose mode and executable file name does not end
3603         with executable suffix, output the executable name, in canonical case.
3604
3605         * s-tataat.ads (Access_Dummy_Wrapper): Add pragma No_Strict_Aliasing
3606         to avoid warnings when instantiating Ada.Task_Attributes.
3607         Minor reformating.
3608
3609         * mlib-prj.adb (Process_Imported_Libraries): Get the imported libraries
3610         in the correct order.
3611
3612         * prj-makr.adb (Process_Directory): No longer use GNAT.Expect, but
3613         redirect standard output and error to a file for the invocation of the
3614         compiler, then read the file.
3615
3616         * prj-nmsc.adb (Find_Sources): Use the Display_Value for each
3617         directory, instead of the Value.
3618         (Find_Source_Dirs): Remove useless code & comments.
3619
3620 2004-03-15  Ed Schonberg  <schonberg@gnat.com>
3621
3622         * exp_ch3.adb (Freeze_Record_Type): If a primitive operation of a
3623         tagged type is inherited, and the parent operation is not frozen yet,
3624         force generation of a freeze node for the inherited operation, so the
3625         corresponding dispatch entry is properly initialized.
3626         (Make_Predefined_Primitive_Specs): Check that return type is Boolean
3627         when looking for user-defined equality operation.
3628
3629         * exp_ch4.adb (Expand_Composite_Equality): Check that return type is
3630         boolean when locating primitive equality of tagged component.
3631
3632         * exp_ch5.adb (Expand_Assign_Array): If the left-hand side is a
3633         bit-aligned field and the right-hand side a string literal, introduce
3634         a temporary before expanding assignment into a loop.
3635
3636         * exp_ch9.adb (Expand_N_Task_Type_Declaration): Copy expression for
3637         priority in full, to ensure that any expanded subepxressions of it are
3638         elaborated in the scope of the init_proc.
3639
3640         * exp_prag.adb (Expand_Pragma_Import): Search for initialization call
3641         after object declaration, skipping over code that may have been
3642         generated for validity checks.
3643
3644         * sem_ch12.adb (Validate_Private_Type_Instance): If type has unknown
3645         discriminants, ignore the known discriminants of its full view, if
3646         any, to check legality.
3647
3648         * sem_ch3.adb (Complete_Private_Subtype): Do not create constrained
3649         component if type has unknown discriminants.
3650         (Analyze_Private_Extension_Declaration): Discriminant constraint is
3651         null if type has unknown discriminants.
3652
3653         * sem_ch6.adb (Analyze_Generic_Subprogram_Body): Generate reference
3654         for end label when present.
3655
3656         * s-fileio.adb (Open): When called with a C_Stream, use given name for
3657         temporary file, rather than an empty string.
3658
3659 2004-03-15  Ed Falis  <falis@gnat.com>
3660
3661         * s-thread.adb: Removed, no longer used.
3662
3663 2004-03-15  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3664
3665         * decl.c (target.h): Now include.
3666         (gnat_to_gnu_entity, case E_Access_Type): Use mode derived from ESIZE
3667         in new build_pointer_from_mode calls for non-fat/non-thin pointer.
3668         (validate_size): For POINTER_TYPE, get smallest size permitted on
3669         machine.
3670
3671         * fe.h: Sort Einfo decls and add Set_Mechanism.
3672
3673         * Makefile.in: (LIBGNAT_SRCS): Remove types.h.
3674         (ada/decl.o): Depends on target.h.
3675
3676         * trans.c (tree_transform, N_Unchecked_Type_Conversion): Do not use
3677         FUNCTION_BOUNDARY; always use TYPE_ALIGN.
3678
3679 2004-03-15  Thomas Quinot  <quinot@act-europe.fr>
3680
3681         * 5ztpopsp.adb, 56tpopsp.adb: Fix spelling of Task_ID.
3682
3683         * exp_ch4.adb (Expand_N_Indexed_Component): Do not call
3684         Insert_Dereference_Action when rewriting an implicit dereference into
3685         an explicit one, this will be taken care of during expansion of the
3686         explicit dereference.
3687         (Expand_N_Slice): Same. Always do the rewriting, even for the case
3688         of non-packed slices, since the dereference action generated by
3689         expansion of the explicit dereference is needed in any case.
3690         (Expand_N_Selected_Component): When rewriting an implicit dereference,
3691         analyze and resolve the rewritten explicit dereference so it is seen
3692         by the expander.
3693         (Insert_Dereference_Action): This procedure is now called only for the
3694         expansion of an N_Explcit_Dereference_Node. Do insert a check even for
3695         dereferences that do not come from source (including explicit
3696         dereferences resulting from rewriting implicit ones), but do not
3697         recursively insert a check for the dereference nodes contained within
3698         the check.
3699         (Insert_Dereference_Action): Clarify and correct comment.
3700
3701 2004-03-08  Paolo Bonzini  <bonzini@gnu.org>
3702
3703         PR ada/14131
3704         Move language detection to the top level.
3705         * config-lang.in: Build by default.
3706
3707 2004-03-05  Robert Dewar  <dewar@gnat.com>
3708
3709         * 56taprop.adb, 5ataprop.adb: Remove unneeded unchecked conversions
3710
3711         * a-tags.adb, a-tags.ads, s-finimp.adb, s-finroo.ads,
3712         i-cpoint.ads, i-cpoint.adb, i-cstrin.adb, i-cstrin.ads,
3713         5iosinte.ads, 5sosinte.ads, 5staspri.ads, 5itaprop.adb,
3714         5staprop.adb, 5wtaprop.adb, s-tataat.ads, s-tataat.adb: Move
3715         unchecked conversion to spec to avoid warnings.
3716
3717         * s-tasini.adb, s-taskin.ads, 5atpopsp.adb: Correct spelling Task_Id
3718         to Task_ID
3719
3720         * 7stpopsp.adb: Correct casing in To_Task_ID call
3721
3722         * a-strsea.ads, a-strsea.adb: Minor reformatting
3723
3724         * einfo.ads, einfo.adb: Define new flag No_Strict_Aliasing
3725
3726         * errout.ads: Switch for VMS is now NO_STRICT_ALIASING.
3727         Adjust Max_Msg_Length to be clearly large enough.
3728
3729         * fe.h: Define In_Same_Source_Unit
3730
3731         * osint.adb: Add pragma Warnings Off to suppress warnings
3732         * g-dyntab.adb, g-table.adb, g-thread.adb: Add Warnings (Off) to kill
3733         aliasing warnings.
3734
3735         * opt.ads: Put entries in alpha order. Add entry for No_Strict_Aliasing
3736
3737         * par-prag.adb: Add dummy entry for No_Strict_Aliasing pragma
3738
3739         * sem_ch13.adb: Generate validate unchecked conversion nodes for gcc.
3740
3741         * sem_ch3.adb: Set No_Strict_Aliasing flag if config pragma set.
3742
3743         * sem_prag.adb: Implement pragma No_Strict_Aliasing.
3744
3745         * sinfo.ads: Remove obsolete comment on validate unchecked conversion
3746         node. We now do generate them for gcc back end.
3747
3748         * table.adb, sinput.adb: Add pragma Warnings Off to suppress aliasing
3749         warning.
3750
3751         * sinput-c.adb: Fix bad name in header.
3752         Add pragma Warnings Off to suppress aliasing warning.
3753
3754         * sinput-l.adb: Add pragma Warnings Off to suppress aliasing warning.
3755
3756         * snames.h, snames.ads, snames.adb: Add entry for pragma
3757         No_Strict_Aliasing.
3758
3759 2004-03-05  Vincent Celier  <celier@gnat.com>
3760
3761         * prj-com.ads: Add hash table Files_Htable to check when a file name
3762         is already a source of another project.
3763
3764         * prj-nmsc.adb (Record_Source): Before recording a new source, check
3765         if its file name is not already a source of another project. Report an
3766         error if it is.
3767
3768         * gnatcmd.adb: When GNAT PRETTY is invoked with a project file and no
3769         source file name, call gnatpp with all the sources of the main project.
3770
3771         * vms_conv.adb (Initialize): GNAT PRETTY may be called with any number
3772         of file names.
3773
3774         * vms_data.ads: Correct documentation of new /OPTIMIZE keyword
3775         NO_STRICT_ALIASING. Add new qualifier for GNAT PRETTY:
3776         /RUNTIME_SYSTEM=, converted to --RTS=
3777         /NOTABS, converted to -notabs
3778
3779 2004-03-05  Pascal Obry  <obry@gnat.com>
3780
3781         * make.adb: Minor reformatting.
3782
3783 2004-03-05  Ed Schonberg  <schonberg@gnat.com>
3784
3785         Part of implemention of AI-262.
3786         * par-ch10.adb (P_Context_Clause): Recognize private with_clauses.
3787
3788         * sem_ch10.ads, sem_ch10.adb: (Install_Private_With_Clauses): New
3789         procedure.
3790
3791         * sem_ch3.adb (Analyze_Component_Declaration): Improve error message
3792         when component type is a partially constrained class-wide subtype.
3793         (Constrain_Discriminated_Type): If parent type has unknown
3794         discriminants, a constraint is illegal, even if full view has
3795         discriminants.
3796         (Build_Derived_Record_Type): Inherit discriminants when deriving a type
3797         with unknown discriminants whose full view is a discriminated record.
3798
3799         * sem_ch7.adb (Preserve_Full_Attributes): Preserve Has_Discriminants
3800         flag, to handle properly derivations of tagged types with unknown
3801         discriminants.
3802         (Analyze_Package_Spec, Analyze_Package_Body): Install
3803         Private_With_Clauses before analyzing private part or body.
3804
3805         * einfo.ads: Indicate that both Has_Unknown_Discriminants and
3806         Has_Discriminants can be true for a given type (documentation).
3807
3808 2004-03-05  Arnaud Charlet  <charlet@act-europe.fr>
3809
3810         * s-restri.ads: Fix license (GPL->GMGPL).
3811
3812         * s-tassta.adb: Minor reformatting.
3813
3814         * s-tasren.adb: Replace manual handling of Self_Id.ATC_Nesting_Level
3815         by calls to Exit_One_ATC_Level, since additional clean up is performed
3816         by this function.
3817
3818         * s-tpobop.adb: Replace manual handling of Self_Id.ATC_Nesting_Level
3819         by calls to Exit_One_ATC_Level, since additional clean up is performed
3820         by this function.
3821
3822 2004-03-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3823
3824         * trans.c: Reflect GCC changes to fix bootstrap problem.
3825         Add warning for suspicious aliasing unchecked conversion.
3826
3827 2004-03-05  GNAT Script  <nobody@gnat.com>
3828
3829         * Make-lang.in: Makefile automatically updated
3830
3831 2004-03-02  Emmanuel Briot  <briot@act-europe.fr>
3832
3833         * ali.adb (Read_Instantiation_Instance): Do not modify the
3834         current_file_num when reading information about instantiations, since
3835         this corrupts files in later references.
3836
3837 2004-03-02  Vincent Celier  <celier@gnat.com>
3838
3839         * bcheck.adb (Check_Consistency): Get the full path of an ALI file
3840         before checking if it is read-only.
3841
3842         * bld.adb (Recursive_Process): Concatenate <PROJECT>.src_dirs in front
3843         of SRC_DIRS and eliminate duplicates.
3844
3845         * gprcmd.adb: Replace command "path" with command "path_sep" to return
3846         the path separator.
3847         (Usage): Document path_sep
3848
3849         * Makefile.generic: For Ada and GNU C++ cases, link directly with the
3850         C++ compiler. No need for a script.
3851         Replace use of C*_INCLUDE_PATH env var for GCC compilers with CPATH.
3852         Do not call gprcmd to build the C*_INCLUDE_PATHs, do it with function
3853         subst.
3854
3855         * prj-env.adb (For_All_Source_Dirs): Only add source dirs in project
3856         where there are Ada sources.
3857         (Set_Ada_Paths): Only add to the include path the source dirs of project
3858         with Ada sources.
3859         (Add_To_Path): Add the Display_Values of the directories, not their
3860         Values.
3861
3862         * prj-nmsc.adb (Find_Sources): Set flag Sources_Present in the project
3863         data.
3864
3865         * prj-nmsc.adb (Add_ALI_For): Make sure that the element Display_Value
3866         is not No_Name.
3867         (Find_Source_Dirs): Set Display_Value to a non canonicalized value, only
3868         Value is canonicalized.
3869         (Language_Independent_Check): Do not copy Value to Display_Value when
3870         canonicalizing Value.
3871
3872         * prj-part.adb (Post_Parse_Context_Clause): Compare canonical cased
3873         path to find limited with cycles.
3874         (Parse_Single_Project): Use canonical cased path to find the end of a
3875         with cycle.
3876
3877 2004-03-02  Ed Schonberg  <schonberg@gnat.com>
3878
3879         * sem_ch10.adb (Optional_Subunit): Verify that unit contains a subunit
3880         and not a child unit.
3881
3882         * sinfo.ads, sinfo.adb: Rearrange flags so that Private_Present can
3883         appear in a with_clause.
3884
3885         * decl.c (gnat_to_gnu_type): If entity is a generic type, which can
3886         only happen in type_annotate mode, do not try to elaborate it.
3887
3888         * exp_util.adb (Force_Evaluation): If expression is a selected
3889         component on the left of an assignment, use a renaming rather than a
3890         temporary to remove side effects.
3891
3892         * freeze.adb (Freeze_Entity): Do not freeze a global entity within an
3893         inlined instance body, which is analyzed before the end of the
3894         enclosing scope.
3895
3896 2004-03-02  Robert Dewar  <dewar@gnat.com>
3897
3898         * par-ch10.adb, par-ch3.adb, par-ch4.adb, scng.adb,
3899         sem_ch4.adb: Use new feature for substitution of keywords in VMS
3900
3901         * errout.ads, errout.adb: Implement new circuit for substitution of
3902         keywords in VMS.
3903
3904         * sem_case.adb (Analyze_Choices): Place message properly when case is
3905         a subtype reference rather than an explicit range.
3906
3907         * sem_elim.adb, s-tpobop.ads, exp_ch2.adb: Minor reformatting
3908
3909 2004-03-02  Doug Rupp  <rupp@gnat.com>
3910
3911         * init.c (__gnat_initialize)[VMS]: Resignal RDB-E-STREAM_EOF.
3912
3913 2004-03-02  Thomas Quinot  <quinot@act-europe.fr>
3914
3915         * s-tporft.adb: Add missing locking around call to Initialize_ATCB.
3916
3917 2004-03-02  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3918
3919         * utils.c (finish_record_type): Do not set DECL_NONADDRESSABLE for a
3920         BLKmode bitfield.
3921
3922 2004-02-25  Robert Dewar  <dewar@gnat.com>
3923
3924         * 51osinte.ads, 52osinte.ads, 53osinte.ads, 54osinte.ads,
3925         55osinte.ads, 56osinte.ads, 5aosinte.ads, 5bosinte.ads,
3926         5cosinte.ads, 5fosinte.ads, 5gosinte.ads, 5hosinte.ads,
3927         5iosinte.ads, 5losinte.ads, 5nosinte.ads, 5oosinte.ads,
3928         5posinte.ads, 5sosinte.ads, 5tosinte.ads, 5vosinte.ads,
3929         5wosinte.ads, 5zosinte.ads: Move instances of Unchecked_Conversion to
3930         the defining instance of the type to avoid aliasing problems.
3931         Fix copyright header.  Fix bad comments in package header.
3932
3933         * exp_util.adb, prj-part.adb, prj-part.adb: Minor reformatting
3934
3935 2004-02-25  Ed Schonberg  <schonberg@gnat.com>
3936
3937         * exp_ch2.adb (Param_Entity): Handle properly formals that have been
3938         rewritten as references when aliased through an address clause.
3939
3940         * sem_ch4.adb (Try_Indirect_Call): Normalize actuals before checking
3941         whether call can be interpreted as an indirect call to the result of a
3942         parameterless function call returning an access subprogram.
3943
3944 2004-02-25  Arnaud Charlet  <charlet@act-europe.fr>
3945
3946         Code clean up:
3947         * exp_ch7.adb (Make_Clean): Remove generation of calls to
3948         Unlock[_Entries], since this is now done by Service_Entries directly.
3949
3950         * exp_ch9.adb (Build_Protected_Subprogram_Body): ditto.
3951
3952         * s-tpobop.ads, s-tpobop.adb (PO_Service_Entries): New nested procedure
3953         Requeue_Call for better code readability. Change spec and update calls:
3954         PO_Service_Entries now unlock the PO on exit.
3955         (Protected_Entry_Call, Timed_Protected_Entry_Call): Update calls to
3956         PO_Service_Entries.
3957
3958         * s-tposen.ads, s-tposen.adb (Service_Entry): Now unlock the PO on exit.
3959
3960         * s-taenca.adb, s-tasren.adb: Update calls to PO_Service_Entries.
3961
3962 2004-02-25  Sergey Rybin  <rybin@act-europe.fr>
3963
3964         * exp_ch9.adb (Build_Simple_Entry_Call): Prevent expanding the
3965         protected subprogram call and analyzing the result of such expanding
3966         in case when the called protected subprogram is eliminated.
3967
3968         * sem_elim.adb (Check_Eliminated): Skip blocks when comparing scope
3969         names.
3970
3971 2004-02-25  Jerome Guitton  <guitton@act-europe.fr>
3972
3973         * Makefile.in: Clean ups.
3974
3975 2004-02-23  Ed Schonberg  <schonberg@gnat.com>
3976
3977         * exp_ch6.adb (Expand_N_Subprogram_Declaration): Do not create
3978         protected operations if original subprogram is flagged as eliminated.
3979         (Expand_N_Subprogram_Body): For a protected operation, create
3980         discriminals for next operation before checking whether the operation
3981         is eliminated.
3982
3983         * exp_ch9.adb (Expand_N_Protected_Body,
3984         Expand_N_Protected_Type_Declaration): Do not generate specs and bodies
3985         for internal protected operations if the original subprogram is
3986         eliminated.
3987
3988         * sem_elim.adb (Check_Eliminated): Handle properly protected operations
3989         declared in a single protected object.
3990
3991 2004-02-23  Vincent Celier  <celier@gnat.com>
3992
3993         * prj-attr.adb: Make attribute Builder'Executable an associative array,
3994         case insensitive if file names are case insensitive, instead of a
3995         standard associative array.
3996
3997         * prj-attr.adb (Initialize): For 'b' associative arrays, do not set
3998         them as case insensitive on platforms where the file names are case
3999         sensitive.
4000
4001         * prj-part.adb (Parse_Single_Project): Make sure, when checking if
4002         project file has already been parsed that canonical path are compared.
4003
4004 2004-02-23  Robert Dewar  <dewar@gnat.com>
4005
4006         * sinput-c.ads: Correct bad unit title in header
4007
4008         * freeze.adb: Minor reformatting
4009
4010 2004-02-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4011
4012         * trans.c (tree_transform, case N_Procedure_Call_Statement): For
4013         nonaddressable COMPONENT_REF that is removing padding that we are
4014         taking the address of, take the address of the padded record instead
4015         if item is variable size.
4016
4017 2004-02-20  Robert Dewar  <dewar@gnat.com>
4018
4019         * bld.adb, exp_util.adb, gprcmd.adb: Minor reformatting
4020
4021 2004-02-20  Ed Schonberg  <schonberg@gnat.com>
4022
4023         * freeze.adb (Freeze_Record_Type): Generalize mechanism that generates
4024         itype references for the constrained designated type of a component
4025         whose base type is already frozen.
4026
4027 2004-02-20  Arnaud Charlet  <charlet@act-europe.fr>
4028
4029         * init.c (__gnat_error_handler [tru64]): Rewrite previous change to
4030         avoid GCC warnings.
4031
4032 2004-02-20  Sergey Rybin  <rybin@act-europe.fr>
4033
4034         * sem_ch12.adb (Analyze_Formal_Package): Create a new defining
4035         identifier for a phantom package that rewrites the formal package
4036         declaration with a box. The Add semantic decorations for the defining
4037         identifier from the original node (that represents the formal package).
4038
4039 2004-02-19  Matt Kraai  <kraai@alumni.cmu.edu>
4040
4041         * Make-lang.in (ada/stamp-sdefault): Use the top level
4042         move-if-change.
4043
4044 2004-02-19  Richard Henderson  <rth@redhat.com>
4045
4046         * misc.c (record_code_position): Add third build arg for RTL_EXPR.
4047
4048 2004-02-18  Emmanuel Briot  <briot@act-europe.fr>
4049
4050         * ali.ads, ali.adb (First_Sdep_Entry): No longer a constant, so that
4051         Scan_ALI can be used for multiple ALI files without reinitializing
4052         between calls.
4053
4054 2004-02-18  Robert Dewar  <dewar@gnat.com>
4055
4056         * debug.adb: Minor reformatting.
4057
4058 2004-02-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4059
4060         * decl.c (gnat_to_gnu_entity, case object): Set DECL_POINTER_ALIAS_SET
4061         to zero if there is an address clause.
4062
4063 2004-02-18  Thomas Quinot  <quinot@act-europe.fr>
4064
4065         * exp_util.adb (Side_Effect_Free): Any literal is side effects free.
4066
4067 2004-02-18  Gary Dismukes  <dismukes@gnat.com>
4068
4069         * layout.adb (Layout_Component_List): Revise generation of call to
4070         discriminant-checking function to pass selections of all of the type's
4071         discriminants rather than just the variant-controlling discriminant.
4072
4073 2004-02-18  Olivier Hainque  <hainque@act-europe.fr>
4074
4075         * 5gmastop.adb (Pop_Frame): Do not call exc_unwind, which is bound to
4076         fail in the current setup and triggers spurious system error messages.
4077         Pretend it occurred and failed instead.
4078
4079 2004-02-18  Vincent Celier  <celier@gnat.com>
4080
4081         * bld.adb: Mark FLDFLAGS as saved
4082         (Process_Declarative_Items): Add Linker'Linker_Options to FLDFLAGS when
4083         it is not the root project.  Put each directory to be
4084         extended between double quotes to prevent it to be expanded on Windows.
4085         (Recursive_Process): Reset CFLAGS/CXXFLAGS to nothing before processing
4086         the project file. Set them back to their initial values if they have not
4087         been set in the project file.
4088
4089         * gprcmd.adb: (Gprdebug, Debug): New global variables
4090         (Display_Command): New procedure
4091         (Usage): Document new command "linkopts"
4092         Call Display_Command when env var GPRDEBUG has the value "TRUE"
4093         Implement new command "linkopts"
4094         Remove quotes that may be around arguments for "extend"
4095         Always call Normalize_Pathname with arguments formatted for the platform
4096
4097         * Makefile.generic: Link C/C++ mains with $(FLDFLAGS)
4098         Change @echo to @$(display) in target clean to be able to clean silently
4099
4100         * Makefile.prolog: Save FLDFLAGS and give it an initial empty value
4101
4102         * prj-part.adb (Project_Path_Name_Of): Do not put final result in
4103         canonical case.
4104
4105         * prj-part.adb (Parse_Single_Project): Always call with From_Extended
4106         = Extending_All when current project is an extending all project.
4107
4108         * vms_conv.adb (Output_File_Expected): New Boolean global variable,
4109         set to True only for LINK command, after Unix switch -o.
4110         (Process_Arguments): Set Output_File_Expected to True for LINK command
4111         after Unix switch -o. When Output_File_Expected is True, never add an
4112         extension to a file name.
4113
4114         * 5vml-tgt.adb (Build_Dynamic_Library): Do not append "/OPTIONS" to the
4115         option file name, only to the --for-linker= switch.
4116         (Option_File_Name): If option file name do not end with ".opt", append
4117         "/OPTIONS".
4118
4119 2004-02-18  GNAT Script  <nobody@gnat.com>
4120
4121         * Make-lang.in: Makefile automatically updated
4122
4123 2004-02-17  Matt Kraai  <kraai@alumni.cmu.edu>
4124
4125         * Make-lang.in (stamp-sdefault): Do not depend on
4126         move-if-change.
4127
4128 2004-02-12  Zack Weinberg  <zack@codesourcery.com>
4129
4130         * config-lang.in: Disable Ada by default until probe logic for
4131         a bootstrap Ada compiler can be moved to the top level configure
4132         script.
4133
4134 2004-02-12  Olivier Hainque  <hainque@act-europe.fr>
4135
4136         * decl.c (components_to_record): Don't claim that the internal fields
4137         we make to hold the variant parts are semantically addressable, because
4138         they are not.
4139
4140         * exp_pakd.adb (Create_Packed_Array_Type): Rename Esiz into PASize and
4141         adjust the comment describing the modular type form when we can use it.
4142         (Install_PAT): Account for the Esiz renaming.
4143
4144         * init.c (__gnat_error_handler for alpha-tru64): Arrange to clear the
4145         sc_onstack context indication before raising the exception to which
4146         the signal is mapped. Allows better handling of later signals possibly
4147         triggered by the resumed user code if the exception is handled.
4148
4149 2004-02-12  Arnaud Charlet  <charlet@act-europe.fr>
4150
4151         * 5zinit.adb: Removed, no longer used.
4152
4153 2004-02-12  Robert Dewar  <dewar@gnat.com>
4154
4155         * ali.adb: Remove separating space between parameters on R line. Makes
4156         format consistent with format used by the binder for Set_Globals call.
4157
4158         * atree.ads, atree.adb: Minor reformatting (new function header format)
4159
4160         * bindgen.adb: Add Run-Time Globals documentation section containing
4161         detailed documentation of the globals passed from the binder file to
4162         the run time.
4163
4164         * gnatls.adb: Minor reformatting
4165
4166         * init.c (__gnat_set_globals): Add note pointing to documentation in
4167         bindgen.
4168
4169         * lib-writ.ads, lib-writ.adb: Remove separating space between
4170         parameters on R line.
4171         Makes format consistent with format used by the binder for Set_Globals
4172         call.
4173
4174         * osint.ads: Add 2004 to copyright notice
4175         Minor reformatting
4176
4177         * snames.ads: Correct capitalization of FIFO_Within_Priorities
4178         Noticed during code reading, documentation issue only
4179
4180         * usage.adb: Remove junk line for obsolete C switch
4181         Noticed during code reading
4182
4183 2004-02-12  Vincent Celier  <celier@gnat.com>
4184
4185         * bld.adb (Process_Declarative_Items): For Source_Dirs call gprcmd
4186         extend for each directory, so that multiple /** directories are
4187         extended individually.
4188         (Recursive_Process): Set the default for LANGUAGES to ada
4189
4190         * gprcmd.adb: Define new command "ignore", to do nothing.
4191         Implement new comment "path".
4192
4193         * Makefile.generic: Suppress output when SILENT is set
4194         Make sure that when compiler for C/C++ is gcc, the correct -x switch is
4195         used, so that the correct compiler is invoked.
4196         When compiler is gcc/g++, put search path in env vars C_INCLUDE_PATH/
4197         CXX_INCLUDE_PATH, to avoid failure with too long command lines.
4198
4199 2004-02-12  Jerome Guitton  <guitton@act-europe.fr>
4200
4201         * Makefile.in: Clean ups and remove obsolete targets.
4202
4203 2004-02-12  Ed Schonberg  <schonberg@gnat.com>
4204
4205         * exp_ch5.adb: Remove Possible_Unligned_Slice, in favor of the similar
4206         predicate declared in exp_util.
4207
4208         * exp_util.adb: Add comments.
4209
4210         * sem_ch10.adb (Analyze_Subunit): Remove ultimate parent unit from
4211         visibility before compiling context of the subunit.
4212
4213         * sem_res.adb (Check_Parameterless_Call): If the context expects a
4214         value but the name is a procedure, do not attempt to analyze as a call,
4215         in order to obtain more telling diagnostics.
4216
4217         * sem_util.adb (Wrong_Type): Further enhancement to diagnose missing
4218         'Access on parameterless function calls.
4219         (Normalize_Actuals): For a parameterless function call with missing
4220         actuals, defer diagnostic until resolution of enclosing call.
4221
4222         * sem_util.adb (Wrong_Type): If the context type is an access to
4223         subprogram and the expression is a procedure name, suggest a missing
4224         'attribute.
4225
4226 2004-02-10  Arnaud Charlet  <charlet@act-europe.fr>,
4227             Nathanael Nerode  <neroden@gcc.gnu.org>
4228
4229         PR ada/6637, PR ada/5911
4230         Merge with libada-branch:
4231         * config-lang.in: Build libada only when ada is built.
4232
4233 2004-02-09  Ed Schonberg  <schonberg@gnat.com>
4234
4235         * exp_ch4.adb (Expand_N_Op_Eq): When looking for the primitive equality
4236         for a tagged type, verify that both formals have the same type.
4237
4238         * exp_ch6.adb (Add_Call_By_Copy_Code): Initialize properly the
4239         temporary when the formal is an in-parameter and the actual a possibly
4240         unaligned slice.
4241
4242         * exp_ch9.adb (Expand_Entry_Barrier): Resolve barrier expression even
4243         when expansion is disabled, to ensure proper name capture with
4244         overloaded literals.  Condition can be of any boolean type, resolve
4245         accordingly.
4246
4247         * sem_ch8.adb (Analyze_Subprogram_Renaming): Emit warning if the
4248         renaming is for a formal subprogram with a default operator name, and
4249         there is a usable operator that is visible at the point of
4250         instantiation.
4251
4252 2004-02-09  Robert Dewar  <dewar@gnat.com>
4253
4254         * ali.adb (Scan_Ali) Add Ignore_Errors argument. This is a major
4255         rewrite to ignore errors in ali files, intended to allow tools downward
4256         compatibility with new versions of ali files.
4257
4258         * ali.ads: Add new parameter Ignore_Errors
4259
4260         * bcheck.adb (Check_Consistent_Restrictions): Fix error of sometimes
4261         duplicating the error message giving the file with restrictions.
4262
4263         * debug.adb: Add debug flag I for gnatbind
4264
4265         * errout.adb (Set_Msg_Insertion_Node): Suppress extra quotes around
4266         operators for the case where the operator is a defining operator.
4267
4268         * exp_ch3.adb: Minor reformatting (new function spec format).
4269
4270         * exp_ch4.adb: Add comment for previous change, and make minor
4271         adjustment to loop to always check for improper loop termination.
4272         Minor reformatting throughout (new function spec format).
4273
4274         * gnatbind.adb: Implement -di debug flag for gnatbind
4275
4276         * gnatlink.adb: Call Scan_ALI with Ignore_Errors set to True
4277
4278         * gnatls.adb: Call Scan_ALI with Ignore_Errors set to True
4279
4280         * lib-load.adb: Fix bad assertion.
4281         Found by testing and code reading.
4282         Minor reformatting.
4283
4284         * lib-load.ads: Minor reformatting.
4285
4286         * lib-writ.adb: There is only one R line now.
4287
4288         * lib-writ.ads: Add documentation on making downward compatible changes
4289         to ali files so old tools work with new ali files.
4290         There is only one R line now.
4291         Add documentation on format incompatibilities (with special GPS note)
4292
4293         * namet.ads, namet.adb: (Is_Operator_Name): New procedure
4294
4295         * par-load.adb: Minor reformatting
4296
4297         * sem_ch8.adb: Fix to error message from last update
4298         Minor reformatting and restructuring of code from last update
4299
4300         * par-prag.adb, snames.adb, snames.ads, snames.h,
4301         sem_prag.adb: Implement pragma Profile.
4302
4303         * stylesw.adb: Implement -gnatyN switch to turn off all style check
4304         options.
4305
4306         * usage.adb: Add line for -gnatyN switch
4307
4308         * vms_data.ads: Add entry STYLE_CHECKS=NONE for -gnatyN
4309
4310 2004-02-09  Albert Lee  <lee@gnat.com>
4311
4312         * errno.c: define _SGI_MP_SOURCE for task-safe errno on IRIX
4313
4314 2004-02-09  Ed Schonberg  <schonberg@gnat.com>
4315
4316         * exp_ch3.adb (Build_Slice_Assignment): Handle properly case of null
4317         slices.
4318
4319         * exp_ch6.adb (Expand_Call): Do not inline a call when the subprogram
4320         is nested in an instance that is not frozen yet, to avoid
4321         order-of-elaboration problems in gigi.
4322
4323         * sem_attr.adb (Analyze_Attribute, case 'Access): Within an inlined
4324         body the attribute is legal.
4325
4326 2004-02-09  Robert Dewar  <dewar@gnat.com>
4327
4328         * s-rident.ads: Minor comment correction
4329
4330         * targparm.adb: Remove dependence on uintp completely. There was
4331         always a bug in Make in that it called Targparm before initializing
4332         the Uint package. The old code appeared to get away with this, but
4333         the new code did not! This caused an assertion error in gnatmake.
4334
4335         * targparm.ads: Fix bad comment, restriction pragmas with parameters
4336         are indeed fully supported.
4337
4338 2004-02-06  Alan Modra  <amodra@bigpond.net.au>
4339
4340         * misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call.
4341
4342 2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
4343
4344         * ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES
4345         with targetm.calls.promote_prototypes.
4346
4347 2004-02-04  Robert Dewar  <dewar@gnat.com>
4348
4349         * 5gtasinf.adb, 5gtasinf.ads, 5gtaprop.adb, ali.adb,
4350         ali.ads, gprcmd.adb: Minor reformatting
4351
4352         * bindgen.adb: Output restrictions string for new style restrictions
4353         handling
4354
4355         * impunit.adb: Add s-rident.ads (System.Rident) and
4356         s-restri (System.Restrictions)
4357
4358         * lib-writ.adb: Fix bug in writing restrictions string (last few
4359         entries wrong)
4360
4361         * s-restri.ads, s-restri.adb: Change name Restrictions to
4362         Run_Time_Restrictions to avoid conflict with package name.
4363         Add circuit to read and acquire run time restrictions.
4364
4365 2004-02-04  Jose Ruiz  <ruiz@act-europe.fr>
4366
4367         * restrict.ads, restrict.adb: Use the new restriction
4368         No_Task_Attributes_Package instead of the old No_Task_Attributes.
4369
4370         * sem_prag.adb: No_Task_Attributes is a synonym of
4371         No_Task_Attributes_Package.
4372
4373         * snames.ads, snames.adb: New entry for proper handling of
4374         No_Task_Attributes.
4375
4376         * s-rident.ads: Adding restriction No_Task_Attributes_Package
4377         (AI-00249) that supersedes the GNAT specific restriction
4378         No_Task_Attributes.
4379
4380 2004-02-04  Ed Schonberg  <schonberg@gnat.com>
4381
4382         * sem_prag.adb:
4383         (Analyze_Pragma, case Warnings): In an inlined body, as in an instance
4384          body, an identifier may be wrapped in an unchecked conversion.
4385
4386 2004-02-04  Vincent Celier  <celier@gnat.com>
4387
4388         * lib-writ.ads: Comment update for the W lines
4389
4390         * bld.adb: (Expression): An empty string list is static
4391
4392         * fname-uf.adb: Minor comment update
4393
4394         * fname-uf.ads: (Get_File_Name): Document new parameter May_Fail
4395
4396         * gnatbind.adb: Initialize Cumulative_Restrictions with the
4397         restrictions on the target.
4398
4399 2004-02-03  Kazu Hirata  <kazu@cs.umass.edu>
4400
4401         * ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of
4402         gen_rtx.
4403
4404 2004-02-02  Arnaud Charlet  <charlet@gnat.com>
4405
4406         * Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded.
4407
4408 2004-02-02  Vincent Celier  <celier@gnat.com>
4409
4410         * gprcmd.adb (Check_Args): If condition is false, print the invoked
4411         comment before the usage.
4412         Gprcmd: Fail when command is not recognized.
4413         (Usage): Document command "prefix"
4414
4415         * g-md5.adb (Digest): Process last block.
4416         (Update): Do not process last block. Store remaining characters and
4417         length in Context.
4418
4419         * g-md5.ads (Update): Document that several call to update are
4420         equivalent to one call with the concatenated string.
4421         (Context): Add fields to allow new Update behaviour.
4422
4423         * fname-uf.ads/adb (Get_File_Name): New Boolean parameter May_Fail,
4424         defaulted to False.
4425         When May_Fail is True and no existing file can be found, return No_File.
4426
4427         * 6vcstrea.adb: Inlined functions are now wrappers to implementation
4428         functions.
4429
4430         * lib-writ.adb (Write_With_Lines): When body file does not exist, use
4431         spec file name instead on the W line.
4432
4433 2004-02-02  Robert Dewar  <dewar@gnat.com>
4434
4435         * ali.adb: Read and acquire info from new format restrictions lines
4436
4437         * bcheck.adb: Add circuits for checking restrictions with parameters
4438
4439         * bindgen.adb: Output dummy restrictions data
4440         To be changed later
4441
4442         * ali.ads, checks.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
4443         exp_ch3.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_util.adb,
4444         freeze.adb, gnat1drv.adb, sem_attr.adb, sem_ch10.adb, sem_ch11.adb,
4445         sem_ch12.adb, targparm.adb, targparm.ads, tbuild.adb, sem_ch2.adb,
4446         sem_elab.adb, sem_res.adb: Minor changes for new restrictions handling.
4447
4448         * exp_ch9.adb (Build_Master_Entity): Cleanup the code (also suppresses
4449         the warning message on access to possibly uninitialized variable S)
4450         Minor changes for new restrictions handling.
4451
4452         * gnatbind.adb: Minor reformatting
4453         Minor changes for new restrictions handling
4454         Move circuit for -r processing here from bcheck (cleaner)
4455
4456         * gnatcmd.adb, gnatlink.adb: Minor reformatting
4457
4458         * lib-writ.adb: Output new format restrictions lines
4459
4460         * lib-writ.ads: Document new R format lines for new restrictions
4461         handling.
4462
4463         * s-restri.ads/adb: New files
4464
4465         * Makefile.rtl: Add entry for s-restri.ads/adb
4466
4467         * par-ch3.adb: Fix bad error messages starting with upper case letter
4468         Minor reformatting
4469
4470         * restrict.adb: Major rewrite throughout for new restrictions handling
4471         Major point is to handle restrictions with parameters
4472
4473         * restrict.ads: Major changes in interface to handle restrictions with
4474         parameters. Also generally simplifies setting of restrictions.
4475
4476         * snames.ads/adb: New entry for proper handling of No_Requeue
4477
4478         * sem_ch3.adb (Count_Tasks): New circuitry for implementing Max_Tasks
4479         restriction counting.
4480         Other minor changes for new restrictions handling
4481
4482         * sem_prag.adb: No_Requeue is a synonym for No_Requeue_Statements.
4483         Restriction_Warnings now allows full parameter notation
4484         Major rewrite of Restrictions for new restrictions handling
4485
4486 2004-02-02  Javier Miranda  <miranda@gnat.com>
4487
4488         * par-ch3.adb (P_Identifier_Declarations): Give support to the Ada 0Y
4489         syntax rule for object renaming declarations.
4490         (P_Array_Type_Definition): Give support for the Ada 0Y syntax rule for
4491         component definitions.
4492
4493         * sem_ch3.adb (Analyze_Component_Declaration): Give support to access
4494         components.
4495         (Array_Type_Declaration): Give support to access components. In addition
4496         it was also modified to reflect the name of the object in anonymous
4497         array types. The old code did not take into account that it is possible
4498         to have an unconstrained anonymous array with an initial value.
4499         (Check_Or_Process_Discriminants): Allow access discriminant in
4500         non-limited types.
4501         (Process_Discriminants): Allow access discriminant in non-limited types
4502         Initialize the new Access_Definition field in N_Object_Renaming_Decl
4503         node.  Change Ada0Y to Ada 0Y in comments
4504
4505         * sem_ch4.adb (Find_Equality_Types): Allow anonymous access types in
4506         equality operators.
4507         Change Ada0Y to Ada 0Y in comments
4508
4509         * sem_ch8.adb (Analyze_Object_Renaming): Give support to access
4510         renamings Change Ada0Y to Ada 0Y in comments
4511
4512         * sem_type.adb (Find_Unique_Type): Give support to the equality
4513         operators for universal access types
4514         Change Ada0Y to Ada 0Y in comments
4515
4516         * sinfo.adb (Access_Definition, Set_Access_Definition): New subprograms
4517
4518         * sinfo.ads (N_Component_Definition): Addition of Access_Definition
4519         field.
4520         (N_Object_Renaming_Declaration): Addition of Access_Definition field
4521         Change Ada0Y to Ada 0Y in comments
4522
4523         * sprint.adb (Sprint_Node_Actual): Give support to the new syntax for
4524         component definition and object renaming nodes
4525         Change Ada0Y to Ada 0Y in comments
4526
4527 2004-02-02  Jose Ruiz  <ruiz@act-europe.fr>
4528
4529         * restrict.adb: Use the new restriction identifier
4530         No_Requeue_Statements instead of the old No_Requeue for defining the
4531         restricted profile.
4532
4533         * sem_ch9.adb (Analyze_Requeue): Check the new restriction
4534         No_Requeue_Statements.
4535
4536         * s-rident.ads: Adding restriction No_Requeue_Statements (AI-00249)
4537         that supersedes the GNAT specific restriction No_Requeue. The later is
4538         kept for backward compatibility.
4539
4540 2004-02-02  Ed Schonberg  <schonberg@gnat.com>
4541
4542         * lib.ads, i-cobol.ads, * s-stoele.ads, s-thread.ads, style.ads,
4543         5staprop.adb, atree.adb, atree.ads, g-crc32.ads: Remove redundant
4544         pragma and fix incorrect ones.
4545
4546         * sem_prag.adb For pragma Inline and pragma Pure_Function, emit a
4547         warning if the pragma is redundant.
4548
4549 2004-02-02  Thomas Quinot  <quinot@act-europe.fr>
4550
4551         * 5staprop.adb: Add missing 'constant' keywords.
4552
4553         * Makefile.in: use consistent value for SYMLIB on
4554         platforms where libaddr2line is supported.
4555
4556 2004-02-02  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4557
4558         * utils.c (end_subprog_body): Do not call rest_of_compilation if just
4559         annotating types.
4560
4561 2004-02-02  Olivier Hainque  <hainque@act-europe.fr>
4562
4563         * init.c (__gnat_install_handler): Setup an alternate stack for signal
4564         handlers in the environment thread. This allows proper propagation of
4565         an exception on stack overflows in this thread even when the builtin
4566         ABI stack-checking scheme is used without support for a stack reserve
4567         region.
4568
4569         * utils.c (create_field_decl): Augment the head comment about bitfield
4570         creation, and don't account for DECL_BIT_FIELD in DECL_NONADDRESSABLE_P
4571         here, because the former is not accurate enough at this point.
4572         Let finish_record_type decide instead.
4573         Don't make a bitfield if the field is to be addressable.
4574         Always set a size for the field if the record is packed, to ensure the
4575         checks for bitfield creation are triggered.
4576         (finish_record_type): During last pass over the fields, clear
4577         DECL_BIT_FIELD when possible in the !STRICT_ALIGNMENT case, as this is
4578         not covered by the calls to layout_decl.  Adjust DECL_NONADDRESSABLE_P
4579         from DECL_BIT_FIELD.
4580
4581 2004-01-30  Kelley Cook  <kcook@gcc.gnu.org>
4582
4583         * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir).
4584         (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise.
4585         (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise.
4586
4587 2004-01-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4588
4589         * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB.
4590
4591         * 5fsystem.ads (Functions_Return_By_DSP): Set to False.
4592         (ZCX_By_Default): Likewise.
4593         (Front_End_ZCX_Support): Likewise.
4594
4595         * 5gtaprop.adb (Stack_Guard): Mark T, On unreferenced.
4596         (Initialize_Lock): Mark Level unreferenced.
4597         (Sleep): Mark Reason unreferenced.
4598         (Timed_Sleep): Likewise.
4599         (Wakeup): Likewise.
4600         (Exit_Task): Use Result.
4601         (Check_No_Locks): Mark Self_ID unreferenced.
4602
4603         * 5gtasinf.adb (New_Sproc): Make Attr constant.
4604         (Bound_Thread_Attributes): Make Sproc constant.
4605         (New_Bound_Thread_Attributes): Likewise.
4606
4607 2004-01-26  Ed Schonberg  <schonberg@gnat.com>
4608
4609         * exp_ch3.adb (Build_Slice_Assignment): New TSS procedure for
4610         one-dimensional array an slice assignments, when component type is
4611         controlled.
4612
4613         * exp_ch5.adb (Expand_Assign_Array): If array is one-dimensional,
4614         component type is controlled, and control_actions are in effect, use
4615         TSS procedure rather than generating inline code.
4616
4617         * exp_tss.ads (TSS_Slice_Assign): New TSS procedure for one-dimensional
4618         arrays with controlled components.
4619
4620 2004-01-26  Vincent Celier  <celier@gnat.com>
4621
4622         * gnatcmd.adb (GNATCmd): Add specification of argument file on the
4623         command line for the non VMS case.
4624
4625         * gnatlink.adb (Process_Binder_File): When building object file, if
4626         GNU linker is used, put all object paths between quotes, to prevent ld
4627         error when there are unusual characters (such as '!') in the paths.
4628
4629         * Makefile.generic: When there are sources in Ada and the main is in
4630         C/C++, invoke gnatmake with -B, instead of -z.
4631
4632         * vms_conv.adb (Preprocess_Command_Data): New procedure, extracted
4633         from VMS_Conversion.
4634         (Process_Argument): New procedure, extracted from VMS_Conversion. Add
4635         specification of argument file on the command line.
4636
4637 2004-01-26  Bernard Banner  <banner@gnat.com>
4638
4639         * Makefile.in: Enable GMEM_LIB and SYMLIB for x86_64
4640
4641 2004-01-26  Ed Schonberg  <schonberg@gnat.com>
4642
4643         * snames.adb: Update copyright notice.
4644         Add info on slice assignment for controlled arrays.
4645
4646 2004-01-23  Robert Dewar  <dewar@gnat.com>
4647
4648         * exp_aggr.adb: Minor reformatting
4649
4650         * exp_ch9.adb: Minor code clean up
4651         Minor reformatting
4652         Fix bad character in comment
4653
4654         PR ada/13471
4655         * targparm.adb (Get_Target_Parameters): Give clean abort error on
4656         unexpected end of file, along with more detailed message.
4657
4658 2004-01-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4659
4660         * exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of
4661         PAT.
4662
4663         * decl.c (copy_alias_set): New function.
4664         (gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it.
4665
4666 2004-01-23  Doug Rupp  <rupp@gnat.com>
4667
4668         * Makefile.in (install-gnatlib): Change occurrences of lib$$file to
4669         lib$${file} in case subsequent character is not a separator.
4670
4671 2004-01-23  Vincent Celier  <celier@gnat.com>
4672
4673         * 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc
4674         when the GCC version is at least 3.
4675
4676         * make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches
4677         Remove all "Opt.", to prepare for opt split
4678
4679         * prj-part.adb (Parse_Single_Project): New Boolean out parameter
4680         Extends_All. Set to True when the project parsed is an extending all
4681         project. Fails for importing an extending all project only when the
4682         imported project is an extending all project.
4683         (Post_Parse_Context_Clause): Set Is_Extending_All to the with clause,
4684         depending on the value of Extends_All returned.
4685
4686         * prj-proc.adb (Process): Check that no project shares its object
4687         directory with a project that extends it, directly or indirectly,
4688         including a virtual project.
4689         Check that no project extended by another project shares its object
4690         directory with another also extended project.
4691
4692         * prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for
4693         Kind = N_With_Clause
4694
4695         * prj-tree.ads: Minor reformatting
4696         Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All).
4697
4698 2004-01-23  Ed Schonberg  <schonberg@gnat.com>
4699
4700         * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute
4701         applies to a type with an incomplete view, use full view in Name of
4702         clause, for consistency with uses of Get_Attribute_Definition_Clause.
4703
4704 2004-01-23  Arnaud Charlet  <charlet@act-europe.fr>
4705
4706         * 5itaprop.adb (Set_Priority): Reset the priority to 0 when using
4707         SCHED_RR, since other values are not supported by this policy.
4708         (Initialize): Move initialization of mutex attribute to package
4709         elaboration, to prevent early access to this variable.
4710
4711         * Makefile.in: Remove mention of Makefile.adalib, unused.
4712
4713         * Makefile.adalib, 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
4714         1ssecsta.ads: Removed, unused.
4715
4716 2004-01-21  Javier Miranda  <miranda@gnat.com>
4717
4718         * exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master
4719         entity if already built in the current scope.
4720
4721         * exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity
4722         reminder in internal scopes. Required for nested limited aggregates.
4723
4724 2004-01-21  Doug Rupp  <rupp@gnat.com>
4725
4726         * Makefile.in (hyphen): New variable, default value '-'. Set to '_' on
4727         VMS. Replace all occurences of libgnat- and libgnarl- with
4728         libgnat$(hyphen) and libgnarl$(hyphen).
4729         Fixed shared library build problem on VMS.
4730
4731 2004-01-21  Robert Dewar  <dewar@gnat.com>
4732
4733         * mlib-prj.adb: Minor reformatting
4734
4735 2004-01-21  Thomas Quinot  <quinot@act-europe.fr>
4736
4737         * prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing
4738         'constant' keywords for declaration of pointers that are not modified.
4739
4740         * exp_pakd.adb: Fix English in comment.
4741
4742 2004-01-21  Ed Schonberg  <schonberg@gnat.com>
4743
4744         PR ada/10889
4745         * sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype,
4746         copy all attributes of the parent, including the foreign language
4747         convention.
4748
4749 2004-01-21  Sergey Rybin  <rybin@act-europe.fr>
4750
4751         PR ada/10565
4752         * sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check
4753         for 'delay until' statement.
4754
4755 2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
4756
4757         * Make-lang.in: Replace $(docdir) with doc.
4758         (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
4759         doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
4760         to use consistent MAKEINFO rule.
4761         (ada.man, ada.srcman): Dummy entry.
4762         (ADA_INFOFILES): Define.
4763         (ada.info, ada.srcinfo): New rules.
4764
4765 2004-01-19  Arnaud Charlet  <charlet@act-europe.fr>
4766
4767         * utils.c: Update copyright notice, missed in previous change.
4768
4769 2004-01-19  Vincent Celier  <celier@gnat.com>
4770
4771         * mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the
4772         args if Bind is True. Set First_ALI, if not already done.
4773         (Build_Library): For Stand Alone Libraries, extract from one ALI file
4774         an eventual --RTS switch, for gnatbind, and all backend switches +
4775         --RTS, for linking.
4776
4777 2004-01-19  Robert Dewar  <dewar@gnat.com>
4778
4779         * sem_attr.adb, memtrack.adb: Minor reformatting
4780
4781 2004-01-19  Ed Schonberg  <schonberg@gnat.com>
4782
4783         * exp_ch6.adb (Expand_Call): Remove code to fold calls to functions
4784         that rename enumeration literals. This is properly done in sem_eval.
4785
4786         * sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls
4787         to functions that rename enumeration literals.
4788
4789         * sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to
4790         functions that rename enumeration literals.
4791
4792 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
4793
4794         * Make-lang.in (utils.o): Depend on target.h.
4795         * utils.c: Include target.h.
4796         (process_attributes): Use targetm.have_named_sections instead
4797         of ASM_OUTPUT_SECTION_NAME.
4798
4799 2004-01-16  Andreas Jaeger  <aj@suse.de>
4800
4801         * Makefile.in: Add $(DESTDIR).
4802
4803 2004-01-15  Olivier Hainque  <hainque@act-europe.fr>
4804
4805         * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
4806         also when not defining if a Size clause applies. That information is
4807         not to be ignored.
4808
4809 2004-01-15  Arnaud Charlet  <charlet@act-europe.fr>
4810
4811         * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
4812         symbolic links for the shared gnat run time when needed.
4813
4814 2004-01-15  Vasiliy Fofanov  <fofanov@act-europe.fr>
4815
4816         * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
4817         for writing, and terminate with an error message if not.
4818
4819 2004-01-15  Ed Schonberg  <schonberg@gnat.com>
4820
4821         * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
4822         warning on an access to subprogram in an instance, when the target
4823         type is declared in the same generic unit.
4824         (Eval_Attribute): If 'access is known to fail accessibility check,
4825         rewrite as a raise statement.
4826
4827 2004-01-15  GNAT Script  <nobody@gnat.com>
4828
4829         * Make-lang.in: Makefile automatically updated
4830
4831 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
4832
4833         * Make-lang.in (ada.srcextra): Dummy entry.
4834
4835 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
4836
4837         * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.
4838
4839 2004-01-13  Ed Schonberg  <schonberg@gnat.com>
4840
4841         * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
4842         components that are initialized with aggregates.
4843
4844 2004-01-13  Vincent Celier  <celier@gnat.com>
4845
4846         * gnatlink.adb (Process_Binder_File): To find directory of shared
4847         libgcc, if "gcc-lib" is not a subdirectory, look for the last
4848         subdirectory "lib" in the path of the shared libgnat or libgnarl.
4849
4850         * make.adb (Gnatmake): If GCC version is at least 3, link with
4851         -shared-libgcc, when there is at least one shared library project.
4852
4853         * opt.ads (GCC_Version): New integer constant.
4854
4855         * adaint.c (get_gcc_version): New function.
4856
4857 2004-01-13  Robert Dewar  <dewar@gnat.com>
4858
4859         * sem_dist.adb, sem_res.adb, sem_util.adb,
4860         sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
4861         exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
4862
4863 2004-01-13  Thomas Quinot  <quinot@act-europe.fr>
4864
4865         * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
4866         g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
4867         declarations.
4868
4869 2004-01-12  Arnaud Charlet  <charlet@act-europe.fr>
4870
4871         * misc.c: Remove trailing spaces.
4872         Update copyright notice missed in previous change.
4873
4874         PR ada/13572
4875         * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
4876         prefix/share/make
4877
4878         * Makefile.generic: Update copyright.
4879         Add license notice.
4880
4881         * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
4882         of prefix/share/make.
4883
4884         * Makefile.prolog: Update copyright.
4885         Add license notice.
4886
4887 2004-01-12  Laurent Pautet  <pautet@act-europe.fr>
4888
4889         * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
4890         3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
4891         g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
4892         instead of String.
4893
4894         * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
4895         signature.
4896
4897 2004-01-12  Javier Miranda  <miranda@gnat.com>
4898
4899         * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
4900         exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
4901         sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
4902         sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
4903         Component_Definition node.
4904
4905 2004-01-12  Ed Falis  <falis@gnat.com>
4906
4907         * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit
4908
4909 2004-01-12  Thomas Quinot  <quinot@act-europe.fr>
4910
4911         * link.c: Change default libgnat kind to STATIC for FreeBSD.
4912
4913 2004-01-12  Bernard Banner  <banner@gnat.com>
4914
4915         * Makefile.in: map 86numaux to a-numaux for x86_64
4916
4917 2004-01-12  Ed Schonberg  <schonberg@gnat.com>
4918
4919         * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
4920         generated to rename a generic actual, go to the actual itself, the
4921         subtype is not a user-visible entity.
4922
4923         * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
4924         part is a private subtype, reset the visibility of its full view, if
4925         any, to be consistent.
4926
4927         PR ada/13417
4928         * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
4929         to use a generic package G as a formal package for another generic
4930         declared within G.
4931
4932 2004-01-12  Robert Dewar  <dewar@gnat.com>
4933
4934         * trans.c (Eliminate_Error_Msg): New procedure called to generate msg
4935
4936         * usage.adb: Remove mention of obsolete -gnatwb switch
4937         Noticed during code reading
4938
4939 2004-01-12  Jerome Guitton  <guitton@act-europe.fr>
4940
4941         * 1ssecsta.adb: Minor changes for -gnatwa warnings
4942
4943 2004-01-12  GNAT Script  <nobody@gnat.com>
4944
4945         * Make-lang.in: Makefile automatically updated
4946
4947 2004-01-09  Mark Mitchell  <mark@codesourcery.com>
4948
4949         * misc.c (gnat_expand_expr): Add alt_rtl parameter.
4950
4951 2004-01-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4952
4953         * link.c [sgi] (shared_libgnat_default): Change to STATIC.
4954
4955 2004-01-05  Kelley Cook  <kcook@gcc.gnu.org>
4956
4957         * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
4958         Update comment and copyright date.
4959         * stamp-xgnatug: Delete.
4960
4961 2004-01-05  Robert Dewar  <dewar@gnat.com>
4962
4963         * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
4964         be modified by the binder generated main program if the -D switch is
4965         used.
4966
4967         * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
4968         imported functions (since now we expect this to be done for imported
4969         functions)
4970
4971         * 5vtaprop.adb: Add several ??? for sections requiring more comments
4972         Minor reformatting throughout
4973
4974         * 5zinit.adb: Minor reformatting
4975         Add 2004 to copyright date
4976         Minor changes to avoid -gnatwa warnings
4977         Correct some instances of using OR instead of OR ELSE (noted while
4978         doing reformatting)
4979
4980         * sprint.adb: Minor updates to avoid -gnatwa warnings
4981
4982         * s-secsta.ads, s-secsta.adb:
4983         (SS_Get_Max): New function to obtain high water mark for ss stack
4984         Default_Secondary_Stack is not a constant since it may be modified by
4985         the binder generated main program if the -D switch is used.
4986
4987         * switch-b.adb: New -Dnnn switch for binder
4988
4989         * switch-c.adb:
4990         Make -gnatg imply all warnings currently in -gnatwa
4991
4992         * vms_conv.adb: Minor reformatting
4993         Add 2004 to copyright notice
4994         Add 2004 to printed copyright notice
4995
4996         * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
4997         3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
4998         5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
4999         5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
5000         5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
5001         5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
5002         5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
5003         5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
5004         5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
5005         5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
5006         6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
5007         vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
5008         xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
5009         sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
5010         checks.adb, clean.adb, cstand.adb, einfo.ads,
5011         einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
5012         exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
5013         prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
5014         sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
5015         g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
5016         lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
5017         Minor reformatting and code clean ups.
5018         Minor changes to prevent -gnatwa warnings
5019
5020         * ali.adb: Minor reformatting and cleanup of code
5021         Acquire new SS indication of secondary stack use from ali files
5022
5023         * a-numaux.ads: Add Pure_Function pragmas for all imported functions
5024         (since now we expect this to be done for imported functions)
5025
5026         * bindgen.adb: Generate call to modify default secondary stack size if
5027         -Dnnn switch given
5028
5029         * bindusg.adb: Add line for new -D switch
5030
5031         * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
5032         replacement name for Type_May_Have_Non_Bit_Aligned_Components!
5033         Add circuitry for both records and arrays to avoid gigi
5034         processing if the type involved has non-bit-aligned components
5035
5036         * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
5037         N_String_Literal node always references an E_String_Literal_Subtype
5038         entity. This may not be true in the future.
5039         (Possible_Bit_Aligned_Component): Move processing of
5040         Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
5041
5042         * exp_ch6.adb (Expand_Thread_Body): Pick up
5043         Default_Secondary_Stack_Size as variable so that we get value modified
5044         by possible -Dnnn binder parameter.
5045
5046         * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
5047         (Type_May_Have_Bit_Aligned_Components): New function.
5048
5049         * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
5050         (Type_May_Have_Bit_Aligned_Components): New function.
5051
5052         * fe.h: (Set_Identifier_Casing): Fix prototype.
5053         Add declaration for Sem_Elim.Eliminate_Error_Msg.
5054         Minor reformatting.
5055
5056         * freeze.adb (Freeze_Entity): Add RM reference to error message about
5057         importing constant atomic/volatile objects.
5058         (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
5059         unless explicit Pure_Function pragma given, to avoid insidious bug of
5060         call to non-pure imported function getting eliminated.
5061
5062         * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
5063         gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
5064         gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
5065         Add 2004 to printed copyright notice
5066
5067         * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
5068         stack used.
5069
5070         * Makefile.rtl: Add entry for g-sestin.o
5071         g-sestin.ads: New file.
5072
5073         * mdll.adb: Minor changes to avoid -gnatwa warnings
5074
5075         * mlib-tgt.adb: Minor reformatting
5076
5077         * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
5078         New switch Sec_Stack_Used (GNAT, GNATBIND)
5079         Make Default_Secondary_Stack_Size a variable instead of a constant,
5080         so that it can be modified by the new -Dnnn bind switch.
5081
5082         * rtsfind.adb (Load_Fail): Give full error message in configurable
5083         run-time mode if all_errors mode is set. This was not done in the case
5084         of a file not found, which was an oversight.
5085         Note if secondary stack unit is used by compiler.
5086
5087         * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
5088         ineffective elaborate all pragmas on non-visible packages (this
5089         happened when a renamed subprogram was called). Now the elaborate all
5090         always goes on the package containing the renaming rather than the one
5091         containing the renamed subprogram.
5092
5093         * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
5094         (Process_Eliminate_Pragma): Add parameter to capture pragma location.
5095
5096         * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
5097         has an Etype that references an E_String_Literal.
5098         (Eval_String_Literal): Avoid assumption that N_String_Literal node
5099         always references an E_String_Literal_Subtype entity. This may not
5100         be true in the future.
5101
5102         * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
5103         pragma location.
5104
5105         * sem_res.adb (Resolve): Specialize msg for function name used in proc
5106         call.
5107
5108 2004-01-05  Ed Falis  <falis@gnat.com>
5109
5110         * g-debuti.adb: Replaced direct boolean operator with short-circuit
5111         form.
5112
5113 2004-01-05  Vincent Celier  <celier@gnat.com>
5114
5115         * bld.adb: Minor comment updates
5116         (Process_Declarative_Items): Correct incorrect name (Index_Name instead
5117         of Item_Name).
5118
5119         * make.adb (Gnatmake): Special process for files to compile/check when
5120         -B is specified. Fail when there are only foreign mains in attribute
5121         Main of the project file and -B is not specified. Do not skip bind/link
5122         steps when -B is specified.
5123
5124         * makeusg.adb: Document new switch -B
5125
5126         * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
5127
5128         * switch-m.adb: (Scan_Make_Switches): Process -B switch
5129
5130         * vms_data.ads: Add new GNAT PRETTY qualifier
5131         /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
5132
5133 2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5134
5135         * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
5136         case.
5137
5138         * misc.c (gnat_printable_name): If VERBOSITY is 2, call
5139         Set_Identifier_Casing.
5140
5141         * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
5142         has size that overflows.
5143
5144 2004-01-05  Gary Dismukes  <dismukes@gnat.com>
5145
5146         * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
5147         -gnatwa warning on static condition.
5148
5149 2004-01-05  Doug Rupp  <rupp@gnat.com>
5150
5151         * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
5152
5153 2004-01-05  Arnaud Charlet  <charlet@act-europe.fr>
5154
5155         * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
5156         all attributes, including read-only attribute.
5157
5158 2004-01-05  Pascal Obry  <obry@gnat.com>
5159
5160         * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
5161         library naming scheme.
5162
5163         * mlib-prj.adb (Build_Library): Generate different names for the static
5164         or dynamic version of the GNAT runtime. This is needed to support the
5165         new shared library naming scheme.
5166         (Process_Binder_File): Add detection of shared library in binder file
5167         based on the new naming scheme.
5168
5169         * gnatlink.adb (Process_Binder_File): Properly detect the new naming
5170         scheme for the shared runtime libraries.
5171
5172         * Makefile.in:
5173         (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
5174         scheme.
5175         (install-gnatlib): Do not create symlinks for shared libraries.
5176         (gnatlib-shared-default): Idem.
5177         (gnatlib-shared-dual-win32): New target. Not used for now as the
5178         auto-import feature does not support arrays/records.
5179         (gnatlib-shared-win32): Do not create copy for the shared libraries.
5180         (gnatlib-shared-vms): Fix shared runtime libraries names.
5181
5182         * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
5183         dependent runtime shared library name.
5184
5185 2004-01-05  Vasiliy Fofanov  <fofanov@act-europe.fr>
5186
5187         * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
5188         than the object.
5189
5190 2004-01-05  Ed Schonberg  <schonberg@gnat.com>
5191
5192         * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
5193         protected objects when allocator has a subtype indication, not a
5194         qualified expression. Note that qualified expressions may have to be
5195         checked when limited aggregates are implemented.
5196
5197         * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
5198         pure, emit warning.
5199         (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
5200         subprogram is imported, remove warning.
5201
5202 2004-01-05  Geert Bosch  <bosch@gnat.com>
5203
5204         * s-poosiz.adb: Update copyright notice.
5205         (Allocate): Use Task_Lock to protect against concurrent access.
5206         (Deallocate): Likewise.
5207
5208 2004-01-05  Joel Brobecker  <brobecker@gnat.com>
5209
5210         * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
5211         comment.
5212
5213 2003-12-23  Kelley Cook  <kcook@gcc.gnu.org>
5214
5215         * gnat_ug.texi: Force a CVS commit by updating copyright.
5216         * gnat_ug_vxw.texi: Regenerate.
5217         * gnat_ug_wnt.texi: Regenerate.
5218         * gnat_ug_vms.texi: Regenerate.
5219         * gnat_ug_unx.texi: Regenerate.
5220
5221 2003-12-20  Kazu Hirata  <kazu@cs.umass.edu>
5222
5223         * trans.c: Remove uses of "register" specifier in
5224         declarations of local variables.
5225
5226 2003-12-18  Kelley Cook  <kcook@gcc.gnu.org>
5227
5228         * stamp-xgnatug: New stamp file.
5229         * Make-lang.in (stamp-xgnatug):  New stamp file and comment.
5230         (ada/doctools/xgnatug): Add $(build_exeext).
5231         (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
5232         ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
5233
5234 2003-12-17  Ed Falis  <falis@gnat.com>
5235
5236         * a-elchha.adb (Tailored_Exception_Information): made Info constant to
5237         eliminate warning.
5238
5239         * a-exextr.adb: Add context clause for
5240         Ada.Exceptions.Last_Chance_Handler.
5241
5242 2003-12-17  Sergey Rybin  <rybin@act-europe.fr>
5243
5244         * cstand.adb (Create_Standard): Change the way how the declaration of
5245         the Duration type is created (making it the same way as it is for all
5246         the other standard types).
5247
5248 2003-12-17  Robert Dewar  <dewar@gnat.com>
5249
5250         * s-crtl.ads: Fix header format
5251         Change Pure to Preelaborate
5252
5253 2003-12-17  Ed Schonberg  <schonberg@gnat.com>
5254
5255         * checks.adb (Selected_Length_Checks): Generate an Itype reference for
5256         the expression type only if it is declared in the current unit.
5257
5258         * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
5259         are universal and already analyzed, as can occur in constrained
5260         subcomponents that depend on discriminants, when one constraint is a
5261         subtype mark.
5262
5263         * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
5264         type Any_Fixed is legal as the argument of a conversion, if only one
5265         fixed-point type is in context.
5266
5267 2003-12-17  GNAT Script  <nobody@gnat.com>
5268
5269         * Make-lang.in: Makefile automatically updated
5270
5271 2003-12-15  Robert Dewar  <dewar@gnat.com>
5272
5273         * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
5274         sec stack size.
5275
5276 2003-12-15  Vincent Celier  <celier@gnat.com>
5277
5278         * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
5279         (Gnatchop): Do not set failure status when reporting the number of
5280         warnings.
5281
5282 2003-12-15  Doug Rupp  <rupp@gnat.com>
5283
5284         * s-ctrl.ads: New file.
5285
5286         * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
5287
5288         * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
5289         (GNATBIND_OBJS): Add ada/s-crtl.o.
5290
5291         * Makefile.in [VMS]: Clean up ifeq rules.
5292
5293         * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
5294         a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
5295         g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
5296         s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
5297         s-tasdeb.adb: Update copyright.
5298         Import System.CRTL.
5299         Make minor modifications to use System.CRTL declared functions instead
5300         of importing locally.
5301
5302 2003-12-15  GNAT Script  <nobody@gnat.com>
5303
5304         * Make-lang.in: Makefile automatically updated
5305
5306 2003-12-11  Ed Falis  <falis@gnat.com>
5307
5308         * 5zinit.adb: Clean up.
5309
5310         * 5zintman.adb (Notify_Exception): replaced case statement with a call
5311         to __gnat_map_signal, imported from init.c to support
5312         signal -> exception mappings that depend on the vxWorks version.
5313
5314         * init.c:
5315         Created and exported __gnat_map_signal to support signal -> exception
5316         mapping that is dependent on the VxWorks version.
5317         Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
5318
5319 2003-12-11  Vasiliy Fofanv  <fofanov@act-europe.fr>
5320
5321         * 5wosinte.ads: Link with -mthreads switch.
5322
5323 2003-12-11  Arnaud Charlet  <charlet@act-europe.fr>
5324
5325         * init.c (__gnat_install_handler [NetBSD]): Set
5326         __gnat_handler_installed, as done on all other platforms.
5327         Remove duplicated code.
5328
5329 2003-12-11  Jerome Guitton  <guitton@act-europe.fr>
5330
5331         * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
5332
5333 2003-12-11  Thomas Quinot  <quinot@act-europe.fr>
5334
5335         * sinfo.ads: Fix inconsistent example code in comment.
5336
5337 2003-12-11  Robert Dewar  <dewar@gnat.com>
5338
5339         * a-tiinau.adb: Add a couple of comments
5340
5341         * sem_ch3.adb: Minor reformatting
5342
5343         * sem_prag.adb:
5344         Fix bad prototype of Same_Base_Type in body (code reading cleanup)
5345         Minor reformatting throughout
5346
5347 2003-12-11  Ed Schonberg  <schonberg@gnat.com>
5348
5349         * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
5350         bounds of a loop, create a separate block in order to generate proper
5351         cleanup actions to prevent memory leaks.
5352
5353         * sem_res.adb (Resolve_Call): After a call to
5354         Establish_Transient_Scope, the call may be rewritten and relocated, in
5355         which case no further processing is needed.
5356
5357         * sem_util.adb: (Wrong_Type): Refine previous fix.
5358          Fixes ACATS regressions.
5359
5360         PR ada/13353
5361
5362         * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
5363         be inlined.
5364
5365 2003-12-08  Jerome Guitton  <guitton@act-europe.fr>
5366
5367         * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
5368         i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
5369         obsolete files.
5370
5371         * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
5372         (rts-zfp): Ditto.
5373
5374 2003-12-08  Robert Dewar  <dewar@gnat.com>
5375
5376         * 7sintman.adb: Minor reformatting
5377
5378         * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
5379         standard linker options to get standard libraries linked. We now plan
5380         to provide dummy versions of these libraries to match the appropriate
5381         configurable run-time (e.g. if a library is not needed at all, provide
5382         a dummy empty library).
5383
5384         * targparm.ads: Configurable_Run_Time mode no longer affects linker
5385         options (-L parameters and standard libraries). What we plan to do is
5386         to provide dummy libraries where the libraries are not required.
5387
5388         * gnatbind.adb: Minor comment improvement
5389
5390 2003-12-08  Javier Miranda  <miranda@gnat.com>
5391
5392         * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
5393         aggregate in the parent. Otherwise constants with limited aggregates
5394         are not supported. Add new formal to pass the component type (Ctype).
5395         It is required to call the corresponding IP subprogram in case of
5396         default initialized components.
5397         (Gen_Assign): In case of default-initialized component, generate a
5398         call to the IP subprogram associated with the component.
5399         (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
5400         of aggregate with default initialized components.
5401         (Has_Default_Init_Comps): Improve implementation to recursively check
5402         all the present expressions.
5403
5404         * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
5405         to indicate that the initialization call corresponds to a
5406         default-initialized component of an aggregate.
5407         In case of default initialized aggregate with tasks this parameter is
5408         used to generate a null string (this is just a workaround that must be
5409         improved later). In case of discriminants, this parameter is used to
5410         generate a selected component node that gives access to the discriminant
5411         value.
5412
5413         * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
5414         subprogram, based on Build_Task_Allocate_Block, but adapted to expand
5415         allocated aggregates with default-initialized components.
5416
5417         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
5418         the box notation is used in positional aggregates.
5419
5420 2003-12-08  Samuel Tardieu  <tardieu@act-europe.fr>
5421
5422         * lib.ads: Fix typo in comment
5423
5424 2003-12-08  Vincent Celier  <celier@gnat.com>
5425
5426         * prj.adb (Project_Empty): New component Unkept_Comments
5427         (Scan): Remove procedure; moved to Prj.Err.
5428
5429         * prj.ads (Project_Data): New Boolean component Unkept_Comments
5430         (Scan): Remove procedure; moved to Prj.Err.
5431
5432         * prj-dect.adb: Manage comments for the different declarations.
5433
5434         * prj-part.adb (With_Record): New component Node
5435         (Parse): New Boolean parameter Store_Comments, defaulted to False.
5436         Set the scanner to return ends of line and comments as tokens, if
5437         Store_Comments is True.
5438         (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
5439         comments are associated with these nodes. Store the node IDs in the
5440         With_Records.
5441         (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
5442         With_Records.
5443         (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
5444         the N_Project node. Call Tree.Save and Tree.Reset before scanning the
5445         current project. Call Tree.Restore afterwards. Set the various nodes
5446         for comment storage (Next_End, End_Of_Line, Previous_Line,
5447         Previous_End).
5448
5449         * prj-part.ads (Parse): New Boolean parameter Store_Comments,
5450         defaulted to False.
5451
5452         * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
5453         to False. When Truncated is True, truncate the string, never go to the
5454         next line.
5455         (Write_End_Of_Line_Comment): New procedure
5456         (Print): Process comments for nodes N_With_Clause,
5457         N_Package_Declaration, N_String_Type_Declaration,
5458         N_Attribute_Declaration, N_Typed_Variable_Declaration,
5459         N_Variable_Declaration, N_Case_Construction, N_Case_Item.
5460         Process nodes N_Comment.
5461
5462         * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
5463         without comments and there are some comments, set the flag
5464         Unkept_Comments to True.
5465         (Scan): If there are comments, set the flag Unkept_Comments to True and
5466         clear the comments.
5467         (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
5468         (Next_End_Nodes: New table
5469         (Comment_Zones_Of): New function
5470         (Scan): New procedure; moved from Prj. Accumulate comments in the
5471         Comments table and set end of line comments, comments after, after end
5472         and before end.
5473         (Add_Comments): New procedure
5474         (Save, Restore, Seset_State): New procedures
5475         (There_Are_Unkept_Comments): New function
5476         (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
5477         (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
5478         procedures.
5479         (First_Comment_After, First_Comment_After_End): New functions
5480         (First_Comment_Before, First_Comment_Before_End): New functions
5481         (Next_Comment): New function
5482         (End_Of_Line_Comment, Follows_Empty_Line,
5483         Is_Followed_By_Empty_Line): New functions
5484         (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
5485         (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
5486         (Set_Next_Comment): New procedure
5487         (Default_Project_Node): Associate comment before if the node can store
5488         comments.
5489
5490         * scans.ads (Token_Type): New enumeration value Tok_Comment
5491         (Comment_Id): New global variable
5492
5493         * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
5494         defaulted to False.
5495         (Scan): Store position of start of comment. If comments are tokens, set
5496         Comment_Id and set Token to Tok_Comment when scanning a comment.
5497         (Set_Comment_As_Token): New procedure
5498
5499         * sinput-p.adb: Update Copyright notice
5500         (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
5501         that no longer exists.
5502
5503 2003-12-08  Javier Miranda  <miranda@gnat.com>
5504
5505         * sem_aggr.adb: Add dependence on Exp_Tss package
5506         Correct typo in comment
5507         (Resolve_Aggregate): In case of array aggregates set the estimated
5508         type of the aggregate before calling resolve. This is needed to know
5509         the name of the corresponding IP in case of limited array aggregates.
5510         (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
5511         in case of default initialized array components.
5512
5513         * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
5514         types. Required to give support to limited aggregates in generic
5515         formals.
5516
5517 2003-12-08  Ed Schonberg  <schonberg@gnat.com>
5518
5519         * sem_ch3.adb (Check_Initialization): For legality purposes, an
5520         inlined body functions like an instantiation.
5521         (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
5522         until bounds are analyzed, to diagnose premature use of type.
5523
5524         * sem_util.adb (Wrong_Type): Improve error message when the type of
5525         the expression is used prematurely.
5526
5527 2003-12-08  GNAT Script  <nobody@gnat.com>
5528
5529         * Make-lang.in: Makefile automatically updated
5530
5531 2003-12-08  Arnaud Charlet  <charlet@act-europe.fr>
5532
5533         * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
5534         they are automatically generated by Make-lang.in and cause nothing but
5535         maintenance troubles.
5536
5537 2003-12-05  Thomas Quinot  <quinot@act-europe.fr>
5538
5539         * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
5540         version of this unit).
5541
5542 2003-12-05  Olivier Hainque  <hainque@act-europe.fr>
5543
5544         * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
5545         5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
5546         5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
5547         the body of System.Interrupt_Management common to several targets.
5548         Update copyright notice when appropriate.
5549
5550         * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
5551         constant.
5552
5553         * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
5554         to ensure that the kernel fills in the interrupted context structure
5555         before calling a signal handler, which is necessary to be able to
5556         unwind past it. Update the copyright notice.
5557
5558 2003-12-05  Jerome Guitton  <guitton@act-europe.fr>
5559
5560         * a-elchha.ads: New file.
5561
5562         * a-elchha.adb: New default last chance handler. Contents taken from
5563         Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
5564
5565         * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
5566         is moved to a-elchha.adb to provide a target-independent default last
5567         chance handler.
5568
5569         * Makefile.rtl: Add a-elchha.o
5570
5571         * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
5572
5573 2003-12-05  Ed Schonberg  <schonberg@gnat.com>
5574
5575         * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
5576         declared in an instance, do not inline the call if the instance is not
5577         frozen yet, to prevent order of elaboration problems.
5578
5579         * sem_prag.adb: Add comments for previous fix.
5580
5581 2003-12-05  Samuel Tardieu  <tardieu@act-europe.fr>
5582
5583         * g-table.adb: Use the right variable in Set_Item.
5584         Update copyright notice.
5585
5586 2003-12-05  Arnaud Charlet  <charlet@act-europe.fr>
5587
5588         * Makefile.in: Remove unused rules.
5589
5590 2003-12-05  Vincent Celier  <celier@gnat.com>
5591
5592         * switch-c.adb (Scan_Front_End_Switches): Remove processing of
5593         -nostdlib. Not needed here after all.
5594
5595 2003-12-03  Thomas Quinot  <quinot@act-europe.fr>
5596
5597         PR ada/11724
5598
5599         * adaint.h, adaint.c, g-os_lib.ads:
5600         Do not assume that the offset argument to lseek(2) is a 32 bit integer,
5601         on some platforms (including FreeBSD), it is a 64 bit value.
5602         Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
5603
5604 2003-12-03  Arnaud Charlet  <charlet@act-europe.fr>
5605
5606         * gnatvsn.ads (Library_Version): Now contain only the relevant
5607         version info.
5608         (Verbose_Library_Version): New constant.
5609
5610         * g-spipat.adb, g-awk.adb, g-debpoo.adb,
5611         g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
5612         s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
5613
5614         * gnatlbr.adb: Clean up: replace Library_Version by
5615         Verbose_Library_Version.
5616
5617         * make.adb, lib-writ.adb, exp_attr.adb:
5618         Clean up: replace Library_Version by Verbose_Library_Version.
5619
5620         * 5lintman.adb: Removed.
5621
5622         * Makefile.in:
5623         Update and simplify computation of LIBRARY_VERSION.
5624         Fix computation of GSMATCH_VERSION.
5625         5lintman.adb is no longer used: replaced by 7sintman.adb.
5626
5627 2003-12-03  Robert Dewar  <dewar@gnat.com>
5628
5629         * exp_ch5.adb:
5630         (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
5631         name. Modified to consider small non-bit-packed arrays as troublesome
5632         and in need of component-by-component assigment expansion.
5633
5634 2003-12-03  Vincent Celier  <celier@gnat.com>
5635
5636         * lang-specs.h: Process nostdlib as nostdinc
5637
5638         * back_end.adb: Update Copyright notice
5639         (Scan_Compiler_Arguments): Process -nostdlib directly.
5640
5641 2003-12-03  Jose Ruiz  <ruiz@act-europe.fr>
5642
5643         * Makefile.in:
5644         When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
5645         redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
5646         included in HIE_NONE_TARGET_PAIRS.
5647
5648 2003-12-03  Ed Schonberg  <schonberg@gnat.com>
5649
5650         * sem_attr.adb:
5651         (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
5652         is legal in an instance, because legality is cheched in the template.
5653
5654         * sem_prag.adb:
5655         (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
5656         appplied to an unchecked conversion of a formal parameter.
5657
5658         * sem_warn.adb:
5659         (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
5660         variables.
5661
5662 2003-12-03  Olivier Hainque  <hainque@act-europe.fr>
5663
5664         * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
5665         routines. The second one is new functionality to deal with backtracing
5666         through signal handlers.
5667         (unwind): Split into the two separate subroutines above.
5668         Update the documentation, and deal properly with sizeof (REG) different
5669         from sizeof (void*).
5670
5671 2003-12-01  Nicolas Setton  <setton@act-europe.fr>
5672
5673         * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
5674         so that the debugger can reliably access the value of the parameter,
5675         and therefore is able to display the exception name when an exception
5676         breakpoint is reached.
5677
5678 2003-12-01  Thomas Quinot  <quinot@act-europe.fr>
5679
5680         * fmap.adb: Fix typo in warning message.
5681
5682         * g-socket.ads, g-socket.adb: Make Free a visible instance of
5683         Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
5684
5685 2003-12-01  Vincent Celier  <celier@gnat.com>
5686
5687         * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
5688         ther is no Afile.
5689         (Build_Library): Get the switches only if Default_Switches is declared
5690         in package Binder.
5691
5692 2003-12-01  Ed Schonberg  <schonberg@gnat.com>
5693
5694         * exp_ch6.adb (Expand_Actuals): When applying validity checks to
5695         actuals that are indexed components, reanalyze actual to ensure that
5696         packed array references are properly expanded.
5697
5698         * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
5699         attempted assignment to a discriminant.
5700
5701 2003-12-01  Robert Dewar  <dewar@gnat.com>
5702
5703         * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
5704         reformatting.
5705
5706         * switch-c.adb: Minor reformatting of comments
5707
5708 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
5709
5710         * Makefile.in: Clean ups.
5711
5712 2003-12-01  GNAT Script  <nobody@gnat.com>
5713
5714         * Make-lang.in: Makefile automatically updated
5715
5716 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
5717
5718         * 5wsystem.ads: Disable zero cost exception, not ready yet.
5719
5720 2003-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
5721
5722         * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
5723         to force serialization.
5724
5725 2003-11-26  Thomas Quinot  <quinot@act-europe.fr>
5726
5727         * g-socket.ads, g-socket.adb:
5728         Clarify documentation of function Stream. Introduce a Free procedure
5729         to release the returned Stream once it becomes unused.
5730
5731         * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
5732
5733 2003-11-26  Arnaud Charlet  <charlet@act-europe.fr>
5734
5735         (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
5736         since NT 4 cannot handle timeout values that are too large,
5737         e.g. DWORD'Last - 1.
5738
5739 2003-11-26  Ed Schonberg  <schonberg@gnat.com>
5740
5741         * exp_ch4.adb:
5742         (Expand_N_Slice): Recognize all cases of slices that appear as actuals
5743         in procedure calls and whose expansion must be deferred.
5744
5745         * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
5746         is in exp_ch4.
5747
5748         * sem_ch3.adb:
5749         (Build_Derived_Array_Type): Create operator for unconstrained type
5750         if ancestor is unconstrained.
5751
5752 2003-11-26  Vincent Celier  <celier@gnat.com>
5753
5754         * make.adb (Project_Object_Directory): New global variable
5755         (Change_To_Object_Directory): New procedure
5756         (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
5757         of Change_Dir directly. Do not change working directory to object
5758         directory of main project after each compilation.
5759         (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
5760         directly.
5761         Change to object directory of main project before binding step.
5762         (Initialize): Initialize Project_Object_Directory to No_Project
5763
5764         * mlib-prj.adb:
5765         (Build_Library): Take into account Builder'Default_Switches ("Ada") when
5766         binding a Stand-Alone Library.
5767
5768         * output.adb: Update Copyright notice
5769         (Write_Char): Output buffer when full
5770
5771 2003-11-26  Robert Dewar  <dewar@gnat.com>
5772
5773         * sem_ch13.adb: (Check_Size): Reset size if size is too small
5774
5775         * sem_ch13.ads:
5776         (Check_Size): Fix documentation to include bit-packed array case
5777
5778         * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
5779
5780         * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
5781
5782         * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
5783
5784 2003-11-24  Arnaud Charlet <charlet@act-europe.fr>
5785
5786         PR ada/13142
5787         * utils.c (init_gigi_decls): Change name of built-in setjmp to
5788         __builtin_setjmp, since this is apparently needed by recent
5789         non Ada changes.
5790
5791 2003-11-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5792
5793         * adadecode.c: Only include ctype.h if not IN_GCC.
5794         (__gnat_decode): Use ISDIGIT from safe-ctype.h.
5795
5796 2003-11-24  Jose Ruiz  <ruiz@act-europe.fr>
5797
5798         * Makefile.in:
5799         Use 5zintman.ads for VxWorks targets. This file avoid confusion between
5800         signals and interrupts.
5801
5802         * 5zintman.ads: New File.
5803
5804         * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
5805         add exception signals to the set of unmasked signals.
5806
5807         * 5ztaprop.adb:
5808         Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
5809         between signals and interrupts.
5810         Add to Unblocked_Signal_Mask the set of signals that are in
5811         Keep_Unmasked.
5812
5813         * 7sinmaop.adb:
5814         Adding a check to see whether the Interrupt_ID we want to unmask is in
5815         the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
5816         reason is that the index type of the Keep_Unmasked array is not always
5817         Interrupt_ID; it may be a subtype of Interrupt_ID.
5818
5819 2003-11-24  Gary Dismukes  <dismukes@gnat.com>
5820
5821         * exp_util.adb:
5822         (Remove_Side_Effects): Condition constantness of object created for a
5823          an unchecked type conversion on the constantness of the expression
5824          to ensure the correct value for 'Constrained when passing components
5825          of view-converted class-wide objects.
5826
5827 2003-11-24  Robert Dewar  <dewar@gnat.com>
5828
5829         * par-load.adb (Load): Improve handling of misspelled and missing units
5830         Removes several cases of compilation abandoned messages
5831
5832         * lib.adb: (Remove_Unit): New procedure
5833
5834         * lib.ads: (Remove_Unit): New procedure
5835
5836         * lib-load.adb: Minor reformatting
5837
5838 2003-11-24  Vincent Celier  <celier@gnat.com>
5839
5840         * make.adb:
5841         (Gnatmake, Initialize): Call Usage instead of Makeusg directly
5842         (Marking_Label): Label to mark processed source files. Incremented for
5843         each executable.
5844         (Gnatmake): Increase Marking_Labet for each executable
5845         (Is_Marked): Compare against marking label
5846         (Mark): Mark with marking label
5847
5848 2003-11-24  Jerome Guitton  <guitton@act-europe.fr>
5849
5850         * s-thread.ads:
5851         Move the declaration of the TSD for System.Threads to System.Soft_Links.
5852         Add some comments.
5853
5854         * Makefile.in: Added target pair for s-thread.adb for cert runtime.
5855         (rts-cert): build a single relocatable object for the run-time lib.
5856         Fix perms.
5857
5858 2003-11-24  Vasiliy Fofanov  <fofanov@act-europe.fr>
5859
5860         * Make-lang.in:
5861         Use gnatls rather than gcc to obtain the location of GNAT RTL for
5862         crosstools build.
5863
5864 2003-11-24  Sergey Rybin  <rybin@act-europe.fr>
5865
5866         * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
5867         can not use it as before (that is, as a variable) when dumping it into
5868         the tree file. Add a local variable to store the result of this
5869         function and to be used as the string to be written into the tree.
5870
5871         * scn.adb (Initialize_Scanner): Add comments explaining the recent
5872         changes.
5873
5874         * sinput.adb (Source_First, Source_Last): In case of
5875         Internal_Source_File, replace returning attributes of
5876         Internal_Source_Ptr (which is wrong) with returning attributes of
5877         Internal_Source.
5878
5879 2003-11-24  Ed Schonberg  <schonberg@gnat.com>
5880
5881         * sem_ch3.adb:
5882         (New_Concatenation_Op): Proper name for New_Binary_Operator, only
5883         used for implicit concatenation operators.
5884         Code cleanup.
5885
5886         * sem_elab.adb:
5887         (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
5888         task bodies that are in the scope of a Suppress pragma.
5889         (Check_A Call): Use the flag to prevent spurious elaboration checks.
5890
5891         * sinfo.ads, sinfo.adb:
5892         New flag No_Elaboration_Check on function/procedure calls, to properly
5893         suppress checks on calls in task bodies that are within a local suppress
5894         pragma.
5895
5896         * exp_ch4.adb:
5897         (Expand_Concatenate_Other): Use the proper integer type for the
5898         expression for the upper bound, to avoid universal_integer computations
5899         when possible.
5900
5901 2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
5902
5903         * .cvsignore: Delete.
5904
5905 2003-11-21  Andreas Schwab  <schwab@suse.de>
5906
5907         * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
5908
5909 2003-11-21  Vasiliy Fofanov  <fofanov@act-europe.fr>
5910
5911         * 5wsystem.ads: Enable zero cost exception.
5912
5913 2003-11-21  Jerome Guitton  <guitton@act-europe.fr>
5914
5915         * 5ztiitho.adb: Remove an unreferenced variable.
5916
5917 2003-11-21  Thomas Quinot  <quinot@act-europe.fr>
5918
5919         * adaint.c: For FreeBSD, use mkstemp.
5920
5921 2003-11-21  Arnaud Charlet  <charlet@act-europe.fr>
5922
5923         * gnatlbr.adb: Now reference Gnat_Static_Version_String.
5924
5925 2003-11-21  Robert Dewar  <dewar@gnat.com>
5926
5927         * bld.adb: Remove useless USE of gnatvsn
5928
5929         * gnatchop.adb: Minor reformatting
5930         Clean up version handling to be more consistent
5931
5932         * gnatxref.adb: Minor reformatting
5933
5934         * gprcmd.adb: Minor reformatting
5935         Fix output of copyright to be more consistent with other tools
5936
5937 2003-11-21  Vincent Celier  <celier@gnat.com>
5938
5939         * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
5940
5941 2003-11-21  Sergey Rybin  <rybin@act-europe.fr>
5942
5943         * atree.adb (Initialize): Add initializations for global variables
5944         used in New_Copy_Tree.
5945
5946         * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
5947         Internal_Source_File as the actual).
5948         Put the set of statements creating Any_Character before the set of
5949         statements creating Any_Array to have Any_Character fully initialized
5950         when it is used in creating Any_Array.
5951
5952         * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
5953         not call Scan in case if the actual is Internal_Source_File
5954         Add 2003 to copyright note.
5955
5956         * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
5957         processing Internal_Source_File.
5958
5959         * types.ads: Add the constant Internal_Source_File representing the
5960         source buffer for artificial source-code-like strings created within
5961         the compiler (the definition of Source_File_Index is changed).
5962
5963 2003-11-20  Arnaud Charlet  <charlet@act-europe.fr>
5964
5965         * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
5966         56system.ads: New file, FreeBSD version.
5967
5968 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
5969
5970         * Make-lang.in (ada.extraclean): Delete.
5971
5972 2003-11-19  Arnaud Charlet  <charlet@act-europe.fr>
5973
5974         * gnatmem.adb: Clean up verbose output.
5975
5976         * gprcmd.adb: Change copyright to FSF.
5977
5978 2003-11-19  Vincent Celier  <celier@gnat.com>
5979
5980         * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
5981         and Version (ignored).
5982
5983         * symbols.ads: (Policy): New type
5984         (Initialize): New parameter Reference, Symbol_Policy and
5985         Library_Version.
5986         Remove parameter Force.
5987         Minor reformatting.
5988
5989         * snames.ads, snames.adbadb: New standard names
5990         Library_Reference_Symbol_File and Library_Symbol_Policy
5991
5992         * mlib-prj.adb:
5993         (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
5994         project.
5995
5996         * mlib-tgt.adb:
5997         (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
5998
5999         * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
6000
6001         * prj.adb: (Project_Empty): New component Symbol_Data
6002
6003         * prj.ads: (Policy, Symbol_Record): New types
6004         (Project_Data): New component Symbol_Data
6005
6006         * prj-attr.adb:
6007         New attributes Library_Symbol_File, Library_Symbol_Policy and
6008         Library_Reference_Symbol_File.
6009
6010         * prj-nmsc.adb:
6011         (Ada_Check): When project is a Stand-Alone library project, process
6012         attribute Library_Symbol_File, Library_Symbol_Policy and
6013         Library_Reference_Symbol_File.
6014
6015         * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
6016         5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
6017         5sml-tgt.adb (Build_Dynamic_Library): New parameter
6018         Symbol_Data (ignored).
6019
6020         * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
6021         (Build_Dynamic_Library): New parameter Symbol_Data. New internal
6022         functions Option_File_Name and Version_String. Set new options of
6023         gnatsym related to symbol file, symbol policy and reference symbol
6024         file.
6025
6026         * 5vsymbol.adb:
6027         Extensive modifications to take into account the reference symbol file,
6028         the symbol policy, the library version and to put in the symbol file the
6029         minor and major IDs.
6030
6031         * bld.adb (Process_Declarative_Items): Put second argument of
6032         gprcmd to_absolute between single quotes, to avoid problems with
6033         Windows.
6034
6035         * bld-io.adb: Update Copyright notice.
6036         (Flush): Remove last character of a line, if it is a back slash, to
6037         avoid make problems.
6038
6039         * gnatsym.adb:
6040         Implement new scheme with reference symbol file and symbol policy.
6041
6042         * g-os_lib.ads: (Is_Directory): Clarify comment
6043
6044 2003-11-19  Robert Dewar  <dewar@gnat.com>
6045
6046         * atree.adb: Move New_Copy_Tree global variables to head of package
6047
6048         * errout.adb: Minor reformatting
6049
6050 2003-11-19  Javier Miranda  <miranda@gnat.com>
6051
6052         * sem_ch4.adb: (Diagnose_Call): Improve error message.
6053         Add reference to Ada0Y (AI-50217)
6054
6055         * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
6056         sem_util.adb: Add reference to AI-50217
6057
6058         * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
6059
6060         * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
6061
6062         * sem_aggr.adb: Complete documentation of AI-287 changes
6063
6064         * par-ch4.adb: Document previous changes.
6065
6066         * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
6067         sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
6068         Ada0Y (AI-50217)
6069
6070         * exp_aggr.adb: Add references to AI-287 in previous changes
6071
6072 2003-11-19  Ed Schonberg  <schonberg@gnat.com>
6073
6074         * exp_ch6.adb:
6075         (Add_Call_By_Copy_Node): Do not original node of rewritten expression
6076         in the rewriting is the result of an inlined call.
6077
6078         * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
6079         parameter is a type conversion, use original node to construct the
6080         post-call assignment, because expression may have been rewritten, e.g.
6081         if it is a packed array.
6082
6083         * sem_attr.adb:
6084         (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
6085         body, just as it is in an instance.
6086         Categorization routines
6087
6088         * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
6089         Instantiate_Object): Set proper sloc reference for message on missing
6090         actual.
6091
6092 2003-11-19  Thomas Quinot  <quinot@act-europe.fr>
6093
6094         * Makefile.in: Add FreeBSD libgnat pairs.
6095
6096         * usage.adb: Fix typo in usage message.
6097
6098 2003-11-19  Jerome Guitton  <guitton@act-europe.fr>
6099
6100         * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
6101         s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
6102         pragma Thread_Body.
6103         Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
6104
6105         * s-thread.adb: This file is now a dummy implementation of
6106         System.Thread.
6107
6108 2003-11-19  Sergey Rybin  <rybin@act-europe.fr>
6109
6110         * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
6111
6112 2003-11-19  Emmanuel Briot  <briot@act-europe.fr>
6113
6114         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
6115         instanciation references in the parent type description.
6116
6117 2003-11-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6118
6119         * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
6120
6121         * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
6122         TYPE_PRECISION directly from esize.
6123
6124 2003-11-18  Thomas Quinot  <quinot@act-europe.fr>
6125
6126         * cstreams.c:
6127         Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
6128
6129         * init.c: Initialization routines for FreeBSD
6130
6131         * link.c: Link info for FreeBSD
6132
6133         * sysdep.c: Add the case of FreeBSD
6134
6135 2003-11-17  Jerome Guitton  <guitton@act-europe.fr>
6136
6137         * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
6138         already called in System.Threads.
6139
6140         * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
6141         environment task, as it has been moved to System.Threads.Initialization.
6142
6143 2003-11-17  Arnaud Charlet  <charlet@act-europe.fr>
6144
6145         * adaint.c (__gnatlib_install_locks): Only reference
6146         __gnat_install_locks on VMS, since other platforms can avoid using
6147         --enable-threads=gnat
6148
6149 2003-11-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6150
6151         * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
6152
6153         * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
6154         TYPE_PACKED_ARRAY_TYPE_P.
6155         (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
6156
6157         Part of PR ada/12806
6158         * utils.c (float_type_for_precision): Renamed from float_type_for_size.
6159         Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
6160
6161 2003-11-17  Vincent Celier  <celier@gnat.com>
6162
6163         * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
6164         to False.
6165         Do not set exit status to Failure when Warning is True.
6166         (Gnatchop): Make errors "no compilation units found" and
6167         "no source files written" warnings only.
6168
6169         * make.adb (Gnatmake): When using a project file, set
6170         Look_In_Primary_Dir to False.
6171         (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
6172         and Local_Configuration_Pragmas in the project where they are declared
6173         not an extending project which might have inherited them.
6174
6175         * osint.adb (Locate_File): If Name is already an absolute path, do not
6176         look for a directory.
6177
6178         * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
6179         -gnats (Check_Syntax) is used, issue only a warning, not an error.
6180
6181         * prj.adb (Register_Default_Naming_Scheme): Add new component Project
6182         in objects of type Variable_Value.
6183
6184         * prj.ads: (Variable_Value): New component Project
6185
6186         * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
6187         is in a project extended by Project.
6188
6189         * prj-proc.adb (Add_Attributes): New parameter Project. Set component
6190         Project of Variable_Values to this new parameter value.
6191         (Expression): Set component Project of Variable_Values.
6192         (Process_Declarative_Items): Call Add_Attributes with parameter Project.
6193         Set the component Project in array elements.
6194
6195 2003-11-17  Sergey Rybin  <rybin@act-europe.fr>
6196
6197         * errout.adb: (Initialize): Add initialization for error nodes.
6198
6199         * sem_ch12.adb (Initialize): Add missing initializations for
6200         Exchanged_Views and Hidden_Entities.
6201
6202 2003-11-17  Ed Schonberg  <schonberg@gnat.com>
6203
6204         * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
6205         already instantiated tree for use in subsequent inlining.
6206         (Analyze_Associations, Instantiate_Formal_Subprogram,
6207         Instantiate_Object): improve error message for mismatch in
6208         instantiations.
6209
6210         * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
6211         instantiations of subprograms declared in instances.
6212
6213 2003-11-17  Javier Miranda  <miranda@gnat.com>
6214
6215         * sem_ch4.adb (Analyze_Allocator): Previous modification must be
6216         executed only under the Extensions_Allowed flag.
6217
6218 2003-11-17  Robert Dewar  <dewar@gnat.com>
6219
6220         * a-exexda.adb (Address_Image): Fix documentation to indicate leading
6221         zeroes suppressed.
6222         (Address_Image): Fix bug of returning 0x instead of 0x0
6223         Minor reformatting (function specs).
6224
6225         * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
6226         (missed case of 33-63)
6227
6228         * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
6229
6230         * s-thread.adb: Add comments for pragma Restriction
6231
6232         * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
6233         sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
6234
6235 2003-11-17  Ed Falis  <falis@gnat.com>
6236
6237         * s-thread.adb: Added No_Tasking restriction for this implementation.
6238
6239 2003-11-17  Emmanuel Briot  <briot@act-europe.fr>
6240
6241         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
6242         instanciation references in the parent type description.
6243
6244 2003-11-17  GNAT Script  <nobody@gnat.com>
6245
6246         * Make-lang.in: Makefile automatically updated
6247
6248 2003-11-16  Jason Merrill  <jason@redhat.com>
6249
6250         * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
6251         and TAGS files that include them for each front end.
6252
6253 2003-11-14  Andreas Jaeger  <aj@suse.de>
6254
6255         * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
6256         is the canonical version.
6257         * misc.c (gnat_handle_option): Likewise.
6258
6259         * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
6260
6261         * 5nsystem.ads: New file for x86_64-linux-gnu.
6262
6263 2003-11-14  Arnaud Charlet  <charlet@act-europe.fr>
6264
6265         * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
6266
6267         * comperr.adb: Fix logic in previous change.
6268
6269 2003-11-13  Vincent Celier  <celier@gnat.com>
6270
6271         * 5bml-tgt.adb (Build_Dynamic_Library): Use
6272         Osint.Include_Dir_Default_Prefix instead of
6273         Sdefault.Include_Dir_Default_Name.
6274
6275         * gnatlbr.adb: Update Copyright notice
6276         (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
6277         Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
6278         instead of Sdefault.Object_Dir_Default_Name
6279
6280         * gnatlink.adb:
6281         (Process_Binder_File): Never suppress the option following -Xlinker
6282
6283         * mdll-utl.adb:
6284         (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
6285         Sdefault.Object_Dir_Default_Name.
6286
6287         * osint.ads, osint.adb:
6288         (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
6289         Minor reformatting.
6290
6291         * vms_conv.ads: Minor reformating
6292         Remove GNAT STANDARD and GNAT PSTA
6293
6294         * vms_conv.adb:
6295         Allow GNAT MAKE to have several files on the command line.
6296         (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
6297         Sdefault.Object_Dir_Default_Name.
6298         Minor Reformating
6299         Remove data for GNAT STANDARD
6300
6301         * vms_data.ads:
6302         Add new compiler qualifier /PRINT_STANDARD (-gnatS)
6303         Remove data for GNAT STANDARD
6304         Remove options and documentation for -gnatwb/-gnatwB: these warning
6305         options no longer exist.
6306
6307 2003-11-13  Ed Falis  <falis@gnat.com>
6308
6309         * 5zthrini.adb: (Init_RTS): Made visible
6310
6311         * 5zthrini.adb:
6312         (Register): Removed unnecessary call to taskVarGet that checked whether
6313          an ATSD was already set as a task var for the argument thread.
6314
6315         * s-thread.adb:
6316         Updated comment to reflect that this is a VxWorks version
6317         Added context clause for System.Threads.Initialization
6318         Added call to System.Threads.Initialization.Init_RTS
6319
6320 2003-11-13  Jerome Guitton  <guitton@act-europe.fr>
6321
6322         * 5zthrini.adb:
6323         (Init_RTS): New procedure, for the initialization of the run-time lib.
6324
6325         * s-thread.adb:
6326         Remove dependancy on System.Init, so that this file can be used in the
6327         AE653 sequential run-time lib.
6328
6329 2003-11-13  Robert Dewar  <dewar@gnat.com>
6330
6331         * bindgen.adb: Minor reformatting
6332
6333 2003-11-13  Ed Schonberg  <schonberg@gnat.com>
6334
6335         * checks.adb:
6336         (Apply_Discriminant_Check): Do no apply check if target type is derived
6337         from source type with no applicable constraint.
6338
6339         * lib-writ.adb:
6340         (Ensure_System_Dependency): Do not apply the style checks that may have
6341         been specified for the main unit.
6342
6343         * sem_ch8.adb:
6344         (Find_Selected_Component): Further improvement in error message, with
6345         RM reference.
6346
6347         * sem_res.adb:
6348         (Resolve): Handle properly the case of an illegal overloaded protected
6349         procedure.
6350
6351 2003-11-13  Javier Miranda  <miranda@gnat.com>
6352
6353         * exp_aggr.adb:
6354         (Has_Default_Init_Comps): New function to check the presence of
6355         default initialization in an aggregate.
6356         (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
6357         extension aggregate of a limited record. In addition, a new formal
6358         was added to do not initialize the record controller (if any) during
6359         this recursive expansion of ancestors.
6360         (Init_Controller): Add support for limited record components.
6361         (Expand_Record_Aggregate): In case of default initialized components
6362         convert the aggregate into a set of assignments.
6363
6364         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
6365         describing the new syntax.
6366         Nothing else needed to be done because this subprogram delegates part of
6367         its work to P_Precord_Or_Array_Component_Association.
6368         (P_Record_Or_Array_Component_Association): Give support to the new
6369         syntax for default initialization of components.
6370
6371         * sem_aggr.adb:
6372         (Resolve_Aggregate): Relax the strictness of the frontend in case of
6373         limited aggregates.
6374         (Resolve_Record_Aggregate): Give support to default initialized
6375         components.
6376         (Get_Value): In case of default initialized components, duplicate
6377         the corresponding default expression (from the record type
6378         declaration). In case of default initialization in the *others*
6379         choice, do not check that all components have the same type.
6380         (Resolve_Extension_Aggregate): Give support to limited extension
6381         aggregates.
6382
6383         * sem_ch3.adb:
6384         (Check_Initialization): Relax the strictness of the front-end in case
6385         of aggregate and extension aggregates. This test is now done in
6386         Get_Value in a per-component manner.
6387
6388         * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
6389         expression corresponds to a limited aggregate. This test is now done
6390         in Get_Value.
6391
6392         * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
6393         Box_Present flag.
6394
6395         * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
6396         present in an N_Component_Association node
6397
6398 2003-11-13  Thomas Quinot  <quinot@act-europe.fr>
6399
6400         * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
6401         type-conformant entry only if they are homographs.
6402
6403 2003-11-13  GNAT Script  <nobody@gnat.com>
6404
6405         * Make-lang.in: Makefile automatically updated
6406
6407 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6408
6409         * adadecode.c: Use <> form of include for ctype.h.
6410         * sysdep.c [IN_RTS]: Use <> form of include for time.h.
6411
6412 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6413
6414         * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
6415         Works around PR middle-end/6552.
6416
6417 2003-11-10  Ed Falis  <falis@gnat.com>
6418
6419         * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
6420
6421         * 5zinit.adb: (Install_Handler): Moved back to spec
6422         (Install_Signal_Handlers): Deleted
6423
6424         * 5zthrini.adb: Added context clause for System.Storage_Elements
6425         (Register): Only handles creation of taskVar; initialization moved to
6426         Thread_Body_Enter.
6427         (Reset_TSD): Deleted; replaced by Thread_Body_Enter
6428         Added declaration of environment task secondary stack and
6429         initialization.
6430
6431         * s-thread.adb: Implement bodies for thread body processing
6432
6433         * s-thread.ads:
6434         Added comment identifying supported targets for pragma Thread_Body.
6435
6436 2003-11-10  Pascal Obry  <obry@gnat.com>
6437
6438         * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
6439         GNAT_MAX_PATH_LEN.
6440
6441         * s-fileio.adb:
6442         (Open): Properly check for string length before copying into the buffer.
6443         Raises Name_Error if buffer is too small. Note that this was a potential
6444         buffer overflow.
6445
6446 2003-11-10  Romain Berrendonner  <berrendo@act-europe.fr>
6447
6448         * bindgen.adb, comperr.adb: Code clean ups.
6449         * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
6450
6451 2003-11-10  Sergey Rybin  <rybin@act-europe.fr>
6452
6453         * gnat1drv.adb: Add call to Sem_Elim.Initialize.
6454
6455 2003-11-10  Vincent Celier  <celier@gnat.com>
6456
6457         * gprcmd.adb:
6458         (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
6459         installation.
6460
6461         * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
6462
6463         * prj.adb: (Project_Empty): Add new boolean component Virtual
6464
6465         * prj.ads: (Virtual_Prefix): New constant string
6466         (Project_Data): New boolean component Virtual
6467
6468         * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
6469         a library project is extended by a virtual extending project.
6470
6471         * prj-part.adb:
6472         Modifications throughout to implement extending-all project, including:
6473         (Virtual_Hash, Processed_Hash): New hash tables
6474         (Create_Virtual_Extending_Project): New procedure
6475         (Look_For_Virtual_Projects_For): New procedure
6476
6477         * prj-proc.adb:
6478         (Process): After checking the projects, if main project is an
6479         extending-all project, set the object directory of all virtual extending
6480         project to the object directory of the main project.
6481         Adjust error message when a virtual extending project has the same
6482         object directory as an project being extended.
6483         (Recursive_Process): If name starts with the virtual prefix, set Virtual
6484         to True in the project data.
6485
6486         * prj-tree.adb:
6487         (Default_Project_Node): Add new boolean component Extending_All
6488         (Is_Extending_All): New function
6489         (Set_Is_Extending_All): New procedure
6490
6491         * prj-tree.ads: (Is_Extending_All): New function
6492         (Set_Is_Extending_All): New procedure
6493         (Project_Node_Record): New boolean component Extending_All
6494
6495         * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
6496
6497         * vms_data.ads:
6498         Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
6499
6500         * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
6501         "gprcmd prefix" to define it.
6502
6503 2003-11-10  Thomas Quinot  <quinot@act-europe.fr>
6504
6505         * einfo.ads: Fix a typo and remove an extraneous word in comments.
6506
6507         * lib-load.adb:
6508         (Create_Dummy_Package_Unit): Set the scope of the entity for the
6509         created dummy package to Standard_Standard, not to itself, to
6510         defend other parts of the front-end against encoutering a cycle in
6511         the scope chain.
6512
6513         * sem_ch10.adb:
6514         (Analyze_With_Clause): When setting the entities for the successive
6515         N_Expanded_Names that constitute the name of a child unit, do not
6516         attempt to go further than Standard_Standard in the chain of scopes.
6517         This case arises from the placeholder units created by
6518         Create_Dummy_Package_Unit in the case of a with_clause for a
6519         nonexistent child unit.
6520
6521 2003-11-10  Ed Schonberg  <schonberg@gnat.com>
6522
6523         * exp_ch6.adb:
6524         (Expand_Thread_Body): Place subprogram on scope stack, so that new
6525         declarations are given the proper scope.
6526
6527         * sem_ch13.adb:
6528         (Check_Expr_Constants): Reject an expression that contains a constant
6529         created during expansion, and that appears after the object to which
6530         the address clause applies.
6531
6532         * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
6533         Analyze_Iteration_Scheme, to rewrite a loop parameter specification
6534         that uses 'Range of a function call with controlled components, so
6535         that the function result can be finalized before starting the loop.
6536
6537         * sem_ch8.adb:
6538         (Find_Selected_Component): Improve error message when prefix is
6539         an implicit dereference of an incomplete type.
6540
6541 2003-11-10  Robert Dewar  <dewar@gnat.com>
6542
6543         * opt.ads: New Print_Standard flag for -gnatS switch
6544
6545         * sem_ch13.adb: Remove some additional checks for unaligned arrays
6546
6547         * cstand.adb (Create_Standard): Print out package standard if -gnatS
6548         switch set
6549
6550         * debug.adb: Update doc for -gnatds to discuss relationship with new
6551         -gnatS flag
6552
6553         * sinfo.adb: Add new field Entity_Or_Associated_Node
6554
6555         * sinfo.ads: Add new field Entity_Or_Associated_Node
6556         Update documentation for Associated_Node and Entity fields to clarify
6557         relationship and usage.
6558
6559         * sprint.adb:
6560         (Write_Id): Properly process Associated_Node field in generic template
6561
6562         * switch-c.adb:
6563         Recognize new -gnatS switch for printing package Standard
6564         This replaces gnatpsta
6565
6566         * usage.adb:
6567         Add line for  new -gnatS switch for printing package Standard
6568         This replaces gnatpsta
6569
6570 2003-11-10  Andreas Jaeger  <aj@suse.de>
6571
6572         * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
6573         integer.
6574
6575 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
6576
6577         * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
6578         by gnat1.
6579
6580 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
6581
6582         * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
6583         no longer needed.
6584
6585         * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
6586
6587         * sysdep.c: Add handling of cygwin.
6588
6589 2003-11-10  GNAT Script  <nobody@gnat.com>
6590
6591         * Make-lang.in: Makefile automatically updated
6592
6593 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
6594
6595         PR 12950
6596         * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
6597         functions. Used to handle dynamic prefix relocation, via set_std_prefix.
6598         Replace GNAT_ROOT by GCC_ROOT.
6599
6600         * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
6601
6602 2003-11-06  Zack Weinberg  <zack@codesourcery.com>
6603
6604         * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
6605         and update for changed meaning of GET_MODE_BITSIZE.
6606
6607 2003-11-04  Doug Rupp  <rupp@gnat.com>
6608
6609         * sysdep.c: Problem discovered during IA64 VMS port.
6610         [VMS] #include <unixio.h> to get proper prototypes.
6611
6612         * adaint.c:
6613         Issues discovered/problems fixed during IA64 VMS port.
6614         [VMS] #define _POSIX_EXIT for proper semantics.
6615         [VMS] #include <unixio.h> for proper prototypes.
6616         [VMS] (fork): #define IA64 version.
6617         (__gnat_os_exit): Remove unnecessary VMS specific code.
6618
6619 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6620
6621         Part of PR ada/12806
6622
6623         * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
6624         tree, not integer.
6625
6626         * decl.c:
6627         (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
6628         not integer.
6629
6630         * targtyps.c, decl.c, misc.c,
6631         gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
6632         routines to work around change in FP sizing semantics in GCC.
6633
6634         * utils.c:
6635         (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
6636
6637         * gigi.h: (enumerate_modes): New function.
6638
6639         * Make-lang.in: (ada/misc.o): Add real.h.
6640
6641         * misc.c: (enumerate_modes): New function.
6642
6643 2003-11-04  Robert Dewar  <dewar@gnat.com>
6644
6645         * 3vtrasym.adb: Minor reformatting
6646         Use terminology encoded/decoded name, rather than C++ specific notion
6647         of mangling (this is the terminology used throughout GNAT).
6648
6649         * einfo.h: Regenerated
6650
6651         * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
6652
6653         * exp_ch6.adb:
6654         (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
6655
6656         * par-prag.adb: Add dummy entry for Thread_Body pragma
6657
6658         * rtsfind.ads:
6659         Add entries for System.Threads entities for thread body processing
6660
6661         * sem_attr.adb:
6662         (Analyze_Pragma, Access attributes): Check these are not applied to a
6663         thread body, since this is not permitted
6664
6665         * sem_prag.adb: Add processing for Thread_Body pragma.
6666         Minor comment fix.
6667
6668         * sem_res.adb:
6669         (Resolve_Call): Check for incorrect attempt to call a thread body
6670          procedure with a direct call.
6671
6672         * snames.ads, snames.adb: Add entry for Thread_Body pragma
6673         Add names associated with thread body expansion
6674
6675         * snames.h: Add entry for Thread_Body pragma
6676
6677         * s-thread.adb: Add entries for thread body processing
6678         These are dummy bodies so far
6679
6680         * s-thread.ads: Add documentation on thread body handling.
6681         Add entries for thread body processing.
6682
6683 2003-11-04  Javier Miranda  <miranda@gnat.com>
6684
6685         * sem_ch10.adb:
6686         (Build_Limited_Views): Return after posting an error in case of limited
6687         with_clause on subprograms, generics, instances or generic renamings
6688         (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
6689         on subprograms, generics, instances or generic renamings
6690
6691 2003-11-04  Arnaud Charlet  <charlet@act-europe.fr>
6692
6693         * raise.c (setup_to_install): Correct mistake in last revision; two
6694         arguments out of order.
6695
6696         * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
6697         gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
6698         notice, missed in previous change.
6699         Remove trailing blanks and other style errors introduced in previous
6700         change.
6701
6702 2003-11-04  Olivier Hainque  <hainque@act-europe.fr>
6703
6704         * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
6705         rid of the wrapper for a LJM type, ensuring we don't do that if the
6706         field is addressable.  This avoids potential low level type view
6707         mismatches later on, for instance in a by-reference argument passing
6708         process.
6709
6710 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6711
6712         * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
6713         aligned at byte boundary.
6714
6715 2003-11-04  Joel Brobecker  <brobecker@gnat.com>
6716
6717         * decl.c (components_to_record): Do not delete the empty variants from
6718         the end of the union type.
6719
6720 2003-11-04  Ed Schonberg  <schonberg@gnat.com>
6721
6722         * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
6723         operation for a derived type, an explicit declaration may use a local
6724         subtype of Boolean.
6725
6726 2003-11-04  Vincent Celier  <celier@gnat.com>
6727
6728         * make.adb (Gnatmake): Allow main sources on the command line with a
6729         library project when it is only for compilation (no binding or
6730         linking).
6731
6732 2003-11-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6733
6734         * Makefile.in: Remove many duplicate variables.
6735
6736 2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
6737
6738         * Make-lang.in (dvi): Move targets to $(docobjdir).
6739         (gnat_ug_vms.dvi): Simplify rule and adjust target.
6740         (gnat_ug_wnt.dvi): Likewise.
6741         (gnat_ug_unx.dvi): Likewise.
6742         (gnat_ug_vxw.dvi): Likewise.
6743         (gnat_rm.dvi): Likewise.
6744         (gnat-style.dvi): Likewise.
6745
6746 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
6747
6748         * gigi.h: Missed commit from update for C90.
6749
6750 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
6751
6752         * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
6753
6754 2003-10-31  Andreas Schwab  <schwab@suse.de>
6755
6756         * raise.c (get_action_description_for): Fix typo in last change.
6757
6758 2003-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
6759
6760         PR ada/12761
6761         * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
6762         T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
6763
6764 2003-10-30  Kelley Cook  <kcook@gcc.gnu.org>
6765
6766         * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
6767         ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
6768         gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
6769         sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
6770         trans.c, utils.c, utils2.c: Convert function prototypes to C90.
6771
6772 2003-10-30  Vasiliy Fofanov  <fofanov@act-europe.fr>
6773
6774         * 3vtrasym.adb:
6775         Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
6776         numbers when symbol name is too long.
6777
6778 2003-10-30  Ed Falis  <falis@gnat.com>
6779
6780         * g-signal.ads, g-signal.adb: New files
6781
6782         * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
6783
6784         * Makefile.rtl: Introduce GNAT.Signals
6785
6786 2003-10-30  Robert Dewar  <dewar@gnat.com>
6787
6788         * freeze.adb: Minor reformatting
6789
6790         * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
6791
6792         * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
6793         par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
6794         New handling of Id_Check parameter to improve recognition of keywords
6795         used as identifiers.
6796         Update copyright notice to include 2003
6797
6798 2003-10-29  Robert Dewar  <dewar@gnat.com>
6799
6800         * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
6801         sem_ch10.adb: Minor reformatting
6802
6803         * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
6804         (Expand_Assign_Record): Test right hand side for bit unaligned as well
6805
6806 2003-10-29  Vasiliy Fofanov  <fofanov@act-europe.fr>
6807
6808         * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
6809         Support for TBK$SYMBOLIZE-based symbolic traceback.
6810
6811 2003-10-29  Jose Ruiz  <ruiz@act-europe.fr>
6812
6813         * exp_disp.adb:
6814         Revert previous change, that did not work well when pragma No_Run_Time
6815         was used in conjunction with a run-time other than ZFP.
6816
6817 2003-10-29  Vincent Celier  <celier@gnat.com>
6818
6819         * make.adb:
6820         (Gnatmake): When there are no Ada mains in attribute Main, disable the
6821          bind and link steps only is switch -z is not used.
6822
6823 2003-10-29  Arnaud Charlet  <charlet@act-europe.fr>
6824
6825         * Makefile.generic: Remove duplicated setting of CC.
6826
6827         * Makefile.prolog: Set CC to gcc by default, to override make's
6828         default (cc).
6829
6830         * einfo.h: Regenerated.
6831
6832 2003-10-29  Ed Schonberg  <schonberg@gnat.com>
6833
6834         * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
6835         current body, after compiling subunit.
6836
6837         * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
6838         when in deleted code, because gigi needs properly ordered freeze
6839         actions to annotate types.
6840
6841         * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
6842         prevent the premature freezing of record type that contains
6843         subcomponents with a private type that does not yet have a completion.
6844
6845 2003-10-29  Javier Miranda  <miranda@gnat.com>
6846
6847         * sem_ch12.adb:
6848         (Analyze_Package_Instantiation): Check that instances can not be used in
6849         limited with_clauses.
6850
6851         * sem_ch8.adb:
6852         (Analyze_Package_Renaming): Check that limited withed packages cannot
6853         be renamed. Improve text on error messages related to limited
6854         with_clauses.
6855
6856         * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
6857
6858         * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
6859         Update copyright notice.
6860
6861         * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
6862         (Install_Limited_Context_Clauses): New subprogram that isolates all the
6863         checks required for limited context_clauses and installs the limited
6864         view.
6865         (Install_Limited_Withed_Unit): Complete its documentation.
6866         (Analyze_Context): Check that limited with_clauses are only allowed in
6867         package specs.
6868         (Install_Context): Call Install_Limited_Context_Clauses after the
6869         parents have been installed.
6870         (Install_Limited_Withed_Unit): Add documentation. Mark the installed
6871         package as 'From_With_Type'; this mark indicates that the limited view
6872         is installed. Used to check bad usages of limited with_clauses.
6873         (Build_Limited_Views): Do not add shadow entities to the scope's list
6874         of entities. Do not add real entities to the Non_Limited_Views chain.
6875         Improve error notification.
6876         (Remove_Context_Clauses): Remove context clauses in two phases:
6877         limited views first and regular views later (to maintain the
6878         stack model).
6879         (Remove_Limited_With_Clause): If the package is analyzed then reinstall
6880         its visible entities.
6881
6882 2003-10-29  Thomas Quinot  <quinot@act-europe.fr>
6883
6884         * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
6885         with any type that Is_Fixed_Point_Type.
6886
6887         * sinfo.ads: Fix documentation for Associated_Node attribute.
6888
6889 2003-10-29  Sergey Rybin  <rybin@act-europe.fr>
6890
6891         * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
6892         both '-gnatc' and '-gnatt' are specified.
6893
6894         * atree.adb (Initialize): Add initialization for Node_Count (set to
6895         zero).
6896
6897 2003-10-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6898
6899         * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
6900         do not consider as Pure.
6901
6902         Part of implementation of function-at-a-time:
6903
6904         * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
6905         (tree_transform): Add new argument to build_component_ref.
6906         (tree_transform, case N_Assignment_Statement): Make and return an
6907         EXPR_STMT.
6908         (tree_transform): If result IS_STMT, set flags and return it.
6909         (gnat_expand_stmt, set_lineno_from_sloc): New functions.
6910
6911         * utils2.c (build_simple_component_ref, build_component_ref): Add new
6912         arg, NO_FOLD_P.
6913         (build_binary_op, case EQ_EXPR): Pass additional arg to it.
6914         (build_allocator): Likewise.
6915
6916         * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
6917         Add new arg to build_component_ref.
6918         (maybe_unconstrained_array, unchecked_convert): Likewise.
6919
6920         * ada-tree.def (EXPR_STMT): New code.
6921
6922         * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
6923
6924         * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
6925         build_component_ref calls.
6926
6927         * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
6928
6929         * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
6930         (build_component_ref): Add new argument, NO_FOLD_P.
6931
6932 2003-10-27  Arnaud Charlet  <charlet@act-europe.fr>
6933
6934         * Makefile.generic: Add missing substitution on object_deps handling.
6935
6936         PR ada/5909:
6937         * Make-lang.in (check-ada): Enable ACATS test suite.
6938
6939 2003-10-27  Robert Dewar  <dewar@gnat.com>
6940
6941         * exp_ch3.adb:
6942         (Freeze_Array_Type): We do not need an initialization routine for types
6943         derived from String or Wide_String. They should be treated the same
6944         as String and Wide_String themselves. This caused problems with the
6945         use of Initialize_Scalars.
6946
6947         * exp_ch5.adb:
6948         (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
6949         composites. This allows use of component clauses that are not byte
6950         aligned.
6951
6952         * sem_prag.adb:
6953         (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
6954         is an attempt to pack an array of atomic objects.
6955
6956         * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
6957
6958 2003-10-27  Pascal Obry  <obry@gnat.com>
6959
6960         * g-dirope.adb:
6961         (Basename): Check for drive letters in a pathname only on DOS based OS.
6962
6963 2003-10-27  Vincent Celier  <celier@gnat.com>
6964
6965         * make.adb:
6966         (Gnatmake): When unable to change dir to the object dir, display the
6967         content of the parent dir of the obj dir, to try to understand why this
6968         happens.
6969
6970 2003-10-27  GNAT Script  <nobody@gnat.com>
6971
6972         * Make-lang.in: Makefile automatically updated
6973
6974 2003-10-27  Ed Schonberg  <schonberg@gnat.com>
6975
6976         * sem_ch12.adb:
6977         (Inline_Instance_Body): Indicate that the save/restore of use_clauses
6978         should not be done in Save/Restore_Scope_Stack, because it is performed
6979         locally.
6980
6981         * sem_ch8.adb:
6982         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
6983         whether use clauses should be removed/restored.
6984
6985         * sem_ch8.ads:
6986         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
6987         whether use clauses should be removed/restored.
6988
6989 2003-10-26  Andreas Jaeger  <aj@suse.de>
6990
6991         * Makefile.in: Remove duplicated lines.
6992
6993 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
6994
6995         * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
6996         minimize the differences with ACT tree.
6997
6998         * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
6999         gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
7000         Gnatvsn.Gnat_Static_Version_String to reduce differences between
7001         ACT and FSF trees.
7002
7003 2003-10-24  Pascal Obry  <obry@gnat.com>
7004
7005         * adadecode.c (ostrcpy): New function.
7006         (__gnat_decode): Use ostrcpy of strcpy.
7007         (has_prefix): Set first parameter a const.
7008         (has_suffix): Set first parameter a const.
7009         Update copyright notice. Fix source name in header.
7010         Removes a trailing space.
7011         PR ada/12014.
7012
7013 2003-10-24  Jose Ruiz  <ruiz@act-europe.fr>
7014
7015         * exp_disp.adb:
7016         Remove the test against being in No_Run_Time_Mode before generating a
7017         call to Register_Tag. It is redundant with the test against the
7018         availability of the function Register_Tag.
7019
7020 2003-10-24  Vincent Celier  <celier@gnat.com>
7021
7022         * g-catiio.adb: (Month_Name): Correct spelling of February
7023
7024         * make.adb: (Mains): New package
7025         (Initialize): Call Mains.Delete
7026         (Gnatmake): Check that each main on the command line is a source of a
7027         project file and, if there are several mains, each of them is a source
7028         of the same project file.
7029         (Gnatmake): When a foreign language is specified in attribute Languages,
7030         no main is specified on the command line and attribute Mains is not
7031         empty, only build the Ada main. If there is no Ada main, just compile
7032         the Ada sources and their closure.
7033         (Gnatmake): If a main is specified on the command line with directory
7034         information, check that the source exists and, if it does, that the path
7035         is the actual path of a source of a project.
7036
7037         * prj-env.adb:
7038         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
7039         Full_Path is True, return the full path instead of the simple file name.
7040         (Project_Of): New function
7041
7042         * prj-env.ads:
7043         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
7044         defaulted to False.
7045         (Project_Of): New function
7046
7047 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
7048
7049         * Makefile.generic:
7050         Ensure objects of main project are always checked and rebuilt if needed.
7051         Set CC to gcc by default.
7052         Prepare new handling of link by creating a global archive (not activated
7053         yet).
7054
7055         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
7056         stringt.h: Update copyright notice. Remove trailing blanks.
7057         Fix source name in header.
7058
7059 2003-10-24  Robert Dewar  <dewar@gnat.com>
7060
7061         * sem_ch12.adb: Minor reformatting
7062
7063         * sem_ch3.adb:
7064         Minor reformatting (including new function return style throughout)
7065
7066         * sem_ch3.ads:
7067         Minor reformatting (including new function return style throughout)
7068
7069 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
7070
7071         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
7072         stringt.h: Update copyright notice. Remove trailing blanks.
7073         Fix source name in header.
7074
7075 2003-10-24  GNAT Script  <nobody@gnat.com>
7076
7077         * Make-lang.in: Makefile automatically updated
7078
7079 2003-10-23  Nathanael Nerode  <neroden@gcc.gnu.org>
7080
7081         * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
7082         stringt.h: Convert to ISO C90 declarations and definitions.
7083
7084 2003-10-23  Thomas Quinot  <quinot@act-europe.fr>
7085
7086         PR ada/11978:
7087         * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
7088         External_Tag attribute definition clauses.
7089
7090 2003-10-23  Ed Schonberg  <schonberg@gnat.com>
7091
7092         PR ada/7613:
7093         * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
7094         child unit, generate a fully qualified name to avoid spurious errors
7095         when the context contains renamings of different child units with
7096         the same simple name.
7097
7098         * exp_dbug.ads: Add documentation on name qualification for renamings
7099         of child units.
7100
7101 2003-10-23  Robert Dewar  <dewar@gnat.com>
7102
7103         * g-regpat.ads, g-regpat.adb: Minor reformatting
7104
7105 2003-10-23  Jose Ruiz  <ruiz@act-europe.fr>
7106
7107         * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
7108
7109 2003-10-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7110
7111         * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
7112         Machine call.
7113
7114         * urealp.h: (Machine): Update to proper definition.
7115
7116 2003-10-23  Arnaud Charlet  <charlet@act-europe.fr>
7117
7118         * init.c, adaint.c: Minor reformatting.
7119
7120 2003-10-23  Danny Smith  <dannysmith@users.sourceforge.net>
7121
7122         * adaint.c (w32_epoch_offset): Define static const at file level.
7123         (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
7124         rather than t_create, t_access in call to GetFileTime. Use union
7125         to convert between FILETIME and  unsigned long long.
7126         (__gnat_file_time_name): Test for invalid file handle.
7127         (__gnat_set_filetime_name): Support win32 targets using
7128         w32api SetFileTime.
7129
7130 2003-10-22  Danny Smith  <dannysmith@users.sourceforge.net>
7131
7132         * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
7133
7134         * ctrl_c.c (__gnat_int_handler): Remove declaration.
7135
7136         * decl.c (creat_concat_name):  Const-ify prefix.
7137
7138         * adaint.c: Include ctype.h if __MINGW32__.
7139         (__gnat_readlink): Mark arguments as possibly unused.
7140         (__gnat_symlink): Likewise.
7141         (__gnat_is_symbolic_link): Likewise.
7142         (__gnat_portable_spawn): Likewise.  Cast last arg of spawnvp to match
7143         declaration
7144         (__gnat_file_time_name): Don't declare struct stat statbuf when
7145         not needed.
7146         (__gnat_is_absolute_path): Add parenthesis around condition of
7147         'if' statement to avoid warning.
7148         (__gnat_plist_init): Specify void as parameter.
7149         (plist_enter): Likewise.
7150         (plist_leave): Likewise.
7151         (remove_handle): Make static. Initialize prev.
7152
7153 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
7154
7155         * Makefile.in: Disable build of gnatpsta. PR ada/10110.
7156         * cstreams.c (__gnat_full_name): Minor improvements and clean up
7157         of previous change.
7158
7159 2003-10-22  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7160
7161         * tracebak.c (MAX): Avoid redefinition warning.
7162
7163         * init.c [sgi] (__gnat_error_handler): Remove i, unused.
7164         Change msg to const char *.
7165         (__gnat_install_handler): Remove ss, unused.
7166         [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
7167         to const char *.
7168         * cstreams.c (__gnat_full_name): Declare p only when used.
7169         (__gnat_full_name) [sgi] Return buffer.
7170
7171 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
7172
7173         * mingw32.h: New file.
7174         * gnat_wrapper.adb: New file.
7175
7176 2003-10-22  Jerome Roussel  <roussel@act-europe.fr>
7177
7178         * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
7179         string match a pre compiled regular expression (the corresponding
7180         version of the function working on a raw regular expression)
7181         Fix typos in various comments
7182         Update copyright notice in spec
7183
7184 2003-10-21  Gary Dismukes  <dismukes@gnat.com>
7185
7186         * exp_ch3.adb:
7187         (Component_Needs_Simple_Initialization): Return False when the type is a
7188         packed bit array. Revise spec comments to document this case.
7189
7190         * exp_prag.adb:
7191         (Expand_Pragma_Import): Set any expression on the imported object to
7192         empty to avoid initializing imported objects (in particular this
7193         covers the case of zero-initialization of bit arrays).
7194         Update copyright notice.
7195
7196 2003-10-21  Ed Schonberg  <schonberg@gnat.com>
7197
7198         * sem_ch12.adb:
7199         (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
7200         a subunit is missing.
7201         (Instantiate_Subprogram_Body): If body of function is missing, set type
7202         of return expression explicitly in dummy body, to prevent cascaded
7203         errors when a subunit is missing.
7204         Fixes PR 5677.
7205
7206         * sem_ch3.adb:
7207         (Access_Subprogram_Declaration): Verify that return type is valid.
7208         Fixes PR 8693.
7209
7210         * sem_elab.adb:
7211         (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
7212         generic.
7213         Fixes PR 12318.
7214
7215         * sem_util.adb:
7216         (Corresponding_Discriminant): If the scope of the discriminant is a
7217         private type without discriminant, use its full view.
7218         Fixes PR 8247.
7219
7220 2003-10-21  Arnaud Charlet  <charlet@act-europe.fr>
7221
7222         * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
7223         3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
7224         3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
7225         55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
7226         56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
7227         59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
7228         5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
7229         5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
7230         5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
7231         5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
7232         5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
7233         5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
7234         5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
7235         5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
7236         7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
7237         a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
7238         a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
7239         a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
7240         bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
7241         erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
7242         err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
7243         g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
7244         g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
7245         g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
7246         g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
7247         g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
7248         g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
7249         gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
7250         g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
7251         g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
7252         i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
7253         prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
7254         prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
7255         s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
7256         s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
7257         s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
7258         s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
7259         s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
7260         s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
7261         s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
7262         s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
7263         socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
7264         s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
7265         s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
7266         s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
7267         styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
7268         s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
7269         tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
7270         vms_conv.ads, vms_conv.adb, vms_data.ads,
7271         vxaddr2line.adb: Files added. Merge with ACT tree.
7272
7273         * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
7274         5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
7275         5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
7276         5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
7277         g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
7278         s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
7279         s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
7280         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
7281         s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
7282         s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
7283
7284         * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
7285         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
7286         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
7287         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
7288         4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
7289         4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
7290         4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
7291         4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
7292         51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
7293         53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
7294         5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
7295         5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
7296         5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
7297         5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
7298         5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
7299         5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
7300         5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
7301         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
7302         5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
7303         5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
7304         5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
7305         5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
7306         5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
7307         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
7308         5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
7309         5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
7310         5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
7311         5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
7312         5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
7313         5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
7314         5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
7315         5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
7316         5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
7317         5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
7318         6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
7319         7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
7320         7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
7321         a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
7322         a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
7323         a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
7324         a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
7325         a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
7326         ali.adb, ali.ads, ali-util.adb, ali-util.ads,
7327         a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
7328         a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
7329         a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
7330         a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
7331         a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
7332         a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
7333         a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
7334         a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
7335         a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
7336         a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
7337         a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
7338         a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
7339         atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
7340         a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
7341         a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
7342         bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
7343         checks.adb, checks.ads, cio.c, comperr.adb,
7344         comperr.ads, csets.adb, cstand.adb, cstreams.c,
7345         debug_a.adb, debug_a.ads, debug.adb, decl.c,
7346         einfo.adb, einfo.ads, errout.adb, errout.ads,
7347         eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
7348         expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
7349         exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
7350         exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
7351         exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
7352         exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
7353         exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
7354         exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
7355         exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
7356         fe.h, fmap.adb, fmap.ads, fname.adb,
7357         fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
7358         freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
7359         g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
7360         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
7361         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
7362         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
7363         g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
7364         g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
7365         g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
7366         g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
7367         g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
7368         g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
7369         g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
7370         g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
7371         gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
7372         gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
7373         gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
7374         gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
7375         gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
7376         g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
7377         g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
7378         g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
7379         g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
7380         g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
7381         g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
7382         g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
7383         g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
7384         i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
7385         i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
7386         inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
7387         itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
7388         layout.adb, lib.adb, lib.ads, lib-list.adb,
7389         lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
7390         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
7391         link.c, live.adb, make.adb, make.ads,
7392         Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
7393         mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
7394         mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
7395         misc.c, mkdir.c, mlib.adb, mlib.ads,
7396         mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
7397         mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
7398         namet.adb, namet.ads, namet.h, nlists.ads,
7399         nlists.h, nmake.adt, opt.adb, opt.ads,
7400         osint.adb, osint.ads, osint-b.adb, osint-c.adb,
7401         par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
7402         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
7403         par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
7404         par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
7405         prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
7406         prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
7407         prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
7408         prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
7409         prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
7410         prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
7411         prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
7412         prj-util.adb, prj-util.ads, raise.c, raise.h,
7413         repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
7414         rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
7415         s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
7416         s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
7417         scans.ads, scn.adb, scn.ads, s-crc32.adb,
7418         s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
7419         sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
7420         sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
7421         sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
7422         sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
7423         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
7424         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
7425         sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
7426         sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
7427         sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
7428         sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
7429         sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
7430         s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
7431         s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
7432         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
7433         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
7434         s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
7435         s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
7436         s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
7437         sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
7438         sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
7439         sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
7440         s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
7441         s-memory.adb, s-memory.ads, snames.adb, snames.ads,
7442         snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
7443         s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
7444         s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
7445         s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
7446         s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
7447         s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
7448         s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
7449         s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
7450         s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
7451         s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
7452         s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
7453         s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
7454         s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
7455         s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
7456         s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
7457         s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
7458         s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
7459         stringt.adb, stringt.ads, stringt.h, style.ads,
7460         stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
7461         s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
7462         s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
7463         switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
7464         s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
7465         table.adb, table.ads, targparm.adb, targparm.ads,
7466         targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
7467         trans.c, tree_io.adb, treepr.adb, treeprs.adt,
7468         ttypes.ads, types.ads, types.h, uintp.adb,
7469         uintp.ads, uintp.h, uname.adb, urealp.adb,
7470         urealp.ads, urealp.h, usage.adb, utils2.c,
7471         utils.c, validsw.adb, validsw.ads, widechar.adb,
7472         xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
7473         xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
7474         einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
7475         gnatvsn.ads: Merge with ACT tree.
7476
7477         * gnatvsn.adb: Rewritten in a simpler and more efficient way.
7478
7479 2003-10-20  Mark Mitchell  <mark@codesourcery.com>
7480
7481         * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
7482         (gnat_ug_vmx.info): Likewise.
7483         (gnat_ug_vxw.info): Likewise.
7484         (gnat_ug_wnt.info): Likewise.
7485         (gnat_rm.info): Likewise.
7486         (gnat-style.info): Likewise.
7487
7488         * Make-lang.in (ada.install-info): Remove target.
7489         (info): New target.
7490         (install-info): Likewise.
7491         (gnat_ug_unx.info): Simplify rule.
7492         (gnat_ug_vmx.info): Likewise.
7493         (gnat_ug_vxw.info): Likewise.
7494         (gnat_ug_wnt.info): Likewise.
7495         (gnat_rm.info): Likewise.
7496         (gnat-style.info): Likewise.
7497
7498 2003-10-14  Nathanael Nerode  <neroden@gcc.gnu.org>
7499
7500         * Make-lang.in: Replace uses of $(target_alias) with
7501         $(target_noncanonical).
7502         * ada/Makefile.in: Remove unused mention of $(target_alias).
7503
7504 2003-10-06  Mark Mitchell  <mark@codesourcery.com>
7505
7506         * Make-lang.in (ada.info): Replace with ...
7507         (info): ... this.
7508         (ada.dvi): Replace with ...
7509         (dvi): ... this.
7510
7511 2003-09-29  Zack Weinberg  <zack@codesourcery.com>
7512
7513         * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
7514         initialize dconstp5 and dconstmp5.
7515
7516 2003-09-28  Richard Henderson  <rth@redhat.com>
7517
7518         * trans.c (tree_transform): Update call to expand_asm_operands.
7519
7520 2003-09-21  Richard Henderson  <rth@redhat.com>
7521
7522         * trans.c, utils.c: Revert.
7523
7524 2003-09-21  Richard Henderson  <rth@redhat.com>
7525
7526         * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
7527         change to const.
7528
7529 2003-09-04  Michael Matz  <matz@suse.de>
7530
7531         * misc.c: Include "target.h".
7532         * Make-lang.in (misc.o): Add dependency on target.h.
7533
7534 2003-09-03  DJ Delorie  <dj@redhat.com>
7535
7536         * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
7537         hook.
7538
7539 2003-08-30  Zack Weinberg  <zack@codesourcery.com>
7540
7541         * Makefile.in: Update substitutions to match changes to
7542         configure.  Use include directives instead of @-insertions
7543         to read in host and target fragments.  Add a rule to
7544         regenerate ada/Makefile.
7545
7546 2003-07-18  Neil Booth  <neil@daikokuya.co.uk>
7547
7548         * lang-options.h: Remove.
7549         * lang.opt: Add help text.
7550
7551 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
7552
7553         * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
7554         calls.
7555
7556 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
7557
7558         * misc.c (gnat_handle_option): Don't handle filenames.
7559
7560 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
7561
7562         * Make-lang.in: Replace PWD with PWD_COMMAND.
7563         * Makefile.adalib: Likewise.
7564         * Makefile.in: Likewise.
7565
7566 2003-07-04  Matt Kraai  <kraai@alumni.cmu.edu>
7567
7568         * misc.c (gnat_argv): Revert last change.
7569         (gnat_handle_option, gnat_init_options): Copy arguments.
7570
7571 2003-07-03  Neil Booth  <neil@daikokuya.co.uk>
7572
7573         * misc.c (gnat_argv): Make const.
7574
7575 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
7576
7577         * misc.c (save_argc, save_argv): Keep non-static!
7578
7579 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
7580
7581         * misc.c (save_argc, save_argv): Make static.
7582         (gnat_init_options): New prototype.
7583         (gnat_init_options): Update.
7584
7585 2003-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
7586
7587         * gnat_ug.texi: Remove unlikely characters from @vars.
7588         * gnat_ug_vms.texi: Regenerate.
7589
7590 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
7591
7592         * misc.c (record_code_position): Adjust emit_note call.
7593
7594 2003-06-26  Neil Booth  <neil@daikokuya.co.uk>
7595
7596         * misc.c (gnat_handle_option): Don't check for missing arguments.
7597
7598 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
7599
7600         * utils.c (end_subprog_body): Adjust expand_function_end call.
7601
7602 2003-06-16  Matt Kraai  <kraai@alumni.cmu.edu>
7603
7604         * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
7605         Bind_Main_Program.
7606
7607 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
7608
7609         * lang.opt: Declare Ada.
7610         * misc.c (gnat_init_options): Update.
7611
7612 2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
7613
7614         * utils.c (begin_subprog_body): Adjust init_function_start call.
7615
7616 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
7617
7618         * Make-lang.in: Update to use options.c and options.h.
7619         * misc.c: Include options.h not aoptions.h.
7620         (gnat_handle_option): Abort on unrecognized switch.
7621         (gnat_init_options): Request Ada switches.
7622
7623 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
7624
7625         * lang.opt: Add -Wall.
7626         * misc.c (gnat_handle_option): Handle it.
7627
7628 2003-06-12  Neil Booth  <neil@daikokuya.co.uk>
7629
7630         * misc.c (gnat_handle_option): Fix warnings.
7631
7632 2003-06-11  Matt Kraai  <kraai@alumni.cmu.edu>
7633
7634         * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
7635
7636 2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
7637
7638         * Make-lang.in: Update to handle command-line options.
7639         * lang.opt: New file.
7640         * misc.c: Include aoptions.h.
7641         (cl_options_count, cl_options): Remove.
7642         (gnat_handle_option): New.
7643         (gnat_decode_option): Remove.
7644         (LANG_HOOKS_DECODE_OPTION): Remove.
7645         (LANG_HOOKS_HANDLE_OPTION): Override.
7646
7647 2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>
7648
7649         * init.c, misc.c, trans.c, utils.c: Remove dead code.
7650
7651 2003-06-09  Nathanael Nerode  <neroden@gcc.gnu.org>
7652
7653         * Makefile.in: Replace "host_canonical" with "host" for autoconf
7654         substitution.
7655
7656 2003-06-08  Neil Booth  <neil@daikokuya.co.uk>
7657
7658         * Make-lang.in: Update.
7659         * misc.c: Include opts.h. Define cl_options_count and cl_options.
7660
7661 2003-06-07  Neil Booth  <neil@daikokuya.co.uk>
7662
7663         * misc.c (gnat_init_options): Update.
7664
7665 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
7666
7667         * Make-lang.in (ada/b_gnatb.o-warn): Remove.
7668         * bindgen.adb (Gen_Main_C): Mark ensure_reference with
7669         __attribute__ ((__unused__)).
7670
7671 2003-06-05  Jan Hubicka  <jh@suse.cz>
7672
7673         * Make-lang.in:  Add support for stageprofile and stagefeedback
7674
7675 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
7676
7677         * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
7678         (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
7679
7680 2003-06-04  Matt Kraai  <kraai@alumni.cmu.edu>
7681
7682         * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
7683         Remove non-VMS directive.
7684         (Switches for gnatlbr, Optimization Levels): Remove non-VMS
7685         alternatives.
7686         (Examples of gnatls Usage): Remove VMS alternative.
7687
7688 2003-06-04  Olivier Hainque  <hainque@act-europe.fr>
7689
7690         PR ada/9953:
7691         * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
7692         and turn ZCX_By_Default back to False since the underlying support
7693         is not quite there yet.
7694
7695 2003-06-01  Andreas Jaeger  <aj@suse.de>
7696
7697         * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
7698         and ROUND_TYPE_SIZE_UNIT.
7699
7700 2003-05-22   Geert Bosch <bosch@gnat.com>
7701
7702         * gnat_rm.texi : Remove reference to Ada Core Technologies.
7703
7704 2003-05-03  Nathan Sidwell  <nathan@codesourcery.com>
7705
7706         * trans.c (tree_transform): Use location_t and input_location
7707         directly.
7708         (build_unit_elab): Likewise.
7709         * utils.c (create_label_decl): Likewise.
7710
7711 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
7712
7713         * trans.c (tree_transform, build_unit_elab,
7714         set_lineno): Rename lineno to input_line.
7715         * utils.c (pushdecl, create_label_decl, begin_subprog_body,
7716         end_subprog_body): Likewise.
7717         * utils2.c (build_call_raise): Likewise.
7718
7719 2003-05-01  Laurent Guerby <guerby@acm.org>
7720
7721         PR ada/10546
7722         * 5iosinte.ads: Increase pthread_cond_t size to match recent
7723         LinuxThread and NPTL version, merge from ACT.
7724
7725 2003-04-28  Zack Weinberg  <zack@codesourcery.com>
7726
7727         * utils.c (convert): No need to clear TREE_CST_RTL.
7728
7729 2003-04-23   Geert Bosch <bosch@gnat.com>
7730
7731         * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
7732         1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
7733         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
7734         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
7735         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
7736         4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
7737         4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
7738         4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
7739         4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
7740         4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
7741         4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
7742         4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
7743         52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
7744         5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
7745         5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
7746         5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
7747         5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
7748         5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
7749         5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
7750         5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
7751         5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
7752         5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
7753         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
7754         5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
7755         5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
7756         5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
7757         5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
7758         5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
7759         5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
7760         5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
7761         5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
7762         5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
7763         5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
7764         5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
7765         5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
7766         5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
7767         5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
7768         5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
7769         5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
7770         5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
7771         5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
7772         5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
7773         5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
7774         5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
7775         6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
7776         7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
7777         7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
7778         9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
7779         a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
7780         a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
7781         a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
7782         a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
7783         a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
7784         a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
7785         a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
7786         a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
7787         a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
7788         a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
7789         a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
7790         a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
7791         a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
7792         a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
7793         a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
7794         a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
7795         a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
7796         a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
7797         a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
7798         a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
7799         a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
7800         a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
7801         a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
7802         a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
7803         a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
7804         a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
7805         a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
7806         a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
7807         a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
7808         a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
7809         a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
7810         a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
7811         a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
7812         a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
7813         a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
7814         a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
7815         a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
7816         a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
7817         a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
7818         a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
7819         a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
7820         a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
7821         a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
7822         a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
7823         a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
7824         a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
7825         a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
7826         a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
7827         a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
7828         a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
7829         a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
7830         a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
7831         a-wttest.ads, ada-tree.h, ada.ads, ada.h,
7832         adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
7833         ali.adb, ali.ads, alloc.ads, argv.c,
7834         atree.adb, atree.ads, atree.h, aux-io.c,
7835         back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
7836         binde.adb, binde.ads, binderr.adb, binderr.ads,
7837         bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
7838         butil.adb, butil.ads, cal.c, calendar.ads,
7839         casing.adb, casing.ads, ceinfo.adb, checks.adb,
7840         checks.ads, cio.c, comperr.adb, comperr.ads,
7841         config-lang.in, csets.adb, csets.ads, csinfo.adb,
7842         cstand.adb, cstand.ads, cuintp.c, debug.adb,
7843         debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
7844         dec-io.ads, dec.ads, deftarg.c, directio.ads,
7845         einfo.adb, einfo.ads, elists.adb, elists.ads,
7846         elists.h, errno.c, errout.adb, errout.ads,
7847         eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
7848         exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
7849         exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
7850         exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
7851         exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
7852         exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
7853         exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
7854         exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
7855         exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
7856         exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
7857         exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
7858         exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
7859         exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
7860         exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
7861         exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
7862         fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
7863         fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
7864         freeze.adb, freeze.ads, frontend.adb, frontend.ads,
7865         g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
7866         g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
7867         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
7868         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
7869         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
7870         g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
7871         g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
7872         g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
7873         g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
7874         g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
7875         g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
7876         g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
7877         g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
7878         g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
7879         g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
7880         g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
7881         g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
7882         g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
7883         g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
7884         g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
7885         g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
7886         g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
7887         get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
7888         gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
7889         gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
7890         gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
7891         gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
7892         gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
7893         gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
7894         gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
7895         hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
7896         i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
7897         i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
7898         i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
7899         i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
7900         i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
7901         i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
7902         inline.adb, inline.ads, interfac.ads, ioexcept.ads,
7903         itypes.adb, itypes.ads, krunch.adb, krunch.ads,
7904         layout.adb, layout.ads, lib-list.adb, lib-load.adb,
7905         lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
7906         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
7907         lib.adb, lib.ads, live.adb, live.ads,
7908         machcode.ads, make.adb, make.ads, makeusg.adb,
7909         makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
7910         mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
7911         memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
7912         mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
7913         mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
7914         mlib.ads, namet.adb, namet.ads, nlists.adb,
7915         nlists.ads, opt.adb, opt.ads, osint-b.adb,
7916         osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
7917         osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
7918         osint.ads, output.adb, output.ads, par-ch10.adb,
7919         par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
7920         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
7921         par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
7922         par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
7923         par-tchk.adb, par-util.adb, par.adb, par.ads,
7924         prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
7925         prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
7926         prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
7927         prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
7928         prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
7929         prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
7930         prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
7931         prj.adb, prj.ads, repinfo.adb, repinfo.ads,
7932         restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
7933         rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
7934         s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
7935         s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
7936         s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
7937         s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
7938         s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
7939         s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
7940         s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
7941         s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
7942         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
7943         s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
7944         s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
7945         s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
7946         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
7947         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
7948         s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
7949         s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
7950         s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
7951         s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
7952         s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
7953         s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
7954         s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
7955         s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
7956         s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
7957         s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
7958         s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
7959         s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
7960         s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
7961         s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
7962         s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
7963         s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
7964         s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
7965         s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
7966         s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
7967         s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
7968         s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
7969         s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
7970         s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
7971         s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
7972         s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
7973         s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
7974         s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
7975         s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
7976         s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
7977         s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
7978         s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
7979         s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
7980         s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
7981         s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
7982         s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
7983         s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
7984         s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
7985         s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
7986         s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
7987         s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
7988         s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
7989         s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
7990         s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
7991         s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
7992         s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
7993         s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
7994         s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
7995         s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
7996         s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
7997         s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
7998         s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
7999         s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
8000         s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
8001         s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
8002         s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
8003         s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
8004         s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
8005         s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
8006         s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
8007         s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
8008         s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
8009         s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
8010         s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
8011         s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
8012         s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
8013         s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
8014         s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
8015         s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
8016         s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
8017         s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
8018         s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
8019         s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
8020         s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
8021         s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
8022         s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
8023         s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
8024         s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
8025         s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
8026         s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
8027         scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
8028         sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
8029         sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
8030         sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
8031         sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
8032         sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
8033         sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
8034         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
8035         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
8036         sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
8037         sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
8038         sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
8039         sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
8040         sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
8041         sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
8042         sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
8043         sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
8044         sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
8045         sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
8046         sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
8047         sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
8048         snames.ads, sprint.adb, sprint.ads, stand.adb,
8049         stand.ads, stringt.adb, stringt.ads, style.adb,
8050         style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
8051         switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
8052         switch-m.ads, switch.adb, switch.ads, system.ads,
8053         table.adb, table.ads, targparm.adb, targparm.ads,
8054         tbuild.adb, tbuild.ads, text_io.ads, trans.c,
8055         tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
8056         tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
8057         ttypef.ads, ttypes.ads, types.adb, types.ads,
8058         uintp.adb, uintp.ads, uname.adb, uname.ads,
8059         unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
8060         usage.adb, usage.ads, validsw.adb, validsw.ads,
8061         widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
8062         xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
8063         xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
8064         formatting and other trivial changes from ACT.
8065
8066 2003-04-12  Zack Weinberg  <zack@codesourcery.com>
8067
8068         * gigi.h, utils2.c (build_constructor):
8069         Rename gnat_build_constructor. Use build_constructor.
8070         * decl.c (gnat_to_gnu_entity)
8071         * trans.c (tree_transform, pos_to_constructor, extract_values)
8072         * ada/utils.c (build_template, convert_to_fat_pointer, convert)
8073         (unchecked_convert)
8074         * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
8075         (fill_vms_descriptor):
8076         Update to match.
8077
8078 2003-04-06  Zack Weinberg  <zack@codesourcery.com>
8079
8080         * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
8081         * misc.c (gnat_tree_size): New function.
8082         (LANG_HOOKS_TREE_SIZE): Override.
8083
8084 2003-04-03  Jason Merrill  <jason@redhat.com>
8085
8086         * misc.c (gnat_adjust_rli): #if 0.
8087
8088 2003-03-31   Geert Bosch <bosch@gnat.com>
8089
8090         PR ada/10020
8091         * link.c : Fix misspelled "const" keyword
8092
8093 2003-03-23  Mark Mitchell  <mark@codesourcery.com>
8094
8095         PR c++/7086
8096         * utils2.c: Adjust calls to put_var_into_stack.
8097
8098 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
8099
8100         * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
8101
8102 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
8103
8104         * misc.c (gnat_init): Update for new prototype.
8105
8106 2003-03-05  Olivier Hainque  <hainque@gnat.com>
8107
8108         ada/9961
8109         * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
8110         warning, and fix return type for the IN_RTS && !SJLJ case.
8111
8112 2003-03-04  Tom Tromey  <tromey@redhat.com>
8113
8114         * Make-lang.in (ada.tags): New target.
8115
8116 2003-03-04  Olivier Hainque  <hainque@act-europe.fr>
8117
8118         ada/9911
8119         * a-except.adb (Unwind_RaiseException): Import a GNAT specific
8120         wrapper, which name remains constant whatever underlying GCC
8121         scheme.
8122
8123         * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
8124         the stable interface needed for a-except.
8125
8126 2003-03-02  Andreas Jaeger  <aj@suse.de>
8127
8128         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8129         gnat_ug_wnt.texi: Regenerate.
8130
8131 2003-03-02  Laurent Guerby <guerby@acm.org>
8132
8133         * Makefile.in (install-gnatlib): Match previous change there
8134         so it works.
8135
8136 2003-02-28  Andreas Schwab  <schwab@suse.de>
8137
8138         * Make-lang.in (install-gnatlib): Change to ada directory before
8139         running make instead of using ada/Makefile directly.
8140
8141 2003-02-18  Ben Elliston  <bje@redhat.com>
8142
8143         Part of fix for PR ada/9406
8144         * gnat_ug.texi (Binder output file): Grammar fix.
8145
8146 2003-02-18  Ben Elliston  <bje@redhat.com>
8147
8148         PR other/7350
8149         * 5qtaprop.adb (Sleep): Fix typo in comment.
8150
8151 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
8152
8153         * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
8154         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8155         gnat_ug_wnt.texi: Regenerate.
8156
8157 2003-02-03  Christian Cornelssen <ccorn@cs.tu-berlin.de>
8158
8159         * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
8160         be created if necessary.
8161         (ada.install-common): Let $(DESTDIR)$(bindir) be created
8162         if necessary.  Remove erroneous and redundant gnatchop
8163         installation commands.  Test for gnatdll before attempting
8164         to install it.
8165         (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
8166         and gnatdll from all plausible locations.
8167
8168 2003-02-01  Richard Sandiford  <rsandifo@redhat.com>
8169
8170         * utils2.c (build_unary_op): Don't check flag_volatile.
8171         * gnat_ug.texi: Remove -fvolatile from example.
8172         * gnat_ug_vxw.texi: Likewise.
8173
8174 2003-01-29  Laurent Guerby <guerby@acm.org>
8175
8176         PR ada/8344
8177         * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
8178         * Makefile.in: match previous change.
8179         * Make-lang.in: match previous change.
8180
8181 2003-01-29      Joel Sherrill <joel@OARcorp.com>
8182
8183         * 5rosinte.ads: Add SIGXCPU.
8184         * 5rtpopsp.adb: New file.
8185         * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
8186         * Makefile.in: Recognize more RTEMS targets and add the RTEMS
8187         specific file 5rtpopsp.adb.
8188         * adaint.h: Add include of <stdio.h> when target is RTEMS.  This
8189         is likely needed for all newlib targets.
8190         * init.c: Add RTEMS specific version of __gnat_initialize().
8191
8192 2003-01-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8193
8194         * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
8195
8196 2003-01-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8197
8198         * init.c (__gnat_error_handler): Make msg const.
8199
8200         * gmem.c (convert_addresses): Move declaration ...
8201         * adaint.h: ... here.
8202         * adaint.c (convert_addresses): Adapt addrs type to match
8203         prototype.
8204
8205         * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
8206
8207 2003-01-24  Andreas Schwab  <schwab@suse.de>
8208
8209         * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
8210         size_t to avoid warning.
8211
8212 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
8213
8214         * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
8215
8216 2003-01-09  Geoffrey Keating  <geoffk@apple.com>
8217
8218         * gnat_rm.texi: Remove RCS version number.
8219
8220         * ada-tree.h (union lang_tree_node): Add chain_next option.
8221
8222 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
8223
8224         * Make-lang.in (ada.install-info, ada.install-common,
8225         ada.uninstall): Prepend $(DESTDIR) to the destination
8226         directory in all (un)installation commands.
8227         * Makefile.in (install-gnatlib, install-rts): Ditto.
8228
8229 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
8230
8231         * gnat_rm.texi, gnat_ug.texi: Use @copying.
8232         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8233         gnat_ug_wnt.texi: Regenerate.
8234
8235 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
8236
8237         * gnat_rm.texi: Include gcc-common.texi.  Use GCC version number
8238         only.
8239         * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
8240         $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
8241         $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
8242         ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
8243         ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
8244         $(srcdir)/doc/include/gcc-common.texi.
8245
8246 2002-12-15   Geert Bosch <bosch@gnat.com>
8247
8248         * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
8249
8250 2002-12-14   Geert Bosch <bosch@gnat.com>
8251
8252         * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
8253         case of a body created for a Renaming_As_Body, on which
8254         conformance checks are not performed. Fixes PR ada/5690.
8255
8256 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
8257
8258         * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
8259         utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
8260         not already included.
8261         * Make-lang.in: Update dependencies.
8262
8263 2002-11-18  Nathanael Nerode  <neroden@gcc.gnu.org>
8264         * adaint.c (__gnat_tmp_name): Better, but good enough for now,
8265         solution to buffer overflow bug on GNU/Linux.
8266
8267 2002-11-14  Nathanael Nerode  <neroden@gcc.gnu.org>
8268         Closes PR ada/5856 and PR ada/6919 !
8269         * bindgen.adb: Remove all references to Public_Version.
8270         * comperr.adb: Remove all references to Public_Version and
8271         GNATPRO_Version; correct bug reporting instructions.
8272         * comperr.ads: Change to match bug box.
8273         * gnatvsn.ads: Remove all references to Public version and
8274         GNATPRO version.
8275
8276 2002-11-13  Nathanael Nerode  <neroden@gcc.gnu.org>
8277         PR ada/6919
8278         * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
8279         GNU/Linux.
8280
8281         PR ada/6558
8282         * config-lang.in: Remove diff_excludes.
8283
8284 2002-11-05  Graham Stott  <graham.stott@btinternet.com>
8285         PR ada/8358
8286         * trans.c (gnu_pending_elaboration_lists): New GC root.
8287         (build_unit_elab): Use..
8288
8289 2002-10-30   Geert Bosch <bosch@gnat.com>
8290         PR ada/6558
8291         * misc.c : Include optabs.h
8292
8293         * Make-lang.in (misc.o): Add dependency on optabs.h
8294
8295 2002-10-29   Geert Bosch <bosch@gnat.com>
8296         PR ada/6558
8297         * Make-lang.in (gnatbind): Depend on CONFIG_H
8298
8299 2002-10-29  Geert bosch  <bosch@gnat.com>
8300         PR ada/6558
8301         * misc.c: Unrevert misc.c (1.13)
8302
8303 2002-10-28  Nathanael Nerode  <neroden@gcc.gnu.org>
8304
8305         * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
8306         maintainership comments.
8307
8308 2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
8309         PR ada/5904
8310         * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
8311         5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
8312         5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
8313         7staprop.adb: Correct statements in comments about
8314         maintainership of GNAT.
8315
8316         PR ada/5904
8317         * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
8318         gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
8319         osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
8320         osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
8321         s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
8322         s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
8323         sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
8324         switch-c.ads switch-m.adb switch-m.ads: Correct statements in
8325         comments about maintainership of GNAT.
8326
8327         PR ada/6919 (forward port of patch for PR ada/5904)
8328         * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
8329         4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
8330         4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
8331         4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
8332         4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
8333         4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
8334         4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
8335         52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
8336         5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
8337         5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
8338         5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
8339         5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
8340         5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
8341         5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
8342         5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
8343         5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
8344         5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
8345         5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
8346         5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
8347         5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
8348         5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
8349         5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
8350         5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
8351         5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
8352         5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
8353         5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
8354         5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
8355         5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
8356         7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
8357         a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
8358         a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
8359         a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
8360         a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
8361         a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
8362         a-except.adb a-except.ads a-excpol.adb a-exctra.adb
8363         a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
8364         a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
8365         a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
8366         a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
8367         a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
8368         a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
8369         a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
8370         a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
8371         a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
8372         a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
8373         a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
8374         a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
8375         a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
8376         a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
8377         a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
8378         a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
8379         a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
8380         a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
8381         a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
8382         a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
8383         a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
8384         a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
8385         a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
8386         a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
8387         a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
8388         a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
8389         a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
8390         a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
8391         a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
8392         a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
8393         a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
8394         a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
8395         a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
8396         adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
8397         alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
8398         back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
8399         binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
8400         bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
8401         ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
8402         csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
8403         cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
8404         debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
8405         einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
8406         errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
8407         exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
8408         exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
8409         exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
8410         exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
8411         exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
8412         exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
8413         exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
8414         exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
8415         exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
8416         exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
8417         exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
8418         exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
8419         exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
8420         final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
8421         fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
8422         freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
8423         g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
8424         g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
8425         gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
8426         gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
8427         gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
8428         gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
8429         gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
8430         gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
8431         i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
8432         i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
8433         i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
8434         i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
8435         impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
8436         itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
8437         lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
8438         lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
8439         lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
8440         lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
8441         makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
8442         namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
8443         nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
8444         osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
8445         par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
8446         par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
8447         par-endh.adb par-labl.adb par-load.adb par-prag.adb
8448         par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
8449         prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
8450         prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
8451         prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
8452         prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
8453         prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
8454         prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
8455         repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
8456         rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
8457         s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
8458         s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
8459         s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
8460         s-direio.adb s-direio.ads s-except.ads s-exctab.adb
8461         s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
8462         s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
8463         s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
8464         s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
8465         s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
8466         s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
8467         s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
8468         s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
8469         s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
8470         s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
8471         s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
8472         s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
8473         s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
8474         s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
8475         s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
8476         s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
8477         s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
8478         s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
8479         s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
8480         s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
8481         s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
8482         s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
8483         s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
8484         s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
8485         s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
8486         s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
8487         s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
8488         s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
8489         s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
8490         s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
8491         s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
8492         s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
8493         s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
8494         s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
8495         s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
8496         s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
8497         s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
8498         s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
8499         s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
8500         s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
8501         s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
8502         s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
8503         s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
8504         s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
8505         s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
8506         s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
8507         s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
8508         s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
8509         s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
8510         s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
8511         s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
8512         s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
8513         s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
8514         s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
8515         s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
8516         s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
8517         s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
8518         s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
8519         s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
8520         s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
8521         s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
8522         s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
8523         s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
8524         s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
8525         s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
8526         s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
8527         s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
8528         s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
8529         s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
8530         s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
8531         s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
8532         s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
8533         s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
8534         s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
8535         s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
8536         s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
8537         s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
8538         s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
8539         scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
8540         sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
8541         sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
8542         sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
8543         sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
8544         sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
8545         sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
8546         sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
8547         sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
8548         sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
8549         sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
8550         sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
8551         sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
8552         sem_type.adb sem_type.ads sem_util.adb sem_util.ads
8553         sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
8554         sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
8555         sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
8556         sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
8557         snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
8558         stringt.ads stringt.h style.adb style.ads stylesw.adb
8559         stylesw.ads switch.adb switch.ads sysdep.c system.ads
8560         table.adb table.ads targparm.adb targparm.ads targtyps.c
8561         tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
8562         tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
8563         treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
8564         types.adb types.ads types.h uintp.adb uintp.ads uintp.h
8565         uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
8566         usage.ads utils.c utils2.c validsw.adb validsw.ads
8567         widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
8568         xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
8569         xtreeprs.adb: Correct statements in comments about maintainership
8570         of GNAT.
8571
8572 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
8573
8574         * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
8575         * Makefile.in (TOOLS_LIBS): Add ../../version.o.
8576         * gnatvsn.ads: Gnat_Version_String is now a function.
8577         * gnatvsn.adb: New file.  When asked for Gnat_Version_String,
8578         copy the C version_string into a String and return it.
8579         * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
8580         gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
8581         Remove pragma Ident (Gnat_Version_String).  If this was the
8582         sole use of package Gnatvsn, remove the with statement too.
8583         * gnat1drv.adb: Tweak -gnatv output.
8584
8585 2002-09-17  Richard Henderson  <rth@redhat.com>
8586
8587         * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
8588         * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
8589         * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
8590         (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
8591         * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
8592         and real_2expN instead of a loop.
8593         * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
8594         (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
8595
8596 2002-08-25  Andre Leis <a.leis@gmx.net>
8597             David Billinghurst (David.Billinghurst@riotinto.com>
8598
8599         * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
8600
8601 2002-08-13  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8602
8603         * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
8604         Remove $(CONFIG_H) dependency.
8605
8606 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
8607
8608         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
8609
8610 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8611
8612         * adadecode.c (ada_demangle): Use xstrdup in lieu of
8613         xmalloc/strcpy.
8614         * misc.c (gnat_decode_option): Likewise.
8615
8616 2002-07-15  Florian Weimer  <fw@deneb.enyo.de>
8617
8618         * make.adb (Add_Switch): Make Generic_Position a procedure.  The
8619         function approach did not work well because of a side effect (the
8620         function call could reallocate the table which was being indexed
8621         using its result). Fixes ada/4851. [RESURRECTED]
8622
8623 2002-07-01  Roger Sayle  <roger@eyesopen.com>
8624
8625         * ada/utils.c (builtin_function): Accept an additional parameter.
8626
8627 2002-06-28  Andreas Jaeger  <aj@suse.de>
8628
8629         PR ada/7144
8630         * Makefile.in: Fix typo in comment, patch by Adrian Knoth
8631         <adi@thur.de>.
8632
8633 2002-06-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8634
8635         * Makefile.in (SHELL): Set to @SHELL@.
8636
8637 2002-06-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8638
8639         * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
8640         array size calculation.
8641
8642 2002-06-04  Andreas Jaeger  <aj@suse.de>
8643
8644         * Make-lang.in (gnatbind): Readd rule that has been lost in last
8645         patch.
8646
8647 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
8648
8649         Merge from pch-branch:
8650
8651         * config-lang.in (gtfiles): Add ada-tree.h.
8652         * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
8653         (SET_TYPE_MODULUS): New.
8654         (SET_TYPE_INDEX): New.
8655         (SET_TYPE_DIGITS_VALUE): New.
8656         (SET_TYPE_RM_SIZE): New.
8657         (SET_TYPE_UNCONSTRAINED_ARRAY): New.
8658         (SET_TYPE_ADA_SIZE): New.
8659         (SET_TYPE_ACTUAL_BOUNDS): New.
8660         (SET_DECL_CONST_CORRESPONDING_VAR): New.
8661         (SET_DECL_ORIGINAL_FIELD): New.
8662         (TREE_LOOP_ID): Correct typo.
8663         * decl.c: Use new macros.
8664         * utils.c: Include debug.h, use new macros.
8665         * utils2.c: Use new macros.
8666
8667         * ada-tree.h: Update all macros for new tree description.
8668         (struct tree_loop_id): New.
8669         (union lang_tree_node): New.
8670         (struct lang_decl): New.
8671         (struct lang_type): New.
8672         * misc.c (gnat_mark_tree): Delete.
8673         (LANG_HOOKS_MARK_TREE): Delete.
8674         * trans.c (tree_transform): No longer any need to cast
8675         for TREE_LOOP_ID.
8676
8677         * utils.c (struct language_function): New dummy structure.
8678
8679         * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
8680         (misc.o): Likewise.
8681         (utils.o): Likewise; also gtype-ada.h.
8682         * Make-lang.in (gnat1): Add dependency on s-gtype.
8683         (gnatbind): Add dependency on $(CONFIG_H).
8684         * utils.c: Correct last #include.
8685         (stuct e_stack): Remove unnecessary 'static'.
8686         (mark_e_stack): Remove unused prototype.
8687
8688         * scn-nlit.adb: Remove whitespace after version number to
8689         keep lines under 80 chars.
8690         * snames.adb: Likewise.
8691         * treepr.ads: Likewise.
8692
8693         * Makefile.in (decl.o): Include gt-ada-<filename>.h.
8694         (misc.o): Likewise.
8695         (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
8696         * config-lang.in (gtfiles): New.
8697         * decl.c: Use gengtype for roots.
8698         * gigi.h: Use gengtype for roots.
8699         * trans.c: Use gengtype for roots.
8700         * utils.c: Use gengtype for roots, marking.  Include gtype-ada.h.
8701
8702 2002-06-02  Gabriel Dos Reis  <gdr@codesourcery.com>
8703
8704         * misc.c (gnat_init): Adjust setting of internal_error_function.
8705
8706 2002-06-01  Joseph S. Myers  <jsm28@cam.ac.uk>
8707
8708         * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
8709         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8710         gnat_ug_wnt.texi: Regenerate.
8711
8712 2002-05-31  Florian Weimer  <fw@deneb.enyo.de>
8713
8714         * 5ntaprop.adb (with System.OS_Primitives): Remove.
8715
8716         * cstreams.c (max_path_len): Move from here ...
8717         * adaint.c (__gnat_max_path_len): ... to here.
8718         * adaint.c (__gnat_max_path_len): Declare.
8719         * g-dirope.adb (Max_Path): Adjust.
8720         * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
8721         * i-cstrea.ads (max_path_len): Adjust.
8722         * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
8723         * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
8724
8725         * Makefile.in, Make-lang.in: Documentation is now built in
8726         Make-lang.in.  Store Info and generated Texinfo files in the
8727         source directory.
8728         * gnat_ug.texi: Remove CVS keywords, correct version number.
8729         Set file name correctly.
8730
8731         * gnat_ug_*.texi: Add.
8732         * .cvsignore: Ignore generated Texinfo files.
8733
8734 2002-05-30  Zack Weinberg  <zack@codesourcery.com>
8735
8736         * ada.h: Add MI guard macro.
8737         (SUBTYPE): Define constants with an anonymous enum, not static
8738         const variables.
8739         (IN): Cast constants to appropriate type before use.
8740
8741 2002-05-26  Joseph S. Myers  <jsm28@cam.ac.uk>
8742
8743         * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
8744         (experimental)".
8745
8746 2002-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8747
8748         * Make-lang.in (CP, ECHO): Copy from Makefile.in.
8749         (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
8750         (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
8751         (ALL_ADA_CFLAGS): Likewise.
8752         (ADA_INCLUDES): Likewise.
8753         Adapt for new working dir.
8754         (GNATBIND): Use Makefile.in version.
8755         (.SUFFIXES): Copy from Makefile.in.
8756         (ada-warn): Define.
8757         (.adb.o, .ads.o): Copy from Makefile.in.
8758         Added $(OUTPUT_OPTION).
8759         (GNAT1_C_OBJS): Moved from Makefile.in.
8760         Prefix with ada subdir.
8761         (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
8762         (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
8763         Adapt for new working dir.
8764         (EXTRA_GNATBIND_OBJS): Likewise.
8765         (ADA_BACKEND): Moved from Makefile.in.
8766         Renamed to avoid conflict with global BACKEND.
8767         Use that one.
8768         (TARGET_ADA_SRCS): Moved from Makefile.in.
8769         (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
8770         Use ADA_BACKEND.
8771         (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
8772         (ada_extra_files): Moved from Makefile.in.
8773         Prefix with ada subdir.
8774         (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
8775         (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
8776         (ada/nmake.ads): Likewise.
8777         (update-sources): Moved from Makefile.in.
8778         Prefix with ada subdir.
8779         (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
8780         (ADA_TREE_H): Likewise.
8781         (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
8782         (ada/memtrack.o): Likewise.
8783         (ada/adadecode.o): Likewise.
8784         Update dependencies.
8785         (ada/adaint.o): New.
8786         (ada/argv.o): Moved from Makefile.in.
8787         Prefix with ada subdir.
8788         Update dependencies.
8789         (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
8790         (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
8791         (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
8792         Prefix with ada subdir.
8793         (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
8794         (GNAT DEPENDENCIES): Regenerate.
8795         * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
8796         toplevel Makefile.in.
8797         (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
8798         (TARGET_ADA_SRCS): Removed.
8799         (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
8800         (GNATBIND_OBJS): Likewise.
8801         (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
8802         (BACKEND): Removed.
8803         (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
8804         (TREE_H): Likewise.
8805         (ada_extra_files): Likewise.
8806         (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
8807         (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
8808         (update-sources): Likewise.
8809         (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
8810         (ADA_TREE_H): Likewise.
8811         (adadecoce.o): Likewise.
8812         (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
8813         (GNAT DEPENDENCIES): Likewise.
8814
8815 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8816
8817         * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
8818         * Makefile.in: Likewise.
8819
8820 2002-05-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8821
8822         * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
8823         Restore $(CONFIG_H) and prefix.o dependencies.
8824         (ada.stage[1-4]): Depend on stage?-start.
8825
8826         * Makefile.in (b_gnatb.c): Depend on interfac.o.
8827
8828 2002-05-02  Jim Wilson  <wilson@redhat.com>
8829
8830         * utils.c (finish_record_type): Change record_size to record_type.
8831
8832 2001-05-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8833
8834         * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
8835         (ALL_ADA_CFLAGS): Define.  Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
8836         ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
8837
8838 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
8839
8840         * misc.c (gnat_parse_file): Update.
8841
8842 2002-04-24  Neil Booth  <neil@daikokuya.demon.co.uk>
8843
8844         * misc.c (gnat_init): Don't set lang_attribute_common.
8845
8846 2002-04-21  Joseph S. Myers  <jsm28@cam.ac.uk>
8847
8848         * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
8849
8850 2002-04-21  Florian Weimer  <fw@deneb.enyo.de>
8851
8852         * gnat_ug.texi: New file.
8853
8854         * gnat_rm.texi: Do not include texiplus.texi.  Include fdl.texi
8855         instead of gfdl.texi
8856
8857         * xgnatug.adb, ug_words: New files.
8858
8859         * Makefile.in (doc, dvi): New targets.  Build gnat_ug_*,
8860         gnat_rm and gnat-style manuals.
8861
8862 2002-04-18  Neil Booth  <neil@daikokuya.demon.co.uk>
8863
8864         * gigi.h (incomplete_type_error): Remove.
8865         * utils.c (incomplete_type_error): Remove.
8866
8867 2002-04-16  Mark Mitchell  <mark@codesourcery.com>
8868
8869         * trans.c (tree_transform): Add has_scope argument to
8870         expand_start_stmt_expr.
8871
8872 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
8873
8874         * gigi.h (truthvalue_conversion): Rename.
8875         * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
8876         * trans.c (tree_transform): Update.
8877         * utils2.c (truthvalue_conversion): Rename, update.
8878         (build_binary_op, build_unary_op): Update.
8879
8880 2002-04-04  Laurent Guerby  <guerby@acm.org>
8881
8882         * make.adb: Implement -margs, remove restriction about file name placement.
8883         * makeusg.adb: Documentation update.
8884         * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
8885         * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
8886
8887 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
8888
8889         * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
8890         (builtin_function): Similarly.
8891
8892 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
8893
8894         * decl.c (gnat_to_gnu_entity): Update.
8895         * gigi.h (mark_addressable): Rename.
8896         * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
8897         * trans.c (tree_transform): Update.
8898         * utils.c (create_var_decl): Update.
8899         * util2.c (build_binary_op, build_unary_op,
8900         fill_vms_descriptor): Update.
8901         (mark_addressable): Rename, update.
8902
8903 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
8904
8905         * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
8906         Rename.
8907         * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
8908         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
8909         * trans.c (tree_transform, convert_with_check): Update.
8910         * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
8911         Rename.
8912
8913 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
8914
8915         * gigi.h (finish_incomplete_decl): Rename.
8916         * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
8917         * utils.c (gnat_init_decl_processing): Don't set hook.
8918         (finish_incomplete_decl): Rename.
8919
8920 2002-03-29  Andreas Schwab  <schwab@suse.de>
8921
8922         * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
8923         directory.
8924
8925 2001-03-28  Robert Dewar <dewar@gnat.com>
8926
8927         * checks.ads:
8928         (Remove_Checks): New procedure
8929
8930         * checks.adb:
8931         (Remove_Checks): New procedure
8932
8933         * exp_util.adb:
8934         Use new Duplicate_Subexpr functions
8935         (Duplicate_Subexpr_No_Checks): New procedure
8936         (Duplicate_Subexpr_No_Checks_Orig): New procedure
8937         (Duplicate_Subexpr): Restore original form (checks duplicated)
8938         (Duplicate_Subexpr): Call Remove_Checks
8939
8940         * exp_util.ads:
8941         (Duplicate_Subexpr_No_Checks): New procedure
8942         (Duplicate_Subexpr_No_Checks_Orig): New procedure
8943         Add 2002 to copyright notice
8944
8945         * sem_util.adb: Use new Duplicate_Subexpr functions
8946
8947         * sem_eval.adb:
8948         (Eval_Indexed_Component): This is the place to call
8949         Constant_Array_Ref and to replace the value. We simply merge
8950         the code of this function in here, since it is now no longer
8951         used elsewhere. This fixes the problem of the back end not
8952         realizing we were clever enough to see that this was
8953         constant.
8954         (Expr_Val): Remove call to Constant_Array_Ref
8955         (Expr_Rep_Val): Remove call to Constant_Array_Ref
8956         Minor reformatting
8957         (Constant_Array_Ref): Deal with string literals (patch
8958         suggested by Zack Weinberg on the gcc list)
8959
8960 2001-03-28  Ed Schonberg <schonber@gnat.com>
8961
8962         * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
8963         Duplicate_Subexpr_Move_Checks.
8964
8965         * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
8966         Duplicate_Subexpr_Move_Checks.
8967
8968         * sem_eval.adb: (Constant_Array_Ref): Verify that constant
8969         value of array exists before retrieving it (it may a private
8970         protected component in a function).
8971
8972 2002-03-28   Geert Bosch <bosch@gnat.com>
8973
8974         * prj-pp.adb : New file.
8975
8976         * prj-pp.ads : New file.
8977
8978 2002-03-28  Andreas Jaeger  <aj@suse.de>
8979
8980         * Makefile.in (stamp-sdefault): Fix path for Makefile.
8981
8982 2002-03-28  Neil Booth  <neil@daikokuya.demon.co.uk>
8983
8984         * misc.c (gnat_expand_expr): Move prototype.
8985
8986 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
8987
8988         * misc.c (insert_default_attributes): Remove.
8989
8990 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
8991
8992         * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
8993         (gnat_init): Don't set hook.
8994         (gnat_expand_expr): Fix prototype.
8995
8996 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
8997
8998         * misc.c (ggc_p): Remove.
8999
9000 2002-03-27  Geert Bosch  <bosch@gnat.com>
9001
9002         * prj-makr.ads, prj-makr.adb : New files.
9003
9004 2002-03-26  Neil Booth  <neil@daikokuya.demon.co.uk>
9005
9006         * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
9007         (lang_mark_tree): Make static, rename.
9008
9009 2002-03-25  Neil Booth  <neil@daikokuya.demon.co.uk>
9010
9011         * misc.c (maybe_build_cleanup): Remove.
9012
9013 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
9014
9015         * gigi.h (yyparse): Remove.
9016
9017 2002-03-23  Florian Weimer  <fw@deneb.enyo.de>
9018
9019         * gnat_rm.texi: Sync with ACT version.
9020           (From Ben Brosgol <brosgol@gnat.com>)
9021
9022 2002-03-20  Neil Booth  <neil@daikokuya.demon.co.uk>
9023
9024         * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
9025         (gnat_init): Remove old hook.
9026
9027 2002-03-17  Neil Booth  <neil@daikokuya.demon.co.uk>
9028
9029         * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
9030         (yyparse): Rename gnat_parse_file.
9031
9032 2002-03-14  Geoffrey Keating  <geoffk@redhat.com>
9033
9034         Delete all lines containing "$Revision:".
9035         * xeinfo.adb: Don't look for revision numbers.
9036         * xnmake.adb: Likewise.
9037         * xsinfo.adb: Likewise.
9038         * xsnames.adb: Likewise.
9039         * xtreeprs.adb: Likewise.
9040
9041 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9042
9043         * misc.c (gnat_tree_code_type, gnat_tree_code_length,
9044         gnat_tree_code_name): Delete.
9045         (tree_code_type, tree_code_length, tree_code_name): Define.
9046         (gnat_init): Don't try to copy into the various tree_code
9047         arrays.
9048
9049 2002-03-11  Richard Henderson  <rth@redhat.com>
9050
9051         * Makefile.in (.NOTPARALLEL): Add fake tag.
9052
9053 2002-03-07  Geert Bosch  <bosch@gnat.com>
9054
9055         * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
9056         s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
9057         switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
9058         switch-m.adb, switch-m.ads : New files.
9059
9060 2002-03-07  Geert Bosch  <bosch@gnat.com>
9061
9062         * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
9063         4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
9064         4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
9065         4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
9066         5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
9067         5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
9068         5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
9069         5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
9070         5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
9071         5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
9072         5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
9073         5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
9074         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
9075         5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
9076         5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
9077         5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
9078         5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
9079         5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
9080         5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
9081         5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
9082         7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
9083         Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
9084         a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
9085         a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
9086         a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
9087         a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
9088         a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
9089         a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
9090         a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
9091         adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
9092         atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
9093         bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
9094         csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
9095         einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
9096         eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
9097         exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
9098         exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
9099         exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
9100         exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
9101         exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
9102         expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
9103         freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
9104         g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
9105         g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
9106         g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
9107         g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
9108         g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
9109         g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
9110         gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
9111         gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
9112         gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
9113         i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
9114         impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
9115         lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
9116         lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
9117         memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
9118         mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
9119         nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
9120         output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
9121         par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
9122         prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
9123         prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
9124         prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
9125         rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
9126         s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
9127         s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
9128         s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
9129         s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
9130         s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
9131         s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
9132         s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
9133         s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
9134         s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
9135         s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
9136         s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
9137         s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
9138         s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
9139         s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
9140         s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
9141         sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
9142         sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
9143         sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
9144         sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
9145         sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
9146         sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
9147         sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
9148         sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
9149         sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
9150         sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
9151         snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
9152         stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
9153         table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
9154         tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
9155         treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
9156         types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
9157         utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
9158         xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
9159
9160         * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
9161         g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
9162         mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
9163         osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
9164
9165         * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
9166         5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
9167
9168         * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
9169         to mdll-fil.ad[bs] and mdll-util.ad[bs]
9170
9171         * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
9172         from mdllfile.ad[bs] and mdlltool.ad[bs]
9173
9174 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9175
9176         * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
9177         lieu of explicit sizeof/sizeof.
9178
9179 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
9180
9181         * misc.c (copy_lang_decl): Remove.
9182
9183 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
9184
9185         * misc.c: Delete traditional-mode-related code copied from the
9186         C front end but not used, or used only to permit the compiler
9187         to link.
9188
9189 2002-02-07  Richard Henderson  <rth@redhat.com>
9190
9191         * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
9192         * adaint.h (__gnat_to_gm_time): Update prototype.
9193
9194 2002-01-30  Richard Henderson  <rth@redhat.com>
9195
9196         * trans.c (tree_transform) [N_Loop_Statement]: Use
9197         expand_exit_loop_top_cond.
9198
9199 2001-12-23  Richard Henderson  <rth@redhat.com>
9200
9201         * utils.c (end_subprog_body): Push GC context around
9202         rest_of_compilation for nested functions.
9203
9204 2001-12-23  Richard Henderson  <rth@redhat.com>
9205
9206         * 5nosinte.ads: Get definition of "int" from Interfaces.C.
9207
9208 2001-12-23  Florian Weimer  <fw@deneb.enyo.de>
9209
9210         * gnat-style.texi (Declarations and Types): Remove ancient style
9211         rule which was mandated by code generation issues.
9212
9213         * gnat-style.texi (header): Add @dircategory, @direntry.
9214         (title page): Remove date.
9215         (general) Add @./@: where approriate, and two spaces after the
9216         full stop at the end of a sentence.  Use @samp markup when
9217         referring concrete lexical entities (keywords, attribute names
9218         etc.), and @syntax for ARM grammar elements. Use @r for English
9219         text in comments.  Use @emph for emphasis.  Change "if-statements"
9220         etc. to "if statements" (without @samp). Break long lines.  Make
9221         casing of section names consistent.
9222         (Identifiers): Use @samp markup for variable names.
9223         (Comments): Use @samp markup for comment characters. Line-end
9224         comments may follow any Ada code, not just statements.  Fix
9225         misspelling of "Integer" as "integer".
9226         (Loop statements): Do not use variable name "I", use "J".
9227         (Subprogram Declarations): Document alignment.
9228         (Subprogram Bodies, Block statements): Document empty line before
9229         "begin".
9230
9231 2001-12-22  Florian Weimer  <fw@deneb.enyo.de>
9232
9233         * make.adb (Add_Switch): Make Generic_Position a procedure.  The
9234         function approach did not work well because of a side effect (the
9235         function call could reallocate the table which was being indexed
9236         using its result). Fixes ada/4851.
9237
9238 2001-12-19  Robert Dewar <dewar@gnat.com>
9239
9240         * bindgen.adb: Minor reformatting
9241
9242         * cstand.adb: Minor reformatting
9243
9244         * fmap.adb: Minor reformatting
9245         Change name from Add for Add_To_File_Map (Add is much too generic)
9246         Change Path_Name_Of to Mapped_Path_Name
9247         Change File_Name_Of to Mapped_File_Name
9248         Fix copyright dates in header
9249
9250         * fmap.ads:
9251         Change name from Add for Add_To_File_Map (Add is much too generic)
9252         Change Path_Name_Of to Mapped_Path_Name
9253         Change File_Name_Of to Mapped_File_Name
9254         Fix copyright dates in header
9255
9256         * fname-uf.adb: Minor reformatting.  New names of stuff in Fmap.
9257         Add use clause for Fmap.
9258
9259         * make.adb: Minor reformatting
9260
9261         * osint.adb: Minor reformatting.  Change of names in Fmap.
9262         Add use clause for Fmap.
9263
9264         * prj-env.adb: Minor reformatting
9265
9266         * prj-env.ads: Minor reformatting
9267
9268         * switch.adb: Minor reformatting.  Do proper raise of Bad_Switch if
9269         error found (there were odd exceptions to this general rule in
9270         -gnatec/-gnatem processing)
9271
9272 2001-12-19  Olivier Hainque <hainque@gnat.com>
9273
9274         * raise.c (__gnat_eh_personality): Exception handling personality
9275         routine for Ada.  Still in rough state, inspired from the C++ version
9276         and still containing a bunch of debugging artifacts.
9277         (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
9278         inspired from the C++ library.
9279
9280         * raise.c (eh_personality): Add comments. Part of work for the GCC 3
9281         exception handling integration.
9282
9283 2001-12-19  Arnaud Charlet <charlet@gnat.com>
9284
9285         * Makefile.in: Remove use of 5smastop.adb which is obsolete.
9286         (HIE_SOURCES): Add s-secsta.ad{s,b}.
9287         (HIE_OBJS): Add s-fat*.o
9288         (RAVEN_SOURCES): Remove files that are no longer required. Add
9289         interrupt handling files.
9290         (RAVEN_MOD): Removed, no longer needed.
9291
9292 2001-12-19  Robert Dewar <dewar@gnat.com>
9293
9294         * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
9295         Add 2001 to copyright date
9296
9297         * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
9298         need to force universal inlining for these cases.
9299
9300 2001-12-19  Arnaud Charlet <charlet@gnat.com>
9301
9302         * s-taprob.adb: Minor clean ups so that this unit can be used in
9303         Ravenscar HI.
9304
9305         * exp_ch7.adb: Allow use of secondary stack in HI mode.
9306         Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
9307
9308 2001-12-19  Vincent Celier <celier@gnat.com>
9309
9310         * prj-tree.ads (Project_Node_Record): Add comments for components
9311         Pkg_Id and Case_Insensitive.
9312
9313 2001-12-19  Pascal Obry <obry@gnat.com>
9314
9315         * g-socket.adb: Minor reformatting. Found while reading code.
9316
9317 2001-12-19  Robert Dewar <dewar@gnat.com>
9318
9319         * prj-tree.ads: Minor reformatting
9320
9321 2001-12-20  Joseph S. Myers  <jsm28@cam.ac.uk>
9322
9323         * config-lang.in (diff_excludes): Remove.
9324
9325 2001-12-17  Ed Schonberg <schonber@gnat.com>
9326
9327         * sem_res.adb (Resolve_Selected_Component): do not generate a
9328         discriminant check if the selected component is a component of
9329         the argument of an initialization procedure.
9330
9331         * trans.c (tree_transform, case of arithmetic operators): If result
9332         type is private, the gnu_type is the base type of the full view,
9333         given that the full view itself may be a subtype.
9334
9335 2001-12-17  Robert Dewar <dewar@gnat.com>
9336
9337         * sem_res.adb: Minor reformatting
9338
9339         * trans.c (tree_transform, case N_Real_Literal): Add missing third
9340         parameter in call to Machine (unknown horrible effects from this
9341         omission).
9342
9343         * urealp.h: Add definition of Round_Even for call to Machine
9344         Add third parameter for Machine
9345
9346 2001-12-17  Ed Schonberg <schonber@gnat.com>
9347
9348         * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
9349         predefined units in No_Run_Time mode.
9350
9351 2001-12-17  Richard Kenner <kenner@gnat.com>
9352
9353         * misc.c (insn-codes.h): Now include.
9354
9355 2001-12-17  Olivier Hainque <hainque@gnat.com>
9356
9357         * a-except.adb: Preparation work for future integration of the GCC 3
9358         exception handling mechanism
9359         (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
9360         to factorize previous code sequences and make them externally callable,
9361         e.g. for the Ada personality routine when the GCC 3 mechanism is used.
9362         (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
9363         Use the new notification routines.
9364
9365 2001-12-17  Emmanuel Briot <briot@gnat.com>
9366
9367         * prj-tree.ads (First_Choice_Of): Document the when others case
9368
9369 2001-12-17  Arnaud Charlet <charlet@gnat.com>
9370
9371         * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
9372         HI-E mode, in order to support Ravenscar profile properly.
9373
9374         * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
9375         mode on 32 bits targets.
9376
9377 2001-12-17  Vincent Celier <celier@gnat.com>
9378
9379         * fmap.adb: Initial version.
9380
9381         * fmap.ads: Initial version.
9382
9383         * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
9384         If search is successfully done, add to mapping.
9385
9386         * frontend.adb: Initialize the mapping if a -gnatem switch was used.
9387
9388         * make.adb:
9389         (Gnatmake): Add new local variable Mapping_File_Name.
9390          Create mapping file when using project file(s).
9391          Delete mapping file before exiting.
9392
9393         * opt.ads (Mapping_File_Name): New variable
9394
9395         * osint.adb (Find_File): Use path name found in mapping, if any.
9396
9397         * prj-env.adb (Create_Mapping_File): New procedure
9398
9399         * prj-env.ads (Create_Mapping_File): New procedure.
9400
9401         * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
9402         (Mapping_File)
9403
9404         * usage.adb: Add entry for new switch -gnatem.
9405
9406         * Makefile.in: Add dependencies for fmap.o.
9407
9408 2001-12-17  Ed Schonberg <schonber@gnat.com>
9409
9410         * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
9411         is a package instantiation rewritten as a package body.
9412         (Install_Withed_Unit): Undo previous change, now redundant.
9413
9414 2001-12-17  Gary Dismukes <dismukes@gnat.com>
9415
9416         * layout.adb:
9417         (Compute_Length): Move conversion to Unsigned to callers.
9418         (Get_Max_Size): Convert Len expression to Unsigned after calls to
9419         Compute_Length and Determine_Range.
9420         (Layout_Array_Type): Convert Len expression to Unsigned after calls to
9421         Compute_Length and Determine_Range.
9422         Above changes fix problem with length computation for supernull arrays
9423         where Max (Len, 0) wasn't getting applied due to the Unsigned
9424         conversion used by Compute_Length.
9425
9426 2001-12-17  Arnaud Charlet <charlet@gnat.com>
9427
9428         * rtsfind.ads:
9429         (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
9430          System.Secondary_Stack.
9431         (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
9432          in HI-E mode.
9433         Remove unused entity RE_Exception_Data.
9434
9435         * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
9436
9437         * rident.ads (No_Secondary_Stack): New restriction.
9438
9439 2001-12-17  Joel Brobecker <brobecke@gnat.com>
9440
9441         * gnat_rm.texi: Fix minor typos. Found while reading the section
9442         regarding "Bit_Order Clauses" that was sent to a customer.
9443         Very interesting documentation!
9444
9445 2001-12-17  Robert Dewar <dewar@gnat.com>
9446
9447         * sem_case.adb (Choice_Image): Avoid creating improper character
9448         literal names by using the routine Set_Character_Literal_Name. This
9449         fixes bombs in certain error message cases.
9450
9451 2001-12-17  Arnaud Charlet <charlet@gnat.com>
9452
9453         * a-reatim.adb: Minor reformatting.
9454
9455 2001-12-17  Ed Schonberg <schonber@gnat.com>
9456
9457         * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
9458         case where the formal is an extension of another formal in the current
9459         unit or in a parent generic unit.
9460
9461 2001-12-17  Arnaud Charlet <charlet@gnat.com>
9462
9463         * s-tposen.adb: Update comments.  Minor reformatting.
9464         Minor code clean up.
9465
9466         * s-tarest.adb: Update comments.  Minor code reorganization.
9467
9468 2001-12-17  Gary Dismukes <dismukes@gnat.com>
9469
9470         * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
9471         when Java_VM.
9472
9473 2001-12-17  Robert Dewar <dewar@gnat.com>
9474
9475         * exp_attr.adb: Minor reformatting
9476
9477 2001-12-17  Ed Schonberg <schonber@gnat.com>
9478
9479         * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
9480         derivations nested within a child unit: verify that the parent
9481         type is declared in an outer scope.
9482
9483 2001-12-17  Robert Dewar <dewar@gnat.com>
9484
9485         * sem_ch12.adb: Minor reformatting
9486
9487 2001-12-17  Ed Schonberg <schonber@gnat.com>
9488
9489         * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
9490         warning if current unit is a predefined one, from which bodies may
9491         have been deleted.
9492
9493 2001-12-17  Robert Dewar <dewar@gnat.com>
9494
9495         * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
9496         Fix header format. Add 2001 to copyright date.
9497
9498         * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
9499         which caused CE during compilation if checks were enabled.
9500
9501 2001-12-17  Vincent Celier <celier@gnat.com>
9502
9503         * make.adb:
9504         (Switches_Of): New function
9505         (Test_If_Relative_Path): New procedure
9506         (Add_Switches): Use new function Switches_Of
9507         (Collect_Arguments_And_Compile): Use new function Switches_Of.
9508         When using a project file, test if there are any relative
9509         search path. Fail if there are any.
9510         (Gnatmake): Only add switches for the primary directory when not using
9511         a project file. When using a project file, change directory to the
9512         object directory of the main project file. When using a project file,
9513         test if there are any relative search path. Fail if there are any.
9514         When using a project file, fail if specified executable is relative
9515         path with directory information, and prepend executable, if not
9516         specified as an absolute path, with the exec directory.  Make sure
9517         that only one -o switch is transmitted to the linker.
9518
9519         * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
9520
9521         * prj-nmsc.adb:
9522         (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
9523         when using a non standard naming scheme.
9524         (Check_Ada_Naming_Scheme): Make sure that error messages
9525         do not raise exceptions.
9526         (Is_Illegal_Append): Return True if there is no dot in the suffix.
9527         (Language_Independent_Check): Check the exec directory.
9528
9529         * prj.adb (Project_Empty): Add new component Exec_Directory
9530
9531         * prj.ads:
9532         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
9533         (Project_Data): Add component Exec_Directory
9534
9535         * snames.adb: Updated to match snames.ads revision 1.215
9536
9537         * snames.ads: Added Exec_Dir
9538
9539 2001-12-17  Robert Dewar <dewar@gnat.com>
9540
9541         * make.adb: Minor reformatting
9542
9543         * prj-nmsc.adb: Minor reformatting
9544
9545         * snames.adb: Updated to match snames.ads
9546
9547         * snames.ads: Alphebetize entries for project file
9548
9549 2001-12-17  Ed Schonberg <schonber@gnat.com>
9550
9551         * trans.c (process_freeze_entity): Do nothing if the entity is a
9552         subprogram that was already elaborated.
9553
9554 2001-12-17  Richard Kenner <kenner@gnat.com>
9555
9556         * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
9557         and Esize if object is referenced via pointer.
9558
9559 2001-12-17  Ed Schonberg <schonber@gnat.com>
9560
9561         * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
9562         is discrete before analyzing choices.
9563
9564 2001-12-17  Joel Brobecker <brobecke@gnat.com>
9565
9566         * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
9567         containing the name of the Ada Main Program. This string is mainly
9568         intended for the debugger.
9569         (Gen_Output_File_C): Do the equivalent change when generating a C file.
9570
9571 2001-12-17  Robert Dewar <dewar@gnat.com>
9572
9573         * ali.adb: Set new Dummy_Entry field in dependency entry
9574
9575         * ali.ads: Add Dummy_Entry field to source dependency table
9576
9577         * bcheck.adb (Check_Consistency): Ignore dummy D lines
9578
9579         * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
9580
9581         * lib-writ.ads: Document dummy D lines for missing files.
9582
9583         * types.ads: (Dummy_Time_Stamp): New value for non-existant files
9584
9585 2001-12-17  Robert Dewar <dewar@gnat.com>
9586
9587         * ali.adb: Type reference does not reset current file.
9588
9589         * ali.adb: Recognize and scan renaming reference
9590
9591         * ali.ads: Add spec for storing renaming references.
9592
9593         * lib-xref.ads: Add documentation for handling of renaming references
9594
9595         * lib-xref.adb: Implement output of renaming reference.
9596
9597         * checks.adb:
9598         (Determine_Range): Document local variables
9599         (Determine_Range): Make sure Hbound is initialized. It looks as though
9600          there could be a real problem here with an uninitialized reference
9601          to Hbound, but no actual example of failure has been found.
9602
9603 2001-12-17  Laurent Pautet <pautet@gnat.com>
9604
9605         * g-socket.ads:
9606         Fix comment of Shutdown_Socket and Close_Socket. These functions
9607         should not fail silently because if they are called twice, this
9608         probably means that there is a race condition in the user program.
9609         Anyway, this behaviour is consistent with the rest of this unit.
9610         When an error occurs, an exception is raised with the error message
9611         as exception message.
9612
9613 2001-12-17  Robert Dewar <dewar@gnat.com>
9614
9615         * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
9616         that it happens before modification of Sloc values for -gnatD.
9617
9618         * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
9619         so that it happens before modification of Sloc values for -gnatD.
9620
9621         * switch.adb: Minor reformatting
9622
9623 2001-12-15  Richard Henderson  <rth@redhat.com>
9624
9625         * sem_ch7.adb: Wrap comment.
9626
9627 2001-12-16  Joseph S. Myers  <jsm28@cam.ac.uk>
9628
9629         * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
9630         5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
9631         5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
9632         5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
9633         5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
9634         7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
9635         a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
9636         a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
9637         cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
9638         exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
9639         exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
9640         g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
9641         gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
9642         make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
9643         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
9644         repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
9645         s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
9646         s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
9647         s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
9648         s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
9649         sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
9650         sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
9651         sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
9652         sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
9653         spelling errors.
9654
9655 2001-12-14  Vincent Celier <celier@gnat.com>
9656
9657         * osint.adb(Create_Debug_File): When an object file is specified,
9658         put the .dg file in the same directory as the object file.
9659
9660 2001-12-14  Robert Dewar <dewar@gnat.com>
9661
9662         * osint.adb: Minor reformatting
9663
9664         * lib-xref.adb (Output_Instantiation): New procedure to generate
9665         instantiation references.
9666
9667         * lib-xref.ads: Add documentation of handling of generic references.
9668
9669         * ali.adb (Read_Instantiation_Ref): New procedure to read
9670         instantiation references
9671
9672         * ali.ads: Add spec for storing instantiation references
9673
9674         * bindusg.adb: Minor reformatting
9675
9676         * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
9677
9678         * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
9679
9680         * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
9681
9682         * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
9683
9684         * csets.ads:
9685         Fix header format
9686         Add 2001 to copyright date
9687         Add entry for Latin-5 (Cyrillic ISO-8859-5)
9688
9689 2001-12-14  Matt Gingell <gingell@gnat.com>
9690
9691         * adaint.c: mktemp is a macro on Lynx and can not be used as an
9692         expression.
9693
9694 2001-12-14  Richard Kenner <kenner@gnat.com>
9695
9696         * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
9697         if operand is CONSTRUCTOR.
9698
9699 2001-12-14  Ed Schonberg <schonber@gnat.com>
9700
9701         * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
9702         before emiting check on right-hand side, so that exception information
9703         is correct.
9704
9705 2001-12-14  Richard Kenner <kenner@gnat.com>
9706
9707         * utils.c (create_var_decl): Throw away initializing expression
9708         if just annotating types and non-constant.
9709
9710 2001-12-14  Vincent Celier <celier@gnat.com>
9711
9712         * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
9713         Default_Ada_...
9714
9715         * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
9716         Remove functions.
9717         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
9718
9719         * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
9720         Remove functions.
9721         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
9722
9723 2001-12-16  Joseph S. Myers  <jsm28@cam.ac.uk>
9724
9725         * ChangeLog: Remove piece of diff output.
9726
9727 2001-12-14  Geert Bosch <bosch@gnat.com>
9728
9729         * config-lang.in: Update copyright notice
9730
9731         * layout.adb: Remove commented out code.
9732
9733         * mdllfile.ads: Update copyright notice. Fix header format.
9734
9735         * sem_case.ads: Likewise.
9736
9737         * sem_ch3.adb: Minor reformatting.
9738
9739 2001-12-12  Geert Bosch <bosch@gnat.com>
9740
9741         * freeze.ads: Update copyright date.
9742
9743         * g-comlin.ads: Minor reformatting.
9744
9745         * gnat-style.texi: Fix typo.
9746
9747 2001-12-12  Geert Bosch <bosch@gnat.com>
9748
9749         *  einfo.h: Regenerate.
9750
9751 2001-12-12  Ed Schonberg <schonber@gnat.com>
9752
9753         * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
9754         on known node types, rather than untyped fields. Further cleanups.
9755
9756 2001-12-12  Robert Dewar <dewar@gnat.com>
9757
9758         * sem_ch12.adb:
9759         (Save_Entity_Descendant): Minor comment update.
9760         (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
9761          of an N_Attribute_Reference node. As per note below, this does not
9762         eliminate need for Associated_Node in attribute ref nodes.
9763         (Associated_Node): Documentation explicitly mentions attribute
9764         reference nodes, since this field is used in such nodes.
9765
9766         * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
9767
9768 2001-12-12  Robert Dewar <dewar@gnat.com>
9769
9770         * s-stalib.adb: Add more comments on with statements being needed
9771
9772         * par-ch12.adb: Minor reformatting
9773
9774         * prj-dect.ads: Fix copyright header
9775
9776         * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
9777         inputs fit in 32 bits, but the result still overflows.
9778
9779         * s-fatgen.ads: Minor comment improvement
9780
9781 2001-12-12  Ed Schonberg <schonber@gnat.com>
9782
9783         * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
9784         formal derived type, look for an inherited component from the full
9785         view of the parent, if any.
9786
9787 2001-12-12  Robert Dewar <dewar@gnat.com>
9788
9789         * checks.ads (Apply_Alignment_Check): New procedure.
9790
9791         * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
9792         ensure that the alignment of objects with address clauses is
9793         appropriate, and raise PE if not.
9794
9795         * exp_util.ads (Must_Be_Aligned): Removed, replaced by
9796         Exp_Pakd.Known_Aligned_Enough
9797
9798         * mdllfile.ads: Minor reformatting
9799
9800         * mlib-fil.ads: Minor reformatting
9801
9802 2001-12-12  Ed Schonberg <schonber@gnat.com>
9803
9804         * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
9805         fix to any component reference if enclosing record has non-standard
9806         representation.
9807
9808 2001-12-12  Vincent Celier <celier@gnat.com>
9809
9810         * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
9811         Iteration
9812
9813 2001-12-12  Ed Schonberg <schonber@gnat.com>
9814
9815         * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
9816         sem_attr.
9817
9818 2001-12-12  Robert Dewar <dewar@gnat.com>
9819
9820         * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
9821
9822 2001-12-12  Emmanuel Briot <briot@gnat.com>
9823
9824         * g-regexp.adb: Remove all debug code, since it isn't required anymore,
9825         and it adds dependencies to system.io.
9826
9827 2001-12-12  Pascal Obry <obry@gnat.com>
9828
9829         * g-dirope.adb (Expand_Path.Var): Correctly detect end of
9830         variable name.
9831
9832 2001-12-11  Ed Schonberg <schonber@gnat.com>
9833
9834         * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
9835         that is the parent of other generics, the instance body replaces the
9836         instance node.  Retrieve the instance of the spec, which is the one
9837         that is visible in clients and within the body.
9838
9839 2001-12-11  Vincent Celier <celier@gnat.com>
9840
9841         * gnatmain.adb: Initial version.
9842
9843         * gnatmain.ads: Initial version.
9844
9845         * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
9846
9847         * snames.adb: Updated to match snames.ads.
9848
9849         * snames.ads: Added Gnatstub.
9850
9851 2001-12-11  Vincent Celier <celier@gnat.com>
9852
9853         * prj-attr.adb (Initialization_Data): Change name from
9854         Initialisation_Data.
9855
9856 2001-12-11  Emmanuel Briot <briot@gnat.com>
9857
9858         * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
9859         + and * applied to backslashed expressions like \r.
9860
9861 2001-12-11  Vasiliy Fofanov <fofanov@gnat.com>
9862
9863         * g-os_lib.ads: String_List type added, Argument_List type is now
9864         subtype of String_List.
9865
9866 2001-12-11  Robert Dewar <dewar@gnat.com>
9867
9868         * g-os_lib.ads: Change copyright to FSF
9869         Add comments for String_List type
9870
9871 2001-12-11  Vincent Celier <celier@gnat.com>
9872
9873         * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
9874         string to the buffer).
9875
9876 2001-12-11  Ed Schonberg <schonber@gnat.com>
9877
9878         * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
9879         sem_attr.
9880
9881         * sem_attr.adb: Simplify previous fix for Address.
9882         (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
9883         to avoid anomalies where the bound of the type appears to raise
9884         constraint error.
9885
9886 2001-12-11  Robert Dewar <dewar@gnat.com>
9887
9888         * lib-xref.adb (Output_Refs): Make sure pointers are always properly
9889         handled.
9890
9891 2001-12-11  Ed Schonberg <schonber@gnat.com>
9892
9893         * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
9894         renamed unit before checking for recursive instantiations.
9895
9896 2001-12-11  Emmanuel Briot <briot@gnat.com>
9897
9898         * prj.ads: Add comments for some of the fields.
9899
9900 2001-12-11  Robert Dewar <dewar@gnat.com>
9901
9902         * lib-xref.adb (Output_Refs): Don't output type references outside
9903         the main unit if they are not otherwise referenced.
9904
9905 2001-12-11  Ed Schonberg <schonber@gnat.com>
9906
9907         * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
9908         code and diagnose additional illegal uses
9909
9910         * sem_util.adb (Is_Object_Reference): An indexed component is an
9911         object only if the prefix is.
9912
9913 2001-12-11  Vincent Celier <celier@gnat.com>
9914
9915         * g-diopit.adb: Initial version.
9916
9917         * g-diopit.ads: Initial version.
9918
9919         * g-dirope.adb:
9920         (Expand_Path): Avoid use of Unbounded_String
9921         (Find, Wildcard_Iterator): Moved to child package Iteration
9922
9923         * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
9924
9925 2001-12-11  Robert Dewar <dewar@gnat.com>
9926
9927         * sem_attr.adb: Minor reformatting
9928
9929 2001-12-11  Ed Schonberg <schonber@gnat.com>
9930
9931         * sem_ch3.adb: Clarify some ???.
9932
9933 2001-12-11  Robert Dewar <dewar@gnat.com>
9934
9935         * exp_util.adb (Must_Be_Aligned): Removed, replaced by
9936         Exp_Pakd.Known_Aligned_Enough
9937
9938         * sem_ch13.adb (Check_Address_Alignment): Removed, extended
9939         version is moved to Exp_Ch13.
9940
9941 2001-12-11  Robert Dewar <dewar@gnat.com>
9942
9943         * einfo.ads: Minor reformatting
9944
9945         * exp_ch5.adb: Add comment for previous.change
9946
9947         * ali.adb: New interface for extended typeref stuff.
9948
9949         * ali.ads: New interface for typeref stuff.
9950
9951         * checks.adb (Apply_Alignment_Check): New procedure.
9952
9953         * debug.adb: Add -gnatdM for modified ALI output
9954
9955         * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
9956
9957         * lib-xref.adb: Extend generation of <..> notation to cover
9958         subtype/object types. Note that this is a complete rewrite,
9959         getting rid of the very nasty quadratic algorithm previously
9960         used for derived type output.
9961
9962         * lib-xref.ads: Extend description of <..> notation to cover
9963         subtype/object types. Uses {..} for these other cases.
9964         Also use (..) for pointer types.
9965
9966         * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
9967
9968         * exp_pakd.adb: Minor reformatting.  Note that prevous RH should say:
9969         (Known_Aligned_Enough): Replaces Must_Be_Aligned.
9970
9971 2001-12-11  Vincent Celier <celier@gnat.com>
9972
9973         * gnatcmd.adb:
9974         Changed /COMPILE_ONLY to /ACTIONS=COMPILE
9975         Changed /BIND_ONLY to /ACTIONS=BIND
9976         Changed /LINK_ONLY to /ACTIONS=LINK
9977
9978 2001-12-11  Ed Schonberg  <schonber@gnat.com>
9979
9980         * sem_ch8.adb (Find_Selected_Component): improved search for a
9981         candidate package in case of error.
9982
9983         * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
9984         chain back on scope stack before reinstalling use clauses.
9985
9986         * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
9987         is enabled, do not kill the code for the condition, to preserve
9988         warning.
9989
9990 2001-12-11  Robert Dewar <dewar@gnat.com>
9991
9992         * checks.adb (Insert_Valid_Check): Apply validity check to expression
9993         of conversion, not to result of conversion.
9994
9995 2001-12-11  Ed Schonberg <schonber@gnat.com>
9996
9997         * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
9998         before freezing parent. If the declarations are mutually recursive,
9999         an access to the current record type may be frozen before the
10000         derivation is complete.
10001
10002 2001-12-05  Vincent Celier <celier@gnat.com>
10003
10004         * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
10005         -c /COMPILE_ONLY, -l /LINK_ONLY
10006
10007         * opt.ads:
10008         (Bind_Only): New Flag
10009         (Link_Only): New flag
10010
10011         * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
10012         and -l (Link_Only)
10013
10014         * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
10015
10016         * make.adb:
10017         (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
10018         (Gnatmake): Set the step flags. Only perform a step if the
10019         corresponding step flag is True.
10020         (Scan_Make_Arg): Reset the bind and link step flags when -u
10021         or -gnatc has been specified.
10022
10023 2001-12-05  Ed Schonberg <schonber@gnat.com>
10024
10025         * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
10026         get bounds from right operand.
10027
10028         * sem_eval.adb: Minor reformatting
10029
10030         * exp_util.adb (Make_Literal_Range): use bound of literal rather
10031         than Index'First, its lower bound may be different from 1.
10032
10033         * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
10034         and C48009J
10035
10036 2001-12-05  Vincent Celier <celier@gnat.com>
10037
10038         * prj-nmsc.adb Minor reformatting
10039
10040         * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
10041         set and libraries are not supported.
10042
10043 2001-12-05  Ed Schonberg <schonber@gnat.com>
10044
10045         * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
10046         private view explicitly, so the back-end can treat as a global
10047         when appropriate.
10048
10049 2001-12-05  Ed Schonberg <schonber@gnat.com>
10050
10051         * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
10052          unit, always replace instance node with new body, for ASIS use.
10053
10054 2001-12-05  Vincent Celier <celier@gnat.com>
10055
10056         * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
10057         libraries are not supported and both attributes Library_Name and
10058         Library_Dir are specified.
10059
10060         * prj-proc.adb (Expression): Set location of Result to location of
10061         first term.
10062
10063         * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
10064         (prj-nmsc is now importing MLib.Tgt)
10065
10066         * prj-proc.adb: Put the change indicated above that was forgotten.
10067
10068 2001-12-05  Robert Dewar <dewar@gnat.com>
10069
10070         * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
10071
10072 2001-12-05  Ed Schonberg <schonber@gnat.com>
10073
10074         * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
10075         constraint, introduce explicit subtype declaration and derive from it.
10076
10077         * sem_ch3.adb: Minor reformatting
10078
10079 2001-12-05  Robert Dewar <dewar@gnat.com>
10080
10081         * checks.adb (Determine_Range): Increase cache size for checks.
10082         Minor reformatting
10083
10084         * exp_ch6.adb: Minor reformatting
10085         (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
10086         a parameter whose root type is System.Address, since treating such
10087         subprograms as pure in the code generator is almost surely a mistake
10088         that will lead to unexpected results.
10089
10090         * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
10091         change handling of conversions.
10092
10093         * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
10094
10095 2001-12-05  Ed Schonberg <schonber@gnat.com>
10096
10097         * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
10098         aggregate with static wrong size, attach generated Raise node to
10099         declaration.
10100
10101 2001-12-05  Robert Dewar <dewar@gnat.com>
10102
10103         * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
10104         Fixes compilation abandoned bomb in B24009B.
10105
10106 2001-12-05  Ed Schonberg <schonber@gnat.com>
10107
10108         * sem_ch12.adb:
10109         Document use of Associated_Node on Selected_Components.
10110         (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
10111         to clarify use of untyped descendant fields.
10112
10113 2001-12-05  Robert Dewar <dewar@gnat.com>
10114
10115         * prj-dect.ads: Add ??? comment
10116         Add 2001 to copyright notice (was not done in after all)
10117
10118         * prj-part.adb: Minor reformatting. Reword one awkward error message.
10119
10120         * prj.ads: Minor reformatting throughout, and add some ??? comments
10121
10122         * snames.ads: Minor reformatting
10123
10124 2001-12-05  Geert Bosch <bosch@gnat.com>
10125
10126         * snames.adb: Autoupdate
10127
10128 2001-12-05  Vincent Celier <celier@gnat.com>
10129
10130         * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
10131
10132         * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
10133
10134         * prj-env.adb: Minor comment changes (modifying -> extends).
10135
10136         * prj-nmsc.adb: Minor comment changes (modifying -> extends).
10137
10138         * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
10139         Tok_Extends.
10140
10141         * prj.adb (Initialize): Change Modifying to Extends.
10142
10143         * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
10144
10145         * prj.ads: Minor comment change (Modifying -> extending).
10146
10147         * snames.ads: Change modifying to extends.
10148
10149 2001-12-05  Robert Dewar <dewar@gnat.com>
10150
10151         * sem_warn.adb: Remove stuff for conditionals, we are not going to
10152         do this after all.
10153
10154         * sem_warn.ads: Remove stuff for conditionals, we are not going to
10155         do this after all.  Add 2001 to copyright notice
10156
10157 2001-12-04  Geert Bosch <bosch@gnat.com>
10158
10159         *  einfo.h, sinfo.h, treeprs.ads: Regenerate.
10160
10161 2001-12-04  Robert Dewar <dewar@gnat.com>
10162
10163         * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
10164         location if we already have errors. Stops some cases of cascaded
10165         errors.
10166
10167         * errout.adb: Improve comment.
10168
10169 2001-12-04  Robert Dewar <dewar@gnat.com>
10170
10171         * sem_ch12.adb:
10172         (Analyze_Formal_Type_Definition): Defend against Error.
10173         (Analyze_Formal_Subprogram): Defend against Error.
10174
10175         * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
10176         remove following semicolon if present. Removes cascaded error.
10177
10178 2001-12-04  Douglas B. Rupp <rupp@gnat.com>
10179
10180         * bindgen.adb:
10181         (Gen_Exception_Table_Ada): Write "begin" and then return if Num
10182          exceptions equals 0.
10183         (Gen_Exception_Table_C): Return if Num exceptions equals 0.
10184         Fixes PIWG E tests (which have to be run with -gnatL).
10185
10186 2001-12-04  Robert Dewar <dewar@gnat.com>
10187
10188         * einfo.ads: Minor reformatting
10189
10190 2001-12-04  Ed Schonberg <schonber@gnat.com>
10191
10192         * einfo.ads: Block_Node points to the identifier of the block, not to
10193         the block node itself, to preserve the link when the block is
10194         rewritten, e.g. within an if-statement with a static condition.
10195
10196         * inline.adb (Cleanup_Scopes): recover block statement from block
10197         entity using new meaning of Block_Node.
10198
10199         * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
10200         identifier of block node, rather than to node itself.
10201
10202 2001-12-04  Gary Dismukes <dismukes@gnat.com>
10203
10204         * layout.adb:
10205         (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
10206         (Discrimify): Go back to setting the Etypes of the selected component
10207         because the Vname component does not exist at this point and will
10208         fail name resolution. Also set Analyzed.
10209         Remove with and use of Sem_Res.
10210
10211 2001-12-04  Arnaud Charlet <charlet@gnat.com>
10212
10213         * Makefile.in: (HIE_SOURCES): add s-fat*.
10214
10215 2001-12-04  Robert Dewar <dewar@gnat.com>
10216
10217         * sem_attr.adb:
10218         (Compile_Time_Known_Attribute): New procedure.
10219         (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
10220          proper range check.
10221
10222 2001-12-04  Ed Schonberg <schonber@gnat.com>
10223
10224         * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
10225         processing discriminants to diagnose illegal default values.
10226
10227 2001-12-04  Ed Schonberg <schonber@gnat.com>
10228
10229         * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
10230         access discriminant within a type extension that constrains its
10231         parent discriminants.
10232
10233 2001-12-04  Ed Schonberg <schonber@gnat.com>
10234
10235         * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
10236         is malformed, use instance of Any_Id to allow analysis to proceed.
10237
10238         * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
10239         type definition is illegal.
10240         (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
10241         misplaced.
10242
10243 2001-12-04  Ed Schonberg <schonber@gnat.com>
10244
10245         * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
10246         constants.
10247
10248 2001-12-04  Robert Dewar <dewar@gnat.com>
10249
10250         * errout.adb: Minor reformatting
10251
10252 2001-12-04  Robert Dewar <dewar@gnat.com>
10253
10254         * exp_util.adb: Minor reformatting from last change
10255
10256         * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
10257         which is a rewriting of an expression, traverse the original
10258         expression to remove warnings that may have been posted on it.
10259
10260 2001-12-04  Ed Schonberg <schonber@gnat.com>
10261
10262         * exp_util.adb (Must_Be_Aligned): Return false for a component of a
10263         record that has other packed components.
10264
10265 2001-12-04  Douglass B. Rupp <rupp@gnat.com>
10266
10267         * adaint.c: Minor cleanups.
10268
10269 2001-12-04  Douglass B. Rupp <rupp@gnat.com>
10270
10271         * adaint.c: Do not use utime.h on vxworks.
10272
10273 2001-12-04  Arnaud Charlet <charlet@gnat.com>
10274
10275         * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
10276         more confusion than it solves.
10277
10278 2001-12-04  Geert bosch <bosch@gnat.com>
10279
10280         * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
10281
10282 2001-12-04  Geert Bosch  <bosch@gnat.com>
10283
10284         * Makefile.in (update-sources): New target.
10285         For use by gcc_release script.
10286
10287 2001-12-04  Ed Schonberg <schonber@gnat.com>
10288
10289         * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
10290         a configuration pragma, it is now legal wherever a pragma can appear.
10291
10292 2001-12-04  Zack Weinberg  <zack@codesourcery.com>
10293
10294         * Makefile.in: Don't set ALL.  Delete @cross_defines@,
10295         @cross_overrides@, @build_overrides@ stanzas.  INTERNAL_CFLAGS
10296         is now @CROSS@ -DIN_GCC; update comment.
10297
10298 2001-12-04  Robert Dewar <dewar@gnat.com>
10299
10300         * einfo.adb (Has_Pragma_Pure_Function): New flag.
10301         Fix problem that stopped ceinfo from working
10302
10303         * einfo.ads (Has_Pragma_Pure_Function): New flag.
10304
10305         * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
10306
10307 2001-12-04  Douglas B. Rupp <rupp@gnat.com>
10308
10309         * gnatchop.adb:
10310         (File_Time_Stamp): New procedure.
10311         (Preserve_Mode): New boolean.
10312         (Write_Unit): Pass time stamp.
10313         Implement -p switch (preserve time stamps).
10314
10315         * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
10316
10317         * gnatchop.adb: Do usage info for -p switch
10318
10319         * adaint.h (__gnat_set_file_time_name): New function
10320
10321         * adaint.c (__gnat_set_file_time_name): Implement
10322
10323         * adaint.h: Fix typo
10324
10325 2001-12-03  Robert Dewar <dewar@gnat.com>
10326
10327         * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
10328         have Associated_Node.
10329
10330 2001-12-03  Robert Dewar <dewar@gnat.com>
10331
10332         * prj-proc.adb: Minor reformatting
10333
10334         * make.adb: Minor reformatting
10335
10336 2001-12-03  Geert Bosch <bosch@gnat.com>
10337
10338         * make.adb: Minor reformatting.
10339
10340 2001-12-03 Robert Dewar  <dewar@gnat.com>
10341
10342         * sem_ch12.adb: Minor reformatting
10343
10344 2001-12-03  Ed Schonberg <schonber@gnat.com>
10345
10346         * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
10347         push Standard on the stack before analyzing the instance body,
10348         in order to have a clean visibility environment.
10349
10350         * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
10351
10352 2001-12-03  Ed Schonberg <schonber@gnat.com>
10353
10354         * sem_ch12.adb (Instantiate_Package_Body): Protect against double
10355         instantiation of a body that contains an inlined body.
10356
10357 2001-12-03  Ed Schonberg <schonber@gnat.com>
10358
10359         * sem_ch12.adb:
10360         (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
10361         to prevent freezing within formal packages.
10362         (Freeze_Subprogram_Body): If body comes from another instance that
10363         appeared before its own body, place freeze node at end of current
10364         declarative part, to prevent a back-end crash.
10365         (Inline_Instance_Body): Handle properly a package instance within
10366         a subprogram instance that is a child unit.
10367
10368 2001-12-01  Graham Stott  <grahams@redhat.com>
10369
10370         * Makefile.in (misc.o): Add missing $(srcdir) prefix
10371         and add optabs.h dependency.
10372
10373         * misc.c: Include optabs.h
10374         (gnat_tree_code_type): Make static and const.
10375         (gnat_tree_code_length): Likewise.
10376         (gnat_tree_code_name): Likewise.
10377         (update_setjmp_buf): Obtain operands mode from insn_data.
10378
10379 2001-11-29  Richard Henderson  <rth@redhat.com>
10380
10381         * init.c: Remove obsolete dwarf2 frame.h section.
10382
10383 2001-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
10384
10385         * Make-lang.in (ada.generated-manpages): New dummy target.
10386
10387 2001-11-29  Ed Schonberg <schonber@gnat.com>
10388
10389         * g-os_lib.adb (Add_To_Command): use explicit loop to move string
10390         into Command, an array conversion is illegal here. Uncovered by
10391         ACATS B460005.
10392
10393 2001/11/28  Geert Bosch <bosch@gnat.com>
10394
10395         * init.c: Minor whitespace changes.
10396
10397 2001-11-28  Doug Rupp <rupp@gnat.com>
10398
10399         * init.c: (__gnat_install_handler,VMS): Increase size of alternate
10400         signal stack.
10401
10402 2001-11-28  Zack Weinberg  <zack@codesourcery.com>
10403
10404         * misc.c (gnat_expand_constant): Move declaration above
10405         definition of lang_hooks.
10406         (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
10407         (gnat_init): lang_expand_constant no longer exists.
10408
10409         (internal_error_function): Remove #ifdef HAVE_VPRINTF.  We
10410         always have vprintf.
10411         (gnat_init): Always call set_internal_error_function.
10412
10413 2001-11-27  Andreas Jaeger  <aj@suse.de>
10414
10415         * Makefile.in (stamp-tool_src_dir): Use symbolic link.
10416
10417 2001-11-27  Laurent Guerby  <guerby@acm.org>
10418
10419         * Makefile.in: Regenerate Ada dependencies.
10420
10421 2001-11-26  Richard Henderson  <rth@redhat.com>
10422
10423         * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
10424         gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
10425         gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
10426
10427 2001-11-25  Laurent Guerby  <guerby@acm.org>
10428
10429         * sysdep.c (rts_get_*): Fix style.
10430
10431 2001-11-19  Laurent Guerby  <guerby@acm.org>
10432
10433         * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
10434         since it is of no apparent use and cause warnings.
10435
10436 2001-11-18  Neil Booth  <neil@daikokuya.demon.co.uk>
10437
10438         * misc.c (gnat_decode_option, gnat_init_options): Make definitions
10439         static too.
10440         (gnat_init): Don't return NULL.
10441         (finish_parse): Remove.
10442
10443 2001-11-17  Laurent Guerby  <guerby@acm.org>
10444
10445         * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
10446         * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
10447         * io-aux.c: Provide K&R prototypes to all functions, reformat code.
10448         * lang-spec.h: Add missing struct field to silence warnings.
10449         * sysdep.c (rts_get_*): Provide K&R prototype.
10450         * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
10451         * traceback.c (Unlock_Task, Lock_Task): Likewise.
10452         * tracebak.c (__gnat_backtrace): Remove unused variable.
10453         * utils.c (end_subprog_body): Move to K&R style.
10454
10455 Thu Nov 15 18:16:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10456
10457         * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
10458
10459 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
10460
10461         * misc.c (gnat_init): Change prototype.  Include the
10462         functionality of the old init_parse and init_decl_processing.
10463         (gnat_init_decl_processing): New prototype.
10464         (init_parse): Remove.
10465         * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
10466
10467 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10468
10469         * misc.c (gnat_print_decl, gnat_print_type): Renamed.
10470         (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
10471         (print_lang_statistics, lang_print_xnode, print_lang_identifier,
10472         set_yydebug): Remove.
10473
10474 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10475
10476         * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
10477         (struct lang_hooks): Constify.
10478         (language_string, lang_identify): Remove.
10479         * utils.c (init_decl_processing): Update.
10480
10481 2001-11-06  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
10482
10483         * misc.c: Include langhooks-def.h.
10484         * Makefile.in: Update.
10485
10486 2001-10-30  Robert Dewar <dewar@gnat.com>
10487
10488         * style.adb:
10489         (Check_Identifier): Rewrite circuit to be compatible with use of letters
10490         in the upper half of ASCII.
10491         (Check_Identifier): Minor reformatting
10492
10493 2001-10-30  Geert Bosch <bosch@gnat.com>
10494
10495         * (Associated_Node, Set_Associated_Node): Do not check for
10496         Freeze_Entity.
10497
10498 2001-10-30  Robert Dewar <dewar@gnat.com>
10499
10500         * a-reatim.ads: Minor reformatting
10501
10502 2001-10-30  Robert Dewar <dewar@gnat.com>
10503
10504         * gnatdll.adb: Minor reformatting throughout. Many ??? added for
10505         undocumented declarations.
10506
10507 2001-10-30  Pascal Obry <obry@gnat.com>
10508
10509         * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
10510         to the binder and linker.
10511         Minor style fix.
10512
10513         * mdll.ads: Fix layout.  Update copyright notice.
10514
10515         * mdll.adb: Fix layout.  Update copyright notice.
10516
10517 2001-10-30  Robert Dewar <dewar@gnat.com>
10518
10519         * usage.adb: Minor fix to output for -gnaty.
10520
10521 2001-10-30  Ed Schonberg <schonber@gnat.com>
10522
10523         * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
10524         to accommodate all its possible values.
10525
10526         * a-reatim.adb (Split): Special-case handling of Time_Span_First
10527         and of small absolute values of T.
10528
10529 2001-10-30  Richard Kenner <kenner@gnat.com>
10530
10531         * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
10532         set_mem_attributes since not needed and wrong if RESULT if a REG;
10533         fixes ACATS failures.
10534
10535 2001-10-30  Geert Bosch <bosch@gnat.com>
10536
10537         * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
10538         s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
10539
10540 2001-10-30  Robert Dewar <dewar@gnat.com>
10541
10542         * bindusg.adb: Undocument -f switch.
10543
10544         * gnatcmd.adb: Remove /FULL_ELABORATION.
10545
10546         * opt.ads (Force_RM_Elaboration_Order): Document that this is
10547         obsolescent.
10548
10549         * gnatbind.adb: Output new warning for use of obsolescent -f switch.
10550
10551         * gnatbind.adb: Minor update of warning msg.
10552
10553 2001-10-30  Vincent Celier <celier@gnat.com>
10554
10555         * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
10556         for project file switches (-P (/PROJECT_FILE=),
10557          -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
10558         or MEDIUM or HIGH)
10559
10560 2001-10-30  Geert Bosch <bosch@gnat.com>
10561
10562         * decl.c: Minor whitespace fixes.
10563
10564 2001-10-30  Richard Kenner <kenner@gnat.com>
10565
10566         * utils2.c (build_allocator): Test for SIZE overflow in array case too
10567
10568 2001-10-30  Geert Bosch <bosch@gnat.com>
10569
10570         * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
10571         Found due to GCC 3.0 warning of using uninitialized value.
10572
10573         * layout.adb:
10574         (Get_Max_Size): Use variant record for tracking value/expression.
10575          Makes logic clearer and prevents warnings for uninitialized variables.
10576         (Layout_Array_Type): Use variant record for tracking value/expression.
10577          Makes logic clearer and prevents warnings for uninitialized variables.
10578
10579 2001-10-30  Robert Dewar <dewar@gnat.com>
10580
10581         * lib.adb: Minor reformatting
10582
10583         * s-taprop.ads: Minor reformatting
10584
10585 2001-10-29  Laurent Guerby  <guerby@acm.org>
10586
10587         * init.c:
10588         (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
10589         const.
10590         (_gnat_error_handler): Make MSG const.
10591
10592 2001-10-29  Richard Kenner <kenner@gnat.com>
10593
10594         * sysdep.c: Fix localtime_r problem on LynxOS.
10595         Also remove #elif to avoid warnings.
10596
10597         * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
10598         used by this.
10599
10600         * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
10601
10602 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
10603
10604         * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
10605         exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
10606         g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
10607         g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
10608         layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
10609         s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
10610         sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
10611         sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
10612         sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
10613         types.ads, urealp.adb: Fix spelling errors.
10614
10615 2001-10-27  Laurent Guerby <guerby@acm.org>
10616
10617         * trans.c (gigi): Fix non determinism leading to bootstrap
10618         comparison failures for debugging information.
10619
10620 2001-10-26  Florian Weimer  <fw@deneb.enyo.de>
10621
10622         * gnat_rm.texi: Use @./@: where appropriate.
10623
10624 2001-10-26  Robert Dewar <dewar@gnat.com>
10625
10626         * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
10627
10628 2001-10-26  Richard Kenner <kenner@gnat.com>
10629
10630         * gmem.c (__gnat_gmem_read_next): Properly check for EOF
10631
10632 2001-10-26  Richard Kenner <kenner@gnat.com>
10633
10634         * decl.c (validate_size): Modify message for bad size to avoid
10635         implication that compiler is modifying the size.
10636
10637 2001-10-26  Robert Dewar <dewar@gnat.com>
10638
10639         * prj-util.adb: Minor reformatting. Fix bad header format.
10640
10641 2001-10-26  Robert Dewar <dewar@gnat.com>
10642
10643         * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
10644
10645         * sinfo.ads: Clarify use of Associated_Node (documentation only).
10646
10647         * sem_ch12.adb: Change Node4 to Associated_Node. Change
10648         Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
10649         much more narrowly in places where needed. These are cleanups.
10650
10651 2001-10-26  Joel Brobecker <brobecke@gnat.com>
10652
10653         * 5zosinte.ads (null_pthread): new constant.
10654
10655         * 5ztaprop.adb:
10656         (Initialize_TCB): Initialize thread ID to null, to be able to verify
10657          later that this field has been set.
10658         (Finalize_TCB): ditto.
10659         (Suspend_Task): Verify that the thread ID is not null before using it.
10660         (Resume_Task): ditto.
10661
10662         * s-tasdeb.adb:
10663         (Resume_All_Tasks): Lock the tasks list before using it.
10664         (Suspend_All_Tasks): ditto.
10665
10666 2001-10-26  Richard Kenner <kenner@gnat.com>
10667
10668         * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
10669         Make constant variant of designated type for Is_Access_Constant.
10670         Call update_pointer_to with main variant.
10671
10672         * trans.c (process_freeze_entity, process_type):
10673         Call update_pointer_to on main variant.
10674
10675         * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
10676         If main variant, update all other variants.
10677
10678         * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
10679         TREE_STATIC.
10680
10681 2001-10-26  Robert Dewar <dewar@gnat.com>
10682
10683         * prj-util.adb: Minor reformatting
10684
10685 2001-10-26  Robert Dewar <dewar@gnat.com>
10686
10687         * prj-util.adb: Minor reformatting
10688
10689 2001-10-26  Robert Dewar <dewar@gnat.com>
10690
10691         * prj-attr.adb: Minor reformatting throughout
10692
10693 2001-10-26  Robert Dewar <dewar@gnat.com>
10694
10695         * prj-attr.ads: Minor reformatting
10696         Add ??? comment (this whole spec has almost no comments)
10697
10698 2001-10-26  Vincent Celier <celier@gnat.com>
10699
10700         * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
10701         ("//") that precede the drive letter on Interix.
10702
10703 2001-10-26  Geert Bosch <bosch@gnat.com>
10704
10705         * gnat_rm.texi: Add GNAT Reference Manual.
10706
10707 2001-10-25  Robert Dewar <dewar@gnat.com>
10708
10709         * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
10710         is Error. Similar change for other renaming cases.
10711
10712 2001-10-25  Robert Dewar <dewar@gnat.com>
10713
10714         * s-atacco.ads: Add pragma Inline_Always for functions.
10715         Fix header format. Add copyright 2001
10716
10717 2001-10-25  Ed Schonberg <schonber@gnat.com>
10718
10719         * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
10720         return Error rather than Empty so that analysis can proceed.
10721
10722 2001-10-25  Ed Schonberg <schonber@gnat.com>
10723
10724         * sem_util.adb (Enter_Name): better handling of cascaded error
10725         messages when a unit appears in its own context.
10726
10727 2001-10-25  Ed Schonberg <schonber@gnat.com>
10728
10729         * sem_util.adb (Defining_Entity): in case of error, attach created
10730         entity to specification, so that semantic analysis can proceed.
10731
10732 2001-10-25  Robert Dewar <dewar@gnat.com>
10733
10734         * sem_util.adb
10735         (Defining_Entity): Deal with Error.
10736         (Process_End_Label): Deal with bad end label for.
10737
10738 2001-10-25  Ed Schonberg <schonber@gnat.com>
10739
10740         * sem_elab.adb (Check_A_Call): refine message when call is in an
10741         instance but callee is not declared in the generic unit.
10742
10743 2001-10-25  Ed Schonberg <schonber@gnat.com>
10744
10745         * sem_elab.adb (Check_A_Call): check for renaming before finding the
10746         enclosing unit, which may already be different from the calling unit.
10747
10748 2001-10-25  Geert Bosch <bosch@gnat.com>
10749
10750         * 4gintnam.ads: fix header format.
10751
10752 2001-10-25  Ed Schonberg <schonber@gnat.com>
10753
10754         * sem_res.adb (Resolve_Call): if the call is actually an indexing
10755         operation on the result of a parameterless call, perform elaboration
10756         check after the node has been properly rewritten.
10757
10758         * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
10759         inlined within the generic tree, the defining identifier is not a
10760         compilation_unit.
10761
10762 2001-10-25  Ed Schonberg <schonber@gnat.com>
10763
10764         * sem_res.adb (Resolve): special-case resolution of Null in an
10765          instance or an inlined body to avoid view conflicts.
10766
10767         * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
10768          compatibility by retrieving the access type of the generic copy.
10769
10770 2001-10-25  Robert Dewar <dewar@gnat.com>
10771
10772         * sem_ch3.adb:
10773         (Analyze_Number_Declaration): Handle error expression.
10774         (Signed_Integer_Type_Declaration): Handle error bound.
10775         (Analyze_Subtype_Indication): Handle error range.
10776
10777         * sem_util.adb (Get_Index_Bounds): Check for Error.
10778
10779 2001-10-25  Robert Dewar <dewar@gnat.com>
10780
10781         * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
10782         in no run time mode.
10783
10784 2001-10-25  Pascal Obry <obry@gnat.com>
10785
10786         * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
10787         mode case for ALLOC case.
10788
10789         * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
10790         all platforms. Improvement of last change.
10791
10792 2001-10-25  Robert Dewar <dewar@gnat.com>
10793
10794         * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
10795
10796 2001-10-25  Geert Bosch  <bosch@gnat.com>
10797
10798         * osint.adb (Is_Relative): Remove duplicate.
10799
10800 2001-10-25  Pascal Obry <obry@gnat.com>
10801
10802         * osint.adb (Read_Default_Search_Dirs): correctly detect relative
10803         pathnames in UNIX and DOS style with drive letter.
10804         (Is_Relative): new routine.
10805
10806         * osint.adb: Minor reformatting
10807
10808         * osint.adb (Is_Relative): implementation using
10809         GNAT.OS_Lib.Is_Absolute_Path. Better fix.
10810
10811 2001-10-25  Pascal Obry <obry@gnat.com>
10812
10813         * g-dirope.adb (Basename): correctly compute offset between the
10814         original Path and the translated one.
10815
10816         * g-dirope.adb: (Base_Name): add some comments.
10817
10818 2001-10-25  Robert Dewar <dewar@gnat.com>
10819
10820         * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
10821         in HIE mode, avoids compilation abandoned message
10822
10823         * exp_imgv.adb: Correct typo in previous change
10824
10825         * exp_imgv.adb: Correct typo in previous change (not my day!)
10826
10827 2001-10-25  Robert Dewar <dewar@gnat.com>
10828
10829         * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
10830
10831 2001-10-25  Pascal Obry <obry@gnat.com>
10832
10833         * g-awk.ads: Move all pragma inlines next to the routine
10834          declarations. This is more uniform with other GNAT spec.
10835
10836 2001-10-22  Geert Bosch  <bosch@gnat.com>
10837
10838         * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
10839
10840 2001-10-19  Geert Bosch  <bosch@gnat.com>
10841
10842         * Makefile.in (tools, gnattools): Remove gnatmem.
10843
10844 2001-10-17  Richard Henderson  <rth@redhat.com>
10845
10846         * Makefile.in (misc.o): Depend on langhooks.h.
10847         * misc.c: Include it.
10848         (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
10849         (LANG_HOOKS_DECODE_OPTION): New.
10850         (lang_hooks): Use LANG_HOOKS_INITIALIZER.
10851
10852 2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
10853
10854         * trans.c (tree_transform): Adjust to recent change in
10855         expand_asm_operands to implement named asm operands.
10856
10857 2001-10-11  Ed Schonberg  <schonber@gnat.com>
10858
10859         * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
10860         renaming of discriminant for mutable record type.
10861
10862 2001-10-11  Robert Dewar  <dewar@gnat.com>
10863
10864         * validsw.adb: Properly save -gnatVn status.
10865
10866 2001-10-11  Robert Dewar <dewar@gnat.com>
10867
10868         * usage.adb: Add lines for V switch.
10869
10870         * gnatcmd.adb (COMPILE): Revise translations for -gnatV
10871         (/VALIDITY_CHECKING).
10872
10873 2001-10-11  Ed Schonberg <schonber@gnat.com>
10874
10875         * sem_type.adb (Add_One_Interp): an operator for a type declared in
10876         an extension of System is known to be visible.
10877
10878 2001-10-11  Ed Schonberg <schonber@gnat.com>
10879
10880         * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
10881         properly. Fixes regression on ACATS C34005G.
10882
10883 2001-10-11  Robert Dewar <dewar@gnat.com>
10884
10885         * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
10886         loop in generic instance, since this is likely not very useful.
10887
10888 2001-10-11  Robert Dewar <dewar@gnat.com>
10889
10890         * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
10891         the error message for high integrity mode.
10892
10893         * rtsfind.adb (RTE): Give message if we try to find an entity that
10894         is not available in high integrity mode.
10895
10896         * rtsfind.ads:
10897         (OK_To_Use_In_HIE_Mode): New array.
10898         (RTE): May return Empty in high integrity mode.
10899
10900         * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
10901         OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
10902
10903         * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
10904         unit if not inlined always and in no runtime mode. Fixes problem
10905         caused by new Rtsfind changes.
10906
10907         * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
10908         body is deleted.
10909
10910         * rtsfind.adb (RTE): Make sure we do not try to load unit after
10911         giving message for entity not available in high integrity mode.
10912
10913 2001-10-11  Pascal Obry <obry@gnat.com>
10914
10915         * impunit.adb: Add GNAT.CRC32.
10916
10917 2001-10-11  Ed Schonberg <schonber@gnat.com>
10918
10919         * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
10920         properly the case where one universal operand in a non-static
10921         exponentiation of a real literal.
10922
10923 2001-10-11  Ed Schonberg <schonber@gnat.com>
10924
10925         * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
10926         clause, return the gobal finalization list, for lack of anthing else.
10927
10928 2001-10-11  Ed Schonberg <schonber@gnat.com>
10929
10930         * exp_ch7.adb (Make_Transient_Block): if statement is within
10931         exception handler, always use new transient scope to place Clean
10932         procedure.
10933
10934 2001-10-11  Pascal Obry <obry@gnat.com>
10935
10936         * Makefile.in:
10937         (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
10938         (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
10939         (GNATLS_RTL_OBJS): add g-crc32.o
10940         (GNATMAKE_RTL_OBJS): add g-crc32.o
10941
10942         * ali-util.adb:
10943         (CRC_Match): new function.
10944         (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
10945         instead of the previous simple checksum algorithm.
10946         (Time_Stamp_Mismatch): use CRC_Match for comparison.
10947         (Set_Source_Table): idem.
10948
10949         * ali-util.ads:
10950         (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
10951         instead of simple checksum.
10952         (CRC_Match): new function.
10953         (CRC_Error): new constant.
10954
10955         * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
10956         a CRC now and not a simple checksum. A CRC uses lower-case hex
10957         letters, fixes ambiguity in parsing.
10958
10959         * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
10960         is what this variable will store.
10961
10962         * bcheck.adb: Change reference to chechsum in comments by CRC.
10963         (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
10964         rename All_Checksum_Match to All_CRC_Match. Change due to API
10965         renaming since now GNAT does not use a simple checksum but a
10966         CRC using GNAT.CRC32.
10967
10968         * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
10969         now and not anymore a simple checksum.
10970
10971         * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
10972         places.
10973
10974         * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
10975
10976         * scans.adb:
10977         (Restore_Scan_State): rename Checksum to CRC.
10978         (Save_Scan_State): idem.
10979
10980         * scans.ads:
10981         With GNAT.CRC32.
10982         (Checksum): rename to CRC.
10983         (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
10984
10985         * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
10986         GNAT.CRC32).  Update copyright notice.
10987
10988         * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
10989         GNAT.CRC32).  Update copyright notice.
10990
10991         * scn.adb:
10992         (Accumulate_Checksum): removed.
10993         (Update): new procedure. Add a wide-character into the CRC.
10994
10995         * sinput-l.adb:
10996         (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
10997         (Load_File): fix initialization of S (change Source_Checksum to
10998         Source_CRC)
10999
11000         * sinput-p.adb (Load_Project_File): rename Source_Checksum to
11001         Source_CRC in S initialization.
11002
11003         * sinput.adb (Source_Checksum): renamed to Source_CRC.
11004
11005         * sinput.ads (Source_Checksum): renamed to Source_CRC.
11006         Update comments for the CRC.
11007
11008         * types.adb (Hex): Use lowercase for the letter part.
11009
11010         * types.ads (Get_Hex_String): Returns the hexadecimal representation
11011         for a word. This is currently used only for CRC. In previous version,
11012         the checksum was using a representation with all letter being
11013         upper-case. With the new implementation (using CRC) we do not remove
11014         the 32th bit of the CRC, so we can have an upper-case starting letter
11015         in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
11016         It is ambigous since the CRC was optional and could be followed by
11017         options like EB, EE. So now this routines uses lower-case letter for
11018         the hexadecimal representation. Strange enough only lower case letters
11019         where checked in Scan_ALI (even if this was not a possible case).
11020
11021         * gnatvsn.ads (Library_Version): changed to 3.15a.
11022
11023         * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
11024         for the compiler.
11025
11026         * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
11027         for the compiler.
11028
11029         * ali-util.adb: Redo previous change to avoid using word CRC everywhere
11030         Add 2001 to copyright notice
11031         (Accumulate_Checksum): Modify to use System.CRC32.
11032
11033         * ali-util.ads: Redo changes of previous revision to continue to use
11034         the word Checksum. Add 2001 to copyright notice.
11035
11036         * ali.adb: Undo some of previous changes, not needed.
11037         Keep the change for lower case letters in the checksum.
11038
11039         * ali.ads: Undo previous change not needed.
11040
11041         * bcheck.adb: Undo most of previous change, not needed.
11042         But do use Checksums_Match for checksum comparison.
11043
11044         * gnatls.adb: Undo most of previous change, not needed.
11045         But do use Checksums_Match for comparing checksums.
11046
11047         * lib-load.adb: Undo previous change, not needed.
11048
11049         * lib-writ.adb: Undo previous change, not needed.
11050
11051         * lib-writ.ads: Document that checksums use lower case,
11052         not upper case letters.
11053
11054         * scans.adb: Undo previous change, not needed
11055
11056         * scans.ads: Undo previous change, not needed.
11057
11058         * scn-nlit.adb: Undo previous changes, not needed.
11059
11060         * scn-slit.adb: Undo previous change, not needed.  Fix header format.
11061
11062         * scn.adb:
11063         (Accumulate_Checksum): Use System.CRC32.
11064         (Initialize_Checksum): New procedure.
11065         Remove other changes of previous revision.
11066
11067         * sinput-p.adb: Undo previous change, not needed.
11068
11069         * sinput.adb: Undo previous change, not needed.
11070
11071         * sinput-l.adb: Undo previous change, not needed.
11072
11073         * sinput.ads: Undo previous change, not needed.  Keep only comment
11074         on new checksum algorithm
11075
11076         * Makefile.in: Add s-crc32 as needed, remove g-crc32.
11077         Also remove a-tags and a-stream from GNAT sources.
11078
11079         * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
11080
11081         * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
11082
11083 2001-10-11  Geert Bosch  <bosch@gnat.com>
11084
11085         * einfo.h: Regenerate.
11086
11087         * nmake.ads: Regenerate.
11088
11089         * nmake.adb: Regenerate.
11090
11091         * sinfo.h: Regenerate.
11092
11093         * treeprs.adb: Regenerate.
11094
11095 2001-10-10  Geert Bosch  <bosch@gnat.com>
11096
11097         * gnat-style.texi: New file describing coding guidelines for Ada.
11098
11099 2001-10-10  Ed Schonberg <schonber@gnat.com>
11100
11101         * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
11102         is Flag174.
11103
11104 2001-10-10  Geert Bosch  <bosch@gnat.com>
11105
11106         * snames.ads: Add new names for project facility.
11107
11108         * snames.adb: Update to reflect snames.ads changes.
11109
11110         * snames.h: Update to reflect snames.ads changes.
11111
11112 2001-10-10  Vincent Celier <celier@gnat.com>
11113
11114         * make.adb:
11115         (Add_Switches): reflect the changes for the switches attributes
11116         Default_Switches indexed by the programming language,
11117         Switches indexed by the file name.
11118         (Collect_Arguments_And_Compile): Idem.
11119         Reflect the attribute name changes.
11120
11121         * prj-attr.adb:
11122         (Initialisation_Data): Change the names of some packages and
11123         attributes.
11124         (Initialize): process case insensitive associative arrays.
11125
11126         * prj-attr.ads:
11127         (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
11128
11129         * prj-dect.adb:
11130         (Parse_Attribute_Declaration): For case insensitive associative
11131          arrays, set the index string to lower case.
11132
11133         * prj-env.adb:
11134         Reflect the changes of the project attributes.
11135
11136         * prj-nmsc.adb:
11137         Replace Check_Naming_Scheme by Ada_Check and
11138         Language_Independent_Check.
11139
11140         * prj-nmsc.ads:
11141         Replaced Check_Naming_Scheme by 2 procedures:
11142         Ada_Check and Language_Independent_Check.
11143
11144         * prj-proc.adb:
11145         (Process_Declarative_Items): For case-insensitive associative
11146         arrays, set the index string to lower case.
11147         (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
11148         Prj.Nmsc.Check_Naming_Scheme.
11149
11150         * prj-tree.adb:
11151         (Case_Insensitive): New function
11152         (Set_Case_Insensitive): New procedure
11153
11154         * prj-tree.ads:
11155         (Case_Insensitive): New function
11156         (Set_Case_Insensitive): New procedure
11157         (Project_Node_Record): New flag Case_Insensitive.
11158
11159         * prj-util.adb:
11160         (Value_Of): new function to get the string value of a single
11161         string variable or attribute.
11162
11163         * prj-util.ads:
11164         (Value_Of): new function to get the string value of a single
11165         string variable or attribute.
11166
11167         * prj.adb:
11168         (Ada_Default_Spec_Suffix): New function
11169         (Ada_Default_Impl_Suffix): New function
11170         Change definitions of several constants to reflect
11171         new components of record types.
11172
11173         * prj.ads:
11174         (Naming_Data): Change several components to reflect new
11175         elements of naming schemes.
11176         (Project_Data): New flags Sources_Present and
11177         Language_Independent_Checked.
11178         (Ada_Default_Spec_Suffix): New function.
11179         (Ada_Default_Impl_Suffix): New function.
11180
11181         * snames.ads:
11182         Modification of predefined names for project manager: added
11183         Implementation, Specification_Exceptions, Implementation_Exceptions,
11184         Specification_Suffix, Implementation_Suffix, Separate_Suffix,
11185         Default_Switches, _Languages, Builder, Cross_Reference,
11186         Finder. Removed Body_Part, Specification_Append, Body_Append,
11187         Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
11188         Gnatlink.
11189
11190         * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
11191         Add comments.
11192
11193         * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
11194         not that it is Nil_Variable_Value.
11195
11196         * prj.ads: Add ??? for uncommented declarations
11197
11198 2001-10-10  Ed Schonberg <schonber@gnat.com>
11199
11200         * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
11201         constant, do not indicate possible modification, so that gigi can
11202         treat it as a bona fide constant.
11203
11204 2001-10-10  Robert Dewar <dewar@gnat.com>
11205
11206         * sem_prag.adb: Add processing for pragma External.
11207
11208         * snames.ads: Add entry for pragma External.
11209
11210         * par-prag.adb: Add pragma External.
11211
11212         * snames.adb: Updated to match snames.ads.
11213
11214 2001-10-10  Ed Schonberg <schonber@gnat.com>
11215
11216         * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
11217         a dynamic task if the allocator appears in an indexed assignment
11218         or selected component assignment.
11219
11220         * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
11221         For a dynamic task in an assignment statement, use target of
11222         assignment to generate meaningful name.
11223
11224 2001-10-10  Ed Schonberg <schonber@gnat.com>
11225
11226         * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
11227         a generic package.
11228
11229         * einfo.ads: Body_Entity is also defined for generic package.
11230         Documentation change only
11231
11232         * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
11233         others_choice for a discriminated component initialization,
11234         convert discriminant references into the corresponding discriminals.
11235
11236         * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
11237         only if original type is private and expression has to be wrapped
11238         in a conversion.
11239
11240         * checks.adb:
11241         (Apply_Constraint_Check): Do not perform length check
11242         if expression is an aggregate with only an others_choice.
11243         (Length_N_Cond): two references to the same in_parameter
11244         (typically the discriminal in an init_proc) denote the same value.
11245         Two useful optimization uncovered by bugfixes above.
11246
11247 2001-10-10  Robert Dewar <dewar@gnat.com>
11248
11249         * xeinfo.adb: Change int to char in translation of enumeration types.
11250         This fixes a problem in the C representation of component alignment.
11251         Add 2001 to copyright notice
11252
11253 2001-10-10  Richard Kenner <kenner@gnat.com>
11254
11255         * decl.c: (validate_size): Do check size of object of integral type
11256         if it is a packed array type.
11257
11258 2001-10-10  Richard Kenner <kenner@gnat.com>
11259
11260         * decl.c: (gnat_to_gnu_entity, case object): Also materialize
11261         VAR_DECL for constant if not Is_Public but -O0.
11262
11263 2001-10-10  Richard Kenner  <kenner@gnat.com>
11264
11265         * misc.c (struct lang_hooks): Add new initializer to match GCC change.
11266
11267 2001-10-10  Geert Bosch  <bosch@gnat.com>
11268
11269         * xnmake.adb (XNmake): Fix handling of -s/-b options.  No longer
11270         use '/' as switch character, allowing for absolute file names.
11271
11272 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
11273
11274         * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
11275         FSF address.
11276
11277 2001-10-08  Geert Bosch  <bosch@gnat.com>
11278
11279         * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
11280         Automatically build utilities when files need to be regenerated.
11281
11282 2001-10-08  Geert Bosch  <bosch@gnat.com>
11283
11284         * xsnames.adb: New utility for updating snames.ads and snames.adb
11285
11286 2001-10-08  Zack Weinberg  <zack@codesourcery.com>
11287
11288         * Make-lang.in (ADAFLAGS): Add -W -Wall.
11289         (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
11290         (gnat1): Also depend on attribs.o.
11291         (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
11292         * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
11293         (ADAC): Set to @ADAC@ in stage1, $(CC) later.
11294         (ADAFLAGS): Add -W -Wall.
11295         (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
11296         take out CFLAGS.
11297
11298         (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
11299         s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
11300         s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
11301         Use $(ADAC), not $(CC), as compilation command.
11302
11303         (gnattools): Depend directly on tools to build, don't use
11304         recursive make.
11305         (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
11306
11307         * einfo.h, sinfo.h: New files (autogenerated).
11308
11309 2001-10-08  Richard Henderson  <rth@redhat.com>
11310
11311         * comperr.adb (Abort_In_Progress): New.
11312         (Compiler_Abort): Use it to prevent recursion.
11313
11314 2001-10-08  Robert Dewar <dewar@gnat.com>
11315
11316         * atree.adb: Set Error_Posted in Error node, helps error recovery.
11317
11318         * par-endh.adb (Output_End_Expected): We should also not test
11319         Error_Posted on the Error node, since now it is always set.
11320
11321         * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
11322         to help error recovery. Part of general work on 9407-004.
11323
11324         * par.adb: Add ??? for misuse of error
11325
11326         * sem_res.adb:
11327         (Resolve): Defend against Error, fixes 9407-003.
11328         (Resolve_Discrete_Subtype_Indication): Defend against Error.
11329
11330         * sinfo.ads (N_Error): Now has Etype field (which will be set
11331         to Any_Type to help error recovery).
11332
11333 2001-10-08  Richard Kenner (kenner@gnat.com)
11334
11335         * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
11336         Consistently set MEM attributes from expression; fixes
11337         bootstrap failure on x86.
11338
11339 2001-10-08  Geert Bosch  (bosch@gnat.com)
11340
11341         * 5oosinte.adb: Add 2001 to copyright notice.
11342
11343 2001-10-08  Geert Bosch  (bosch@gnat.com)
11344
11345         * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
11346
11347         * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
11348
11349 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
11350
11351         * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
11352
11353 2001-10-05  Geert Bosch  (bosch@gnat.com)
11354
11355         * adaint.h: Small formatting fix.
11356
11357 2001-10-04  Geert Bosch  <bosch@gnat.com>
11358
11359         * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
11360         Arg is int, not FILE *, in dummy version of functions.
11361
11362         * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
11363         Arg is int, not FILE *.
11364
11365 2001-10-04  Geert Bosch  <bosch@gnat.com>
11366
11367         * 3lsoccon.ads: Added file, missed with initial check ins.
11368
11369         * 4lintnam.ads: Fix header format.
11370         Change Linux to GNU/Linux.
11371
11372         * 5iosinte.adb: Change Linux to GNU/Linux.
11373
11374         * 5iosinte.ads: Change Linux to GNU/Linux.
11375
11376         * 5itaprop.adb: Change Linux to GNU/Linux.
11377
11378         * 5itaspri.ads: Change Linux to GNU/Linux.
11379         Update copyright notice.
11380
11381         * 5lintman.adb: Change Linux to GNU/Linux.
11382
11383         * 5lml-tgt.adb: Change Linux to GNU/Linux.
11384
11385         * 5losinte.ads: Change Linux to GNU/Linux.
11386
11387         * 5lsystem.ads: Change Linux to GNU/Linux.
11388
11389         * 5qosinte.adb: Change Linux to GNU/Linux.
11390
11391         * 5qosinte.ads: Change Linux to GNU/Linux.
11392
11393         * 5qparame.ads: Change Linux to GNU/Linux.
11394
11395         * 5qtaprop.adb: Change Linux to GNU/Linux.
11396
11397         * 5qtaspri.ads: Change Linux to GNU/Linux.
11398         Add 2001 to copyright notice.
11399
11400         * 5vintman.ads: Change Linux to GNU/Linux.
11401         Fix header format.  Add 2001 to copyright notice.
11402
11403         * g-soccon.ads: Change Linux to GNU/Linux.
11404
11405         * g-trasym.ads: Change Linux to GNU/Linux.
11406         Add 2001 to copyright notice.
11407
11408         * memtrack.adb: Change Linux to GNU/Linux.
11409
11410         * s-intman.ads: Change Linux to GNU/Linux.
11411         Add 2001 to copyright notice.  Fix header format.
11412
11413         * s-stache.adb: Change Linux to GNU/Linux.
11414
11415         * adaint.c: Change Linux to GNU/Linux.
11416
11417         * cio.c: Change Linux to GNU/Linux.
11418
11419         * cstreams.c: Change Linux to GNU/Linux.
11420
11421         * init.c: Change Linux to GNU/Linux.
11422
11423         * gmem.c: Change Linux to GNU/Linux.
11424
11425         * tracebak.c: Change Linux to GNU/Linux.
11426
11427
11428 2001-10-02  Geert Bosch  <bosch@gnat.com>
11429
11430         * misc.c (insert_default_attributes): Add dummy version.