OSDN Git Service

2004-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
[pf3gnuchains/gcc-fork.git] / gcc / ada / ChangeLog
1 2004-07-13  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2
3         * decl.c: (gnat_to_gnu_entity, object case): Convert initializer to
4         object type.
5         (gnat_to_gnu_entity, case E_Record_Subtype): Properly set
6         TYPE_STUB_DECL.
7
8         * misc.c (gnat_types_compatible_p): New function.
9         (LANG_HOOKS_TYPES_COMPATIBLE_P): New hook, to use it.
10         (LANG_HOOKS_TYPE_MAX_SIZE, gnat_type_max_size): New.
11
12         * trans.c (gigi): Move processing of main N_Compilation_Unit here.
13         (gnat_to_gnu, case N_Compilation_Unit): Just handle nested case here.
14         (add_stmt): Force walking of sizes and DECL_INITIAL for DECL_EXPR.
15         (mark_visited): Don't mark dummy type.
16         (tree_transform <N_Procedure_Call_Statement>): Unless this is an In     
17         parameter, we must remove any LJM building from GNU_NAME.
18         (gnat_to_gnu, case N_String_Literal): Fill in indices in CONSTRUCTOR.
19         (pos_to_constructor): Use int_const_binop.
20         (gnat_to_gnu, case N_Identifier): Don't reference DECL_INITIAL of
21         PARM_DECL.
22
23         * utils.c (gnat_init_decl_processing): Don't make two "void" decls.
24         (gnat_pushlevel): Set TREE_USE on BLOCK node.
25         (gnat_install_builtins): Add __builtin_memset.
26
27 2004-07-13  Olivier Hainque  <hainque@act-europe.fr>
28
29         * decl.c (gnat_to_gnu_entity <E_Variable>): If we are making a pointer
30         for a renaming, stabilize the initialization expression if we are at a
31         local level.  At the local level, uses of the renaming may be performed
32         by a direct dereference of the initializing expression, and we don't
33         want possible variables there to be evaluated for every use.
34
35         * trans.c (gnat_stabilize_reference, gnat_stabilize_reference_1):
36         Propagate TREE_SIDE_EFFECTS and TREE_THIS_VOLATILE to avoid loosing
37         them on the way.  Account for the fact that we may introduce side
38         effects in the process.
39
40 2004-07-13  Richard Henderson  <rth@redhat.com>
41
42         * misc.c (default_pass_by_ref): Use pass_by_reference.
43
44 2004-07-11  Joseph S. Myers  <jsm@polyomino.org.uk>
45
46         * misc.c (LANG_HOOKS_CLEAR_BINDING_STACK, LANG_HOOKS_PUSHLEVEL,
47         LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK): Remove.
48
49 2004-07-08  Richard Henderson  <rth@redhat.com>
50
51         * trans.c (gnat_to_gnu <N_Handled_Sequence_Of_Statements>): Update
52         commentary.
53
54 2004-07-06  Vincent Celier  <celier@gnat.com>
55
56         * vms_conv.ads: Minor reformatting.
57         Alphabetical order for enumerated values of type Command_Type, to have
58         the command in alphabetical order for the usage.
59
60         * vms_conv.adb (Process_Argument): Set Keep_Temporary_Files to True for
61         the special qualifier /KEEP_TEMPORARY_FILES (minimum 6 characters).
62
63         * gnat_ugn.texi: Document new switch -dn for the GNAT driver.
64
65         * makegpr.adb (Global_Archive_Exists): New global Boolean variable
66         (Add_Archive_Path): Only add the global archive if there is one.
67         (Build_Global_Archive): Set Global_Archive_Exists depending if there is
68         or not any object file to put in the global archive, and don't build
69         a global archive if there is none.
70         (X_Switches): New table
71         (Compile_Link_With_Gnatmake): Pass to gnatmake the -X switches stored
72         in the X_Switches table, if any.
73         (Initialize): Make sure the X_Switches table is empty
74         (Scan_Arg): Record -X switches in table X_Switches
75
76         * opt.ads (Keep_Temporary_Files): New Boolean flag, defaulted to False.
77
78         * make.adb: Minor comment fix
79
80         * gnatname.adb (Gnatname): When not on VMS, and gnatname has been
81         invoked with directory information, add the directory in front of the
82         path.
83
84         * gnatchop.adb (Gnatchop): When not on VMS, and gnatchop has been
85         invoked with directory information, add the directory in front of the
86         path.
87
88         * gnatcmd.adb (Delete_Temp_Config_Files): Only delete temporary files
89         when Keep_Temporary_Files is False.
90         (GNATCmd): When not on VMS, and the GNAT driver has been invoked with
91         directory information, add the directory in front of the path.
92         When not on VMS, handle new switch -dn before the command to set
93         Keep_Temporary_Files to True.
94         (Non_VMS_Usage): Use lower case for the non VMS usage: this is valid
95         everywhere.
96
97         * gnatlink.adb (Gnatlink): When not on VMS, and gnatlink has been
98         invoked with directory information, add the directory in front of the
99         path.
100
101 2004-07-06  Thomas Quinot  <quinot@act-europe.fr>
102
103         * snames.ads, snames.adb (Name_Stub): New name for the distributed
104         systems annex.
105
106         * rtsfind.ads: New RTE TC_Object, for DSA/PolyORB.
107         New RTEs RAS_Proxy_Type and RAS_Proxy_Type_Access, for DSA.
108
109         * g-socket.adb (To_Timeval): Fix incorrect conversion of
110         Selector_Duration to Timeval for the case of 0.0.
111
112         * exp_util.ads (Evolve_Or_Else): Fix overenthusiastic copy/paste of
113         documentation from Evolve_And_Then.
114
115 2004-07-06  Jose Ruiz  <ruiz@act-europe.fr>
116
117         * s-taprop-tru64.adb, s-taprop-os2.adb,
118         s-taprop-mingw.adb, s-taprop-posix.adb: Update comment.
119
120 2004-07-06  Robert Dewar  <dewar@gnat.com>
121
122         * s-osinte-hpux.ads, s-osinte-freebsd.ads,
123         s-osinte-lynxos.ads, s-taprop-lynxos.adb, s-osinte-tru64.ads,
124         s-osinte-aix.ads, s-osinte-irix.ads, s-taprop-irix.adb,
125         s-interr-sigaction.adb, s-taprop-irix-athread.adb,
126         s-osinte-hpux-dce.adb, s-taprop-hpux-dce.adb,
127         s-taprop-linux.adb, s-taprop-dummy.adb, s-taprop-solaris.adb,
128         s-interr-vms.adb, s-osinte-vms.ads, s-taprop-vms.adb,
129         s-osinte-vxworks.ads, s-osprim-vxworks.adb, a-numaux-x86.adb,
130         a-except.adb, a-exexpr.adb, a-intsig.adb, a-tags.adb,
131         a-tags.ads, bindgen.ads, checks.adb, checks.adb,
132         csets.ads, einfo.ads, einfo.ads, elists.adb, exp_ch4.adb,
133         exp_ch7.adb, exp_dist.adb, exp_util.adb, freeze.adb,
134         g-dynhta.adb, gnatmem.adb, g-regexp.adb, inline.adb,
135         i-os2thr.ads, osint.adb, prj.adb, scng.adb, sem_cat.adb,
136         sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, sem_ch7.adb,
137         sem_ch8.adb, sem_disp.adb, sem_prag.adb, sem_res.adb,
138         sem_type.adb, sem_type.ads, sem_warn.adb, s-ficobl.ads,
139         s-finimp.adb, s-htable.adb, sinfo.ads, sinput-l.ads,
140         s-interr.adb, s-interr.ads, sprint.adb, s-tarest.adb,
141         s-tasini.ads, s-taskin.ads, s-taskin.ads, uname.adb,
142         vms_data.ads: Minor reformatting,
143         Fix bad box comment format.
144
145         * gnat_rm.texi: Fix minor grammatical error
146
147         * sem_attr.adb, exp_attr.adb: New attribute Has_Access_Values
148
149         * sem_util.ads, sem_util.adb (Requires_Transient_Scope): Allow many
150         more cases of discriminated records to be recognized as not needing a
151         secondary stack.
152         (Has_Access_Values): New function.
153
154         * snames.h, snames.adb, snames.ads: New attribute Has_Access_Values
155
156         * cstand.adb, layout.ads, layout.adb, sem_ch13.ads: Change name
157         Set_Prim_Alignment to Set_Elem_Alignment (more accurate correspondence
158         with LRM terminology).
159         Change terminology in comments primitive type => elementary type.
160
161 2004-07-06  Ed Schonberg  <schonberg@gnat.com>
162
163         PR ada/15602
164         * sem_ch7.adb (Unit_Requires_Body): For a generic package, the formal
165         parameters do not impose any requirements on the presence of a body.
166
167 2004-07-06  Ed Schonberg  <schonberg@gnat.com>
168
169         PR ada/15593
170         * sem_ch12.adb (Analyze_Package_Instantiation): If the generic is not a
171         compilation unit and is in an open scope at the point of instantiation,
172         assume that a body may be present later.
173
174 2004-07-06  Ed Schonberg  <schonberg@gnat.com>
175
176         * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case 'Size):
177         Improve error message when specified size is not supported.
178
179         * sem_ch6.adb (Maybe_Primitive_Operation): A library-level subprogram
180         is never a primitive operation.
181
182 2004-07-05  Andreas Schwab  <schwab@suse.de>
183
184         * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Use
185         RECORD_OR_UNION_CHECK.
186         (TYPE_CONTAINS_TEMPLATE_P): Likewise.
187
188 2004-07-04  Kelley Cook  <kcook@gcc.gnu.org>
189
190         * Make-lang.in (doc/gnat_ugn_unw.texi): Eliminate explicit
191         dependency on xgnatugn, instead build it via a submake.
192         (ADA_INFOFILES): Add doc/gnat_ugn_unw.texi.
193
194 2004-07-04  Richard Henderson  <rth@redhat.com>
195
196         * utils2.c (gnat_mark_addressable): Don't put_var_into_stack.
197
198 2004-07-01  Richard Henderson  <rth@redhat.com>
199
200         * trans.c (gnat_stabilize_reference): Don't handle RTL_EXPR.
201         * utils.c (max_size): Likewise.
202
203 2004-06-28  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
204
205         * decl.c: Remove calls to add_decl_expr, pushdecl, rest_of_compilation,
206         and rest_of_type_compilation; add arg to create_*_decl.
207         (annotate_decl_with_node): Deleted.
208         (gnat_to_gnu_entity, case E_Array_Type): Set location of fields.
209         * gigi.h (get_decls, block_has_vars, pushdecl): Deleted.
210         (get_current_block_context, gnat_pushdecl): New declarations.
211         (gnat_init_stmt_group): Likewise.
212         (create_var_decl, create_type_decl, create_subprog_decl): Add new arg.
213         * misc.c (LANG_HOOKS_CLEAR_BINDING_STACK): Deleted.
214         (LANG_HOOKS_GETDECLS, LANG_HOOKS_PUSHDECL): Deleted.
215         (gnat_init): Call gnat_init_stmt_group.
216         * trans.c (global_stmt_group, gnu_elab_proc_decl): New variables.
217         (gnu_pending_elaboration_list): Deleted.
218         (mark_visited, mark_unvisited, gnat_init_stmt_group): New functions.
219         (gigi): Rearrange initialization calls and move some to last above.
220         (gnat_to_gnu): If statement and not in procedure, go into elab proc.
221         Delete calls to add_decl_expr; add arg to create_*_decl.
222         (gnat_to_gnu, case N_Loop): Recalculate side effects on COND_EXPR.
223         (gnat_to_gnu, case N_Subprogram_Body): Move some code to 
224         begin_subprog_body and call it.
225         Don't push and pop ggc context.
226         (gnat_to_gnu, case N_Compilation_Unit): Rework to support elab proc.
227         (add_stmt): Remove handling of DECL_EXPR from here.
228         If not in function, mark visited.
229         (add_decl_expr): Put global at top level.
230         Check for cases of DECL_INITIAL we have to handle here.
231         (process_type): Add extra arg to create_type_decl.
232         (build_unit_elab): Rework to just gimplify.
233         * utils.c (pending_elaborations, elist_stack, getdecls): Deleted.
234         (block_has_vars, mark_visited, add_pending_elaborations): Likewise.
235         (get_pending_elaborations, pending_elaborations_p): Likewise.
236         (push_pending_elaborations, pop_pending_elaborations): Likewise.
237         (get_elaboration_location, insert_elaboration_list): Likewise.
238         (gnat_binding_level): Renamed from ada_binding_level.
239         (init_gnat_to_gnu): Don't clear pending_elaborations.
240         (global_bindings_p): Treat as global if no current_binding_level.
241         (set_current_block_context): New function.
242         (gnat_pushdecl): Renamed from pushdecl; major rework.
243         All callers changed.
244         (create_type_decl, create_var_decl, create_subprog_decl): Add new arg.
245         (finish_record_type): Call call pushdecl for stub decl.
246         (function_nesting_depth): Deleted.
247         (begin_subprog_body): Delete obsolete code.
248         * utils2.c (build_call_alloc_dealloc): Add new arg to create_var_decl.
249         
250 2004-06-28  Robert Dewar  <dewar@gnat.com>
251
252         * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb,
253         mlib-tgt-irix.adb, mlib-tgt-hpux.adb, mlib-tgt-linux.adb,
254         mlib-tgt-linux.adb, mlib-tgt-solaris.adb, mlib-tgt-solaris.adb,
255         mlib-tgt-vms-alpha.adb, mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb,
256         a-strmap.adb, a-strmap.ads, clean.adb: Minor reformatting
257
258         * exp_util.adb (Is_Possibly_Unaligned_Slice): Completely rewritten, to
259         deal with problem of inefficient slices on machines with strict
260         alignment, when the slice is a component of a composite.
261
262         * checks.adb (Apply_Array_Size_Check): Do not special case 64-bit
263         machines, we need the check there as well.
264
265 2004-06-28  Ed Schonberg  <schonberg@gnat.com>
266
267         * exp_ch5.adb (Expand_Assign_Array): Use correct condition to
268         determine safe copying direction for overlapping slice assignments
269         when component is controlled.
270
271         * sem_ch12.adb (Instantiate_Formal_Package): Implicit operations of a
272         formal derived type in the actual for a formal package are visible in
273         the enclosing instance.
274
275 2004-06-28  Ed Schonberg  <schonberg@gnat.com>
276
277         PR ada/15600
278         * sem_util.adb (Trace_Components): Diagnose properly an illegal
279         circularity involving a private type whose completion includes a
280         self-referential component.
281         (Enter_Name): Use Is_Inherited_Operation to distinguish a source
282         renaming or an instantiation from an implicit derived operation.
283
284 2004-06-28  Pascal Obry  <obry@gnat.com>
285
286         * mlib-tgt-mingw.adb: (Library_Exists_For): Remove "lib" prefix from
287         DLL.
288         (Library_File_Name_For): Idem.
289
290 2004-06-28  Matthew Gingell  <gingell@gnat.com>
291
292         * g-traceb.ads: Add explanatory note on the format of addresses
293         expected by addr2line.
294
295 2004-06-28  Jerome Guitton  <guitton@act-europe.fr>
296
297         * Makefile.in: Force debugging information on s-tasdeb.adb,
298         a-except.adb and s-assert.adb needed by the debugger.
299
300 2004-06-28  Vincent Celier  <celier@gnat.com>
301
302         * make.adb (Collect_Arguments_And_Compile): Change Flag1 to
303         Need_To_Build_Lib.
304         (Gnatmake): Ditto.
305
306         * mlib-prj.adb (Check_Library): Replace Flag1 with Need_To_Build_Lib
307
308         * prj.adb: Minor reformatting
309         (Project_Empty): Change Flag1 to Need_To_Build_Lib. Remove Flag2.
310
311         * prj.ads: Comment updates
312         Minor reformatting
313         (Project_Data): Change Flag1 to Need_To_Build_Lib.
314         Remove Flag2: not used.
315
316         * prj-dect.adb (Parse_Declarative_Items): Accept "null" as a
317         declaration.
318
319         * gnat_ugn.texi: Put a "null;" declaration in one project file example
320
321         * gnat_rm.texi: Document Empty declarations "null;".
322
323         * makegpr.adb (Compile_Link_With_Gnatmake): Put the global archives in
324         front of the linker options.
325         (Link_Foreign): Put the global archives and the libraries in front of
326         the linker options.
327
328 2004-06-28  Javier Miranda  <miranda@gnat.com>
329
330         * rtsfind.adb: (Get_Unit_Name): Fix typo in comment
331         (RTU_Loaded): Code cleanup
332         (Set_RTU_Loaded): New procedure to register as *loaded* explicitly
333         withed predefined units.
334
335         * rtsfind.ads (Set_RTU_Loaded): New procedure to register as *loaded*
336         explicitly withed predefined units.
337         Fix typo in comment
338
339         * sem_ch10.adb (Analyze_Compilation_Unit): Register as *loaded*
340         explicitly withed predefined units.
341
342 2004-06-26  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
343
344         * ada-tree.def (DECL_STMT): Deleted.
345         * ada-tree.h (IS_ADA_STMT): Now test against STMT_STMT.
346         (DECL_STMT_VAR): Deleted.
347         * decl.c: add_decl_stmt now add_decl_expr.
348         * gigi.h: Likewise.
349         * trans.c: Likewise.
350         (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted.
351         (gnat_to_gnu, case N_Subprogram_Body): Set cfun->function_end_locus.
352         (add_stmt): Only handle padded type here.
353         (add_stmt_with_node): Allow gnat_node to not be present.
354         (gnat_gimplify_stmt, case USE_STMT): Set *STMT_P to null.
355         (gnat_gimplify_stmt, case DECL_STMT): Deleted.
356         (gnat_stabilize_reference_1): If COMPONENT_REF of fat pointer,
357         make a SAVE_EXPR for the entire fat pointer.
358         * utils.c (pushdecl): Walk a DECL_EXPR in global case.
359         (create_index_type): Make a DECL_EXPR.
360         (end_subprog_body): Don't call allocate_struct_function here but
361         do clear cfun.
362
363 2004-06-25  Pascal Obry  <obry@gnat.com>
364
365         * makegpr.adb (Build_Library): Remove parameter Lib_Address and
366         Relocatable from Build_Dynamic_Library call.
367
368         * gnat_ugn.texi: Change documentation about Library_Kind. Dynamic and
369         Relocatable are now synonym.
370
371         * Makefile.in: Use s-parame-mingw.adb on MingW platform.
372
373         * mlib-prj.adb (Build_Library): Remove DLL_Address constant definition.
374         Remove parameter Lib_Address and Relocatable from Build_Dynamic_Library
375         call.
376
377         * mlib-tgt.ads, mlib-tgt.adb (Build_Dynamic_Library): Remove parameter
378         Lib_Address and Relocatable.
379         (Default_DLL_Address): Removed.
380
381         * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, 
382         mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, 
383         mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-vxworks.adb:
384         (Build_Dynamic_Library): Remove parameter Lib_Address and Relocatable.
385         (Default_DLL_Address): Removed.
386
387         * mlib-tgt-mingw.adb: Ditto.
388         (Build_Dynamic_Library): Do not add "lib" prefix to the DLL name.
389
390         * s-taprop-mingw.adb (Create_Task): Use Adjust_Storage_Size to compute
391         the initial thread stack size.
392
393         * a-strmap.ads: Move package L to private part as it is not used in
394         the spec. Found while reading code.
395
396 2004-06-25  Olivier Hainque  <hainque@act-europe.fr>
397
398         * tracebak.c: Introduce support for a GCC infrastructure based
399         implementation of __gnat_backtrace.
400
401         * raise.c: Don't rely on a C mapping of the GNAT_GCC_Exception record
402         any more. Use accessors instead. This eases maintenance and relaxes
403         some alignment constraints.
404         (_GNAT_Exception structure): Remove the Ada specific fields
405         (EID_For, Adjust_N_Cleanups_For): New accessors, exported by
406         a-exexpr.adb.
407         (is_handled_by, __gnat_eh_personality): Replace component references to
408         exception structure by use of the new accessors.
409
410         * init.c (__gnat_initialize): Adjust comments to match the just
411         reverted meaning of the -static link-time option.
412
413         * adaint.c (convert_addresses): Arrange not to define a stub for
414         mips-irix any more, as we now want to rely on a real version from a
415         recent libaddr2line.
416
417         * a-exexpr.adb: Provide new accessors to a GNAT_GCC occurrence, so that
418         the personality routine can use them and not have to rely on a C
419         counterpart of the record anymore. This simplifies maintenance and
420         relaxes the constraint of having Standard'Maximum_Alignment match
421         BIGGEST_ALIGNMENT.
422         Update comments, and add a section on the common header alignment issue.
423
424 2004-06-25  Geert Bosch  <bosch@gnat.com>
425
426         * a-ngelfu.adb (Tanh): Use full 20 digit precision for constants in
427         polynomial approximation. Fixes inconsistency with Cody/Waite algorithm.
428
429 2004-06-25  Robert Dewar  <dewar@gnat.com>
430
431         * gnat_rm.texi: Fix section on component clauses to indicate that the
432         restriction on byte boundary placement still applies for bit packed
433         arrays.
434         Add comment on stack usage from Initialize_Scalars
435
436         * gnat_ugn.texi: Add documentation for -gnatyLnnn
437
438         * stylesw.ads, stylesw.adb: Implement new -gnatyLnnn option for
439         limiting nesting level.
440
441         * usage.adb: Add line for -gnatyLnnn switch
442
443         * g-debpoo.ads, xtreeprs.adb, sinput.ads, sem_ch13.ads,
444         sem_ch13.adb, exp_aggr.adb: Minor reformatting
445
446         * sem_prag.adb (Process_Atomic_Shared_Volatile): Set Is_Atomic on base
447         type as well as on the subtype. This corrects a problem in freeze in
448         setting alignments of atomic types.
449
450         * sem_eval.ads: Minor comment typo fixed
451
452         * par-util.adb (Push_Scope_Stack): Check for violation of max nesting
453         level.  Minor reformatting.
454
455         * fname.adb (Is_Predefined_File_Name): Require a letter after the
456         minus sign. This means that file names like a--b.adb will not be
457         considered predefined.
458
459         * freeze.adb: Propagate new flag Must_Be_On_Byte_Boundary to containing
460         record Test new flag and give diagnostic for bad component clause.
461         (Freeze_Entity): Set alignment of array from component alignment in
462         cases where this is safe to do.
463
464         * exp_pakd.adb: Set new flag Must_Be_On_Byte_Boundary for large packed
465         arrays.
466
467         * cstand.adb: (Create_Standard): Set alignment of String to 1
468
469         * einfo.ads, einfo.adb: Introduce new flag Must_Be_On_Byte_Boundary
470
471         * exp_ch4.adb (Expand_Array_Equality): Improve efficiency of generated
472         code in the common constrained array cases.
473
474         * a-storio.adb: Change implementation to avoid possible alignment
475         problems on machines requiring strict alignment (data should be moved
476         as type Buffer, not type Elmt).
477
478         * checks.adb (Apply_Array_Size_Check): Improve these checks by
479         killing the overflow checks which we really do not need (64-bits is
480         enough).
481
482 2004-06-25  Vincent Celier  <celier@gnat.com>
483
484         * makegpr.adb (Is_Included_In_Global_Archive): New Boolean function
485         (Add_Archives.Recursive_Add_Archives): Call Add_Archive_Path
486         inconditionally for the main project.
487         (Recursive_Add_Archives.Add_Archive_Path): New procedure
488         (Link_Executables.Check_Time_Stamps): New procedure
489         (Link_Executables.Link_Foreign): New procedure
490         Changes made to reduce nesting level of this package
491         (Check): New procedure
492         (Add_Switches): When not in quiet output, check that a switch is not
493         the concatenation of several valid switches. If it is, issue a warning.
494         (Build_Global_Archive): If the global archive is rebuilt, linking need
495         to be done.
496         (Compile_Sources): Rebuilding a library archive does not imply
497         rebuilding the global archive.
498         (Build_Global_Archive): New procedure
499         (Build_Library): New name for Build_Archive, now only for library
500         project
501         (Check_Archive_Builder): New procedure
502         (Create_Global_Archive_Dependency_File): New procedure
503         (Gprmake): Call Build_Global_Archive before linking
504         * makegpr.adb: Use Other_Sources_Present instead of Sources_Present
505         throughout.
506         (Scan_Arg): Display the Copyright notice when -v is used
507
508         * gnat_ugn.texi: Document new switch -files= (VMS qualifier /FILES=)
509         for gnatls.
510
511         * vms_data.ads: Add qualifier /MAX_NESTING=nnn (-gnatyLnnn) for GNAT
512         COMPILE.
513         Add new GNAT LIST qualifier /FILES=
514         Added qualifier /DIRECTORY= to GNAT METRIC
515         Added qualifier /FILES= to GNAT METRIC
516         Added qualifier /FILES to GNAT PRETTY
517
518         * switch.adb (Is_Front_End_Switch): Refine the test for --RTS or -fRTS,
519         to take into account both versions of the switch.
520
521         * switch-c.adb (Scan_Front_End_Switches): New switch -gnatez. Should
522         always be the last switch to the gcc driver. Disable switch storing so
523         that switches automatically added by the gcc driver are not put in the
524         ALI file.
525
526         * prj.adb (Project_Empty): Take into account changes in components of
527         Project_Data.
528
529         * prj.ads (Languages_Processed): New enumaration value All_Languages.
530
531         * prj.ads (Project_Data): Remove component Lib_Elaboration: never
532         used. Split Boolean component Ada_Sources_Present in two Boolean
533         components Ada_Sources_Present and Other_Sources_Present.
534         Minor reformatting
535
536         * prj-env.adb (For_All_Source_Dirs.Add): Use Ada_Sources_Present
537         instead of Sources_Present.
538         (Set_Ada_Paths.Add.Recursive_Add): Ditto
539
540         * prj-nmsc.adb: Minor reformatting
541         (Check_Ada_Naming_Scheme): New name of procedure Check_Naming_Scheme
542         (Check_Ada_Naming_Scheme_Validity): New name of previous procedure
543         Check_Ada_Naming_Scheme.
544         Change Sources_Present to Ada_Sources_Present or Other_Sources_Present
545         throughout.
546
547         * prj-part.adb (Post_Parse_Context_Clause): New Boolean parameter
548         In_Limited.
549         Make sure that all cycles where there is at least one "limited with"
550         are detected.
551         (Parse_Single_Project): New Boolean parameter In_Limited
552
553         * prj-proc.adb (Recursive_Check): When Process_Languages is
554         All_Languages, call first Prj.Nmsc.Ada_Check, then
555         Prj.Nmsc.Other_Languages_Check.
556
557         * prj-proc.adb (Process): Use Ada_Sources_Present or
558         Other_Sources_Present (instead of Sources_Present) depending on
559         Process_Languages.
560
561         * lang-specs.h: Keep -g and -m switches in the same order, and as the
562         last switches.
563
564         * lib.adb (Switch_Storing_Enabled): New global Boolean flag
565         (Disable_Switch_Storing): New procedure. Set Switch_Storing_Enabled to
566         False.
567         (Store_Compilation_Switch): Do nothing if Switch_Storing_Enabled is
568         False.
569
570         * lib.ads (Disable_Switch_Storing): New procedure.
571
572         * make.adb: Modifications to reduce nesting level of this package.
573         (Check_Standard_Library): New procedure
574         (Gnatmake.Check_Mains): New procedure
575         (Gnatmake.Create_Binder_Mapping_File): New procedure
576         (Compile_Sources.Compile): Add switch -gnatez as the last option
577         (Display): Never display -gnatez
578
579         * Makefile.generic: 
580         When using $(MAIN_OBJECT), always use $(OBJ_DIR)/$(MAIN_OBJECT)
581
582         * gnatcmd.adb (Check_Project): New function
583         (Process_Link): New procedure to reduce nesting depth
584         (Check_Files): New procedure to reduce the nesting depth.
585         For GNAT METRIC, include the inherited sources in extending projects.
586         (GNATCmd): When GNAT LS is invoked with a project file and no files,
587         add the list of files from the sources of the project file. If this list
588         is too long, put it in a temp text files and use switch -files=
589         (Delete_Temp_Config_Files): Delete the temp text file that contains
590         a list of source for gnatpp or gnatmetric, if one has been created.
591         (GNATCmd): For GNAT METRIC and GNAT PRETTY, if the number of sources
592         in the project file is too large, create a temporary text file that
593         list them and pass it to the tool with "-files=<temp text file>".
594         (GNATCmd): For GNAT METRIC add "-d=<abject dir>" as the first switch
595
596         * gnatlink.adb (Gnatlink): Do not compile with --RTS= when the
597         generated file is in not in Ada.
598
599         * gnatls.adb: Remove all parameters And_Save that are no longer used.
600         (Scan_Ls_Arg): Add processing for -files=
601         (Usage): Add line for -files=
602
603         * g-os_lib.adb (On_Windows): New global constant Boolean flag
604         (Normalize_Pathname): When on Windows and the path starts with a
605         directory separator, make sure that the resulting path will start with
606         a drive letter.
607
608         * clean.adb (Clean_Archive): New procedure
609         (Clean_Project): When there is non-Ada code, delete the global archive,
610         the archive dependency files, the object files and their dependency
611         files, if they exist.
612         (Gnatclean): Call Prj.Pars.Parse for All_Languages, not for Ada only.
613
614 2004-06-25  Thomas Quinot  <quinot@act-europe.fr>
615
616         * sinfo.ads: Fix typo in comment.
617
618         * sem_dist.adb (Process_Remote_AST_Attribute): Simplify code that uses
619         the TSS for remote access-to-subprogram types, since these TSS are
620         always present once the type has been analyzed.
621         (RAS_E_Dereference): Same.
622
623         * sem_attr.adb (Analyze_Attribute): When analysis of an attribute
624         reference raises Bad_Attribute, mark the reference as analyzed so the
625         node (and any children resulting from rewrites that could have occurred
626         during the analysis that ultimately failed) is not analyzed again.
627
628         * exp_ch7.ads (Find_Final_List): Fix misaligned comment.
629
630         * exp_dist.adb: Minor comment fix.
631
632         * exp_ch4.adb (Expand_N_Allocator): For an allocator whose expected
633         type is an anonymous access type, no unchecked deallocation of the
634         allocated object can occur. If the object is controlled, attach it with
635         a count of 1. This allows attachment to the Global_Final_List, if
636         no other relevant list is available.
637         (Get_Allocator_Final_List): For an anonymous access type that is
638         the type of a discriminant or record component, the corresponding
639         finalisation list is the one of the scope of the type.
640
641 2004-06-25  Ed Schonberg  <schonberg@gnat.com>
642
643         * sem_ch3.adb (Replace_Type): When computing the signature of an
644         inherited subprogram, use the first subtype if the derived type
645         declaration has no constraint.
646
647         * exp_ch6.adb (Add_Call_By_Copy_Code): Check that formal is an array
648         before applying previous optimization. Minor code cleanup.
649
650         * exp_util.adb (Is_Possibly_Unaligned_Slice): If the component is
651         placed at the beginning of an unpacked record without explicit
652         alignment, a slice of it will be aligned and does not need a copy when
653         used as an actual.
654
655 2004-06-25  Ed Schonberg  <schonberg@gnat.com>
656
657         PR ada/15591
658         PR ada/15592
659         * sem_ch8.adb (Attribute_Renaming): Reject renaming if the attribute
660         reference is written with expressions mimicking parameters.
661
662 2004-06-25  Hristian Kirtchev  <kirtchev@gnat.com>
663
664         PR ada/15589
665         * sem_ch3.adb (Build_Derived_Record_Type): Add additional check to
666         STEP 2a. The constraints of a full type declaration of a derived record
667         type are checked for conformance with those declared in the
668         corresponding private extension declaration. The message
669         "not conformant with previous declaration" is emitted if an error is
670         detected.
671
672 2004-06-25  Vasiliy Fofanov  <fofanov@act-europe.fr>
673
674         * g-traceb.ads: Document the need for -E binder switch in the spec.
675
676         * g-trasym.ads: Document the need for -E binder switch in the spec.
677
678 2004-06-25  Jose Ruiz  <ruiz@act-europe.fr>
679
680         * sem_prag.adb: Add handling of pragma Detect_Blocking.
681
682         * snames.h, snames.ads, snames.adb: Add entry for pragma
683         Detect_Blocking.
684
685         * s-rident.ads: Change reference to pragma Detect_Blocking.
686
687         * targparm.ads, targparm.adb: Allow pragma Detect_Blocking in
688         system.ads.
689
690         * opt.ads (Detect_Blocking): New Boolean variable (defaulted to False)
691         to indicate whether pragma Detect_Blocking is active.
692
693         * par-prag.adb: Add entry for pragma Detect_Blocking.
694
695         * rtsfind.adb (RTU_Loaded): Fix the temporary kludge to get past bug
696         of not handling WITH.
697         Note that this replaces the previous update which was incorrect.
698
699 2004-06-25  Javier Miranda  <miranda@gnat.com>
700
701         * sem_ch10.adb (Re_Install_Use_Clauses): Force the installation of the
702         use-clauses to have a clean environment.
703
704         * sem_ch8.adb (Install_Use_Clauses): Addition of a new formal to force
705         the installation of the use-clauses to stablish a clean environment in
706         case of compilation of a separate unit; otherwise the call to
707         use_one_package is protected by the barrier Applicable_Use.
708
709         * sem_ch8.ads (Install_Use_Clauses): Addition of a new formal to force
710         the installation of the use-clauses to stablish a clean environment in
711         case of compilation of a separate unit.
712         (End_Use_Clauses): Minor comment cleanup.
713
714 2004-06-25  Sergey Rybin  <rybin@act-europe.fr>
715
716         * gnat_ugn.texi: Add description of the gnatpp 'files' switch
717
718 2004-06-23  Richard Henderson  <rth@redhat.com>
719
720         * trans.c (gnat_gimplify_stmt): Update gimplify_type_sizes call.
721
722 2004-06-20  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
723
724         * decl.c (elaborate_expression, elaborate_expression_1): Arguments
725         now bool instead of int.
726         (gnat_to_gnu_entity, elaborate_expression_1): New arg to COMPONENT_REF.
727         * trans.c (gnu_switch_label_stack): New function.
728         (gnat_to_gnu, N_Object_Renaming_Declaration): Result is what the
729         elaboration of renamed entity returns.
730         (gnat_to_gnu, case N_Case_Statement): Add branches to end label.
731         (add_decl_stmt): Don't add TYPE_DECL for UNCONSTRAINED_ARRAY_TYPE.
732         (gnat_gimplify_stmt): Use alloc_stmt_list, not build_empty_stmt.
733         (gnat_gimplify_stmt, case DECL_STMT): gimplify DECL_SIZE and
734         DECL_SIZE_UNIT and simplify variable-sized case.
735         (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted.
736         Callers changes to call gimplify_type_sizes and gimplify_one_sizepos.
737         (gnat_stabilize_reference): Add arg to COMPONENT_REF.
738         (build_unit_elab): Disable for now.
739         * utils.c (mark_visited): New function.
740         (pushdecl): Walk tree to call it for global decl.
741         (update_pointer_to): Update all variants of pointer and ref types.
742         Add arg to COMPONENT_REF.
743         (convert): Likewise.
744         Move check for converting between variants lower down.
745         * utils2.c (build_simple_component_ref): Add arg to COMPONENT_REF.
746         (build_allocator): Don't force type of MODIFY_EXPR.
747         (gnat_mark_addressable, case VAR_DECL): Unconditionally call
748         put_var_into_stack.
749
750 2004-06-14  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
751
752         * ada-tree.def (LOOP_STMT, EXIT_STMT): Update documentation.
753         * ada-tree.h (EXIT_STMT_LABEL): Renamed from EXIT_STMT_LOOP.
754         * decl.c (gnat_to_gnu_entity): Also set force_global for imported
755         subprograms.
756         * trans.c (gnu_loop_label_stack): Renamed from gnu_loop_stmt_stack;
757         all callers changed.
758         (gnat_to_gnu, case N_Loop_Statement, case N_Exit_Statement): Change
759         the way that EXIT_STMT finds the loop label.
760         (gnat_gimplify_stmt, case LOOP_STMT, EXIT_STMT): Likewise.
761         (gnat_gimplify_stmt, case DECL_STMT): Handle variable-sized decls here.
762         (add_stmt): Use annotate_with_locus insted of setting directly.
763         (pos_to_construct): Set TREE_PURPOSE of each entry to index.
764         (gnat_stabilize_reference, case ARRAY_RANGE_REF): Merge with ARRAY_REF.
765         * utils.c (gnat_install_builtins): Install __builtin_memcmp.
766         (build_vms_descriptor): Add extra args to ARRAY_REF.
767         (convert): Use VIEW_CONVERT_EXPR between aggregate types.
768         * utils2.c (gnat_truthvalue_conversion, case INTEGER_CST, REAL_CST):
769         New cases.
770         (build_binary_op): Don't make explicit CONVERT_EXPR.
771         Add extra rgs to ARRAY_REF.
772
773 2004-06-14  Pascal Obry  <obry@gnat.com>
774
775         * gnat_ugn.texi: Document relocatable vs. dynamic Library_Kind on
776         Windows.  Fix minor typo.
777
778         * mlib-tgt-mingw.adb: New implementation using the GCC -shared option
779         which is now supported on Windows. With this implementation using the
780         Library Project feature is no different on Windows than on UNIX.
781
782 2004-06-14  Vincent Celier  <celier@gnat.com>
783
784         * makegpr.adb (Compile_Sources): Nothing to do when there are no
785         non-Ada sources.
786
787         * mlib-tgt-vxworks.adb (Library_Exists_For): Remove incorrect comment
788
789         * prj-part.adb (Parse_Single_Project): When a duplicate project name is
790         found, show the project name and the path of the previously parsed
791         project file.
792
793 2004-06-14  Ed Schonberg  <schonberg@gnat.com>
794
795         * exp_ch6.adb (Add_Call_By_Copy_Code): For an out-parameter that is an
796         array, avoid copying the actual before the call.
797
798 2004-06-14  Thomas Quinot  <quinot@act-europe.fr>
799
800         * g-debpoo.adb: Remove alignment assumptions from GNAT.Debug_Pools.
801         Instead, allocate memory on worst-case alignment assumptions, and then
802         return an aligned address within the allocated zone.
803
804 2004-06-14  Robert Dewar  <dewar@gnat.com>
805
806         * bindgen.adb (Gen_Adainit_Ada): Do not generate external references to
807         elab entities in predefined units in No_Run_Time_Mode.
808         (Gen_Adainit_C): Same fix
809         (Gen_Elab_Calls_Ada): Do not generate calls to elaborate predefined
810         units in No_Run_Time_Mode
811         (Gen_Elab_Calls_C): Same fix
812
813         * symbols-vms-alpha.adb: Minor reformatting
814
815         * g-debpoo.ads: Minor reformatting
816
817         * lib.adb (In_Same_Extended_Unit): Version working on node id's
818
819         * lib.ads (In_Same_Extended_Unit): Version working on node id's
820
821         * lib-xref.adb: Minor cleanup, use new version of In_Same_Extended_Unit
822         working on nodes.
823
824         * make.adb: Minor reformatting
825
826         * par-ch12.adb: Minor reformatting
827
828         * par-prag.adb: Add dummy entry for pragma Profile_Warnings
829
830         * prj-strt.adb: Minor reformatting
831
832         * restrict.ads, restrict.adb: Redo handling of profile restrictions to
833         be more general.
834
835         * sem_attr.adb: Minor reformatting
836
837         * sem_ch7.adb: Minor reformatting
838
839         * sem_elab.adb (Check_A_Call): Deal with problem of calling init proc
840         for type in the same unit as the object declaration.
841
842         * sem_prag.adb (Check_Arg_Is_External_Name): New procedure, allows
843         static string expressions and not just string literals.
844         Minor reformatting
845         (Set_Warning): Reset restriction warning flag for restriction pragma
846         Implement pragma Profile_Warnings
847         Implement pragma Profile (Restricted)
848         Give obolescent messages for old restrictions and pragmas
849
850         * snames.h, snames.ads, snames.adb: Add new entry for pragma
851         Profile_Warnings.
852
853         * s-rident.ads: Add declarations for restrictions required by profile
854         Restricted and profile Ravenscar.
855
856         * targparm.ads, targparm.adb: Allow pragma Profile in system.ads
857
858         * gnat_ugn.texi: Correct some missing entries in the list of GNAT
859         configuration pragmas.
860
861 2004-06-11  Vincent Celier  <celier@gnat.com>
862
863         * mlib-tgt-vms-alpha.adb (Build_Dynamic_Library): Issue switch -R to
864         gnatsym, when symbol policy is Restricted.
865
866         * mlib-tgt-vms-ia64.adb (Build_Dynamic_Library): Issue switch -R to
867         gnatsym, when symbol policy is Restricted.
868
869         * symbols-vms-alpha.adb (Initialize): When symbol policy is Restricted,
870         read the symbol file.
871         (Finalize): Fail in symbol policy Restricted if a symbol in the original
872         symbol file is not in the object files. Do not create a new symbol file
873         when symbol policy is Restricted.
874
875         * gnatbind.adb (Gnatbind): Initialize Snames, because Snames is used
876         in Scng.
877
878         * gnatsym.adb (Parse_Vmd_Line): Process new switch -R for symbol policy
879         Restricted.
880         (Usage): Line for new switch -R
881
882         * make.adb (Initialize): When the platform is not VMS, add the
883         directory where gnatmake is invoked in the front of the path, if
884         gnatmake is invoked with directory information.  Change the Scan_Args
885         while loop to a for loop.
886         (Recursive_Compute_Depth): Remove parameter Visited. Improve efficiency:
887         if Depth is equal or greater than the proposed depth, there is nothing
888         to do.
889         (Initialize): Call Recursive_Compute_Depth with initial Depth equal to 1
890         instead of 0.
891
892         * prj.ads: Add new symbol policy Restricted.
893
894         * prj-dect.adb (Parse_Case_Construction): Call End_Case_Construction
895         with the new parameters Check_All_Labels and Case_Location.
896
897         * prj-nmsc.adb (Ada_Check): Process new symbol policy Restricted
898         (Library_Symbol_File needs to be defined).
899
900         * prj-strt.adb (End_Case_Construction): New parameters Check_All_Labels
901         and Case_Location If Check_All_Labels is True, check that all values of
902         the string type are used, and output warning(s) if they are not.
903
904         * prj-strt.ads (End_Case_Construction): New parameters Check_All_Labels
905         and Case_Location.
906
907         * gnat_ugn.texi: Reorder subclauses in menus "Switches for gcc"
908
909         * gnat_ugn.texi: Update documentation about the library directory in
910         Library Projects.
911
912         * makegpr.adb (Display_Command): In verbose mode, also display the
913         value of the CPATH env var, when the compiler is gcc.
914         (Initialize): Change the Scan_Args while loop to a for loop
915         (Compile_Individual_Sources): Change directory to object directory
916         before compilations.
917
918         * symbols.ads: New symbol policy Restricted.
919
920 2004-06-11  Olivier Hainque  <hainque@act-europe.fr>
921
922         * a-except.adb (Raise_After_Setup family): Remove. The responsibility
923         is now taken care of internally in the Exception_Propagation package
924         and does not require clients assistance any more.
925
926         * a-exexpr.adb (Is_Setup_And_Not_Propagated,
927         Set_Setup_And_Not_Propagated, and Clear_Setup_And_Not_Propagated): New
928         functions. Helpers to maintain a predicate required in the handling of
929         occurrence transfer between tasks.
930         This is now handled internally and does not require clients assistance
931         for the setup/propagate separation anymore.
932         (Setup_Exception, Propagate_Exception): Simplify the Private_Data
933         allocation strategy, handle the Setup_And_Not_Propagated predicate and
934         document.
935
936         * s-taenca.adb (Check_Exception): Use raise_with_msg instead of
937         raise_after_setup, now that everything is handled internally within the
938         setup/propagation engine.
939
940 2004-06-11  Hristian Kirtchev  <kirtchev@gnat.com>
941
942         * exp_ch6.adb (Expand_Inlined_Call): Add function Formal_Is_Used_Once.
943         Add additional conditions for the case of an actual being a simple
944         name or literal. Improve inlining by preventing the generation
945         of temporaries with a short lifetime (one use).
946
947 2004-06-11  Hristian Kirtchev  <kirtchev@gnat.com>
948
949         PR ada/15587
950
951         * einfo.ads: Minor comment updates for Has_Completion and
952         E_Constant list of flags.
953
954         * sem_ch3.adb (Analyze_Object_Declaration): Full constant declarations
955         and constant redeclarations now set the Has_Completion flag of their
956         defining identifiers.
957
958         * sem_ch7.adb (Analyze_Package_Spec): Add procedure
959         Inspect_Deferred_Constant_Completion.
960         Used to detect private deferred constants that have not been completed
961         either by a constant redeclaration or pragma Import. Emits error message
962         "constant declaration requires initialization expression".
963
964         * sem_prag.adb (Process_Import_Or_Interface): An Import pragma now
965         completes a deferred constant.
966
967 2004-06-11  Geert Bosch  <bosch@gnat.com>
968
969         * eval_fat.adb (Decompose_Int): Fix rounding of negative numbers.
970
971         * s-fatgen.adb (Gradual_Scaling): Correct off-by-one error in
972         calculating exponent for scaling denormal numbers.
973         (Leading_Part): Properly raise Constraint_Error for zero or negative
974         Adjustment.
975         (Remainder): Properly raise Constraint_Error for zero divisor.
976
977 2004-06-11  Thomas Quinot  <quinot@act-europe.fr>
978
979         * sem_util.adb: Minor reformatting.
980
981         * exp_ch2.adb (Expand_Entry_Parameter): Generate an explicit
982         dereference when accessing the entry parameter record.
983         (Check_Array_Type): Always check for possible implicit dereference.
984         (maybe_implicit_dereference): Rename to check_no_implicit_derefence.
985         Abort if a pointer is still present (denoting that an implicit
986         dereference was left in the tree by the front-end).
987
988         * sem_attr.adb (Expand_Entry_Parameter): Generate an explicit
989         dereference when accessing the entry parameter record.
990         (Check_Array_Type): Always check for possible implicit dereference.
991         (maybe_implicit_dereference): Rename to check_no_implicit_derefence.
992         Abort if a pointer is still present (denoting that an implicit
993         dereference was left in the tree by the front-end).
994
995 2004-06-11  Emmanuel Briot  <briot@act-europe.fr>
996
997         * g-debpoo.adb (Deallocate, Dereference): Add prefix "error:" to error
998         message, like the compiler itself does. Easier to parse the output.
999
1000         * g-debpoo.ads: (Allocate, Deallocate, Dereference): Add comments.
1001
1002         * gnat_ugn.texi (gnatxref, gnatfind): Clarify that source names should
1003         be base names, and not includes directories.
1004
1005 2004-06-11  Arnaud Charlet  <charlet@act-europe.fr>
1006
1007         * Makefile.generic ($(EXEC)): Depend on $(OBJECTS), not $(OBJ_FILES),
1008         so that dependencies are properly taken into account by make.
1009
1010 2004-06-11  Arnaud Charlet  <charlet@act-europe.fr>
1011
1012         PR ada/15622
1013         * s-unstyp.ads, s-maccod.ads, sem_ch8.adb, s-auxdec.ads,
1014         exp_intr.adb, s-auxdec-vms_64.ads: Fix typo: instrinsic -> intrinsic
1015
1016 2004-06-11  Jerome Guitton  <guitton@act-europe.fr>
1017
1018         * Makefile.in (install-gnatlib): install target-specific run-time files.
1019
1020         * Make-lang.in: Remove obsolete targets.
1021
1022 2004-06-11  Ed Schonberg  <schonberg@gnat.com>
1023
1024         * par-ch12.adb (P_Generic): Add scope before analyzing subprogram
1025         specification, to catch misuses of program unit names.
1026
1027         * sem_res.adb (Resolve_Type_Conversion): Do not emit warnings on
1028         superfluous conversions in an instance.
1029
1030 2004-06-11  Ed Schonberg  <schonberg@gnat.com>
1031
1032         PR ada/15403
1033
1034         * sem_ch12.adb (Save_References): If operator node has been folded to
1035         enumeration literal, associated_node must be discarded.
1036
1037 2004-06-11  Jose Ruiz  <ruiz@act-europe.fr>
1038
1039         * s-stchop-vxworks.adb: Add required pragma Convention to
1040         Task_Descriptor because it is updated by a C function.
1041
1042 2004-06-08  Arnaud Charlet  <charlet@act-europe.fr>
1043
1044         PR ada/15568
1045
1046         * Makefile.in: Remove target specific SO_OPT on IRIX
1047
1048 2004-06-07  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1049
1050         * ada-tree.def (TRANSFORM_EXPR, ALLOCATE_EXPR, USE_EXPR): Deleted.
1051         (GNAT_NOP_EXPR, GNAT_LOOP_ID, EXPR_STMT, NULL_STMT): Likewise.
1052         (BLOCK_STMT, IF_STMT, GOTO_STMT, LABEL_STMT, RETURN_STMT): Likewise.
1053         (ASM_STMT, BREAK_STMT, REGION_STMT,HANDLER_STMT): Likewise.
1054         (STMT_STMT, USE_STMT): New statement codes.
1055         (LOOP_STMT, EXIT_STMT): Make slight semantic changes.
1056         * ada-tree.h: Reflect above changes.
1057         (struct tree_loop_id): Deleted.
1058         (union lang_tree_node, struct lang_decl, struct lang_type):
1059         Now just contains a tree node; update macros using TYPE_LANG_SPECIFIC
1060         and DECL_LANGUAGE_SPECIFIC to reflect these changes.
1061         (DECL_INIT_BY_ASSIGN_P, TRE_LOOP_NODE_ID, TREE_SLOC): Deleted.
1062         (IS_ADA_STMT): New macro.
1063         * decl.c (annotate_decl_with_node): New function.
1064         (gnat_to_gnu_entity): Use it and Sloc_to_locus instead of set_lineno.
1065         (gnat_to_gnu_entity, case object): Remove call to expand CONVERT_EXPR.
1066         Call add_stmt_with_node to do needed assignments.
1067         Add call to update setjmp buffer directly, not via EXPR_STMT.
1068         (maybe_variable): Argment GNAT_NODE deleted.
1069         * gigi.h (maybe_variable): Likewise.
1070         (make_transform, add_stmt_with_node, set_block_for_group): New.
1071         (gnat_gimplify_expr, gnat_expand_body, Sloc_to_locus): Likewise.
1072         (set_block_jmpbuf_decl, get_block_jmpbuf_decl): Likewise.
1073         (discard_file_names, gnu_block_stack, gnat_to_code): Deleted.
1074         (set_lineno, set_lineno_from_sloc): Likewise.
1075         (record_code_position, insert_code_for): Likewise.
1076         (gnat_poplevel): Now returns void.
1077         (end_subprog_body): Now takes argument.
1078         * misc.c (cgraph.h, tree-inline.h): New includes.
1079         (gnat_tree_size, LANG_HOOKS_TREE_SIZE): Deleted.
1080         (gnat_post_options, LANG_HOOKS_POST_OPTIONS): New.
1081         (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Likewise.
1082         (LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_GIMPLIFY_EXPR): Likewise.
1083         (gnat_parse_file): Don't set immediate_size_expand.
1084         Call cgraph functions.
1085         (gnat_expand_expr): Remove most cases.
1086         (record_code_position, insert_code_for): Remove from here.
1087         * trans.c (toplev.h, tree-gimple.h): Now included.
1088         (discard_file_names): Deleted.
1089         (gnu_block_stack, gnu_block_stmt_node, gnu_block_stmt_free_list): Del.
1090         (first_nondeleted_insn, make_expr_stmt_from_rtl): Likewise.
1091         (struct stmt_group, current_stmt_group, stmt_group_free_list): New.
1092         (gnu_stack_free_list, record_cost_position, insert_code_for): Likewise.
1093         (add_cleanup, push_stack, gnat_gimplify_stmt, add_cleanup): Likewise.
1094         (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Likewise.
1095         (gnat_expand_body_1, gnat_gimplify_expr, annotate_with_node): Likewise.
1096         (set_block_for_group, add_stmt_list): Likewise.
1097         (start_stmt_group): Renamed from start_block_stmt.
1098         (end_stmt_group): Likewise, from end_block_stmt.
1099         (build_stmt_group): Likewise, from build_block_stmt, also add arg.
1100         (gigi): Don't set discard_file_names or call set_lineno.
1101         Disallow front end ZCX; call gnat_to_gnu, not gnat_to_code.
1102         (tree_transform): Deleted, now renamed to be gnat_to_gnu.
1103         Numerous changes throughout to reflect new names and complete
1104         function-at-a-time implementation.
1105         (gnat_expand_stmt): Delete or comment out all cases.
1106         (process_inlined_subprograms): Use add_stmt.
1107         (process_decls): Use gnat_to_gnu, not gnat_to_code, and don't
1108         call set_lineno; also remove unneeded block handling.
1109         (process_type): Remove unneeded block handling.
1110         (build_unit_elab): Remove calls to deleted functions.
1111         * utils.c (cgraph.h, tree-inline.h, tree-gimple.h): Now include.
1112         (tree-dump.h): Likewise.
1113         (struct ada_binding_level): Add field jmpbuf_decl.
1114         (gnat_define_builtin, gnat_install_builtins): New.
1115         (gnat_gimplify_function, gnat_finalize): Likewise.
1116         (gnat_poplevel): No longer return BLOCK, set it instead.
1117         Remove code dealing with nested functions.
1118         (gnat_init_decl_processing): Also set size_type_node.
1119         Call gnat_install_builtins.
1120         (create_var_decl): Don't set DECL_INIT_BY_ASSIGN.
1121         (create_subprog_decl): Change handling of inline_flag; set TREE_STATIC.
1122         Remove special-case for "main".
1123         (end_subprog_body): Add arg and rework for tree-ssa.
1124         (convert): Don't use GNAT_NOP_EXPR or look for TRANSFORM_EXPR.
1125         Add case for BOOLEAN_TYPE.
1126         * utils2.c (rtl.h): Now include.
1127         (build_call_raise): Test Debug_Flag_NN directly.
1128         (build_call_alloc_dealloc): Don't use local stack allocation for now.
1129         (gnat_mark_addressable, case GNAT_NOP_EXPR): Deleted.
1130         (gnat_mark_addressable, case VAR_DECL): Handle both early & late cases.
1131
1132 2004-06-07  Robert Dewar  <dewar@gnat.com>
1133
1134         * a-direct.ads, einfo.ads: Minor comment updates
1135
1136         * s-taprop-lynxos.adb, s-taprop-tru64.adb, s-taprop-irix.adb,
1137         s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb,
1138         s-taprop-dummy.adb, s-taprop-os2.adb, s-taprop-solaris.adb,
1139         s-taprop-vms.adb, s-taprop-mingw.adb, s-taprop-vxworks.adb,
1140         s-taprop-posix.adb, s-taprop.ads, exp_dbug.adb: Minor reformatting.
1141
1142         * s-interr-sigaction.adb: Remove unreferenced variable
1143         (Attached_Interrupts).  Minor reformatting.
1144         Avoid use of variable I (replace by J).
1145
1146         * par-ch10.adb: Fix text of one error message
1147
1148         * checks.adb, checks.ads, cstand.adb, vms_data.ads, errout.ads,
1149         exp_aggr.adb, exp_ch3.adb, exp_ch3.ads, exp_ch5.adb, exp_ch6.adb,
1150         exp_ch9.adb, exp_code.adb, gnat1drv.adb, lib-load.adb, lib-writ.adb,
1151         opt.adb, par.adb, opt.ads, par-ch11.adb, par-ch3.adb, par-ch4.adb,
1152         par-ch5.adb, par-ch6.adb, par-ch8.adb, par-ch9.adb, par-prag.adb,
1153         par-util.adb, scng.adb, sem_aggr.adb, sem_attr.adb, sem_cat.adb,
1154         sem_ch10.adb, sem_ch10.adb, sem_ch11.adb, sem_ch12.adb, sem_ch2.adb,
1155         sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb,
1156         sem_ch7.adb, sem_ch8.adb, sem_ch9.adb, sem_eval.adb, sem_prag.adb,
1157         sem_res.adb, sem_type.adb, sem_util.adb, sinfo.ads, snames.adb,
1158         snames.ads, snames.h, sprint.adb, switch-c.adb: Modifications for Ada
1159         2005 support.
1160
1161 2004-06-07  Doug Rupp  <rupp@gnat.com>
1162
1163         * mlib-tgt-vms.adb: Rename mlib-tgt-vms.adb mlib-tgt-vms-alpha.adb
1164
1165         * s-vaflop-vms.adb: Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb
1166
1167         * mlib-tgt-vms-ia64.adb: New file.
1168
1169         * Makefile.in: Rename mlib-tgt-vms.adb to mlib-tgt-vms-alpha.adb
1170         Add mlib-tgt-vms-ia64.adb
1171         Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb.
1172         Move to alpha specific ifeq section.
1173         Add VMS specific versions of symbols.adb
1174         Renaming of 5q vms files.
1175
1176         * 5qsystem.ads renamed to system-vms_64.ads.
1177
1178 2004-06-07  Vincent Celier  <celier@gnat.com>
1179
1180         * a-calend.ads: Add a GNAT Note comment after function Time_Of to
1181         explain that when a time of day corresponding to the non existing hour
1182         on the day switching to DST is specified, Split may return a different
1183         value for Seconds.
1184
1185         * gnatcmd.adb: Add processing of GNAT METRIC (for gnatmetric), similar
1186         to GNAT PRETTY.
1187
1188         * g-os_lib.adb (OpenVMS): New Boolean value imported from System.
1189         (Normalize_Pathname): Only resolve VMS logical names when on VMS.
1190
1191         * mlib-prj.adb (Build_Library): New flag Gtrasymobj_Needed, initialize
1192         to False.
1193         If Gtrasymobj_Needed is True, add the full path of g-trasym.obj to
1194         the linking options.
1195         (Build_Library.Check_Libs): On VMS, if there is a dependency on
1196         g-trasym.ads, set Gtrasymobj_Needed to True.
1197
1198         * prj-attr.adb: Add new package Metrics for gnatmetric
1199
1200         * prj-nmsc.adb (Record_Other_Sources): Put source file names in
1201         canonical case to take into account files with upper case characters on
1202         Windows.
1203         (Ada_Check): Load the reference symbol file name in the name buffer to
1204         check it, not the symbol file name.
1205
1206         * snames.ads, snames.adb: Add standard name Metrics (name of project
1207         file package for gnatmetric).
1208
1209         * vms_conv.ads: Add Metric to Comment_Type
1210
1211         * vms_conv.adb (Initialize): Add component dor Metric in Command_List
1212
1213         * vms_data.ads: Add qualifiers for GNAT METRIC
1214
1215         * makegpr.adb (Link_Executables): Take into account the switches
1216         specified in package Linker of the main project.
1217
1218 2004-06-07  Thomas Quinot  <quinot@act-europe.fr>
1219
1220         * bindgen.adb (Set_Unit_Number): Units is an instance of Table, and so
1221         the index of the last element is Units.Last, not Units.Table'Last
1222         (which is usually not a valid index within the actually allocated
1223         storage for the table).
1224
1225         * exp_ch4.adb (Insert_Dereference_Action): Change predicate that
1226         determines whether to generate a call to a checked storage pool
1227         Dereference action.
1228         Generate such a call only for a dereference that either comes from
1229         source, or is the result of rewriting a dereference that comes from
1230         source.
1231
1232 2004-06-07  Romain Berrendonner  <berrendo@act-europe.fr>
1233
1234         * bindgen.adb (Gen_Output_File): Add support for GAP builds.
1235
1236 2004-06-07  Eric Botcazou  <ebotcazou@act-europe.fr>
1237
1238         (gnat_to_gnu_entity) <E_Array_Subtype>: For multi-dimensional arrays at
1239         file level, elaborate the stride for inner dimensions in alignment
1240         units, not bytes.
1241
1242         * exp_ch5.adb: Correct wrong reference to Component_May_Be_Bit_Aligned
1243         in a comment.
1244
1245 2004-06-07  Javier Miranda  <miranda@gnat.com>
1246
1247         * exp_ch6.adb: Correct wrong modification in previous patch
1248
1249 2004-06-07  Vasiliy Fofanov  <fofanov@act-europe.fr>
1250
1251         * g-trasym.ads: Corrected comment to properly reflect level of support
1252         on VMS.
1253
1254 2004-06-07  Hristian Kirtchev  <kirtchev@gnat.com>
1255
1256         * lib-xref.adb (Generate_Reference): Add nested function Is_On_LHS. It
1257         includes case of a variable referenced on the left hand side of an
1258         assignment, therefore remove redundant code. Variables and prefixes of
1259         indexed or selected components are now marked as referenced on left
1260         hand side. Warnings are now properly emitted when variables or prefixes
1261         are assigned but not read.
1262
1263         * sem_warn.adb (Output_Unreferenced_Messages): Add additional checks to
1264         left hand side referenced variables. Private access types do not
1265         produce the warning "variable ... is assigned but never read".
1266         Add also additional checks to left hand side referenced variables.
1267         Aliased, renamed objects and access types do not produce the warning
1268         "variable ... is assigned but never read" since other entities may read
1269         the memory location.
1270
1271 2004-06-07  Jerome Guitton  <guitton@act-europe.fr>
1272
1273         * Makefile.in: In the powerpc/vxworks-specific section, restore
1274         EXTRA_GNATRTL_NONTASKING_OBJS and EXTRA_GNATRTL_TASKING_OBJS (removed
1275         by mistake).
1276
1277 2004-06-07  Ed Schonberg  <schonberg@gnat.com>
1278
1279         * sem_ch4.adb (Remove_Abstract_Operations): Refine the removal of
1280         predefined operators.
1281         Removes spurious type errors from g-trasym-vms.adb.
1282
1283         * sem_res.adb (Rewrite_Renamed_Operator): If intrinsic operator is
1284         distinct from the operator appearing in the source, call appropriate
1285         routine to insert conversions when needed, and complete resolution of
1286         node.
1287         (Resolve_Intrinsic_Operator): Fix cut-and-paste bug on transfer of
1288         interpretations for rewritten right operand.
1289         (Set_Mixed_Mode_Operand): Handle properly a universal real operand when
1290         the other operand is overloaded and the context is a type conversion.
1291
1292 2004-06-07  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1293
1294         * ada-tree.def (BLOCK_STMT): Now has two operands.
1295         (BREAK_STMT): New.
1296
1297         * ada-tree.h: (BLOCK_STMT_BLOCK): New macro.
1298
1299         * gigi.h: (gnat_poplevel): Now returns a tree.
1300
1301         * trans.c (end_block_stmt): Add arg; all callers changed.
1302         (tree_transform, case N_Case_Statement): Make a BLOCK_STMT for a WHEN.
1303         (start_block_stmt): Clear BLOCK_STMT_BLOCK.
1304         (add_stmt): Set TREE_TYPE.
1305         (gnat_expand_stmt, case BLOCK_STMT): Handle BLOCK_STMT_BLOCK.
1306         (gnat_expand_stmt, case BREAK_STMT): New case.
1307
1308         * utils.c (gnat_poplevel): Return a BLOCK, if we made one.
1309
1310 2004-06-07  Jose Ruiz  <ruiz@act-europe.fr>
1311
1312         * s-stchop.adsm s-stchop.adb, s-stchop-vxworks.adb: Remove the
1313         procedure Set_Stack_Size that is not needed.
1314
1315 2004-06-07  Sergey Rybin  <rybin@act-europe.fr>
1316
1317         * gnat_ugn.texi: Clarify the case when non-standard naming scheme is
1318         used for gnatpp input file and for the files upon which it depends
1319
1320 2004-06-07  Ben Brosgol  <brosgol@gnat.com>
1321
1322         * gnat_ugn.texi: Wordsmithing of "GNAT and Libraries" chapter
1323
1324 2004-06-07  Arnaud Charlet  <charlet@act-europe.fr>
1325
1326         * gnatvsn.ads: Bump version numbers appropriately.
1327         Add new build type.
1328
1329 2004-06-07  Pascal Obry  <obry@gnat.com>
1330
1331         * gnat_ugn.texi: Improve comments about imported names and link names
1332         on Windows. Add a note about the requirement to use -k gnatdll's option
1333         when working with a DLL which has stripped stdcall symbols (no @nn
1334         suffix).
1335
1336 2004-05-27  Vincent Celier  <celier@gnat.com>
1337
1338         * vms_data.ads: Add new GNAT PRETTY qualifiers /NO_BACKUP and
1339         COMMENTS_LAYOUT=UNTOUCHED
1340
1341         * symbols-vms.adb, symbols-vms-alpha.adb: Renamed symbols-vms.adb to
1342         symbols-vms-alpha.adb
1343
1344 2004-05-27  Thomas Quinot  <quinot@act-europe.fr>
1345
1346         * sem.ads: Clarify documentation on checks suppression.
1347
1348         * einfo.ads (Is_Known_Non_Null): Minor comment typo fix and rephrasing.
1349
1350 2004-05-27  Ed Schonberg  <schonberg@gnat.com>
1351
1352         * sem_util.adb (Is_Descendent_Of): Examine properly all ancestors in
1353         the case of multiple derivations.
1354         (Is_Object_Reference): For a selected component, verify that the prefix
1355         is itself an object and not a value.
1356
1357         * sem_ch12.adb (Same_Instantiated_Constant): New name for
1358         Same_Instantiated_Entity.
1359         (Same_Instantiated_Variable): Subsidiary to
1360         Check_Formal_Package_Instance, to recognize actuals for in-out generic
1361         formals that are obtained from a previous formal package.
1362         (Instantiate_Subprogram_Body): Emit proper error when
1363         generating code and the proper body of a stub is missing.
1364
1365         * sem_ch4.adb (Remove_Address_Interpretations): If the operation still
1366         has a universal interpretation, do the disambiguation here.
1367
1368         * exp_ch4.adb (Expand_N_Type_Conversion,
1369         Expand_N_Unchecked_Type_Conversion): Special handling when target type
1370         is Address, to avoid typing anomalies when Address is a visible integer
1371         type.
1372
1373         * exp_ch6.adb (Expand_N_Subprogram_Body): Use Is_Descendent_Of_Address
1374         to determine whether a subprogram should not be marked Pure, even when
1375         declared in a pure package.
1376
1377 2004-05-27  Jose Ruiz  <ruiz@act-europe.fr>
1378
1379         * gnat_ugn.texi: Replace pragma Ravenscar by pragma Profile.
1380
1381         * gnat_rm.texi: Replace Max_Entry_Queue_Depth by Max_Entry_Queue_Length
1382         Document No_Dynamic_Attachment, that supersedes No_Dynamic_Interrupts.
1383         Update the documentation about the Ravenscar profile, following the
1384         definition found in AI-249.
1385
1386         * sem_prag.adb: Use FIFO_Within_Priorities and Ceiling_Locking when
1387         setting the Profile (Ravenscar). This must be done in addition to
1388         setting the required restrictions.
1389
1390         * rtsfind.ads: Add the set of operations defined in package
1391         Ada.Interrupts.
1392
1393         * exp_ch6.adb: Check whether we are violating the No_Dynamic_Attachment
1394         restriction.
1395
1396 2004-05-27  Eric Botcazou  <ebotcazou@act-europe.fr>
1397
1398         lang-specs.h: Always require -c or -S and always redirect to /dev/null
1399         if -gnatc or -gnats is passed.
1400
1401 2004-05-27  Hristian Kirtchev  <kirtchev@gnat.com>
1402
1403         * sem_prag.adb (Sig_Flags): A Pragma_Unchecked_Union does not count as
1404         a significant reference. Warnings are now properly emitted when a
1405         discriminated type is not referenced.
1406
1407         * lib-xref.adb (Generate_Reference): A deferred constant completion,
1408         record representation clause or record type discriminant does not
1409         produce a reference to its corresponding entity. Warnings are now
1410         properly emitted when deferred constants and record types are not
1411         referenced.
1412
1413 2004-05-27  Geert Bosch  <bosch@gnat.com>
1414
1415         * Makefile.in: Use long version of libm routines on ia64 gnu/linux.
1416         Fixes ACATS Annex G tests.
1417
1418 2004-05-27  Robert Dewar  <dewar@gnat.com>
1419
1420         * rtsfind.adb (RTU_Loaded): Temporary kludge to get past bug of not
1421         handling WITH
1422
1423 2004-05-27  Arnaud Charlet  <charlet@act-europe.fr>
1424
1425         * s-interr.adb (Server_Task): Take into account case of early return
1426         from sigwait under e.g. linux.
1427
1428 2004-05-27  Sergey Rybin  <rybin@act-europe.fr>
1429
1430         * gnat_ugn.texi: Add description for the new gnatpp options:
1431          -rnb - replace the original source without creating its backup copy
1432          -c0 - do not format comments
1433
1434 2004-05-24  Geert Bosch  <bosch@gnat.com>
1435
1436         * a-numaux-x86.adb (Reduce): Reimplement using an approximation of Pi
1437         with 192 bits of precision, sufficient to reduce a double-extended
1438         arguments X with a maximum relative error of T'Machine_Epsilon, for X
1439         in -2.0**32 .. 2.0**32.
1440         (Cos, Sin):  Always reduce arguments of 1/4 Pi or larger, to prevent
1441         reduction by the processor, which only uses a 68-bit approximation of
1442         Pi.
1443         (Tan): Always reduce arguments and compute function either using
1444         the processor's fptan instruction, or by dividing sin and cos as needed.
1445
1446 2004-05-24  Doug Rupp  <rupp@gnat.com>
1447
1448         * adaint.c (__gnat_readdir): Cast CRTL function retun value to avoid
1449         gcc error on 32/64 bit VMS.
1450
1451 2004-05-24  Olivier Hainque  <hainque@act-europe.fr>
1452
1453         * init.c (__gnat_error_handler): Handle EEXIST as EACCES for SIGSEGVs,
1454         since this is what we get for stack overflows although not documented
1455         as such.
1456         Document the issues which may require adjustments to our signal
1457         handlers.
1458
1459 2004-05-24  Ed Schonberg  <schonberg@gnat.com>
1460
1461         * inline.adb (Add_Scope_To_Clean): Do not add cleanup actions to the
1462         enclosing dynamic scope if the instantiation is within a generic unit.
1463
1464 2004-05-24  Arnaud Charlet  <charlet@act-europe.fr>
1465
1466         * exp_dbug.ads: Fix typo.
1467
1468         * Makefile.in: s-osinte-linux-ia64.ads was misnamed.
1469         Rename it to its proper name: system-linux-ia64.ads
1470         (stamp-gnatlib1): Remove extra target specific run time files when
1471         setting up the rts directory.
1472
1473 2004-05-24  Javier Miranda  <miranda@gnat.com>
1474
1475         * einfo.ads, einfo.adb (Limited_Views): Removed.
1476         (Limited_View): New attribute that replaces the previous one. It is
1477         now a bona fide package with the limited-view list through the
1478         first_entity and first_private attributes.
1479
1480         * sem_ch10.adb (Install_Private_With_Clauses): Give support to
1481         limited-private-with clause.
1482         (Install_Limited_Withed_Unit): Install the private declarations of a
1483         limited-private-withed package. Update the installation of the shadow
1484         entities according to the new structure (see Build_Limited_Views)
1485         (Build_Limited_Views): Replace the previous implementation of the
1486         limited view by a package entity that references the first shadow
1487         entity plus the first shadow private entity (required for limited-
1488         private-with clause)
1489         (New_Internal_Shadow_Entity): Code cleanup.
1490         (Remove_Limited_With_Clause): Update the implementation to undo the
1491         new work carried out by Build_Limited_Views.
1492         (Build_Chain): Complete documentation.
1493         Replace Ada0Y by Ada 0Y in comments
1494         Minor reformating
1495
1496         * sem_ch3.adb (Array_Type_Declaration): In case of anonymous access
1497         types the level of accessibility depends on the enclosing type
1498         declaration.
1499
1500         * sem_ch8.adb (Find_Expanded_Name): Fix condition to detect shadow
1501         entities. Complete documentation of previous change.
1502
1503 2004-05-24  Robert Dewar  <dewar@gnat.com>
1504
1505         * namet.adb: Minor reformatting
1506         Avoid use of name I (replace by J)
1507         Minor code restructuring
1508
1509         * sem_ch6.adb: Minor reformatting
1510
1511         * lib-writ.adb: Do not set restriction as active if this is a
1512         Restriction_Warning case.
1513
1514         * sem_prag.adb: Reset restriction warning flag if real pragma
1515         restriction encountered.
1516
1517         * s-htable.adb: Minor reformatting
1518         Change rotate count to 3 in Hash (improves hash for small strings)
1519
1520         * 5qsystem.ads: Add comments for type Address (no literals allowed).
1521
1522         * gnat_ugn.texi: Add new section of documentation "Code Generation
1523         Control", which describes the use of -m switches.
1524
1525 2004-05-24  Eric Botcazou  <ebotcazou@act-europe.fr>
1526
1527         trans.c (tree_transform) <N_Identifier>: Do the dereference directly
1528         through the DECL_INITIAL for renamed variables.
1529
1530 2004-05-24  Arnaud Charlet  <charlet@act-europe.fr>
1531
1532         * s-osinte-linux-ia64.ads: Renamed system-linux-ia64.ads
1533
1534 2004-05-19  Joel Brobecker  <brobecker@gnat.com>
1535
1536         * exp_dbug.ads: Correct comments concerning handling of overloading,
1537         since we no longer use $ anymore.
1538
1539 2004-05-19  Sergey Rybin  <rybin@act-europe.fr>
1540
1541         * sem_ch10.adb (Optional_Subunit): When loading a subunit, do not
1542         ignore errors if ASIS_Mode is set. This prevents creating ASIS trees
1543         with illegal subunits.
1544
1545 2004-05-19  Ed Schonberg  <schonberg@gnat.com>
1546
1547         * sem_ch6.adb (Check_Following_Pragma): When compiling a subprogram
1548         body with front-end inlining enabled, check whether an inline pragma
1549         appears immediately after the body and applies to it.
1550
1551         * sem_prag.adb (Cannot_Inline): Emit warning if front-end inlining is
1552         enabled and the pragma appears after the body of the subprogram.
1553
1554 2004-05-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1555
1556         Part of function-at-a-time conversion
1557
1558         * misc.c (adjust_decl_rtl): Deleted.
1559         (LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK):
1560         Define.
1561
1562         * gigi.h: (adjust_decl_rtl, kept_level_p, set_block): Deleted.
1563         (add_decl_stmt, add_stmt, block_has_vars): New functions.
1564         (gnat_pushlevel, gnat_poplevel): Renamed from pushlevel and poplevel.
1565
1566         * decl.c (elaborate_expression, maybe_pad_type): Call add_decl_stmt
1567         when making a decl.
1568         (gnat_to_gnu_entity): Likewise.
1569         Use add_stmt to update setjmp buffer.
1570         Set TREE_ADDRESSABLE instead of calling put_var_into_stack and
1571         flush_addressof.
1572         No longer call adjust_decl_rtl.
1573         (DECL_INIT_BY_ASSIGN_P): New macro.
1574         (DECL_STMT_VAR): Likewise.
1575
1576         * trans.c (gigi): Call start_block_stmt to make the outermost
1577         BLOCK_STMT.
1578         (gnat_to_code, gnu_to_gnu, tree_transform, process_decls, process_type):
1579         Call start_block_stmt and end_block_stmt temporarily.
1580         Use gnat_expand_stmt instead of expand_expr_stmt.
1581         (add_decl_stmt): New function.
1582         (tree_transform): Call it.
1583         (add_stmt): Also emit initializing assignment for DECL_STMT if needed.
1584         (end_block_stmt): Set type and NULL_STMT.
1585         (gnat_expand_stmt): Make recursize call instead of calling
1586         expand_expr_stmt.
1587         (gnat_expand_stmt, case DECL_STMT): New case.
1588         (set_lineno_from_sloc): Do nothing if global.
1589         (gnu_block_stmt_node, gnu_block_stmt_free_list): New variables.
1590         (start_block_stmt, add_stmt, end_block_stmt): New functions.
1591         (build_block_stmt): Call them.
1592         (gnat_to_code): Don't expand NULL_STMT.
1593         (build_unit_elab): Rename pushlevel and poplevel to gnat_* and change
1594         args.
1595         (tree_transform): Likewise.
1596         (tree_transform, case N_Null_Statement): Return NULL_STMT.
1597         (gnat_expand_stmt, case NULL_STMT): New case.
1598         (gnat_expand_stmt, case IF_STMT): Allow nested IF_STMT to have no
1599         IF_STMT_TRUE.
1600
1601         * utils2.c (gnat_mark_addressable, case VAR_DECL): Do not set
1602         TREE_ADDRESSABLE.
1603
1604         * utils.c (create_var_decl): Do not call expand_decl or
1605         expand_decl_init.
1606         Set TREE_ADDRESSABLE instead of calling gnat_mark_addressable.
1607         Set DECL_INIT_BY_ASSIGN_P when needed and do not generate MODIFY_EXPR
1608         here.
1609         (struct e_stack): Add chain_next to GTY.
1610         (struct binding_level): Deleted.
1611         (struct ada_binding_level): New struct.
1612         (free_block_chain): New.
1613         (global_binding_level, clear_binding_level): Deleted.
1614         (global_bindings_p): Rework to see if no chain.
1615         (kept_level_p, set_block): Deleted.
1616         (gnat_pushlevel): Renamed from pushlevel and extensive reworked to use
1617         new data structure and work directly on BLOCK node.
1618         (gnat_poplevel): Similarly.
1619         (get_decls): Look at BLOCK_VARS.
1620         (insert_block): Work directly on BLOCK node.
1621         (block_has_var): New function.
1622         (pushdecl): Rework for new binding structures.
1623         (gnat_init_decl_processing): Rename and rework calls to pushlevel and
1624         poplevel.
1625         (build_subprog_body): Likewise.
1626         (end_subprog_body): Likewise; also set up BLOCK in DECL_INITIAL.
1627
1628         * ada-tree.def (DECL_STMT, NULL_STMT): New codes.
1629
1630         * ada-tree.h: (DECL_INIT_BY_ASSIGN_P): New macro.
1631         (DECL_STMT_VAR): Likewise.
1632
1633 2004-05-17  Robert Dewar  <dewar@gnat.com>
1634
1635         * restrict.ads, restrict.adb (Process_Restriction_Synonym): New
1636         procedure
1637
1638         * sem_prag.adb (Analyze_Pragma, case Restrictions): Cleanup handling
1639         of restriction synonyums by using
1640         Restrict.Process_Restriction_Synonyms.
1641
1642         * snames.ads, snames.adb: Add entries for Process_Restriction_Synonym
1643
1644         * s-restri.ads (Tasking_Allowed): Correct missing comment
1645
1646         * s-rident.ads: Add entries for restriction synonyms
1647
1648         * ali.adb: Fix some problems with badly formatted ALI files that can
1649         result in infinite loops.
1650
1651         * s-taprop-lynxos.adb, s-tpopsp-lynxos.adb, s-taprop-tru64.adb,
1652         s-tpopsp-posix-foreign.adb, s-taprop-irix.adb, s-interr-sigaction.adb,
1653         s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb,
1654         s-taprop-dummy.adb, s-interr-dummy.adb, s-taprop-os2.adb,
1655         s-taprop-solaris.adb, s-tpopsp-solaris.adb, s-asthan-vms.adb,
1656         s-inmaop-vms.adb, s-interr-vms.adb, s-taprop-vms.adb,
1657         s-tpopde-vms.adb, s-taprop-mingw.adb, s-interr-vxworks.adb,
1658         s-taprop-vxworks.adb, s-tpopsp-vxworks.adb, s-taprop-posix.adb,
1659         s-tpopsp-posix.adb, s-tratas-default.adb, a-dynpri.adb,
1660         a-tasatt.adb, a-taside.adb, a-taside.ads, exp_attr.adb,
1661         exp_ch9.adb, g-thread.adb, rtsfind.ads, sem_attr.adb,
1662         s-interr.adb, s-interr.ads, s-soflin.ads, s-taasde.adb,
1663         s-taasde.ads, s-taenca.adb, s-taenca.ads, s-taprop.ads,
1664         s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
1665         s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
1666         s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
1667         s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
1668         s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
1669         s-tpoben.adb, s-tpobop.adb, s-tpobop.ads, s-tporft.adb,
1670         s-tposen.adb, s-tposen.ads, s-tratas.adb, s-tratas.ads: Change Task_ID
1671         to Task_Id (minor cleanup).
1672
1673 2004-05-17  Vincent Celier  <celier@gnat.com>
1674
1675         * g-os_lib.adb (Normalize_Pathname.Final_Value): Remove trailing
1676         directory separator.
1677
1678         * prj-proc.adb (Recursive_Process): Inherit attribute Languages from
1679         project being extended, if Languages is not declared in extending
1680         project.
1681
1682 2004-05-17  Javier Miranda  <miranda@gnat.com>
1683
1684         * sem_ch10.adb (Install_Limited_Withed_Unit): Do not install the
1685         limited view of a visible sibling.
1686
1687 2004-05-14  Robert Dewar  <dewar@gnat.com>
1688
1689         * gnat_ugn.texi: Minor change to -gnatS documentation
1690
1691         * sprint.adb: Remove some instances of Assert (False) and for this
1692         purpose replace them by output of a ??? string.
1693
1694         * checks.adb, exp_aggr.adb, sem_elim.adb: Remove useless pragma
1695         Assert (False).
1696
1697         * lib-writ.adb, lib-load.adb, lib.ads, lib.adb: Remove Dependent_Unit
1698         flag processing. This was suppressing required dependencies in
1699         No_Run_Time mode and is not needed since the binder does not generate
1700         references for things in libgnat anyway.
1701
1702         * sem_ch3.adb (Access_Type_Declaration): Reorganize code to avoid GCC
1703         warning.
1704
1705 2004-05-14  Thomas Quinot  <quinot@act-europe.fr>
1706
1707         * gnat_ugn.texi: Document AIX-specific issue with initialization of
1708         resolver library.
1709
1710         * exp_ch4.adb (Insert_Dereference_Action): Do not generate dereference
1711         action for the case of an actual parameter in an init proc call.
1712
1713 2004-05-14  Ed Schonberg  <schonberg@gnat.com>
1714
1715         * sem_ch4.adb (Analyze_Selected_Component): If prefix is a protected
1716         subtype, check visible entities in base type.
1717
1718         * exp_ch7.adb (Clean_Simple_Protected_Objects): Do not generate cleanup
1719         actions if the object is a renaming.
1720
1721         * sem_ch12.adb (Same_Instantiated_Entity): Predicate for
1722         Check_Formal_Package_Instance, to determine more precisely when the
1723         formal and the actual denote the same entity.
1724
1725 2004-05-14  Javier Miranda  <miranda@gnat.com>
1726
1727         * par-ch10.adb (P_Context_Clause): Complete documentation on AI-262
1728
1729         * sem_ch10.adb (Analyze_With_Clause): After analyzed, the entity
1730         corresponding to a private_with must be removed from visibility; it
1731         will be made visible later, just before we analyze the private part of
1732         the package.
1733         (Check_Private_Child_Unit): Allow private_with clauses in public
1734         siblings.
1735         (Install_Siblings): Make visible the private entities of private-withed
1736         siblings.
1737         (Install_Withed_Unit): Do not install the private withed unit if we
1738         are compiling a package declaration and the Private_With_OK flag was
1739         not set by the caller. These declarations will be installed later,
1740         just before we analyze the private part of the package.
1741
1742         * sem_ch3.adb (Analyze_Object_Declaration): In case of errors detected
1743         during the evaluation of the expression that initializes the object,
1744         decorate it with the expected type to avoid cascade errors.
1745         Code cleanup.
1746
1747         * sem_ch6.adb (Analyze_Subprogram_Body): If we are compiling a library
1748         subprogram we have to install the private_with clauses after its
1749         specification has been analyzed (as documented in AI-262.TXT).
1750
1751         * sem_ch8.adb (Has_Private_With): New function. Determines if the
1752         current compilation unit has a private with on a given entity.
1753         (Find_Direct_Name): Detect the Beaujolais problem described in
1754         AI-262.TXT
1755
1756         * sem_utils.ads, sem_util.adb (Is_Ancestor_Package): New function. It
1757         provides the functionality of the function Is_Ancestor that was
1758         previously available in sem_ch10. It has been renamed to avoid
1759         overloading.
1760
1761         * sprint.adb (Sprint_Node_Actual): Print limited_with clauses
1762
1763 2004-05-14  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1764
1765         * utils.c (build_vms_descriptor): Use SImode pointers.
1766
1767 2004-05-14  Vasiliy Fofanov  <fofanov@act-europe.fr>
1768
1769         * gnat_ugn.texi: Revised chapter "GNAT and Libraries".
1770
1771 2004-05-14  GNAT Script  <nobody@gnat.com>
1772
1773         * Make-lang.in: Makefile automatically updated
1774
1775 2004-05-14  Arnaud Charlet  <charlet@act-europe.fr>
1776
1777         Renaming of target specific files for clarity
1778
1779         * Makefile.in: Rename GNAT target specific files.
1780
1781         * 31soccon.ads, 31soliop.ads 35soccon.ads, 3asoccon.ads,
1782         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3psoccon.ads,
1783         3ssoccon.ads, 3ssoliop.ads, 3veacodu.adb, 3vexpect.adb,
1784         3vsoccon.ads, 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb,
1785         3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, 3wsoliop.ads,
1786         3zsoccon.ads, 3zsocthi.adb, 3zsocthi.ads, 41intnam.ads,
1787         42intnam.ads, 45intnam.ads, 4aintnam.ads, 4cintnam.ads,
1788         4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, 4lintnam.ads,
1789         4nintnam.ads, 4ointnam.ads, 4onumaux.ads, 4pintnam.ads,
1790         4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, 4vcalend.ads,
1791         4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, 4wintnam.ads,
1792         4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, 4zsytaco.ads,
1793         51osinte.adb, 51osinte.ads, 51system.ads,
1794         52osinte.adb, 52osinte.ads, 53osinte.ads, 54osinte.ads,
1795         55osinte.adb, 55osinte.ads, 55system.ads, 56osinte.adb,
1796         56osinte.ads, 56system.ads, 56taprop.adb, 56taspri.ads,
1797         56tpopsp.adb, 57system.ads, 58system.ads,
1798         5amastop.adb, 5aml-tgt.adb, 5aosinte.adb, 5aosinte.ads,
1799         5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
1800         5atpopsp.adb, 5avxwork.ads, 5bml-tgt.adb, 5bosinte.adb,
1801         5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5csystem.ads,
1802         5dsystem.ads, 5esystem.ads, 5fintman.adb, 5fosinte.adb,
1803         5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
1804         5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gml-tgt.adb,
1805         5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
1806         5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
1807         5hml-tgt.adb, 5hosinte.adb, 5hosinte.ads, 5hparame.ads,
1808         5hsystem.ads, 5htaprop.adb, 5htaspri.ads, 5htraceb.adb,
1809         5iosinte.adb, 5iosinte.ads, 5itaprop.adb, 5itaspri.ads,
1810         5ksystem.ads, 5kvxwork.ads, 5lml-tgt.adb, 5losinte.ads,
1811         5lparame.adb, 5lsystem.ads, 5msystem.ads, 5mvxwork.ads,
1812         5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5nsystem.ads,
1813         5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
1814         5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
1815         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
1816         5posprim.adb, 5psystem.ads, 5pvxwork.ads, 5sintman.adb,
1817         5sml-tgt.adb, 5sosinte.adb, 5sosinte.ads, 5sosprim.adb,
1818         5sparame.adb, 5ssystem.ads, 5staprop.adb, 5stasinf.adb,
1819         5stasinf.ads, 5staspri.ads, 5stpopsp.adb, 5svxwork.ads,
1820         5tosinte.ads, 5usystem.ads, 5vasthan.adb, 5vdirval.adb,
1821         5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
1822         5vmastop.adb, 5vml-tgt.adb, 5vosinte.adb, 5vosinte.ads,
1823         5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsymbol.adb,
1824         5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
1825         5vtpopde.ads, 5vtraent.adb, 5vtraent.ads, 5vvaflop.adb,
1826         5wdirval.adb, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
1827         5wml-tgt.adb, 5wosinte.ads, 5wosprim.adb, 5wsystem.ads,
1828         5wtaprop.adb, 5wtaspri.ads, 5xparame.ads, 5xsystem.ads,
1829         5xvxwork.ads, 5yparame.ads, 5ysystem.ads, 5zinterr.adb,
1830         5zintman.adb, 5zintman.ads, 5zml-tgt.adb, 5zosinte.adb,
1831         5zosinte.ads, 5zosprim.adb, 5zparame.ads, 5zstchop.adb,
1832         5zsystem.ads, 5ztaprop.adb, 5ztaspri.ads, 5ztfsetr.adb,
1833         5ztpopsp.adb, 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads,
1834         7sinmaop.adb, 7sintman.adb, 7sosinte.adb, 7sosprim.adb,
1835         7staprop.adb, 7staspri.ads, 7stfsetr.adb, 7stpopsp.adb,
1836         7straceb.adb, 7straces.adb, 7strafor.adb, 7strafor.ads,
1837         7stratas.adb, 86numaux.adb, 86numaux.ads: Replaced by files below.
1838
1839         * a-caldel-vms.adb, a-calend-mingw.adb, a-calend-vms.adb,
1840         a-calend-vms.ads, a-dirval-mingw.adb, a-dirval-vms.adb,
1841         a-excpol-abort.adb, a-excpol-interix.adb, a-intnam-aix.ads,
1842         a-intnam-dummy.ads, a-intnam-freebsd.ads, a-intnam-hpux.ads,
1843         a-intnam-interix.ads, a-intnam-irix.ads, a-intnam-linux.ads,
1844         a-intnam-lynxos.ads, a-intnam-mingw.ads, a-intnam-os2.ads,
1845         a-intnam-solaris.ads, a-intnam-tru64.ads, a-intnam-unixware.ads,
1846         a-intnam-vms.ads, a-intnam-vxworks.ads, a-numaux-libc-x86.ads,
1847         a-numaux-vxworks.ads, a-numaux-x86.adb, a-numaux-x86.ads,
1848         a-sytaco-vxworks.adb, a-sytaco-vxworks.ads, g-eacodu-vms.adb,
1849         g-expect-vms.adb, g-soccon-aix.ads, g-soccon-freebsd.ads,
1850         g-soccon-hpux.ads, g-soccon-interix.ads, g-soccon-irix.ads,
1851         g-soccon-mingw.ads, g-soccon-solaris.ads, g-soccon-tru64.ads,
1852         g-soccon-unixware.ads, g-soccon-vms.adb, g-soccon-vxworks.ads,
1853         g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi-vms.adb,
1854         g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads,
1855         g-soliop-mingw.ads, g-soliop-solaris.ads, g-soliop-unixware.ads,
1856         g-trasym-vms.adb, i-cpp-vms.adb, i-cstrea-vms.adb,
1857         interfac-vms.ads, mlib-tgt-aix.adb, mlib-tgt-hpux.adb,
1858         mlib-tgt-irix.adb, mlib-tgt-linux.adb, mlib-tgt-mingw.adb,
1859         mlib-tgt-solaris.adb, mlib-tgt-tru64.adb, mlib-tgt-vms.adb,
1860         mlib-tgt-vxworks.adb, s-asthan-vms.adb, s-gloloc-mingw.adb,
1861         s-inmaop-dummy.adb, s-inmaop-posix.adb, s-inmaop-vms.adb,
1862         s-interr-dummy.adb, s-interr-sigaction.adb, s-interr-vms.adb,
1863         s-interr-vxworks.adb, s-intman-dummy.adb, s-intman-irix.adb,
1864         s-intman-irix-athread.adb, s-intman-mingw.adb, s-intman-posix.adb,
1865         s-intman-solaris.adb, s-intman-vms.adb, s-intman-vms.ads,
1866         s-intman-vxworks.adb, s-intman-vxworks.ads, s-mastop-irix.adb,
1867         s-mastop-tru64.adb, s-mastop-vms.adb, s-mastop-x86.adb,
1868         s-memory-mingw.adb, s-osinte-aix.adb, s-osinte-aix.ads,
1869         s-osinte-aix-fsu.ads, s-osinte-dummy.ads, s-osinte-freebsd.adb,
1870         s-osinte-freebsd.ads, s-osinte-fsu.adb, s-osinte-hpux.ads,
1871         s-osinte-hpux-dce.adb, s-osinte-hpux-dce.ads, s-osinte-interix.ads,
1872         s-osinte-irix.adb, s-osinte-irix.ads, s-osinte-irix-athread.ads,
1873         s-osinte-linux.ads, s-osinte-linux-fsu.ads, s-osinte-linux-ia64.ads,
1874         s-osinte-lynxos-3.adb, s-osinte-lynxos-3.ads, s-osinte-lynxos.adb,
1875         s-osinte-lynxos.ads, s-osinte-mingw.ads, s-osinte-os2.adb,
1876         s-osinte-os2.ads, s-osinte-posix.adb, s-osinte-solaris.adb,
1877         s-osinte-solaris.ads, s-osinte-solaris-fsu.ads,
1878         s-osinte-solaris-posix.ads, s-osinte-tru64.adb, s-osinte-tru64.ads,
1879         s-osinte-unixware.adb, s-osinte-unixware.ads, s-osinte-vms.adb,
1880         s-osinte-vms.ads, s-osinte-vxworks.adb,
1881         s-osinte-vxworks.ads, s-osprim-mingw.adb,
1882         s-osprim-os2.adb, s-osprim-posix.adb, s-osprim-solaris.adb,
1883         s-osprim-unix.adb, s-osprim-vms.adb, s-osprim-vms.ads,
1884         s-osprim-vxworks.adb, s-parame-ae653.ads, s-parame-hpux.ads,
1885         s-parame-linux.adb, s-parame-os2.adb, s-parame-solaris.adb,
1886         s-parame-vms.ads, s-parame-vms-restrict.ads, s-parame-vxworks.ads,
1887         s-proinf-irix-athread.adb, s-proinf-irix-athread.ads,
1888         s-stchop-vxworks.adb, s-taprop-dummy.adb,
1889         s-taprop-hpux-dce.adb, s-taprop-irix.adb,
1890         s-taprop-irix-athread.adb, s-taprop-linux.adb, s-taprop-lynxos.adb,
1891         s-taprop-mingw.adb, s-taprop-os2.adb, s-taprop-posix.adb,
1892         s-taprop-solaris.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
1893         s-taprop-vxworks.adb, s-tasinf-irix.ads, s-tasinf-irix-athread.adb,
1894         s-tasinf-irix-athread.ads, s-tasinf-solaris.adb, s-tasinf-solaris.ads,
1895         s-tasinf-tru64.ads, s-taspri-dummy.ads, s-taspri-hpux-dce.ads,
1896         s-taspri-linux.ads, s-taspri-lynxos.ads, s-taspri-mingw.ads,
1897         s-taspri-os2.ads, s-taspri-posix.ads, s-taspri-solaris.ads,
1898         s-taspri-tru64.ads, s-taspri-vms.ads, s-taspri-vxworks.ads,
1899         s-tfsetr-default.adb, s-tfsetr-vxworks.adb, s-tpopde-vms.adb,
1900         s-tpopde-vms.ads, s-tpopsp-lynxos.adb, s-tpopsp-posix.adb,
1901         s-tpopsp-posix-foreign.adb, s-tpopsp-solaris.adb, s-tpopsp-vxworks.adb,
1902         s-traceb-hpux.adb, s-traceb-mastop.adb, s-traces-default.adb,
1903         s-traent-vms.adb, s-traent-vms.ads, s-trafor-default.adb,
1904         s-trafor-default.ads, s-tratas-default.adb, s-vaflop-vms.adb,
1905         s-vxwork-alpha.ads, s-vxwork-m68k.ads, s-vxwork-mips.ads,
1906         s-vxwork-ppc.ads, s-vxwork-sparcv9.ads, s-vxwork-xscale.ads,
1907         symbols-vms.adb, system-aix.ads, system-freebsd-x86.ads,
1908         system-hpux.ads, system-interix.ads, system-irix-n32.ads,
1909         system-irix-o32.ads, system-linux-x86_64.ads,
1910         system-linux-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads,
1911         system-mingw.ads, system-os2.ads, system-solaris-sparc.ads,
1912         system-solaris-sparcv9.ads, system-solaris-x86.ads, system-tru64.ads,
1913         system-unixware.ads, system-vms.ads, system-vms-zcx.ads,
1914         system-vxworks-alpha.ads, system-vxworks-m68k.ads,
1915         system-vxworks-mips.ads, system-vxworks-ppc.ads,
1916         system-vxworks-sparcv9.ads, system-vxworks-xscale.ads: Replace files
1917         above.
1918
1919 2004-05-13  Zack Weinberg  <zack@codesourcery.com>
1920
1921         * trans.c (gnat_stabilize_reference_1): Remove case 'b'.
1922
1923 2004-05-13  Diego Novillo  <dnovillo@redhat.com>
1924
1925         Merge from tree-ssa-20020619-branch.
1926
1927         * config-lang.in (boot_language, build_by_default): Set
1928         to no.
1929         * utils.c (unchecked_convert): Use OEP_ONLY_CONST.
1930         (max_size): Add static chain op for call_expr.
1931
1932 2004-05-12  Richard Sandiford  <rsandifo@redhat.com>
1933
1934         PR target/15331
1935         * 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '.
1936
1937 2004-05-11  Roger Sayle  <roger@eyesopen.com>
1938
1939         * utils.c (max_size): Use MIN_EXPR to find the minimum value of a
1940         COND_EXPR.
1941
1942 2004-05-10  Doug Rupp  <rupp@gnat.com>
1943
1944         * 5qsystem.ads: Remove Short_Address subtype declaration. Moved to
1945         system.aux_dec.
1946
1947         * s-auxdec.ads: Add Short_Address subtype (moved here from System).
1948
1949         * Makefile.in: [VMS]: Add translation for 5qauxdec.ads.
1950
1951         * init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha.
1952         Fixes undefined symbols in IA64 gnatlib.
1953
1954         * 5vinmaop.adb: Reference s-auxdec for Short_Address.
1955
1956         * 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype
1957         Short_Address). This will be moved to system.auxdec.
1958
1959 2004-05-10  Thomas Quinot  <quinot@act-europe.fr>
1960
1961         * sem_util.adb: Replace test for presence of a node that is always
1962         present with a call to Discard_Node.
1963
1964         * sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to
1965         Analyze on the library unit node after generation of distribution stub
1966         constructs.  The call was a no-op because Unit_Node has already been
1967         Analyzed, and the tree fragments for the distribution stubs are
1968         analyzed as they are inserted in Exp_Dist.
1969         Update comment regarding to distribution stubs to reflect that we
1970         do not generate stub in separate files anymore.
1971
1972         * einfo.ads: Clarify the fact that a tagged private type has the
1973         E_Record_Type_With_Private Ekind.
1974
1975         * erroutc.adb: Minor reformatting
1976
1977         * erroutc.ads (Max_Msg_Length): Increase to cover possible larger
1978         values if line length is increased using -gnatyM (noticed during code
1979         reading).
1980
1981         * eval_fat.adb: Minor reformatting
1982         Put spaces around exponentiation operator
1983
1984 2004-05-10  Ed Schonberg  <schonberg@gnat.com>
1985
1986         PR ada/15005
1987         * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix
1988         has been rewritten as an explicit dereference, retrieve type of
1989         original node to check for possibly unconstrained record type.
1990
1991 2004-05-10  Ed Schonberg  <schonberg@gnat.com>
1992
1993         * exp_ch7.adb (Check_Visibly_Controlled): If given operation is not
1994         overriding, use the operation of the parent unconditionally.
1995
1996         * sem_ch4.adb (Remove_Address_Interpretations): Remove address
1997         operation when either operand is a literal, to avoid further
1998         ambiguities.
1999
2000         * sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and
2001         overridden by a previous explicit declaration, mark the previous entity
2002         as overriding.
2003
2004         * sem_disp.adb (Check_Dispatching_Operation): New predicate
2005         Is_Visibly_Controlled, to determine whether a declaration of a
2006         primitive control operation for a derived type overrides an inherited
2007         one. Add warning if the explicit declaration does not override.
2008
2009 2004-05-10  Vincent Celier  <celier@gnat.com>
2010
2011         * gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in
2012         some cases when the sources are no longer present.
2013
2014         * make.adb (Collect_Arguments): Fail if an external source, not part
2015         of any project need to be compiled, when switch -x has not been
2016         specified.
2017
2018         * makeusg.adb: Document new switch -x
2019
2020         * opt.ads (External_Unit_Compilation_Allowed): New Boolean flag,
2021         defaulted to False.
2022
2023         * switch-m.adb (Scan_Make_Switches): New switch -x
2024
2025         * vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for
2026         gnatmake switch -x.
2027
2028         * gnat_ugn.texi: Document new gnatmake switch -x
2029
2030 2004-05-10  Eric Botcazou  <ebotcazou@act-europe.fr>
2031
2032         * misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0.
2033
2034         * utils.c (create_var_decl): Do not modify the DECL_COMMON flag.
2035         (process_attributes): Likewise.
2036
2037 2004-05-10  Joel Brobecker  <brobecker@gnat.com>
2038
2039         * s-inmaop.ads: Fix spelling mistake in one of the comments.
2040
2041 2004-05-10  Robert Dewar  <dewar@gnat.com>
2042
2043         * gnat_ugn.texi: Document that for config pragma files, the maximum
2044         line length is always 32767.
2045
2046         * gnat_rm.texi: For pragma Eliminate, note that concatenation of string
2047         literals is now allowed.
2048
2049         * gnat-style.texi: Remove statement about splitting long lines before
2050         an operator rather than after, since we do not follow this rule at all.
2051         Clarify rule (really lack of rule) for spaces around exponentiation
2052
2053         * sem_elim.adb: Allow concatenation of string literals as well as a
2054         single string literal for pragma arguments.
2055
2056         * sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function
2057
2058         * a-textio.adb (Terminate_Line): Do not add line feed if nothing
2059         written for append case.
2060
2061         * frontend.adb: Changes to avoid checking max line length in config
2062         pragma files.
2063
2064         * g-os_lib.ads: Minor reformatting
2065
2066         * mlib-utl.adb: Do not define Max_Line_Length locally (definition was
2067         wrong in any case. Instead use standard value. Noticed during code
2068         reading.
2069
2070         * opt.ads (Max_Line_Length): New field, used to implement removal of
2071         limitation on length of lines when scanning config pragma files.
2072
2073         * osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb,
2074         makeutl.ads, makeutl.adb: Minor reformatting
2075
2076         * scn.adb: Do not check line length while scanning config pragma files
2077         Do not check line length while scanning out license information
2078
2079         * scng.adb: Changes to avoid line length checks while parsing config
2080         pragma files.
2081
2082 2004-05-10  GNAT Script  <nobody@gnat.com>
2083
2084         * Make-lang.in: Makefile automatically updated
2085
2086 2004-05-05  Arnaud Charlet  <charlet@act-europe.fr>
2087
2088         * osint.adb (Find_Program_Name): Fix handling of VMS version
2089         number.
2090
2091 2004-05-05  Emmanuel Briot  <briot@act-europe.fr>
2092
2093         * g-os_lib.ads (Invalid_Time): New constant
2094
2095         * adaint.h, adaint.c (__gnat_file_time_name, __gnat_file_time_fd): Now
2096         return OS_Time instead of time_t to match what is imported by Ada.
2097         Now return -1 if the file doesn't exist, instead of a random value
2098
2099 2004-05-05  Robert Dewar  <dewar@gnat.com>
2100
2101         * usage.adb: Add line for -gnatR?s switch
2102
2103         * sem_ch13.adb, exp_ch2.adb: Minor reformatting
2104
2105         * g-regpat.ads, g-regpat.adb: Add documentation on handling of Size
2106         and for Match (Data_First, Data_last)
2107
2108         * lib-writ.adb (Write_With_Lines): Ensure that correct index number is
2109         written when we are dealing with multi-unit files.
2110
2111 2004-05-05  Jerome Guitton  <guitton@act-europe.fr>
2112
2113         * Makefile.in: Remove unused targets and variables.
2114
2115 2004-05-05  Vincent Celier  <celier@gnat.com>
2116
2117         * switch-m.adb: New gnatmake switch -eI
2118
2119         * vms_data.ads: Add VMS equivalents of new gnatclean swith -innn and
2120         of new gnatmake switch -eInnn.
2121
2122         * makegpr.adb: Take into account new parameters Index and Src_Index in
2123         Prj.Util.
2124
2125         * clean.adb: Implement support for multi-unit sources, including new
2126         switch -i.
2127
2128         * gnatcmd.adb (GNATCmd): Call Prj.Util.Value_Of with new parameter
2129         Src_Index.
2130
2131         * make.ads, make.adb (Insert_Q): New parameter Index, defaulted to 0
2132         (Extract_From_Q): New out parameter Index
2133         (Mark, Is_Marked): Subprograms moved to Makeutl
2134         (Switches_Of): New parameter Source_Index
2135         (Add_Switch): New parameter Index
2136         (Check): New parameter Source_Index
2137         (Collect_Arguments): New parameter Source_Index
2138         (Collect_Arguments_And_Compile): New parameter Source_Index
2139         (Compile): New parameter Source_Index
2140         Put subprograms in alphabetical order
2141         Add support for multi-source sources, including in project files.
2142
2143         * makeutl.ads, makeutl.adb (Unit_Index_Of): New function
2144         (Mark, Is_Marked, Delete_All_Marks): New subprograms, moved from
2145         Make.
2146
2147         * makeusg.adb: New gnatmake switch -eInnn
2148
2149         * mlib-prj.adb (Build_Library): Add new parameter Src_Index to call to
2150         Prj.Util.Value_Of.
2151
2152         * opt.ads (Main_Index): New variable, defaulted to 0.
2153
2154         * osint.ads, osinte.adb (Add_File): New parameter Index
2155         (Current_Source_Index): New function
2156
2157         * prj.adb: Take into account new components Index and Src_Index
2158
2159         * prj.ads (String_Element): New component Index
2160         (Variable_Value): New component Index
2161         (Array_Element): New component Src_Index
2162
2163         * prj-attr.adb: Indicate that optional index may be specified for
2164         attributes Main, Executable, Spec, Body and some of Switches.
2165
2166         * prj-attr.ads (Attribute_Kind): New values for optional indexes
2167         (Attribute_Record): New component Optional_Index
2168
2169         * prj-com.ads (File_Name_Data): New component Index
2170
2171         * prj-dect.adb (Parse_Attribute_Declaration): Process optional index
2172
2173         * prj-env.adb (Put): Output optional index
2174
2175         * prj-makr.adb: Put indexes for multi-unit sources in SFN pragmas and
2176         attributes Spec and Body.
2177
2178         * prj-nmsc.adb: Process optional indexes
2179
2180         * prj-pp.adb: Ouput "at" for optional indexes
2181
2182         * prj-proc.adb: Take into account optional indexes
2183
2184         * prj-strt.ads, prj-strt.adb (Terms): New Boolean parameter
2185         Optional_Index. For string literal,
2186         process optional index when Optional_Index is True.
2187         (Parse_Expresion): New Boolean parameter Optional_Index
2188
2189         * prj-tree.ads, prj-tree.adb (Source_Index_Of): New function
2190         (Set_Source_Index_Of): New procedure
2191
2192         * prj-util.adb (Executable_Of, Value_Of): Take into account optional
2193         index.
2194
2195         * prj-util.ads (Executable_Of): New parameter Index
2196         (Value_Of (Name_Id, Array_Element_Id) returning Variable_Value):
2197         New parameter Src_Index, defaulted to 0.
2198
2199 2004-05-05  Ed Schonberg  <schonberg@gnat.com>
2200
2201         PR ada/15257
2202         * sem_ch3.adb (Access_Definition): If this is an access parameter
2203         whose designated type is imported through a limited_with clause, do
2204         not add the enclosing subprogram to the list of private dependents of
2205         the type.
2206
2207 2004-05-05  Ed Schonberg  <schonberg@gnat.com>
2208
2209         PR ada/15258
2210         * sem_ch6.adb (Base_Types_Match): True if one type is imported through
2211         a limited_with clause, and the other is its non-limited view.
2212
2213 2004-05-05  Thomas Quinot  <quinot@act-europe.fr>
2214
2215         * cstand.adb (Create_Standard): Initialize Stand.Boolean_Literals.
2216
2217         * exp_attr.adb, exp_ch5.adb, exp_ch9.adb, exp_disp.adb,
2218         exp_fixd.adb, sem_attr.adb, sem_dist.adb, sem_util.adb: Use
2219         Stand.Boolean_Literals to produce references to entities
2220         Standard_False and Standard_True from compile-time computed boolean
2221         values.
2222
2223         * stand.ads (Boolean_Literals): New variable, provides the entity
2224         values for False and True, for use by the expander.
2225
2226 2004-05-05  Doug Rupp  <rupp@gnat.com>
2227
2228         * 5vinmaop.adb, 5[vx]system.ads: Add Short_Address subtype
2229         5vinmaop.adb: Unchecked convert Short_Address vice Address
2230
2231         * adaint.c, raise.c: Caste CRTL function return value
2232         to avoid gcc error on 32/64 bit IVMS.
2233
2234         * Makefile.in [VMS]: Use iar archiver if host = Alpha/VMS and
2235         target = IA64/VMS.
2236
2237         * init.c[VMS]: Only call Alpha specific __gnat_error_prehandler IN_RTS.
2238
2239         * 5qsystem.ads (Address): Declare as Long_Integer
2240         (Short_Address): Declare as 32 bit subtype of Address
2241         Declare  abstract address operations to avoid gratuitous ambiguities.
2242
2243 2004-05-05  Jose Ruiz  <ruiz@act-europe.fr>
2244
2245         * gnat_rm.texi: Use the new restriction Simple_Barriers (AI-249)
2246         instead of the old Boolean_Entry_Barriers.
2247         Ditto for No_Task_Attributes_Package instead of No_Task_Attributes.
2248
2249 2004-05-05  GNAT Script  <nobody@gnat.com>
2250
2251         * Make-lang.in: Makefile automatically updated
2252
2253 2004-05-03  Arnaud Charlet  <charlet@act-europe.fr>
2254
2255         * 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used.
2256
2257 2004-05-03  Olivier Hainque  <hainque@act-europe.fr>
2258
2259         PR ada/15152
2260
2261         * exp_ch2.adb (Expand_Current_Value): Leave Machine_Code Asm arguments
2262         alone. Replacing object references by literals is inappropriate in a
2263         so low level context.
2264
2265 2004-05-03  Arnaud Charlet  <charlet@act-europe.fr>
2266
2267         * a-exexpr.adb: Add comments
2268
2269 2004-05-03  Joel Brobecker  <brobecker@gnat.com>
2270
2271         * a-tags.adb (Tag_Table): Add Index_Check pragma Suppress. Allows us to
2272         declare the Ancestor_Tags array in Type_Specific_Data with a small size
2273         without risking a bounds check error when accessing one of its
2274         components.
2275         (Type_Specific_Data): Define Ancestor_Tags as a small array.
2276         This prevents us from hitting a limitation during the debug info
2277         generation when using stabs.
2278
2279         * a-tags.adb (Dispatch_Table): Define the Prims_Ptr component as a
2280         small array.
2281         This prevents us from hitting a limitation during the debug info
2282         generation when using stabs.
2283
2284 2004-05-03  Eric Botcazou  <ebotcazou@act-europe.fr>
2285
2286         lang-specs.h: Remove -gnatz* from specs.
2287
2288 2004-05-03  Vincent Celier  <celier@gnat.com>
2289
2290         * gprmake.adb, makegpr.ads, makegpr.adb: New files.
2291
2292         * Make-lang.in, Makefile.in: Add gprmake
2293
2294 2004-05-03  Thomas Quinot  <quinot@act-europe.fr>
2295
2296         * sem_aggr.adb: Fix typo in comment.
2297
2298 2004-05-03  Robert Dewar  <dewar@gnat.com>
2299
2300         * make.adb: Minor reformatting
2301
2302         * rtsfind.ads, rtsfind.adb: (RTU_Loaded): New function
2303
2304         * sem_attr.adb (Eval_Attribute, case Type_Class): Fix check for address
2305         so that it works when address is not a private type.
2306
2307         * sem_ch13.adb (Check_Expr_Constants, case N_Integer_Literal): Deal
2308         properly with rewritten unchecked conversions. This prevents
2309         order-of-elaboration issues that can otherwise arise.
2310         (Minimum_Size): Don't check size of access types under VMS
2311
2312         * sem_ch4.adb (Remove_Address_Interpretation): New circuit to remove
2313         interpretations of integer literals as type System.Address.
2314
2315         * sem_util.ads, sem_util.adb (Is_Descendent_Of_Address): New function
2316         (Is_Descendent_Of): New function
2317
2318 2004-05-03  Jose Ruiz  <ruiz@act-europe.fr>
2319
2320         * sem_prag.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
2321         Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length.
2322         No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment.
2323
2324         * sem_res.adb: Use the new restriction Max_Entry_Queue_Length instead
2325         of the old Max_Entry_Queue_Depth.
2326
2327         * snames.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
2328         Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length
2329         No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment
2330
2331         * snames.ads: New entry for proper handling of Boolean_Entry_Barriers.
2332         New entry for proper handling of Max_Entry_Queue_Depth.
2333         New entry for proper handling of No_Dynamic_Interrupts.
2334
2335         * s-rident.ads: Adding restriction Simple_Barriers (AI-00249) that
2336         supersedes the GNAT specific restriction Boolean_Entry_Barriers.
2337         Adding restriction Max_Entry_Queue_Length (AI-00249) that supersedes
2338         the GNAT specific restriction Max_Entry_Queue_Depth.
2339         Adding restriction No_Dynamic_Attachment (AI-00249) that supersedes
2340         the GNAT specific restriction No_Dynamic_Interrupts.
2341
2342         * restrict.ads, restrict.adb: Use the new restriction Simple_Barriers
2343         instead of the old Boolean_Entry_Barriers.
2344         Use the new restriction No_Dynamic_Attachment instead of the old
2345         No_Dynamic_Interrupts.
2346
2347         * exp_ch9.adb: Check restriction Simple_Barriers (AI-00249) that
2348         supersedes the GNAT specific restriction Boolean_Entry_Barriers.
2349
2350         * gnatbind.adb: Use the new restriction Max_Entry_Queue_Length instead
2351         of the old Max_Entry_Queue_Depth.
2352
2353 2004-05-03  GNAT Script  <nobody@gnat.com>
2354
2355         * Make-lang.in: Makefile automatically updated
2356
2357 2004-04-29  Ed Schonberg  <schonberg@gnat.com>
2358
2359         * checks.adb (Enable_Range_Check): If the prefix of an index component
2360         is an access to an unconstrained array, perform check unconditionally.
2361
2362 2004-04-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2363
2364         * decl.c (gnat_to_gnu_field): Also call make_packable_type if
2365         Component_Clause.
2366
2367 2004-04-29  Olivier Hainque  <hainque@act-europe.fr>
2368
2369         * init.c (__gnat_install_handler, __gnat_error_handler): Remove
2370         alternate stack setting. There was no support for the tasking cases
2371         and the changes eventually caused a number of side-effect failures in
2372         the non-tasking case too.
2373
2374 2004-04-29  Eric Botcazou  <ebotcazou@act-europe.fr>
2375
2376         lang-specs.h: Redirect output to /dev/null if -gnatc or -gnatz or
2377         -gnats is passed.
2378
2379 2004-04-29  Vincent Celier  <celier@gnat.com>
2380
2381         * make.adb (Gnatmake): Increase max size of argument array for
2382         gnatbind for the potential addition of -F.
2383         If there are Stand-Alone Library projects, invoke gnatbind with -F to
2384         be sure that elaboration flags will be checked.
2385
2386         * switch-c.adb: Correct call to Scan_Pos for -gnateI
2387
2388 2004-04-29  Thomas Quinot  <quinot@act-europe.fr>
2389
2390         * sem_warn.adb (Check_References): Move '<access-variable> may be
2391         null' warning out of under Warn_On_No_Value_Assigned.
2392
2393 2004-04-29  Ed Falis  <falis@gnat.com>
2394
2395         * gnat_ugn.texi: Fixed texi error
2396
2397 2004-04-29  Robert Dewar  <dewar@gnat.com>
2398
2399         * sem_ch4.adb (Remove_Abstract_Operations): Unconditionally remove
2400         abstract operations if they come from predefined files.
2401
2402         * gnat_rm.texi: Fix bad doc for pragma Elaboration_Checks (should be
2403         Dynamic, not RM).
2404
2405         * s-addope.adb: Correct obvious error in mod function
2406
2407 2004-04-28  Andrew W. Reynolds  <awreynolds@mac.com>
2408
2409         * Makefile.in: Add target pairs for powerpc darwin*
2410         tasking support.
2411
2412         * a-intnam-darwin.ads, s-osinte-darwin.adb,
2413         s-osinte-darwin.ads, system-darwin-ppc.ads: New files.
2414
2415 2004-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
2416
2417         * Makefile.in: Add target macro definitions for s390*-linux*.
2418         * system-linux-s390.ads: New file.
2419         * system-linux-s390x.ads: New file.
2420
2421 2004-04-28  Joseph S. Myers  <jsm@polyomino.org.uk>
2422
2423         * gnat_ugn.texi: Correct argument to @setfilename.
2424
2425 2004-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
2426
2427         * a-exexpr.adb (Unwind_Word): New data type.
2428         (Unwind_Exception): Use it as type of Private1 and Private2.
2429
2430         * raise.c (db_action_for): Fix debug printf.
2431
2432 2004-04-27  Ed Schonberg  <schonberg@gnat.com>
2433
2434         * a-wtmoio.ads: Formal type must be a modular type, not a signed
2435         integer type.
2436
2437 2004-04-27  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2438
2439         * decl.c (gnat_to_gnu_entity, case object): Call
2440         __builtin_update_setjmp_buf.
2441
2442         * gigi.h (update_setjmp_buf): Deleted.
2443         (ADT_update_setjmp_buf_decl, update_setjmp_buf_decl): New.
2444
2445         * misc.c: (update_setjmp_buf): Deleted.
2446
2447         * trans.c (gnat_to_gnu): Call do_pending_stack_adjust and emit_queue
2448         around block of RTL.
2449
2450         * utils.c (init_gigi_decls): Initialize update_setjmp_buf.
2451
2452 2004-04-26  Thomas Quinot  <quinot@act-europe.fr>
2453
2454         * sem_dist.adb, exp_dist.adb: When constructing a RAS value for a local
2455         subprogram for which no pragma All_Calls_Remote applies, store the
2456         address of the real subprogram in the underlying record type, so local
2457         dereferences do not go through the PCS.
2458
2459 2004-04-26  Robert Dewar  <dewar@gnat.com>
2460
2461         * i-c.ads: Add some type qualifications to avoid ambiguities when
2462         compiling with s-auxdec.ads and a non-private address type.
2463
2464 2004-04-26  Arnaud Charlet  <charlet@act-europe.fr>
2465
2466         * Makefile.rtl: Fix error in previous check-in:
2467         Add s-addope.o to non tasking object list (rather than tasking object
2468         list).
2469
2470 2004-04-26  Javier Miranda  <miranda@gnat.com>
2471
2472         * sem_aggr.adb: Fix typo in comments
2473         (Resolve_Aggr_Expr): Propagate the type to the nested aggregate.
2474         Required to check the null-exclusion attribute.
2475
2476         * sem_attr.adb (Resolve_Attribute): Check the accessibility level in
2477         case of anonymous access types in record and array components. For a
2478         component definition the level is the same of the enclosing composite
2479         type.
2480
2481         * sem_ch3.adb (Analyze_Component_Declaration): In case of components
2482         that are anonymous access types the level of accessibility depends on
2483         the enclosing type declaration. In order to have this information, set
2484         the scope of the anonymous access type to the enclosing record type
2485         declaration.
2486         (Array_Type_Declaration): In case of components that are anonymous
2487         access types the level of accessibility depends on the enclosing type
2488         declaration. In order to have this information, set the scope of the
2489         anonymous access type to the enclosing array type declaration.
2490
2491         * sem_ch3.adb (Array_Type_Declaration): Set the scope of the anonymous
2492         access type.
2493
2494         * sem_ch8.adb (Analyze_Object_Renaming): Add check to verify that
2495         renaming of anonymous access-to-constant types allowed if and only if
2496         the renamed object is access-to-constant.
2497
2498         * sem_util.adb (Type_Access_Level): In case of anonymous access types
2499         that are component_definition or discriminants of a nonlimited type,
2500         the level is the same as that of the enclosing component type.
2501
2502 2004-04-26  Sergey Rybin  <rybin@act-europe.fr>
2503
2504         * sem_elim.adb: Some minor code reorganization from code reading. Fix
2505         misprint in the function name (File_Name_Match).
2506
2507 2004-04-23  Laurent GUERBY <laurent@guerby.net>
2508
2509         * Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after
2510         install.
2511
2512 2004-04-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2513
2514         * Make-lang.in (GNATBIND_OBJS): Add s-addope.o.
2515
2516 2004-04-23  Emmanuel Briot  <briot@act-europe.fr>
2517
2518         * adaint.c (__gnat_try_lock): No longer requires that the parent
2519         directory be writable, the directory itself is enough.
2520         (gnat_is_absolute_path): Change profile, so that the call from
2521         GNAT.OS_Lib can be made more efficient.
2522
2523         * adaint.h (gnat_is_absolute_path): Change profile, so that the call
2524         from GNAT.OS_Lib can be made more efficient.
2525
2526         * g-os_lib.adb (Is_Absolute_Path): More efficient implementation, avoid
2527         one copy of the file name. Found by code reading.
2528
2529 2004-04-23  Vincent Celier  <celier@gnat.com>
2530
2531         * gnat_ugn.texi: Add documentation for gnatmake switch -eL
2532         Correct documentation on gnatmake switches transmitted to the compiler
2533
2534         * ali.ads: Minor comment fix
2535
2536 2004-04-23  Javier Miranda  <miranda@gnat.com>
2537
2538         * sem_ch6.adb: (Confirming Types): Code cleanup
2539
2540         * decl.c (gnat_to_gnu_entity): Give support to anonymous access to
2541         subprogram types: E_Anonymous_Access_Subprogram_Type and
2542         E_Anonymous_Access_Protected_Subprogram_Type.
2543
2544 2004-04-23  Thomas Quinot  <quinot@act-europe.fr>
2545
2546         * sem_dist.adb: Add a new paramter to the RAS_Access TSS indicating
2547         whether a pragma All_Calls_Remote applies to the subprogram on which
2548         'Access is taken.
2549         No functional change is introduced by this revision; the new parameter
2550         will be used to allow calls to local RCI subprograms to be optimized
2551         to not use the PCS in the case where no pragma All_Calls_Remote applies,
2552         as is already done in the PolyORB implementation of the DSA.
2553
2554         * exp_dist.adb: Add a new paramter to the RAS_Access TSS indicating
2555         whether a pragma All_Calls_Remote applies to the subprogram on which
2556         'Access is taken.
2557         No functional change is introduced by this revision; the new parameter
2558         will be used to allow calls to local RCI subprograms to be optimized
2559         to not use the PCS in the case where no pragma All_Calls_Remote applies,
2560         as is already done in the PolyORB implementation of the DSA.
2561
2562 2004-04-23  Robert Dewar  <dewar@gnat.com>
2563
2564         * Makefile.rtl: Add entry for s-addope.o in run time library list
2565         * Make-lang.in: Add entry for s-addope.o to GNAT1 objects
2566         * s-addope.ads, s-addope.adb: New files.
2567
2568         * s-carsi8.adb, s-carun8.adb, s-casi16.adb, s-casi32.adb,
2569         s-casi64.adb, s-caun16.adb, s-caun32.adb, s-caun64.adb,
2570         s-finimp.adb, s-geveop.adb, s-stoele.adb: Modifications to allow
2571         System.Address to be non-private and signed.
2572
2573         * sem_elim.adb: Minor reformatting (fairly extensive)
2574         Some minor code reorganization from code reading
2575         Add a couple of ??? comments
2576
2577 2004-04-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2578
2579         * trans.c (tree_transform, build_unit_elab): Don't call getdecls.
2580         (tree_transform, case N_If_Statement): Remove non-determinism.
2581
2582         * utils.c (begin_subprog_body): Just set DECL_CONTEXT in PARM_DECL.
2583
2584 2004-04-23  Sergey Rybin  <rybin@act-europe.fr>
2585
2586         * gnat_rm.texi: Small fixes in the changes made in the 'pragma
2587         Eliminate' section.
2588
2589         * snames.ads, snames.adb: Remove Name_Homonym_Number (Homonym_Number is
2590         no longer used as a parameter name for Eliminate pragma).
2591
2592 2004-04-22  Laurent GUERBY <laurent@guerby.net>
2593
2594         PR optimization/14984
2595         PR optimization/14985
2596         * trans.c (gigi): Fix non determinism leading to bootstrap
2597         comparison failures.
2598
2599 2004-04-21  Pascal Obry  <obry@gnat.com>
2600
2601         * adaint.c (__gnat_portable_spawn): Quote first argument (argv[0])
2602         passed to spawnvp() to properly handle program pathname with spaces on
2603         Win32.
2604
2605 2004-04-21  Emmanuel Briot  <briot@act-europe.fr>
2606
2607         * g-debpoo.adb (Print_Info): Avoid extra work if Display_Slots is False.
2608         (Allocate, Deallocate, Free_Physically): Make sure the tasks are
2609         unlocked in case of exceptions.
2610
2611 2004-04-21  Joel Brobecker  <brobecker@gnat.com>
2612
2613         * gigi.h (get_target_no_dollar_in_label): Remove extern declaration.
2614         This function does not exist anymore.
2615
2616 2004-04-21  Thomas Quinot  <quinot@act-europe.fr>
2617
2618         * gnatbind.adb, gnatlink.adb: Update name of imported C symbol.
2619
2620         * link.c: Move variables to the __gnat name space.
2621
2622         * Makefile.in: list link.o explicitly when needed.
2623
2624         * mlib.adb: Remove pragma Linker_Option for "link.o" from mlib.
2625
2626 2004-04-21  Javier Miranda  <miranda@gnat.com>
2627
2628         * einfo.adb (Original_Access_Type): New subprogram
2629         (Set_Original_Access_Type): New subprogram
2630         (Write_Field21_Name): Write the name of the new field
2631
2632         * einfo.ads (Original_Access_Type): New field present in access to
2633         subprogram types.
2634         Addition of two new entities: E_Anonymous_Access_Subprogram_Type, and
2635         E_Anonymous_Access_Protected_Subprogram_Type.
2636
2637         * lib-xref.adb (Output_One_Ref): Give support to anonymous access to
2638         subprogram types.
2639
2640         * lib-xref.ads (Xref_Entity_Letters): Initialize values corresponding
2641         to anonymous access to subprogram types.
2642
2643         * sem_attr.adb (Resolve_Attribute): Give support to anonymous access
2644         to subprogram types.
2645
2646         * sem_ch3.adb (Access_Definition): Complete decoration of entities
2647         corresponding to anonymous access to subprogram types.
2648         (Analyze_Component_Declaration): Add new actual to the call to
2649         subprogram replace_anonymous_access_to_protected_subprogram.
2650         (Array_Type_Declaration): Add new actual to the call to subprogram
2651         replace_anonymous_access_to_protected_subprogram.
2652         (Process_Discriminants): Add new actual to the call to subprogram
2653         replace_anonymous_access_to_protected_subprogram.
2654         (Replace_Anonymous_Access_To_Protected_Subprogram): New formal.
2655
2656         * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New
2657         formal.
2658
2659         * sem_ch6.adb, sem_type.adb, sem_res.adb: Give support to anonymous
2660         access to subprogram types.
2661
2662         * sem_util.adb (Has_Declarations): Addition of package_specification
2663         nodes.
2664
2665 2004-04-21  Ed Schonberg  <schonberg@gnat.com>
2666
2667         * sem_prag.adb (Make_Inline): If subprogram is a renaming, propagate
2668         inlined flags to renamed entity only if in current unit.
2669
2670 2004-04-21  Thomas Quinot  <quinot@act-europe.fr>
2671
2672         * s-parint.ads: Add DSA implementation marker.
2673
2674         * rtsfind.ads, rtsfind.adb, snames.ads, snames.adb, s-rpc.adb: Use the
2675         value of System.Partition_Interface.DSA_Implementation to determine
2676         what version of the distributed systems annex is available (no
2677         implementation, GLADE, or PolyORB).
2678
2679 2004-04-21  Joel Brobecker  <brobecker@gnat.com>
2680
2681         * targtyps.c (get_target_no_dollar_in_label): Remove, no longer used.
2682
2683 2004-04-21  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2684
2685         * utils.c (convert, case CONSTRUCTOR, COMPONENT_REF): Do not make node
2686         with new type if alias sets differ.
2687         Fixes ACATS c41103b.
2688
2689 2004-04-21  Vincent Celier  <celier@gnat.com>
2690
2691         * prj.ads: Remove FORTRAN as an accepted language: not tested yet.
2692         Add array Lang_Args for the language specific compiling argument
2693         switches.
2694
2695         * gnat_ugn.texi: Explain in more details when a library is rebuilt.
2696
2697 2004-04-21  Sergey Rybin  <rybin@act-europe.fr>
2698
2699         * gnat_rm.texi: Update the descripton of the Eliminate pragma
2700         according to the recent changes in the format of the parameters of the
2701         pragma (replacing Homonym_Number with Source_Location).
2702
2703 2004-04-19  Arnaud Charlet  <charlet@act-europe.fr>
2704
2705         * 5isystem.ads: Removed, unused.
2706
2707         * gnat_rm.texi: Redo 1.13 change.
2708
2709 2004-04-19  Robert Dewar  <dewar@gnat.com>
2710
2711         * s-stoele.ads: Clean up definition of Storage_Offset (the new
2712         definition is cleaner, avoids the kludge of explicit Standard operator
2713         references, and also is consistent with a visible System.Address with
2714         no visible operations.
2715
2716         * s-geveop.adb: Add declarations to avoid assumption of visible
2717         operations on type System.Address (since these might not be available
2718         if Address is a non-private type for which the operations
2719         are made abstract).
2720
2721         * sem_eval.adb: Minor reformatting
2722
2723         * s-carsi8.ads, s-carun8.ads, s-casi16.ads, s-casi32.ads,
2724         s-casi64.ads, s-caun16.ads, s-caun32.ads, s-caun64.ads: Minor
2725         reformatting (new function spec format).
2726
2727         * s-auxdec.adb, s-carsi8.adb, s-carun8.adb, s-casi16.adb,
2728         s-casi32.adb, s-casi64.adb, s-caun16.adb, s-caun32.adb,
2729         s-caun64.adb: Add declarations to avoid assumption of visible
2730         operations on type System.Address (since these might not be available
2731         if Address is a non-private type for which the operations are made
2732         abstract).
2733
2734         * lib.ads, lib.adb (Synchronize_Serial_Number): New procedure.
2735
2736         * exp_intr.adb: Minor comment update
2737
2738         * exp_aggr.adb, exp_attr.adb, exp_ch13.adb: Minor reformatting.
2739
2740         * 5omastop.adb: Add declarations to avoid assumption of visible
2741         operations on type System.Address (since these might not be available
2742         if Address is a non-private type for which the operations
2743         are made abstract).
2744
2745 2004-04-19  Vincent Celier  <celier@gnat.com>
2746
2747         * switch-m.adb: (Scan_Make_Switches): Process new switch -eL
2748
2749         * prj-pars.ads (Parse): New Boolean parameter Process_Languages,
2750         defaulted to Ada.
2751
2752         * prj-proc.adb (Process): New Boolean parameter Process_Languages,
2753         defaulted to Ada.
2754         Call Check with Process_Languages.
2755         (Check): New Boolean parameter Process_Languages. Call Recursive_Check
2756         with Process_Languages.
2757         (Recursive_Check): New Boolean parameter Process_Languages. Call
2758         Nmsc.Ada_Check or Nmsc.Other_Languages_Check according to
2759         Process_Languages.
2760
2761         * prj-proc.ads (Process): New Boolean parameter Process_Languages,
2762
2763         * prj-util.ads, prj-util.adb (Executable_Of): New Boolean
2764         parameter Ada_Main, defaulted to True.
2765         Check for Ada specific characteristics only when Ada_Main is True.
2766
2767         * opt.ads: (Follow_Links): New Boolean flag for gnatmake
2768
2769         * prj.adb: (Project_Empty): Add new Project_Data components.
2770
2771         * prj.ads: New types and tables for non Ada languages.
2772         (Project_Data): New components Languages, Impl_Suffixes,
2773         First_Other_Source, Last_Other_Source, Imported_Directories_Switches,
2774         Include_Path, Include_Data_Set.
2775
2776         * prj-env.ads, prj-env.adb: Minor reformatting
2777
2778         * prj-nmsc.ads, prj-nmsc.adb: (Other_Languages_Check): New procedure
2779         Put subprograms in alphabetical order
2780
2781         * prj-pars.adb (Parse): New Boolean parameter Process_Languages,
2782         defaulted to Ada; Call Prj.Proc.Process with Process_Languages and
2783         Opt.Follow_Links.
2784
2785         * mlib-prj.adb: Back out modification in last version, as they are
2786         incorrect.
2787         (Build_Library.Check_Libs): Remove useless pragma Warnings (Off)
2788
2789         * make.adb: (Mains): Moved to package Makeutl
2790         (Linker_Opts): Moved to package Makeutl
2791         (Is_External_Assignment): Moved to package Makeutl
2792         (Test_If_Relative_Path): Moved to package Makeutl
2793         (Gnatmake): Move sorting of linker options to function
2794         Makeutl.Linker_Options_Switches.
2795
2796         * makeutl.ads, makeutl.adb: New files.
2797
2798         * Makefile.in: Add makeutl.o to the object files for gnatmake
2799
2800         * makeusg.adb: Add line for new switch -eL.
2801
2802         * gnatls.adb (Image): New function.
2803         (Output_Unit): If in verbose mode, output the list of restrictions
2804         specified by pragmas Restrictions.
2805
2806         * 5bml-tgt.adb, 5vml-tgt.adb (Build_Dynamic_Library): Do not use
2807         Text_IO.
2808
2809         * a-calend.adb (Split): Shift the date by multiple of 56 years, if
2810         needed, to put it in the range 1970 (included) - 2026 (excluded).
2811         (Time_Of): Do not shift Unix_Min_Year (1970).
2812         Shift the date by multiple of 56 years, if needed, to put it in the
2813         range 1970 (included) - 2026 (excluded).
2814
2815         * adaint.h, adaint.c (__gnat_set_executable): New function.
2816
2817 2004-04-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2818
2819         * trans.c (tree_transform, case N_Subprogram_Body): Temporarily push
2820         and pop GC context.
2821         (tree_transform, case N_Procedure_Call): Fix typo in setting TREE_TYPE.
2822         (tree_transform, case N_Label): Don't set LABEL_STMT_FIRST_IN_EH.
2823         (tree_transform, case N_Procedure_Call_Statement): Build a tree.
2824         (tree_transform, case N_Code_Statement): Likewise.
2825         (gnat_expand_stmt, case LABEL_STMT): Don't look at
2826         LABEL_STMT_FIRST_IN_EH.
2827         (gnat_expand_stmt, case ASM_STMT): New case.
2828
2829         * utils2.c (build_unary_op): Properly set TREE_READONLY of
2830         UNCONSTRAINED_ARRAY_REF.
2831
2832         * utils.c (poplevel): Temporarily push/pop GC context around inline
2833         function expansion.
2834
2835         * decl.c (maybe_variable): Properly set TREE_READONLY of
2836         UNCONSTRAINED_ARRAY_REF.
2837         (make_packable_type): Only reference TYPE_IS_PADDING_P for RECORD_TYPE.
2838
2839         * ada-tree.def: (ASM_STMT): New.
2840
2841         * ada-tree.h: (LABEL_STMT_FIRST_IN_EH): Deleted.
2842         (ASM_STMT_TEMPLATE, ASM_STMT_OUTPUT, ASM_STMT_ORIG_OUT,
2843         ASM_STMT_INPUT): New.
2844         (ASM_STMT_CLOBBER): Likewise.
2845
2846 2004-04-19  Thomas Quinot  <quinot@act-europe.fr>
2847
2848         * a-except.adb, s-parint.ads, s-parint.adb, types.ads, types.h: Use
2849         general rcheck mechanism to raise Program_Error for E.4(18), instead
2850         of a custom raiser in System.Partition_Interface.
2851         Part of general cleanup work before PolyORB integration.
2852
2853         * snames.ads, snames.adb: Add new runtime library entities and names
2854         for PolyORB DSA.
2855
2856         * sem_dist.ads, sem_dist.adb (Get_Subprogram_Id): Move from sem_dist to
2857         exp_dist.
2858         (Build_Subprogram_Id): New subprogram provided by exp_dist
2859         Code reorganisation in preparation for PolyORB integration.
2860
2861         * exp_dist.ads, exp_dist.adb (Get_Subprogram_Id): Move from sem_dist to
2862         exp_dist.
2863         (Build_Subprogram_Id): New subprogram provided by exp_dist
2864
2865         * sem_ch4.adb (Analyze_One_Call): Fix error message for mismatch in
2866         actual parameter types for call to dereference of an
2867         access-to-subprogram type.
2868
2869         * rtsfind.ads: Add new runtime library entities and names for PolyORB
2870         DSA.
2871
2872         * gnatlink.adb (Value): Remove. Use Interfaces.C.Strings.Value
2873         instead, which has the same behaviour here since we never pass it a
2874         NULL pointer.
2875
2876         * link.c (run_path_option, Solaris case): Use -Wl, as for other
2877         platforms.
2878
2879         * Makefile.in: adjust object file lists for gnatlink and gnatmake
2880         to account for new dependency upon Interfaces.C.Strings + link.o
2881         For x86 FreeBSD, use 86numaux.
2882
2883         * make.adb, gnatcmd.adb: Linker_Library_Path_Option has been moved up
2884         from Mlib.Tgt to Mlib.
2885
2886         * mlib.ads, mlib.adb (Linker_Library_Path_Option): New subprogram, now
2887         target-independent.
2888
2889         * mlib-tgt.ads, mlib-tgt.adb (Linker_Library_Path_Option): Remove
2890         target-specific versions of this subprogram, now implemented as a
2891         target-independent function in Mlib.
2892
2893         * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb, 5lml-tgt.adb,
2894         5sml-tgt.adb, 5vml-tgt.adb, 5zml-tgt.adb, 5wml-tgt.adb
2895         (Linker_Library_Path_Option): Remove target-specific versions of this
2896         subprogram, now implemented as a target-independent function in Mlib.
2897
2898         * atree.adb: (Allocate_Initialize_Node): New subprogram.
2899         Factors out node table slots allocation.
2900         (Fix_Parents): New subprogram.
2901         Encapsulate the pattern of fixing up parent pointers for syntactic
2902         children of a rewritten node.
2903         (New_Copy_Tree): Use New_Copy to copy non-entity nodes.
2904         (Rewrite): Use New_Copy when creating saved copy of original node.
2905         (Replace): Use Copy_Node to copy nodes.
2906
2907 2004-04-19  Javier Miranda  <miranda@gnat.com>
2908
2909         * sprint.adb (Sprint_Node_Actual): Give support to the new
2910         Access_To_Subprogram node available in Access_Definition nodes. In
2911         addition, give support to the AI-231 node fields: null-exclusion,
2912         all-present, constant-present.
2913
2914         * sem_util.ads, sem_util.adb: (Has_Declarations): New subprogram
2915
2916         * sinfo.ads, sinfo.adb:
2917         New field Access_To_Subprogram_Definition in Access_Definition nodes
2918
2919         * sem_ch6.adb (Process_Formals): Move here the code that creates and
2920         decorates internal subtype declaration corresponding to the
2921         null-excluding formal. This code was previously in Set_Actual_Subtypes.
2922         In addition, carry out some code cleanup on this code. In case of
2923         access to protected subprogram call
2924         Replace_Anonymous_Access_To_Protected_Subprogram.
2925         (Set_Actual_Subtypes): Code cleanup.
2926
2927         * sem_ch8.adb (Analyze_Object_Renaming): Remove un-necessary call to
2928         Find_Type in case of anonymous access renamings. Add warning in case of
2929         null-excluding attribute used in anonymous access renaming.
2930
2931         * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New
2932         subprogram
2933
2934         * sem_ch3.adb (Replace_Anonymous_Access_To_Protected_Subprogram): New
2935         subprogram.
2936         (Access_Definition): In case of anonymous access to subprograms call
2937         the corresponding semantic routine to decorate the node.
2938         (Access_Subprogram_Declaration): Addition of some comments indicating
2939         some code that probably should be added here. Detected by comparison
2940         with the access_definition subprogram.
2941         (Analyze_Component_Declaration): In case of access to protected
2942         subprogram call Replace_Anonymous_Access_To_Protected.
2943         (Array_Type_Declaration): In case of access to protected subprogram call
2944         Replace_Anonymous_Access_To_Protected_Subprogram.
2945         (Process_Discriminants): In case of access to protected subprogram call
2946         Replace_Anonymous_Access_To_Protected_Subprogram.
2947
2948         * par.adb (P_Access_Definition): New formal that indicates if the
2949         null-exclusion part was present.
2950         (P_Access_Type_Definition): New formal that indicates if the caller has
2951         already parsed the null-excluding part.
2952
2953         * par-ch3.adb (P_Subtype_Declaration): Code cleanup.
2954         (P_Identifier_Declarations): Code cleanup and give support to renamings
2955         of anonymous access to subprogram types.
2956         (P_Derived_Type_Def_Or_Private_Ext_Decl): Code cleanup.
2957         (P_Array_Type_Definition): Give support to AI-254.
2958         (P_Component_Items): Give support to AI-254.
2959         (P_Access_Definition): New formal that indicates if the header was
2960         already parsed by the caller.
2961         (P_Access_Type_Definition): New formal that indicates if the caller has
2962         already parsed the null-excluding part.
2963
2964         * par-ch6.adb (P_Formal_Part): Add the null-excluding parameter to the
2965         call to P_Access_Definition.
2966
2967 2004-04-19  Geert Bosch  <bosch@gnat.com>
2968
2969         * checks.adb (Apply_Float_Conversion_Check): New procedure to implement
2970         the delicate semantics of floating-point to integer conversion.
2971         (Apply_Type_Conversion_Checks): Use Apply_Float_Conversion_Check.
2972
2973         * eval_fat.adb (Machine_Mantissa): Moved to spec.
2974         (Machine_Radix): New function.
2975
2976         * eval_fat.ads (Machine_Mantissa): Moved from body for use in
2977         conversion checks.
2978         (Machine_Radix): New function also for use in conversion checks.
2979
2980 2004-04-19  Ed Schonberg  <schonberg@gnat.com>
2981
2982         * par-prag.adb (Source_File_Name_Project): Fix typo in error message.
2983
2984         * exp_ch9.adb (Expand_Access_Protected_Subprogram_Type): Call analyze
2985         to decorate the access-to-protected subprogram and the equivalent type.
2986
2987         * checks.adb (Null_Exclusion_Static_Checks): Code cleanup. Give support
2988         to anonymous access to subprogram types.
2989
2990         * exp_ch4.adb (Expand_N_In): Preserve Static flag before
2991         constant-folding, for legality checks in contexts that require an RM
2992         static expression.
2993
2994         * exp_ch6.adb (Expand_N_Function_Call): If call may generate large
2995         temporary but stack checking is not enabled, increment serial number
2996         to so that symbol generation is consistent with and without stack
2997         checking.
2998
2999         * exp_util.ads, exp_util.adb (May_Generate_Large_Temp): Predicate is
3000         independent on whether stack checking is enabled, caller must check
3001         the corresponding flag.
3002
3003         * sem_ch3.adb (Constrain_Index): Index bounds given by attributes need
3004         range checks.
3005         (Build_Derived_Concurrent_Type): Inherit Is_Constrained flag from
3006         parent if it has discriminants.
3007         (Build_Derived_Private_Type): Constructed full view does
3008         not come from source.
3009         (Process_Discriminants): Default discriminants on a tagged type are
3010         legal if this is the internal completion of a private untagged
3011         derivation.
3012
3013         * sem_ch6.adb (Set_Actual_Subtypes): The generated declaration needs
3014         no constraint checks, because it corresponds to an existing object.
3015
3016         * sem_prag.adb (Process_Convention): Pragma applies
3017         only to subprograms in the same declarative part, i.e. the same unit,
3018         not the same scope.
3019
3020         * sem_res.adb (Valid_Conversion): In an instance or inlined body,
3021         ignore type mismatch on a numeric conversion if expression comes from
3022         expansion.
3023
3024 2004-04-19  Sergey Rybin  <rybin@act-europe.fr>
3025
3026         * sem_elim.adb (Process_Eliminate_Pragma): Remove the processing for
3027         Homonym_Number parameter, add processing for Source_Location parameter
3028         corresponding.
3029         (Check_Eliminated): Remove the check for homonym numbers, add the check
3030         for source location traces.
3031
3032         * sem_elim.ads (Process_Eliminate_Pragma): Replace Arg_Homonym_Number
3033         with Arg_Source_Location corresponding to the changes in the format of
3034         the pragma.
3035
3036         * sem_prag.adb: (Analyze_Pragma): Changes in the processing of
3037         Eliminate pragma corresponding to the changes in the format of the
3038         pragma: Homonym_Number is replaced with Source_Location, two ways of
3039         distinguishing homonyms are mutially-exclusive.
3040
3041 2004-04-19  Joel Brobecker  <brobecker@gnat.com>
3042
3043         * get_targ.ads (Get_No_Dollar_In_Label): Remove.
3044
3045         * exp_dbug.adb (Output_Homonym_Numbers_Suffix): Remove use of
3046         No_Dollar_In_Label, no longer necessary, as it is always True.
3047         (Strip_Suffixes): Likewise.
3048
3049 2004-04-19  Gary Dismukes  <dismukes@gnat.com>
3050
3051         * s-stalib.ads (type Exception_Code): Use Integer'Size for exponent of
3052         modulus for compatibility with size clause on targets with 16-bit
3053         Integer.
3054
3055         * layout.adb (Discrimify): In the case of private types, set Vtyp to
3056         full type to fix type mismatches on calls to size functions for
3057         discriminant-dependent array components.
3058
3059 2004-04-19  Jerome Guitton  <guitton@act-europe.fr>
3060
3061         * Makefile.in (gnatlib-zcx): New target, for building a ZCX run-time
3062         lib.
3063
3064 2004-04-19  Pascal Obry  <obry@gnat.com>
3065
3066         * mdll-utl.adb (Locate): New version is idempotent.
3067
3068 2004-04-17  Laurent Guerby <laurent@guerby.net>
3069
3070         PR ada/14988 (partial)
3071         * impunit.adb: Fix typo.
3072
3073 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
3074
3075         * Make-lang.in: Remove obsolete rts-none, rts-cert, install-rts-none,
3076         and install-rts-cert targets.  Remove all gnatlib and gnattools
3077         targets and all other rts-* targets (moved to libada).  Remove (now)
3078         unused Make variables CHMOD, CHMOD_AX_FLAGS, shext, THREAD_KIND,
3079         TRACE, GNATLIBFLAGS, GNATLIBCFLAGS.
3080
3081 2004-04-08  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3082
3083         * trans.c (tree_transform): Shortcut returning error_mark_node for
3084         statements in annotate_only_mode.
3085         (tree_transform, case N_Label, case N_Return_Statement,
3086         N_Goto_Statement): Make statement tree instead of generating code.
3087         (tree_transform, case N_Assignment_Statement): No longer check
3088         type_annotate_only.
3089         (gnat_expand_stmt, case GOTO_STMT, case LABEL_STMT, case
3090         RETURN_STMT): New.
3091         (first_nondeleted_insn, build_block_stmt, make_expr_stmt_from_rtl):
3092         New fcns.
3093         (gnat_to_gnu): Collect any RTL generated and deal with it.
3094         (tree_transform, case N_And_Then): Refine when have non-null RTL_EXPR.
3095         (tree_transform case N_If_Statement): Rewrite to make IF_STMT.
3096         (gnat_expand_stmt, case BLOCK_STMT, IF_STMT): New cases.
3097
3098         * ada-tree.def (GOTO_STMT, LABEL_STMT, RETURN_STMT): New tree nodes.
3099
3100         * ada-tree.def (EXPR_STMT): Fix typo in name.
3101         (BLOCK_STMT, IF_STMT): New nodes.
3102
3103         * ada-tree.h (GOTO_STMT_LABEL, LABEL_STMT_LABEL,
3104         LABEL_STMT_FIRST_IN_EH): New macros.
3105         (RETURN_STMT_EXPR): Likewise.
3106
3107         * ada-tree.h: (BLOCK_STMT_LIST, IF_STMT_COND, IF_STMT_TRUE,
3108         IF_STMT_ELSEIF, IF_STMT_ELSE): New macros.
3109
3110 2004-04-08  Thomas Quinot  <quinot@act-europe.fr>
3111
3112         * atree.ads: Correct documentation on extended nodes.
3113
3114         * link.c: Set run_path_option for FreeBSD.
3115
3116 2004-04-08  Vincent Celier  <celier@gnat.com>
3117
3118         * mlib-prj.adb (Build_Library.Check_Libs): On OpenVMS, if dec.ali is
3119         one of the ALI file, do not link with DEC lib.
3120
3121         * par.adb Remove the last two characters ("%s" or "%b") when checking
3122         if a language defined unit may be recompiled.
3123
3124 2004-04-08  Ed Schonberg  <schonberg@gnat.com>
3125
3126         * sem_ch4.adb (Remove_Abstract_Operations): Improve error message when
3127         removal of abstract operation leaves no possible interpretation for
3128         expression.
3129
3130         * sem_eval.adb (Eval_Qualified_Expression): Use
3131         Set_Raises_Constraint_Error on node when needed, so that it does not
3132         get optimized away by subsequent optimizations.
3133
3134         * sem_res.adb (Resolve_Intrinsic_Operator): Save interpretations of
3135         operands even when they are not wrapped in a type conversion.
3136
3137 2004-04-08  Olivier Hainque  <hainque@act-europe.fr>
3138
3139         * sem_prag.adb (Set_Exported): Warn about making static as result of
3140         export only when the export is coming from source. This may be not
3141         be true e.g. on VMS where we expand export pragmas for exception codes
3142         together with imported or exported exceptions, and we don't want the
3143         user to be warned about something he didn't write.
3144
3145 2004-04-08  Thomas Quinot  <quinot@act-europe.fr>
3146
3147         * sem_util.adb (Note_Possible_Modification): Reorganize to remove code
3148         duplication between normal entities and those declared as renamings.
3149         No functional change.
3150
3151         * s-fileio.ads (Form): Remove pragma Inline, as we cannot currently
3152         inline functions returning an unconstrained result.
3153
3154 2004-04-08  Eric Botcazou  <ebotcazou@act-europe.fr>
3155
3156         * utils.c (type_for_mode): Handle BLKmode and VOIDmode properly, to
3157         conform to what other front-ends do.
3158
3159 2004-04-08  Doug Rupp  <rupp@gnat.com>
3160
3161         * 5vml-tgt.adb: Use Gas instead of VMS Macro to build auto init shared
3162         libraries.
3163
3164 2004-04-06  Pascal Obry  <obry@gnat.com>
3165
3166         * adaint.c (DIR_SEPARATOR): Properly set DIR_SEPARATOR on Win32.
3167
3168         * osint.adb (Program_Name): Do not look past a directory separator.
3169
3170 2004-04-06  Thomas Quinot  <quinot@act-europe.fr>
3171
3172         * atree.adb: Update comment (Rewrite_Substitute_Node no longer exists).
3173
3174         * exp_ch6.adb (Rewrite_Function_Call): Clarify documentation of
3175         requirement for preserving a copy of the original assignment node.
3176
3177         * sinfo.ads: Update comment (Original_Tree -> Original_Node).
3178
3179 2004-04-06  Olivier Hainque  <hainque@act-europe.fr>
3180
3181         (__gnat_initialize [Vxworks]): Enable references to the crtstuff bits
3182         when supported.
3183
3184 2004-04-06  Ed Schonberg  <schonberg@gnat.com>
3185
3186         * sem_ch4.adb (Remove_Abstract_Operations): Extend previous changes to
3187         operator calls in functional notation, and apply
3188         Universal_Interpretation to operands, not to their type.
3189
3190 2004-04-06  Robert Dewar  <dewar@gnat.com>
3191
3192         * 5wdirval.adb: Minor reformatting
3193
3194 2004-04-06  Ed Falis  <falis@gnat.com>
3195
3196         * gnat_rm.texi: Improve a reference to the GCC manual
3197
3198 2004-04-05  Vincent Celier  <celier@gnat.com>
3199
3200         * adaint.h, adaint.c: Add function __gnat_named_file_length
3201
3202         * impunit.adb: Add Ada.Directories to the list
3203
3204         * Makefile.in: Add VMS and Windows versions of
3205         Ada.Directories.Validity package body.
3206
3207         * Makefile.rtl: Add a-direct and a-dirval
3208
3209         * mlib-tgt.ads: Minor comment update.
3210
3211         * a-dirval.ads, a-dirval.adb, 5vdirval.adb, 5wdirval.adb,
3212         a-direct.ads, a-direct.adb: New files.
3213
3214 2004-04-05  Vincent Celier  <celier@gnat.com>
3215
3216         PR ada/13620
3217         * make.adb (Scan_Make_Arg): Pass any -fxxx switches to gnatlink, not
3218         just to the compiler.
3219
3220 2004-04-05  Robert Dewar  <dewar@gnat.com>
3221
3222         * a-except.adb (Exception_Name_Simple): Make sure lower bound of
3223         returned string is 1.
3224
3225         * ali-util.adb: Use proper specific form for Warnings (Off, entity)
3226
3227         * eval_fat.ads: Minor reformatting
3228
3229         * g-curexc.ads: Document that lower bound of returned string values
3230         is always one.
3231
3232         * gnatlink.adb: Add ??? comment for previous change
3233         (need to document why this is VMS specific)
3234
3235         * s-stoele.ads: Minor reformatting
3236
3237         * tbuild.ads: Minor reformatting throughout (new function specs)
3238
3239         * par-ch10.adb (P_Context_Clause): Handle comma instead of semicolon
3240         after WITH.
3241
3242         * scng.adb: Minor reformatting
3243
3244 2004-04-05  Geert Bosch  <bosch@gnat.com>
3245
3246         * eval_fat.adb (Machine): Remove unnecessary suppression of warning.
3247         (Leading_Part): Still perform truncation to machine number if the
3248         specified radix_digits is greater or equal to machine_mantissa.
3249
3250 2004-04-05  Javier Miranda  <miranda@gnat.com>
3251
3252         * par-ch3.adb: Complete documentation of previous change
3253         Correct wrong syntax documentation of the OBJECT_DECLARATION rule
3254         (aliased must appear before constant).
3255
3256         * par-ch4.adb: Complete documentation of previous change.
3257
3258         * par-ch6.adb: Complete documentation of previous change.
3259
3260         * sinfo.ads: Fix typo in commment.
3261
3262 2004-04-05  Ed Schonberg  <schonberg@gnat.com>
3263
3264         * sem_ch3.adb (Inherit_Components): If derived type is private and has
3265         stored discriminants, use its discriminants to constrain parent type,
3266         as is done for non-private derived record types.
3267
3268         * sem_ch4.adb (Remove_Abstract_Operations): New subprogram to implement
3269         Ada 2005 AI-310: an abstract non-dispatching operation is not a
3270         candidate interpretation in an overloaded call.
3271
3272         * tbuild.adb (Unchecked_Convert_To): Preserve conversion node if
3273         expression is Null and target type is not an access type (e.g. a
3274         non-private address type).
3275
3276 2004-04-05  Thomas Quinot  <quinot@act-europe.fr>
3277
3278         * exp_ch6.adb (Rewrite_Function_Call): When rewriting an assignment
3279         statement whose right-hand side is an inlined call, save a copy of the
3280         original assignment subtree to preserve enough consistency for
3281         Analyze_Assignment to proceed.
3282
3283         * sem_ch5.adb (Analyze_Assignment): Remove a costly copy of the
3284         complete assignment subtree which is now unnecessary, as the expansion
3285         of inlined call has been improved to preserve a consistent assignment
3286         tree.  Note_Possible_Modification must be called only
3287         after checks have been applied, or else unnecessary checks will
3288         be generated.
3289
3290         * sem_util.adb (Note_Possible_Modification): Reorganise the handling
3291         of explicit dereferences that do not Come_From_Source:
3292          - be selective on cases where we must go back to the dereferenced
3293            pointer (an assignment to an implicit dereference must not be
3294            recorded as modifying the pointer);
3295          - do not rely on Original_Node being present (Analyze_Assignment
3296            calls Note_Possible_Modification on a copied tree).
3297
3298         * sem_warn.adb (Check_References): When an unset reference to a pointer
3299         that is never assigned is encountered, prefer '<pointer> may be null'
3300         warning over '<pointer> is never assigned a value'.
3301
3302 2004-04-05  Ramon Fernandez  <fernandez@gnat.com>
3303
3304         * tracebak.c: Change STOP_FRAME in ppc vxworks to be compliant with
3305         the ABI.
3306
3307 2004-04-05  Olivier Hainque  <hainque@act-europe.fr>
3308
3309         * 5gmastop.adb (Pop_Frame): Comment out the pragma Linker_Option for
3310         libexc. We currently don't reference anything in this library and
3311         linking it in triggers linker warnings we don't want to see.
3312
3313         * init.c: Update comments.
3314
3315 2004-04-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3316
3317         * decl.c (gnat_to_gnu_entity): Use TYPE_READONLY.
3318         * utils.c (create_field_decl): Likewise.
3319         * utils2.c (build_unary_op, gnat_build_constructor): Likewise.
3320
3321 2004-04-02  Arnaud Charlet  <charlet@act-europe.fr>
3322
3323         * gnat-style.texi, gnat_rm.texi, gnat_ugn.texi: Remove RCS tags.
3324         Replace ifinfo by ifnottex, to make makeinfo --html happy again.
3325         Add info directory entry and category.
3326
3327 2004-04-02  Jan Hubicka  <jh@suse.cz>
3328
3329         * utils.c: Include function.h
3330         (end_subprog_body): Clear DECL_STRUCT_FUNCTION.
3331
3332 2004-04-01  Arnaud Charlet  <charlet@act-europe.fr>
3333
3334         PR ada/14150
3335         * Make-lang.in: Clean up generation of documentation
3336
3337         * gnat-style.texi, gnat_rm.texi, ug_words: Resync with AdaCore version
3338
3339         * xgnatug.adb: Removed, replaced by xgnatugn.adb
3340
3341         * xgnatugn.adb: Replaces xgnatug.adb
3342
3343         * gnat_ug.texi: Removed, replaced by gnat_ugn.texi
3344
3345         * gnat_ugn.texi: Replaces gnat_ug.texi. Resync with AdaCore version
3346
3347         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3348         gnat_ug_wnt.texi: Removed.
3349
3350 2004-04-01  Arnaud Charlet  <charlet@act-europe.fr>
3351
3352         * utils2.c: Update copyright notice.
3353
3354 2004-04-01  Robert Dewar  <dewar@gnat.com>
3355
3356         * checks.adb: Minor reformatting throughout
3357         Note that prev checkin added RM reference to alignment warning
3358
3359 2004-04-01  Ed Schonberg  <schonberg@gnat.com>
3360
3361         * exp_aggr.adb (Get_Component_Val): Treat a string literal as
3362         non-static when building aggregate for bit-packed array.
3363
3364         * exp_ch4.adb (Expand_N_Slice): If a packed slice is an actual of a
3365         function call that is itself the actual in a procedure call, build
3366         temporary for it.
3367
3368         * exp_pakd.adb (Expand_Bit_Packed_Element_Set): If right-hand side is
3369         a string literal, create a temporary for it, constant folding only
3370         handles scalars here.
3371
3372 2004-04-01  Vincent Celier  <celier@gnat.com>
3373
3374         * ali-util.adb (Post_Scan, Error_Msg, Error_Msg_S, Error_Msg_SC,
3375         Error_Msg_SP): New empty procedures to instantiate the Scanner.
3376         (Style, Scanner): Instantiations of Styleg and Scng to be able to scan
3377         tokens.
3378         (Accumulate_Checksum, Initialize_Checksum): Remove procedures.
3379         (Get_File_Checksum): Use the instantiated scanner to scan all the tokens
3380         and get the checksum.
3381
3382         * make.adb (Gnatmake): Do not insert into Q the Main_Source if it is
3383         already in the Q.
3384         Increase the Marking_Label at the end of the Multiple_Main_Loop,
3385         instead of at the beginning.
3386
3387         * osint.adb (Lib_File_Name): Use Multi_Unit_Index_Character, not '~'
3388         directly.
3389         (Osint package elaboration): Change Multi_Unit_Index_Character to '$' if
3390         on VMS.
3391
3392         * osint.ads (Multi_Unit_Index_Character): New Character global variable
3393
3394         * osint-c.adb (Set_Library_Info_Name): Use Multi_Unit_Index_Character,
3395         not '~' directly.
3396
3397         * par.adb: Remove test on file name to detect language defined units.
3398         Add test on unit name, after parsing, to detect language defined units
3399         that are not compiled with -gnatg (except System.RPC and its children)
3400
3401         * par-ch10.adb (P_Compilation_Unit): In multi-unit sources, scan the
3402         following units without style checking.
3403
3404         * switch-c.adb: Change -gnatC to -gnateI
3405
3406         * usage.adb: Document new switch -gnateInnn
3407
3408         * scng.adb (Accumulate_Token_Checksum): New procedure
3409         (Scan): Call Accumulate_Token_Checksum after each identifier, reserved
3410         word or literal number.
3411         (Scan.Nlit.Scan_Integer): Do not accumulate internal '_' in litteral
3412         numbers.
3413
3414 2004-04-01  Thomas Quinot  <quinot@act-europe.fr>
3415
3416         * a-tasatt.adb,
3417         g-comlin.adb, sinput-c.adb, s-secsta.adb, s-tpobop.adb,
3418         switch-m.adb, 56taprop.adb, 5ginterr.adb, 5gmastop.adb,
3419         5staprop.adb, 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb,
3420         5vtpopde.adb: Add missing 'constant' keywords.
3421
3422 2004-04-01  Javier Miranda  <miranda@gnat.com>
3423
3424         * par-ch4.adb: (P_Allocator): Code cleanup
3425
3426         * sem_ch3.adb (Access_Definition): Properly set the null-excluding
3427         attribute.
3428
3429         * sinfo.ads: Complete documentation of previous change
3430
3431 2004-04-01  Pascal Obry  <obry@gnat.com>
3432
3433         * gnatlink.adb (Process_Binder_File): Remove duplicate linker options
3434         only on VMS.  This special handling was done because an old GNU/ld bug
3435         on Windows which has been fixed.
3436
3437 2004-04-01  GNAT Script  <nobody@gnat.com>
3438
3439         * Make-lang.in: Makefile automatically updated
3440
3441 2004-03-31  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3442
3443         * decl.c (gnat_to_gnu_entity, make_type_from_size):
3444         Use TYPE_UNSIGNED, not TREE_UNSIGNED.
3445         * trans.c (tree_transform, convert_with_check): Likewise.
3446         * utils.c (gnat_signed_or_unsigned_type): Likewise.
3447         (build_vms_descriptor, unchecked_convert): Likewise.
3448         * utils2.c (nonbinary_modular_operation): Likewise.
3449
3450 2004-03-29  Javier Miranda  <miranda@gnat.com>
3451
3452         * checks.adb (Null_Exclusion_Static_Checks): New subprogram
3453         (Install_Null_Excluding_Check): Local subprogram that determines whether
3454         an access node requires a runtime access check and if so inserts the
3455         appropriate run-time check.
3456         (Apply_Access_Check): Call Install_Null_Excluding check if required
3457         (Apply_Constraint_Check): Call Install_Null_Excluding check if required
3458
3459         * checks.ads: (Null_Exclusion_Static_Checks): New subprogram
3460
3461         * einfo.ads: Fix typo in comment
3462
3463         * exp_ch3.adb (Build_Assignment): Generate conversion to the
3464         null-excluding type to force the corresponding run-time check.
3465         (Expand_N_Object_Declaration): Generate conversion to the null-excluding
3466         type to force the corresponding run-time check.
3467
3468         * exp_ch5.adb (Expand_N_Assignment_Statement): Generate conversion to
3469         the null-excluding type to force the corresponding run-time check.
3470
3471         * exp_ch6.adb (Expand_Call): Do not generate the run-time check in
3472         case of access types unless they have the null-excluding attribute.
3473
3474         * sprint.adb (Sprint_Node_Actual): Give support to the null-exclusing
3475         part.
3476
3477         * exp_util.ads: Fix typo in comment
3478
3479         * par.adb (P_Null_Exclusion): New subprogram
3480         (P_Subtype_Indication): New formal that indicates if the null-excluding
3481         part has been scanned-out and it was present
3482
3483         * par-ch3.adb, par-ch4.adb, par-ch6.adb: Give support to AI-231
3484
3485         * sem_aggr.adb: (Check_Can_Never_Be_Null): New subprogram
3486         (Aggregate_Constraint_Checks): Generate conversion to the null-excluding
3487         type to force the corresponding run-time check
3488         (Resolve_Aggregate): Propagate the null-excluding attribute to the array
3489         components
3490         (Resolve_Array_Aggregate): Carry out some static checks
3491         (Resolve_Record_Aggregate.Get_Value): Carry out some static check
3492
3493         * sem_ch3.adb (Access_Definition): In Ada 0Y the Can_Never_Be_Null
3494         attribute must be set only if specified by means of the null-excluding
3495         part. In addition, we must also propagate the access-constant attribute
3496         if present.
3497         (Access_Subprogram_Declaration, Access_Type_Declaration,
3498         Analyze_Component_Declaration, Analyze_Object_Declaration,
3499         Array_Type_Declaration, Process_Discriminants,
3500         Analyze_Subtype_Declaration): Propagate the null-excluding attribute
3501         and carry out some static checks.
3502         (Build_Derived_Access_Type): Set the null-excluding attribute
3503         (Derived_Type_Declaration, Process_Subtype): Carry out some static
3504         checks.
3505
3506         * sem_ch4.adb (Analyze_Allocator): Carry out some static checks
3507
3508         * sem_ch5.adb (Analyze_Assignment): Carry out some static checks
3509
3510         * sem_ch6.adb (Process_Formals): Carry out some static checks.
3511         (Set_Actual_Subtypes): Generate null-excluding subtype if the
3512         null-excluding part was present; it is not required to be done here in
3513         case of anonymous access types.
3514         (Set_Formal_Mode): Ada 0Y allows anonymous access to have the null
3515         value.
3516
3517         * sem_res.adb (Resolve_Actuals): Carry out some static check
3518         (Resolve_Null): Allow null in anonymous access
3519
3520         * sinfo.adb: New subprogram Null_Exclusion_Present
3521         All_Present and Constant_Present available on access_definition nodes
3522
3523         * sinfo.ads: New flag Null_Exclusion_Present on subtype_declaration,
3524         object_declaration, derived_type_definition, component_definition,
3525         discriminant_specification, access_to_object_definition,
3526         access_function_definition, allocator, access_procedure_definition,
3527         access_definition, parameter_specification, All_Present and
3528         Constant_Present flags available on access_definition nodes.
3529
3530 2004-03-29  Robert Dewar  <dewar@gnat.com>
3531
3532         * fname.adb, fname.ads, fname-sf.adb, fname-uf.adb, fname-uf.ads,
3533         gnat1drv.adb, lib.adb, lib.ads, lib-load.adb, lib-writ.adb,
3534         opt.ads, osint.adb, osint.ads, osint-c.adb, par.adb,
3535         par-ch10.adb, par-load.adb, par-prag.adb, sfn_scan.adb,
3536         sfn_scan.ads, sinput-l.adb, sinput-l.ads, switch-c.adb,
3537         sem_prag.adb: Updates to handle multiple units/file
3538
3539         * par.adb: Change test for s-rpc to s-rp for detecting rpc and children
3540
3541         * par.adb, memtrack.adb, prj-makr.adb, prj-part.adb,
3542         sem_util.adb: Minor reformatting
3543
3544         * sem_ch12.adb: Add comment for previous change
3545
3546 2004-03-29  Laurent Pautet  <pautet@act-europe.fr>
3547
3548         * osint.adb (Executable_Prefix): Set Exec_Name to the current
3549         executable name when not initialized. Otherwise, use its current value.
3550
3551         * osint.ads (Exec_Name): Move Exec_Name from body to spec in order to
3552         initialize it to another executable name than the current one. This
3553         allows to configure paths for an executable name (gnatmake) different
3554         from the current one (gnatdist).
3555
3556 2004-03-29  Ed Schonberg  <schonberg@gnat.com>
3557
3558         * exp_ch6.adb (Expand_Call): A call to a function declared in the
3559         current unit cannot be inlined if it appears in the body of a withed
3560         unit, to avoid order of elaboration problems in gigi.
3561
3562         * exp_ch9.adb (Build_Protected_Sub_Specification): Generate debugging
3563         information for protected (wrapper) operation as well, to simplify gdb
3564         use.
3565
3566         * sem_ch6.adb (Analyze_Subprogram_Body): For a private operation in a
3567         protected body, indicate that the entity for the generated spec comes
3568         from source, to ensure that references are properly generated for it.
3569         (Build_Body_To_Inline): Do not inline a function that returns a
3570         controlled type.
3571
3572         * sem_prag.adb (Process_Convention): If subprogram is overloaded, only
3573         apply convention to homonyms that are declared explicitly.
3574
3575         * sem_res.adb (Make_Call_Into_Operator): If the operation is a function
3576         that renames an equality operator and the operands are overloaded,
3577         resolve them with the declared formal types, before rewriting as an
3578         operator.
3579
3580 2004-03-29  GNAT Script  <nobody@gnat.com>
3581
3582         * Make-lang.in: Makefile automatically updated
3583
3584 2004-03-25  Vasiliy Fofanov  <fofanov@act-europe.fr>
3585
3586         * memtrack.adb: Log realloc calls, which are treated as free followed
3587         by alloc.
3588
3589 2004-03-25  Vincent Celier  <celier@gnat.com>
3590
3591         * prj-makr.adb (Process_Directories): Detect when a file contains
3592         several units. Do not include such files in the config pragmas or
3593         in the naming scheme.
3594
3595         * prj-nmsc.adb (Record_Source): New parameter Trusted_Mode.
3596         Resolve links only when not in Trusted_Mode.
3597         (Find_Sources, Recursive_Find_Dirs, Find_Source_Dirs, Locate_Directory):
3598         Do not resolve links for the display names.
3599
3600         * prj-part.adb (Parse_Single_Project, Project_Path_Name_Of): Do not
3601         resolve links when computing the display names.
3602
3603 2004-03-25  Thomas Quinot  <quinot@act-europe.fr>
3604
3605         * sem_attr.adb (Check_Dereference): When the prefix of a 'Tag
3606         attribute reference does not denote a subtype, it can be any
3607         expression that has a classwide type, potentially after an implicit
3608         dereference.  In particular, the prefix can be a view conversion for
3609         a classwide type (for which Is_Object_Reference holds), but it can
3610         also be a value conversion for an access-to-classwide type. In the
3611         latter case, there is an implicit dereference, and the original node
3612         for the prefix does not verify Is_Object_Reference.
3613
3614         * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): A view
3615         conversion of a discriminant-dependent component of a mutable object
3616         is one itself.
3617
3618 2004-03-25  Ed Schonberg  <schonberg@gnat.com>
3619
3620         * freeze.adb (Freeze_Entity): When an inherited subprogram is
3621         inherited, has convention C, and has unconstrained array parameters,
3622         place the corresponding warning on the derived type declaration rather
3623         than the original subprogram.
3624
3625         * sem_ch12.adb (Instantiate_Formal_Subprogram): Set From_Default
3626         indication on renaming declaration, if formal has a box and actual
3627         is absent.
3628
3629         * sem_ch8.adb (Analyze_Subprogram_Renaming): Use From_Default flag to
3630         determine whether to generate an implicit or explicit reference to
3631         the renamed entity.
3632
3633         * sinfo.ads, sinfo.adb: New flag From_Default, to indicate that a
3634         subprogram renaming comes from a defaulted formal subprogram in an
3635         instance.
3636
3637 2004-03-25  Gary Dismukes  <dismukes@gnat.com>
3638
3639         * sem_elab.adb (Check_Elab_Call): Refine loop that checks for default
3640         value expressions to ensure that calls within a component definition
3641         will be checked (since those are evaluated during the record type's
3642         elaboration).
3643
3644 2004-03-25  Arnaud Charlet  <charlet@act-europe.fr>
3645
3646         * s-tpobop.adb: Code clean up:
3647         (Requeue_Call): Extract from PO_Service_Entries to remove duplicated
3648         code.
3649         (PO_Do_Or_Queue): Remove duplicated code and use Requeue_Call.
3650
3651 2004-03-25  Jose Ruiz  <ruiz@act-europe.fr>
3652
3653         * Makefile.in: Clean up in the ravenscar run time.
3654
3655 2004-03-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3656
3657         * decl.c (gnat_to_gnu_entity, case E_Access_Type): Pass value
3658         of No_Strict_Aliasing to build_pointer_type_for_mode.
3659         * utils.c (update_pointer_to): Walk pointer and ref chains.
3660
3661 2004-03-22  Cyrille Comar  <comar@act-europe.fr>
3662
3663         * ali.ads: Fix Comment about Dynamic_Elab.
3664
3665         * gnatls.adb (Output_Unit): Add output of many flags (Dynamic_Elab,
3666         Has_RACW, Is_Generic, etc.)
3667         (Output_Object, Gnatls): Take into account ALI files not attached to
3668         an object.
3669
3670 2004-03-22  Vincent Celier  <celier@gnat.com>
3671
3672         * gprep.adb: Change all String_Access to Name_Id
3673         (Is_ASCII_Letter): new function
3674         (Double_File_Name_Buffer): New procedure
3675         (Preprocess_Infile_Name): New procedure
3676         (Process_Files): New procedure
3677         (Gnatprep): Check if output and input are existing directories.
3678         Call Process_Files to do the real job.
3679
3680 2004-03-22  Robert Dewar  <dewar@gnat.com>
3681
3682         * prj-env.adb, prj-nmsc.ads, prj-proc.ads,
3683         s-stache.ads, s-stache.adb: Comment updates. Minor reformatting.
3684
3685 2004-03-22  Sergey Rybin  <rybin@act-europe.fr>
3686
3687         * scn.adb (Contains): Add check for EOF, is needed for a degenerated
3688         case when the source contains only comments.
3689
3690 2004-03-22  Ed Schonberg  <schonberg@gnat.com>
3691
3692         * sem_ch10.adb (Analyze_Compilation_Unit): When generating a
3693         declaration for a child subprogram body that acts as a spec, indicate
3694         that the entity in the declaration needs debugging information.
3695
3696         * sem_ch3.adb (Complete_Private_Subtype): Do not build an underlying
3697         full view if the subtype is created for a constrained record component;
3698         gigi has enough information to construct the record, and there is no
3699         place in the tree for the declaration.
3700
3701         * sem_ch6.adb (Build_Body_To_Inline): Use an internal name without
3702         serial number for the dummy body that is built for analysis, to avoid
3703         inconsistencies in the generation of internal names when compiling
3704         with -gnatN.
3705
3706 2004-03-22  Thomas Quinot  <quinot@act-europe.fr>
3707
3708         * sem_util.adb (Is_Object_Reference): A view conversion denotes an
3709         object.
3710
3711 2004-03-22  GNAT Script  <nobody@gnat.com>
3712
3713         * Make-lang.in: Makefile automatically updated
3714
3715 2004-03-21  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3716
3717         * decl.c (gnat_to_gnu_entity): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
3718         * trans.c (tree_transform, emit_index_check): Likewise.
3719         * utils.c (build_template): Likewise.
3720         (max_size, convert): Remove handling of WITH_RECORD_EXPR.
3721         (maybe_unconstrained_array, unchecked_convert): Likewise.
3722         * utils2.c (gnat_truthvalue_conversion, build_binary_op): Likewise.
3723         (build_unary_op): Likewise.
3724         (compare_arrays, build_allocator): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
3725         (fill_vms_descriptor): Likewise.
3726         (build_call_alloc_dealloc): Likewise.
3727         ALIGN is unsigned.
3728         * gigi.h (build_call_alloc_dealloc): Alignment is unsigned.
3729
3730 2004-03-20  Joseph S. Myers  <jsm@polyomino.org.uk>
3731
3732         PR other/14630
3733         * gnat_ug.texi: Add info directory category and entry.
3734         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3735         gnat_ug_wnt.texi: Regenerate.
3736
3737 2004-03-19  Arnaud Charlet  <charlet@act-europe.fr>
3738
3739         * ada-tree.h: Update copyright notice.
3740         Minor reformatting.
3741
3742 2004-03-19  Olivier Hainque  <hainque@act-europe.fr>
3743
3744         * decl.c (gnat_to_gnu_entity, case E_Exception): Handle VMS exceptions
3745         as regular exception objects and not as mere integers representing the
3746         condition code.  The latter approach required some dynamics to mask off
3747         severity bits, which did not fit well into the GCC table based model.
3748         (gnat_to_gnu_entity, objects): Don't supply an external name for VMS
3749         exception data objects. We don't it and it would conflict with the other
3750         external symbol we have to generate for such exceptions.
3751
3752         * trans.c (tree_transform, case N_Exception_Handler): Remove part of
3753         the special code for VMS exceptions, since these are now represented
3754         as regular exceptions objects.
3755
3756 2004-03-19 Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3757
3758         * decl.c (debug_no_type_hash): Remove.
3759         (gnat_to_gnu_entity, case E_Array_Type): Don't set and clear it.
3760         * misc.c (LANG_HOOK_HASH_TYPE): Redefine.
3761
3762 2004-03-19  Laurent Guerby <laurent@guerby.net>
3763
3764         * sem_prag.adb (Suppress_Unsuppress_Echeck): use loop instead of
3765         aggregate, allows bootstrap from 3.3 on powerpc-darwin.
3766
3767 2004-03-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3768
3769         * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Add checking.
3770         (TYPE_CONTAINS_TEMPLATE_P, TYPE_OBJECT_RECORD_TYPE): Likewise.
3771         (TYPE_RM_SIZE_INT): Directly use type.values.
3772         (TREE_LOOP_ID): Clean up check.
3773         * decl.c (gnat_to_gnu_entity, case E_Enumeration_Type): Use
3774         TYPE_VALUES, not TYPE_FIELDS.
3775         * trans.c (convert_with_check): Delay access of bounds of basetype
3776         until sure is numeric.
3777
3778 2004-03-18  Arnaud Charlet  <charlet@act-europe.fr>
3779
3780         * 5atpopsp.adb: Remove RTEMS from list of platforms using this file.
3781
3782         Code clean up:
3783         * 5ataprop.adb, 5ftaprop.adb, 5htaprop.adb, 5itaprop.adb, 5staprop.adb,
3784         5vtaprop.adb, 5wtaprop.adb, 7staprop.adb (Finalize_TCB): Use
3785         Specific.Set instead of direct call to e.g pthread_setspecific.
3786
3787 2004-03-18  Thomas Quinot  <quinot@act-europe.fr>
3788
3789         * adaint.c: Update comments.
3790
3791         * Makefile.in: set PREFIX_OBJS, SYMLIB, THREADSLIB, and
3792         GNATLIB_SHARED for FreeBSD.
3793
3794 2004-03-18  Jose Ruiz  <ruiz@act-europe.fr>
3795
3796         * init.c [VxWorks]: Do not fix the stack size for the environment task.
3797         When needed (stack checking) the stack size is retrieved
3798         from the VxWorks kernel.
3799
3800         * Makefile.in: Flag -nostdinc is required when building the run time
3801         for avoiding looking for files in the base compiler.
3802         Add the VxWorks specific version of the package body for
3803         System.Stack_checking.Operations (5zstchop.adb).
3804
3805         * Make-lang.in: Add the object file for
3806         System.Stack_Checking.Operations.
3807
3808         * Makefile.rtl: Add object file for the package
3809         System.Stack_Checking.Operations.
3810
3811         * s-stchop.ads, s-stchop.adb, 5zstchop.adb: New files.
3812
3813         * s-stache.ads, s-stache.adb: Move the operations related to stack
3814         checking from this package to package System.Stack_Checking.Operations.
3815         This way, stack checking operations are only linked in the final
3816         executable when using the -fstack-check flag.
3817
3818 2004-03-18  Doug Rupp  <rupp@gnat.com>
3819
3820         * Makefile.in [VMS]: Handle 64 bit specs (5qsystem.ads, 5xcrtl.ads).
3821         Reorganize ifeq's.
3822
3823         * 5qsystem.ads, 5xcrtl.ads: New files.
3824
3825 2004-03-18  Vincent Celier  <celier@gnat.com>
3826
3827         * prj.adb (Reset): Reset hash table Files_Htable
3828
3829         * prj-env.adb (Source_Paths, Object_Paths): New tables.
3830         (Add_To_Source_Path, Add_To_Object_Path): New procedures, to replace
3831         the procedures Add_To_Path_File.
3832         (Set_Ada_Paths): Accumulate source and object dirs in the tables,
3833         making sure that each directory is present only once and, for object
3834         dirs, when a directory already present is added, the duplicate is
3835         removed and the directory is always put as the last in the table.
3836         Write the path files at the end of these accumulations.
3837
3838         * prj-nmsc.adb (Record_Source): Add source file name in hash table
3839         Files_Htable for all sources.
3840
3841         * prj-proc.adb (Process): Remove restrictions between not directly
3842         related extending projects.
3843
3844 2004-03-18  Emmanuel Briot  <briot@act-europe.fr>
3845
3846         * prj-nmsc.ads, prj-nmsc.adb (Ada_Check): New parameter Trusted_Mode.
3847         (Find_Sources): Minor speed optimization.
3848
3849         * prj-proc.ads, prj-proc.adb (Check, Recursive_Check, Process): New
3850         parameter Trusted_Mode.
3851
3852 2004-03-18  Sergey Rybin  <rybin@act-europe.fr>
3853
3854         * scn.adb (Determine_License): Take into account a degenerated case
3855         when the source contains only comments.
3856
3857 2004-03-18  Ed Schonberg  <schonberg@gnat.com>
3858
3859         * sem_warn.adb (Check_References): For a warning on a selected
3860         component that does not come from source, locate an uninitialized
3861         component of the record type to produce a more precise error message.
3862
3863 2004-03-15  Jerome Guitton  <guitton@act-europe.fr>
3864
3865         * 3zsoccon.ads: Fix multicast options.
3866
3867         * s-thread.ads: Move unchecked conversion from ATSD_Access to Address
3868         in the spec.
3869
3870 2004-03-15  Robert Dewar  <dewar@gnat.com>
3871
3872         * sem_prag.adb: Make sure No_Strict_Aliasing flag is set right when
3873         pragma used for a private type.
3874
3875         * lib-xref.adb (Generate_Reference): Do not generate warning if
3876         reference is in a different unit from the pragma Unreferenced.
3877
3878         * 5vtpopde.adb: Minor reformatting
3879         Fix casing of To_Task_ID
3880
3881         * sem_ch13.adb (Validate_Unchecked_Conversion): Set No_Strict_Aliasing
3882         flag if we have an unchecked conversion to an access type in the same
3883         unit.
3884
3885 2004-03-15  Geert Bosch  <bosch@gnat.com>
3886
3887         * a-ngcoty.adb (Modulus): In alternate formula for large real or
3888         imaginary parts, use Double precision throughout.
3889
3890         * a-tifiio.adb (Put_Scaled): Remove remaining pragma Debug. Not only
3891         we want to be able to compile run-time with -gnata for testing, but
3892         this may also be instantiated in user code that is compiled with -gnata.
3893
3894 2004-03-15  Olivier Hainque  <hainque@act-europe.fr>
3895
3896         * s-stalib.ads (Exception_Code): New type, to represent Import/Export
3897         codes. Having a separate type for this is useful to enforce consistency
3898         throughout the various run-time units.
3899         (Exception_Data): Use Exception_Code for Import_Code.
3900
3901         * s-vmextra.ads, s-vmexta.adb: Use Exception_Code instead of a mix of
3902         Natural and Integer in various places.
3903         (Register_VMS_Exception): Use Base_Code_In to compute the exception code
3904         with the severity bits masked off.
3905         (Register_VMS_Exception): Handle the additional exception data pointer
3906         argument.
3907
3908         * raise.c (_GNAT_Exception structure): Remove the handled_by_others
3909         component, now reflected by an exported accessor.
3910         (is_handled_by): New routine to compute whether the propagated
3911         occurrence matches some handler choice specification. Extracted out of
3912         get_action_description_for, and expanded to take care of the VMS
3913         specifities.
3914         (get_action_description_for): Use is_handled_by instead of an explicit
3915         complex condition to decide if the current choice at hand catches the
3916         propagated occurrence.
3917
3918         * raise.h (Exception_Code): New type for C.
3919
3920         * rtsfind.ads (RE_Id, RE_Unit_Table): Add
3921         System.Standard_Library.Exception_Code, to allow references from the
3922         pragma import/export expander.
3923
3924         * a-exexpr.adb (Is_Handled_By_Others, Language_For, Import_Code_For):
3925         New accessors to allow easy access to GNAT exception data
3926         characteristics.
3927         (GNAT_GCC_Exception record, Propagate_Exception): Get rid of the
3928         redundant Handled_By_Others component, helper for the personality
3929         routine which will now be able to call the appropriate exception data
3930         accessor instead.
3931
3932         * cstand.adb (Create_Standard): Adjust the type of the Import_Code
3933         component of Standard_Exception_Type to be the closest possible to
3934         Exception_Code in System.Standard_Library, that we cannot get at this
3935         point. Expand a ??? comment to notify that this type node should
3936         probably be rewritten later on.
3937
3938         * exp_prag.adb (Expand_Pragma_Import_Export_Exception): Adjust the
3939         registration call to include a pointer to the exception object in the
3940         arguments.
3941
3942         * init.c (__gnat_error_handler): Use Exception_Code and Base_Code_In
3943         instead of int and explicit bitmasks.
3944
3945 2004-03-15  Vincent Celier  <celier@gnat.com>
3946
3947         * vms_data.ads: Add new GNAT BIND qualifier /STATIC. Makes /NOSHARED
3948         equivalent to /STATIC and /NOSTATIC equivalent to /SHARED.
3949
3950         * a-tasatt.adb (To_Access_Code): Remove this UC instantiation, no
3951         longer needed now that it is in the spec of
3952         System.Tasking.Task_Attributes.
3953
3954         * adaint.h, adaint.c: (__gnat_create_output_file): New function
3955
3956         * gnatcmd.adb: Fix bug introduced in previous rev: /= instead of =
3957
3958         * g-os_lib.ads, g-os_lib.adb (Create_Output_Text_File): New function.
3959
3960         * make.adb (Gnatmake): Do not check the executable suffix; it is being
3961         taken care of in Scan_Make_Arg.
3962         (Scan_Make_Arg): Add the executable suffix only if the argument
3963         following -o, in canonical case, does not end with the executable
3964         suffix.  When in verbose mode and executable file name does not end
3965         with executable suffix, output the executable name, in canonical case.
3966
3967         * s-tataat.ads (Access_Dummy_Wrapper): Add pragma No_Strict_Aliasing
3968         to avoid warnings when instantiating Ada.Task_Attributes.
3969         Minor reformating.
3970
3971         * mlib-prj.adb (Process_Imported_Libraries): Get the imported libraries
3972         in the correct order.
3973
3974         * prj-makr.adb (Process_Directory): No longer use GNAT.Expect, but
3975         redirect standard output and error to a file for the invocation of the
3976         compiler, then read the file.
3977
3978         * prj-nmsc.adb (Find_Sources): Use the Display_Value for each
3979         directory, instead of the Value.
3980         (Find_Source_Dirs): Remove useless code & comments.
3981
3982 2004-03-15  Ed Schonberg  <schonberg@gnat.com>
3983
3984         * exp_ch3.adb (Freeze_Record_Type): If a primitive operation of a
3985         tagged type is inherited, and the parent operation is not frozen yet,
3986         force generation of a freeze node for the inherited operation, so the
3987         corresponding dispatch entry is properly initialized.
3988         (Make_Predefined_Primitive_Specs): Check that return type is Boolean
3989         when looking for user-defined equality operation.
3990
3991         * exp_ch4.adb (Expand_Composite_Equality): Check that return type is
3992         boolean when locating primitive equality of tagged component.
3993
3994         * exp_ch5.adb (Expand_Assign_Array): If the left-hand side is a
3995         bit-aligned field and the right-hand side a string literal, introduce
3996         a temporary before expanding assignment into a loop.
3997
3998         * exp_ch9.adb (Expand_N_Task_Type_Declaration): Copy expression for
3999         priority in full, to ensure that any expanded subepxressions of it are
4000         elaborated in the scope of the init_proc.
4001
4002         * exp_prag.adb (Expand_Pragma_Import): Search for initialization call
4003         after object declaration, skipping over code that may have been
4004         generated for validity checks.
4005
4006         * sem_ch12.adb (Validate_Private_Type_Instance): If type has unknown
4007         discriminants, ignore the known discriminants of its full view, if
4008         any, to check legality.
4009
4010         * sem_ch3.adb (Complete_Private_Subtype): Do not create constrained
4011         component if type has unknown discriminants.
4012         (Analyze_Private_Extension_Declaration): Discriminant constraint is
4013         null if type has unknown discriminants.
4014
4015         * sem_ch6.adb (Analyze_Generic_Subprogram_Body): Generate reference
4016         for end label when present.
4017
4018         * s-fileio.adb (Open): When called with a C_Stream, use given name for
4019         temporary file, rather than an empty string.
4020
4021 2004-03-15  Ed Falis  <falis@gnat.com>
4022
4023         * s-thread.adb: Removed, no longer used.
4024
4025 2004-03-15  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4026
4027         * decl.c (target.h): Now include.
4028         (gnat_to_gnu_entity, case E_Access_Type): Use mode derived from ESIZE
4029         in new build_pointer_from_mode calls for non-fat/non-thin pointer.
4030         (validate_size): For POINTER_TYPE, get smallest size permitted on
4031         machine.
4032
4033         * fe.h: Sort Einfo decls and add Set_Mechanism.
4034
4035         * Makefile.in: (LIBGNAT_SRCS): Remove types.h.
4036         (ada/decl.o): Depends on target.h.
4037
4038         * trans.c (tree_transform, N_Unchecked_Type_Conversion): Do not use
4039         FUNCTION_BOUNDARY; always use TYPE_ALIGN.
4040
4041 2004-03-15  Thomas Quinot  <quinot@act-europe.fr>
4042
4043         * 5ztpopsp.adb, 56tpopsp.adb: Fix spelling of Task_ID.
4044
4045         * exp_ch4.adb (Expand_N_Indexed_Component): Do not call
4046         Insert_Dereference_Action when rewriting an implicit dereference into
4047         an explicit one, this will be taken care of during expansion of the
4048         explicit dereference.
4049         (Expand_N_Slice): Same. Always do the rewriting, even for the case
4050         of non-packed slices, since the dereference action generated by
4051         expansion of the explicit dereference is needed in any case.
4052         (Expand_N_Selected_Component): When rewriting an implicit dereference,
4053         analyze and resolve the rewritten explicit dereference so it is seen
4054         by the expander.
4055         (Insert_Dereference_Action): This procedure is now called only for the
4056         expansion of an N_Explcit_Dereference_Node. Do insert a check even for
4057         dereferences that do not come from source (including explicit
4058         dereferences resulting from rewriting implicit ones), but do not
4059         recursively insert a check for the dereference nodes contained within
4060         the check.
4061         (Insert_Dereference_Action): Clarify and correct comment.
4062
4063 2004-03-08  Paolo Bonzini  <bonzini@gnu.org>
4064
4065         PR ada/14131
4066         Move language detection to the top level.
4067         * config-lang.in: Build by default.
4068
4069 2004-03-05  Robert Dewar  <dewar@gnat.com>
4070
4071         * 56taprop.adb, 5ataprop.adb: Remove unneeded unchecked conversions
4072
4073         * a-tags.adb, a-tags.ads, s-finimp.adb, s-finroo.ads,
4074         i-cpoint.ads, i-cpoint.adb, i-cstrin.adb, i-cstrin.ads,
4075         5iosinte.ads, 5sosinte.ads, 5staspri.ads, 5itaprop.adb,
4076         5staprop.adb, 5wtaprop.adb, s-tataat.ads, s-tataat.adb: Move
4077         unchecked conversion to spec to avoid warnings.
4078
4079         * s-tasini.adb, s-taskin.ads, 5atpopsp.adb: Correct spelling Task_Id
4080         to Task_ID
4081
4082         * 7stpopsp.adb: Correct casing in To_Task_ID call
4083
4084         * a-strsea.ads, a-strsea.adb: Minor reformatting
4085
4086         * einfo.ads, einfo.adb: Define new flag No_Strict_Aliasing
4087
4088         * errout.ads: Switch for VMS is now NO_STRICT_ALIASING.
4089         Adjust Max_Msg_Length to be clearly large enough.
4090
4091         * fe.h: Define In_Same_Source_Unit
4092
4093         * osint.adb: Add pragma Warnings Off to suppress warnings
4094         * g-dyntab.adb, g-table.adb, g-thread.adb: Add Warnings (Off) to kill
4095         aliasing warnings.
4096
4097         * opt.ads: Put entries in alpha order. Add entry for No_Strict_Aliasing
4098
4099         * par-prag.adb: Add dummy entry for No_Strict_Aliasing pragma
4100
4101         * sem_ch13.adb: Generate validate unchecked conversion nodes for gcc.
4102
4103         * sem_ch3.adb: Set No_Strict_Aliasing flag if config pragma set.
4104
4105         * sem_prag.adb: Implement pragma No_Strict_Aliasing.
4106
4107         * sinfo.ads: Remove obsolete comment on validate unchecked conversion
4108         node. We now do generate them for gcc back end.
4109
4110         * table.adb, sinput.adb: Add pragma Warnings Off to suppress aliasing
4111         warning.
4112
4113         * sinput-c.adb: Fix bad name in header.
4114         Add pragma Warnings Off to suppress aliasing warning.
4115
4116         * sinput-l.adb: Add pragma Warnings Off to suppress aliasing warning.
4117
4118         * snames.h, snames.ads, snames.adb: Add entry for pragma
4119         No_Strict_Aliasing.
4120
4121 2004-03-05  Vincent Celier  <celier@gnat.com>
4122
4123         * prj-com.ads: Add hash table Files_Htable to check when a file name
4124         is already a source of another project.
4125
4126         * prj-nmsc.adb (Record_Source): Before recording a new source, check
4127         if its file name is not already a source of another project. Report an
4128         error if it is.
4129
4130         * gnatcmd.adb: When GNAT PRETTY is invoked with a project file and no
4131         source file name, call gnatpp with all the sources of the main project.
4132
4133         * vms_conv.adb (Initialize): GNAT PRETTY may be called with any number
4134         of file names.
4135
4136         * vms_data.ads: Correct documentation of new /OPTIMIZE keyword
4137         NO_STRICT_ALIASING. Add new qualifier for GNAT PRETTY:
4138         /RUNTIME_SYSTEM=, converted to --RTS=
4139         /NOTABS, converted to -notabs
4140
4141 2004-03-05  Pascal Obry  <obry@gnat.com>
4142
4143         * make.adb: Minor reformatting.
4144
4145 2004-03-05  Ed Schonberg  <schonberg@gnat.com>
4146
4147         Part of implemention of AI-262.
4148         * par-ch10.adb (P_Context_Clause): Recognize private with_clauses.
4149
4150         * sem_ch10.ads, sem_ch10.adb: (Install_Private_With_Clauses): New
4151         procedure.
4152
4153         * sem_ch3.adb (Analyze_Component_Declaration): Improve error message
4154         when component type is a partially constrained class-wide subtype.
4155         (Constrain_Discriminated_Type): If parent type has unknown
4156         discriminants, a constraint is illegal, even if full view has
4157         discriminants.
4158         (Build_Derived_Record_Type): Inherit discriminants when deriving a type
4159         with unknown discriminants whose full view is a discriminated record.
4160
4161         * sem_ch7.adb (Preserve_Full_Attributes): Preserve Has_Discriminants
4162         flag, to handle properly derivations of tagged types with unknown
4163         discriminants.
4164         (Analyze_Package_Spec, Analyze_Package_Body): Install
4165         Private_With_Clauses before analyzing private part or body.
4166
4167         * einfo.ads: Indicate that both Has_Unknown_Discriminants and
4168         Has_Discriminants can be true for a given type (documentation).
4169
4170 2004-03-05  Arnaud Charlet  <charlet@act-europe.fr>
4171
4172         * s-restri.ads: Fix license (GPL->GMGPL).
4173
4174         * s-tassta.adb: Minor reformatting.
4175
4176         * s-tasren.adb: Replace manual handling of Self_Id.ATC_Nesting_Level
4177         by calls to Exit_One_ATC_Level, since additional clean up is performed
4178         by this function.
4179
4180         * s-tpobop.adb: Replace manual handling of Self_Id.ATC_Nesting_Level
4181         by calls to Exit_One_ATC_Level, since additional clean up is performed
4182         by this function.
4183
4184 2004-03-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4185
4186         * trans.c: Reflect GCC changes to fix bootstrap problem.
4187         Add warning for suspicious aliasing unchecked conversion.
4188
4189 2004-03-05  GNAT Script  <nobody@gnat.com>
4190
4191         * Make-lang.in: Makefile automatically updated
4192
4193 2004-03-02  Emmanuel Briot  <briot@act-europe.fr>
4194
4195         * ali.adb (Read_Instantiation_Instance): Do not modify the
4196         current_file_num when reading information about instantiations, since
4197         this corrupts files in later references.
4198
4199 2004-03-02  Vincent Celier  <celier@gnat.com>
4200
4201         * bcheck.adb (Check_Consistency): Get the full path of an ALI file
4202         before checking if it is read-only.
4203
4204         * bld.adb (Recursive_Process): Concatenate <PROJECT>.src_dirs in front
4205         of SRC_DIRS and eliminate duplicates.
4206
4207         * gprcmd.adb: Replace command "path" with command "path_sep" to return
4208         the path separator.
4209         (Usage): Document path_sep
4210
4211         * Makefile.generic: For Ada and GNU C++ cases, link directly with the
4212         C++ compiler. No need for a script.
4213         Replace use of C*_INCLUDE_PATH env var for GCC compilers with CPATH.
4214         Do not call gprcmd to build the C*_INCLUDE_PATHs, do it with function
4215         subst.
4216
4217         * prj-env.adb (For_All_Source_Dirs): Only add source dirs in project
4218         where there are Ada sources.
4219         (Set_Ada_Paths): Only add to the include path the source dirs of project
4220         with Ada sources.
4221         (Add_To_Path): Add the Display_Values of the directories, not their
4222         Values.
4223
4224         * prj-nmsc.adb (Find_Sources): Set flag Sources_Present in the project
4225         data.
4226
4227         * prj-nmsc.adb (Add_ALI_For): Make sure that the element Display_Value
4228         is not No_Name.
4229         (Find_Source_Dirs): Set Display_Value to a non canonicalized value, only
4230         Value is canonicalized.
4231         (Language_Independent_Check): Do not copy Value to Display_Value when
4232         canonicalizing Value.
4233
4234         * prj-part.adb (Post_Parse_Context_Clause): Compare canonical cased
4235         path to find limited with cycles.
4236         (Parse_Single_Project): Use canonical cased path to find the end of a
4237         with cycle.
4238
4239 2004-03-02  Ed Schonberg  <schonberg@gnat.com>
4240
4241         * sem_ch10.adb (Optional_Subunit): Verify that unit contains a subunit
4242         and not a child unit.
4243
4244         * sinfo.ads, sinfo.adb: Rearrange flags so that Private_Present can
4245         appear in a with_clause.
4246
4247         * decl.c (gnat_to_gnu_type): If entity is a generic type, which can
4248         only happen in type_annotate mode, do not try to elaborate it.
4249
4250         * exp_util.adb (Force_Evaluation): If expression is a selected
4251         component on the left of an assignment, use a renaming rather than a
4252         temporary to remove side effects.
4253
4254         * freeze.adb (Freeze_Entity): Do not freeze a global entity within an
4255         inlined instance body, which is analyzed before the end of the
4256         enclosing scope.
4257
4258 2004-03-02  Robert Dewar  <dewar@gnat.com>
4259
4260         * par-ch10.adb, par-ch3.adb, par-ch4.adb, scng.adb,
4261         sem_ch4.adb: Use new feature for substitution of keywords in VMS
4262
4263         * errout.ads, errout.adb: Implement new circuit for substitution of
4264         keywords in VMS.
4265
4266         * sem_case.adb (Analyze_Choices): Place message properly when case is
4267         a subtype reference rather than an explicit range.
4268
4269         * sem_elim.adb, s-tpobop.ads, exp_ch2.adb: Minor reformatting
4270
4271 2004-03-02  Doug Rupp  <rupp@gnat.com>
4272
4273         * init.c (__gnat_initialize)[VMS]: Resignal RDB-E-STREAM_EOF.
4274
4275 2004-03-02  Thomas Quinot  <quinot@act-europe.fr>
4276
4277         * s-tporft.adb: Add missing locking around call to Initialize_ATCB.
4278
4279 2004-03-02  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4280
4281         * utils.c (finish_record_type): Do not set DECL_NONADDRESSABLE for a
4282         BLKmode bitfield.
4283
4284 2004-02-25  Robert Dewar  <dewar@gnat.com>
4285
4286         * 51osinte.ads, 52osinte.ads, 53osinte.ads, 54osinte.ads,
4287         55osinte.ads, 56osinte.ads, 5aosinte.ads, 5bosinte.ads,
4288         5cosinte.ads, 5fosinte.ads, 5gosinte.ads, 5hosinte.ads,
4289         5iosinte.ads, 5losinte.ads, 5nosinte.ads, 5oosinte.ads,
4290         5posinte.ads, 5sosinte.ads, 5tosinte.ads, 5vosinte.ads,
4291         5wosinte.ads, 5zosinte.ads: Move instances of Unchecked_Conversion to
4292         the defining instance of the type to avoid aliasing problems.
4293         Fix copyright header.  Fix bad comments in package header.
4294
4295         * exp_util.adb, prj-part.adb, prj-part.adb: Minor reformatting
4296
4297 2004-02-25  Ed Schonberg  <schonberg@gnat.com>
4298
4299         * exp_ch2.adb (Param_Entity): Handle properly formals that have been
4300         rewritten as references when aliased through an address clause.
4301
4302         * sem_ch4.adb (Try_Indirect_Call): Normalize actuals before checking
4303         whether call can be interpreted as an indirect call to the result of a
4304         parameterless function call returning an access subprogram.
4305
4306 2004-02-25  Arnaud Charlet  <charlet@act-europe.fr>
4307
4308         Code clean up:
4309         * exp_ch7.adb (Make_Clean): Remove generation of calls to
4310         Unlock[_Entries], since this is now done by Service_Entries directly.
4311
4312         * exp_ch9.adb (Build_Protected_Subprogram_Body): ditto.
4313
4314         * s-tpobop.ads, s-tpobop.adb (PO_Service_Entries): New nested procedure
4315         Requeue_Call for better code readability. Change spec and update calls:
4316         PO_Service_Entries now unlock the PO on exit.
4317         (Protected_Entry_Call, Timed_Protected_Entry_Call): Update calls to
4318         PO_Service_Entries.
4319
4320         * s-tposen.ads, s-tposen.adb (Service_Entry): Now unlock the PO on exit.
4321
4322         * s-taenca.adb, s-tasren.adb: Update calls to PO_Service_Entries.
4323
4324 2004-02-25  Sergey Rybin  <rybin@act-europe.fr>
4325
4326         * exp_ch9.adb (Build_Simple_Entry_Call): Prevent expanding the
4327         protected subprogram call and analyzing the result of such expanding
4328         in case when the called protected subprogram is eliminated.
4329
4330         * sem_elim.adb (Check_Eliminated): Skip blocks when comparing scope
4331         names.
4332
4333 2004-02-25  Jerome Guitton  <guitton@act-europe.fr>
4334
4335         * Makefile.in: Clean ups.
4336
4337 2004-02-23  Ed Schonberg  <schonberg@gnat.com>
4338
4339         * exp_ch6.adb (Expand_N_Subprogram_Declaration): Do not create
4340         protected operations if original subprogram is flagged as eliminated.
4341         (Expand_N_Subprogram_Body): For a protected operation, create
4342         discriminals for next operation before checking whether the operation
4343         is eliminated.
4344
4345         * exp_ch9.adb (Expand_N_Protected_Body,
4346         Expand_N_Protected_Type_Declaration): Do not generate specs and bodies
4347         for internal protected operations if the original subprogram is
4348         eliminated.
4349
4350         * sem_elim.adb (Check_Eliminated): Handle properly protected operations
4351         declared in a single protected object.
4352
4353 2004-02-23  Vincent Celier  <celier@gnat.com>
4354
4355         * prj-attr.adb: Make attribute Builder'Executable an associative array,
4356         case insensitive if file names are case insensitive, instead of a
4357         standard associative array.
4358
4359         * prj-attr.adb (Initialize): For 'b' associative arrays, do not set
4360         them as case insensitive on platforms where the file names are case
4361         sensitive.
4362
4363         * prj-part.adb (Parse_Single_Project): Make sure, when checking if
4364         project file has already been parsed that canonical path are compared.
4365
4366 2004-02-23  Robert Dewar  <dewar@gnat.com>
4367
4368         * sinput-c.ads: Correct bad unit title in header
4369
4370         * freeze.adb: Minor reformatting
4371
4372 2004-02-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4373
4374         * trans.c (tree_transform, case N_Procedure_Call_Statement): For
4375         nonaddressable COMPONENT_REF that is removing padding that we are
4376         taking the address of, take the address of the padded record instead
4377         if item is variable size.
4378
4379 2004-02-20  Robert Dewar  <dewar@gnat.com>
4380
4381         * bld.adb, exp_util.adb, gprcmd.adb: Minor reformatting
4382
4383 2004-02-20  Ed Schonberg  <schonberg@gnat.com>
4384
4385         * freeze.adb (Freeze_Record_Type): Generalize mechanism that generates
4386         itype references for the constrained designated type of a component
4387         whose base type is already frozen.
4388
4389 2004-02-20  Arnaud Charlet  <charlet@act-europe.fr>
4390
4391         * init.c (__gnat_error_handler [tru64]): Rewrite previous change to
4392         avoid GCC warnings.
4393
4394 2004-02-20  Sergey Rybin  <rybin@act-europe.fr>
4395
4396         * sem_ch12.adb (Analyze_Formal_Package): Create a new defining
4397         identifier for a phantom package that rewrites the formal package
4398         declaration with a box. The Add semantic decorations for the defining
4399         identifier from the original node (that represents the formal package).
4400
4401 2004-02-19  Matt Kraai  <kraai@alumni.cmu.edu>
4402
4403         * Make-lang.in (ada/stamp-sdefault): Use the top level
4404         move-if-change.
4405
4406 2004-02-19  Richard Henderson  <rth@redhat.com>
4407
4408         * misc.c (record_code_position): Add third build arg for RTL_EXPR.
4409
4410 2004-02-18  Emmanuel Briot  <briot@act-europe.fr>
4411
4412         * ali.ads, ali.adb (First_Sdep_Entry): No longer a constant, so that
4413         Scan_ALI can be used for multiple ALI files without reinitializing
4414         between calls.
4415
4416 2004-02-18  Robert Dewar  <dewar@gnat.com>
4417
4418         * debug.adb: Minor reformatting.
4419
4420 2004-02-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4421
4422         * decl.c (gnat_to_gnu_entity, case object): Set DECL_POINTER_ALIAS_SET
4423         to zero if there is an address clause.
4424
4425 2004-02-18  Thomas Quinot  <quinot@act-europe.fr>
4426
4427         * exp_util.adb (Side_Effect_Free): Any literal is side effects free.
4428
4429 2004-02-18  Gary Dismukes  <dismukes@gnat.com>
4430
4431         * layout.adb (Layout_Component_List): Revise generation of call to
4432         discriminant-checking function to pass selections of all of the type's
4433         discriminants rather than just the variant-controlling discriminant.
4434
4435 2004-02-18  Olivier Hainque  <hainque@act-europe.fr>
4436
4437         * 5gmastop.adb (Pop_Frame): Do not call exc_unwind, which is bound to
4438         fail in the current setup and triggers spurious system error messages.
4439         Pretend it occurred and failed instead.
4440
4441 2004-02-18  Vincent Celier  <celier@gnat.com>
4442
4443         * bld.adb: Mark FLDFLAGS as saved
4444         (Process_Declarative_Items): Add Linker'Linker_Options to FLDFLAGS when
4445         it is not the root project.  Put each directory to be
4446         extended between double quotes to prevent it to be expanded on Windows.
4447         (Recursive_Process): Reset CFLAGS/CXXFLAGS to nothing before processing
4448         the project file. Set them back to their initial values if they have not
4449         been set in the project file.
4450
4451         * gprcmd.adb: (Gprdebug, Debug): New global variables
4452         (Display_Command): New procedure
4453         (Usage): Document new command "linkopts"
4454         Call Display_Command when env var GPRDEBUG has the value "TRUE"
4455         Implement new command "linkopts"
4456         Remove quotes that may be around arguments for "extend"
4457         Always call Normalize_Pathname with arguments formatted for the platform
4458
4459         * Makefile.generic: Link C/C++ mains with $(FLDFLAGS)
4460         Change @echo to @$(display) in target clean to be able to clean silently
4461
4462         * Makefile.prolog: Save FLDFLAGS and give it an initial empty value
4463
4464         * prj-part.adb (Project_Path_Name_Of): Do not put final result in
4465         canonical case.
4466
4467         * prj-part.adb (Parse_Single_Project): Always call with From_Extended
4468         = Extending_All when current project is an extending all project.
4469
4470         * vms_conv.adb (Output_File_Expected): New Boolean global variable,
4471         set to True only for LINK command, after Unix switch -o.
4472         (Process_Arguments): Set Output_File_Expected to True for LINK command
4473         after Unix switch -o. When Output_File_Expected is True, never add an
4474         extension to a file name.
4475
4476         * 5vml-tgt.adb (Build_Dynamic_Library): Do not append "/OPTIONS" to the
4477         option file name, only to the --for-linker= switch.
4478         (Option_File_Name): If option file name do not end with ".opt", append
4479         "/OPTIONS".
4480
4481 2004-02-18  GNAT Script  <nobody@gnat.com>
4482
4483         * Make-lang.in: Makefile automatically updated
4484
4485 2004-02-17  Matt Kraai  <kraai@alumni.cmu.edu>
4486
4487         * Make-lang.in (stamp-sdefault): Do not depend on
4488         move-if-change.
4489
4490 2004-02-12  Zack Weinberg  <zack@codesourcery.com>
4491
4492         * config-lang.in: Disable Ada by default until probe logic for
4493         a bootstrap Ada compiler can be moved to the top level configure
4494         script.
4495
4496 2004-02-12  Olivier Hainque  <hainque@act-europe.fr>
4497
4498         * decl.c (components_to_record): Don't claim that the internal fields
4499         we make to hold the variant parts are semantically addressable, because
4500         they are not.
4501
4502         * exp_pakd.adb (Create_Packed_Array_Type): Rename Esiz into PASize and
4503         adjust the comment describing the modular type form when we can use it.
4504         (Install_PAT): Account for the Esiz renaming.
4505
4506         * init.c (__gnat_error_handler for alpha-tru64): Arrange to clear the
4507         sc_onstack context indication before raising the exception to which
4508         the signal is mapped. Allows better handling of later signals possibly
4509         triggered by the resumed user code if the exception is handled.
4510
4511 2004-02-12  Arnaud Charlet  <charlet@act-europe.fr>
4512
4513         * 5zinit.adb: Removed, no longer used.
4514
4515 2004-02-12  Robert Dewar  <dewar@gnat.com>
4516
4517         * ali.adb: Remove separating space between parameters on R line. Makes
4518         format consistent with format used by the binder for Set_Globals call.
4519
4520         * atree.ads, atree.adb: Minor reformatting (new function header format)
4521
4522         * bindgen.adb: Add Run-Time Globals documentation section containing
4523         detailed documentation of the globals passed from the binder file to
4524         the run time.
4525
4526         * gnatls.adb: Minor reformatting
4527
4528         * init.c (__gnat_set_globals): Add note pointing to documentation in
4529         bindgen.
4530
4531         * lib-writ.ads, lib-writ.adb: Remove separating space between
4532         parameters on R line.
4533         Makes format consistent with format used by the binder for Set_Globals
4534         call.
4535
4536         * osint.ads: Add 2004 to copyright notice
4537         Minor reformatting
4538
4539         * snames.ads: Correct capitalization of FIFO_Within_Priorities
4540         Noticed during code reading, documentation issue only
4541
4542         * usage.adb: Remove junk line for obsolete C switch
4543         Noticed during code reading
4544
4545 2004-02-12  Vincent Celier  <celier@gnat.com>
4546
4547         * bld.adb (Process_Declarative_Items): For Source_Dirs call gprcmd
4548         extend for each directory, so that multiple /** directories are
4549         extended individually.
4550         (Recursive_Process): Set the default for LANGUAGES to ada
4551
4552         * gprcmd.adb: Define new command "ignore", to do nothing.
4553         Implement new comment "path".
4554
4555         * Makefile.generic: Suppress output when SILENT is set
4556         Make sure that when compiler for C/C++ is gcc, the correct -x switch is
4557         used, so that the correct compiler is invoked.
4558         When compiler is gcc/g++, put search path in env vars C_INCLUDE_PATH/
4559         CXX_INCLUDE_PATH, to avoid failure with too long command lines.
4560
4561 2004-02-12  Jerome Guitton  <guitton@act-europe.fr>
4562
4563         * Makefile.in: Clean ups and remove obsolete targets.
4564
4565 2004-02-12  Ed Schonberg  <schonberg@gnat.com>
4566
4567         * exp_ch5.adb: Remove Possible_Unligned_Slice, in favor of the similar
4568         predicate declared in exp_util.
4569
4570         * exp_util.adb: Add comments.
4571
4572         * sem_ch10.adb (Analyze_Subunit): Remove ultimate parent unit from
4573         visibility before compiling context of the subunit.
4574
4575         * sem_res.adb (Check_Parameterless_Call): If the context expects a
4576         value but the name is a procedure, do not attempt to analyze as a call,
4577         in order to obtain more telling diagnostics.
4578
4579         * sem_util.adb (Wrong_Type): Further enhancement to diagnose missing
4580         'Access on parameterless function calls.
4581         (Normalize_Actuals): For a parameterless function call with missing
4582         actuals, defer diagnostic until resolution of enclosing call.
4583
4584         * sem_util.adb (Wrong_Type): If the context type is an access to
4585         subprogram and the expression is a procedure name, suggest a missing
4586         'attribute.
4587
4588 2004-02-10  Arnaud Charlet  <charlet@act-europe.fr>,
4589             Nathanael Nerode  <neroden@gcc.gnu.org>
4590
4591         PR ada/6637, PR ada/5911
4592         Merge with libada-branch:
4593         * config-lang.in: Build libada only when ada is built.
4594
4595 2004-02-09  Ed Schonberg  <schonberg@gnat.com>
4596
4597         * exp_ch4.adb (Expand_N_Op_Eq): When looking for the primitive equality
4598         for a tagged type, verify that both formals have the same type.
4599
4600         * exp_ch6.adb (Add_Call_By_Copy_Code): Initialize properly the
4601         temporary when the formal is an in-parameter and the actual a possibly
4602         unaligned slice.
4603
4604         * exp_ch9.adb (Expand_Entry_Barrier): Resolve barrier expression even
4605         when expansion is disabled, to ensure proper name capture with
4606         overloaded literals.  Condition can be of any boolean type, resolve
4607         accordingly.
4608
4609         * sem_ch8.adb (Analyze_Subprogram_Renaming): Emit warning if the
4610         renaming is for a formal subprogram with a default operator name, and
4611         there is a usable operator that is visible at the point of
4612         instantiation.
4613
4614 2004-02-09  Robert Dewar  <dewar@gnat.com>
4615
4616         * ali.adb (Scan_Ali) Add Ignore_Errors argument. This is a major
4617         rewrite to ignore errors in ali files, intended to allow tools downward
4618         compatibility with new versions of ali files.
4619
4620         * ali.ads: Add new parameter Ignore_Errors
4621
4622         * bcheck.adb (Check_Consistent_Restrictions): Fix error of sometimes
4623         duplicating the error message giving the file with restrictions.
4624
4625         * debug.adb: Add debug flag I for gnatbind
4626
4627         * errout.adb (Set_Msg_Insertion_Node): Suppress extra quotes around
4628         operators for the case where the operator is a defining operator.
4629
4630         * exp_ch3.adb: Minor reformatting (new function spec format).
4631
4632         * exp_ch4.adb: Add comment for previous change, and make minor
4633         adjustment to loop to always check for improper loop termination.
4634         Minor reformatting throughout (new function spec format).
4635
4636         * gnatbind.adb: Implement -di debug flag for gnatbind
4637
4638         * gnatlink.adb: Call Scan_ALI with Ignore_Errors set to True
4639
4640         * gnatls.adb: Call Scan_ALI with Ignore_Errors set to True
4641
4642         * lib-load.adb: Fix bad assertion.
4643         Found by testing and code reading.
4644         Minor reformatting.
4645
4646         * lib-load.ads: Minor reformatting.
4647
4648         * lib-writ.adb: There is only one R line now.
4649
4650         * lib-writ.ads: Add documentation on making downward compatible changes
4651         to ali files so old tools work with new ali files.
4652         There is only one R line now.
4653         Add documentation on format incompatibilities (with special GPS note)
4654
4655         * namet.ads, namet.adb: (Is_Operator_Name): New procedure
4656
4657         * par-load.adb: Minor reformatting
4658
4659         * sem_ch8.adb: Fix to error message from last update
4660         Minor reformatting and restructuring of code from last update
4661
4662         * par-prag.adb, snames.adb, snames.ads, snames.h,
4663         sem_prag.adb: Implement pragma Profile.
4664
4665         * stylesw.adb: Implement -gnatyN switch to turn off all style check
4666         options.
4667
4668         * usage.adb: Add line for -gnatyN switch
4669
4670         * vms_data.ads: Add entry STYLE_CHECKS=NONE for -gnatyN
4671
4672 2004-02-09  Albert Lee  <lee@gnat.com>
4673
4674         * errno.c: define _SGI_MP_SOURCE for task-safe errno on IRIX
4675
4676 2004-02-09  Ed Schonberg  <schonberg@gnat.com>
4677
4678         * exp_ch3.adb (Build_Slice_Assignment): Handle properly case of null
4679         slices.
4680
4681         * exp_ch6.adb (Expand_Call): Do not inline a call when the subprogram
4682         is nested in an instance that is not frozen yet, to avoid
4683         order-of-elaboration problems in gigi.
4684
4685         * sem_attr.adb (Analyze_Attribute, case 'Access): Within an inlined
4686         body the attribute is legal.
4687
4688 2004-02-09  Robert Dewar  <dewar@gnat.com>
4689
4690         * s-rident.ads: Minor comment correction
4691
4692         * targparm.adb: Remove dependence on uintp completely. There was
4693         always a bug in Make in that it called Targparm before initializing
4694         the Uint package. The old code appeared to get away with this, but
4695         the new code did not! This caused an assertion error in gnatmake.
4696
4697         * targparm.ads: Fix bad comment, restriction pragmas with parameters
4698         are indeed fully supported.
4699
4700 2004-02-06  Alan Modra  <amodra@bigpond.net.au>
4701
4702         * misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call.
4703
4704 2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
4705
4706         * ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES
4707         with targetm.calls.promote_prototypes.
4708
4709 2004-02-04  Robert Dewar  <dewar@gnat.com>
4710
4711         * 5gtasinf.adb, 5gtasinf.ads, 5gtaprop.adb, ali.adb,
4712         ali.ads, gprcmd.adb: Minor reformatting
4713
4714         * bindgen.adb: Output restrictions string for new style restrictions
4715         handling
4716
4717         * impunit.adb: Add s-rident.ads (System.Rident) and
4718         s-restri (System.Restrictions)
4719
4720         * lib-writ.adb: Fix bug in writing restrictions string (last few
4721         entries wrong)
4722
4723         * s-restri.ads, s-restri.adb: Change name Restrictions to
4724         Run_Time_Restrictions to avoid conflict with package name.
4725         Add circuit to read and acquire run time restrictions.
4726
4727 2004-02-04  Jose Ruiz  <ruiz@act-europe.fr>
4728
4729         * restrict.ads, restrict.adb: Use the new restriction
4730         No_Task_Attributes_Package instead of the old No_Task_Attributes.
4731
4732         * sem_prag.adb: No_Task_Attributes is a synonym of
4733         No_Task_Attributes_Package.
4734
4735         * snames.ads, snames.adb: New entry for proper handling of
4736         No_Task_Attributes.
4737
4738         * s-rident.ads: Adding restriction No_Task_Attributes_Package
4739         (AI-00249) that supersedes the GNAT specific restriction
4740         No_Task_Attributes.
4741
4742 2004-02-04  Ed Schonberg  <schonberg@gnat.com>
4743
4744         * sem_prag.adb:
4745         (Analyze_Pragma, case Warnings): In an inlined body, as in an instance
4746          body, an identifier may be wrapped in an unchecked conversion.
4747
4748 2004-02-04  Vincent Celier  <celier@gnat.com>
4749
4750         * lib-writ.ads: Comment update for the W lines
4751
4752         * bld.adb: (Expression): An empty string list is static
4753
4754         * fname-uf.adb: Minor comment update
4755
4756         * fname-uf.ads: (Get_File_Name): Document new parameter May_Fail
4757
4758         * gnatbind.adb: Initialize Cumulative_Restrictions with the
4759         restrictions on the target.
4760
4761 2004-02-03  Kazu Hirata  <kazu@cs.umass.edu>
4762
4763         * ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of
4764         gen_rtx.
4765
4766 2004-02-02  Arnaud Charlet  <charlet@gnat.com>
4767
4768         * Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded.
4769
4770 2004-02-02  Vincent Celier  <celier@gnat.com>
4771
4772         * gprcmd.adb (Check_Args): If condition is false, print the invoked
4773         comment before the usage.
4774         Gprcmd: Fail when command is not recognized.
4775         (Usage): Document command "prefix"
4776
4777         * g-md5.adb (Digest): Process last block.
4778         (Update): Do not process last block. Store remaining characters and
4779         length in Context.
4780
4781         * g-md5.ads (Update): Document that several call to update are
4782         equivalent to one call with the concatenated string.
4783         (Context): Add fields to allow new Update behaviour.
4784
4785         * fname-uf.ads/adb (Get_File_Name): New Boolean parameter May_Fail,
4786         defaulted to False.
4787         When May_Fail is True and no existing file can be found, return No_File.
4788
4789         * 6vcstrea.adb: Inlined functions are now wrappers to implementation
4790         functions.
4791
4792         * lib-writ.adb (Write_With_Lines): When body file does not exist, use
4793         spec file name instead on the W line.
4794
4795 2004-02-02  Robert Dewar  <dewar@gnat.com>
4796
4797         * ali.adb: Read and acquire info from new format restrictions lines
4798
4799         * bcheck.adb: Add circuits for checking restrictions with parameters
4800
4801         * bindgen.adb: Output dummy restrictions data
4802         To be changed later
4803
4804         * ali.ads, checks.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
4805         exp_ch3.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_util.adb,
4806         freeze.adb, gnat1drv.adb, sem_attr.adb, sem_ch10.adb, sem_ch11.adb,
4807         sem_ch12.adb, targparm.adb, targparm.ads, tbuild.adb, sem_ch2.adb,
4808         sem_elab.adb, sem_res.adb: Minor changes for new restrictions handling.
4809
4810         * exp_ch9.adb (Build_Master_Entity): Cleanup the code (also suppresses
4811         the warning message on access to possibly uninitialized variable S)
4812         Minor changes for new restrictions handling.
4813
4814         * gnatbind.adb: Minor reformatting
4815         Minor changes for new restrictions handling
4816         Move circuit for -r processing here from bcheck (cleaner)
4817
4818         * gnatcmd.adb, gnatlink.adb: Minor reformatting
4819
4820         * lib-writ.adb: Output new format restrictions lines
4821
4822         * lib-writ.ads: Document new R format lines for new restrictions
4823         handling.
4824
4825         * s-restri.ads/adb: New files
4826
4827         * Makefile.rtl: Add entry for s-restri.ads/adb
4828
4829         * par-ch3.adb: Fix bad error messages starting with upper case letter
4830         Minor reformatting
4831
4832         * restrict.adb: Major rewrite throughout for new restrictions handling
4833         Major point is to handle restrictions with parameters
4834
4835         * restrict.ads: Major changes in interface to handle restrictions with
4836         parameters. Also generally simplifies setting of restrictions.
4837
4838         * snames.ads/adb: New entry for proper handling of No_Requeue
4839
4840         * sem_ch3.adb (Count_Tasks): New circuitry for implementing Max_Tasks
4841         restriction counting.
4842         Other minor changes for new restrictions handling
4843
4844         * sem_prag.adb: No_Requeue is a synonym for No_Requeue_Statements.
4845         Restriction_Warnings now allows full parameter notation
4846         Major rewrite of Restrictions for new restrictions handling
4847
4848 2004-02-02  Javier Miranda  <miranda@gnat.com>
4849
4850         * par-ch3.adb (P_Identifier_Declarations): Give support to the Ada 0Y
4851         syntax rule for object renaming declarations.
4852         (P_Array_Type_Definition): Give support for the Ada 0Y syntax rule for
4853         component definitions.
4854
4855         * sem_ch3.adb (Analyze_Component_Declaration): Give support to access
4856         components.
4857         (Array_Type_Declaration): Give support to access components. In addition
4858         it was also modified to reflect the name of the object in anonymous
4859         array types. The old code did not take into account that it is possible
4860         to have an unconstrained anonymous array with an initial value.
4861         (Check_Or_Process_Discriminants): Allow access discriminant in
4862         non-limited types.
4863         (Process_Discriminants): Allow access discriminant in non-limited types
4864         Initialize the new Access_Definition field in N_Object_Renaming_Decl
4865         node.  Change Ada0Y to Ada 0Y in comments
4866
4867         * sem_ch4.adb (Find_Equality_Types): Allow anonymous access types in
4868         equality operators.
4869         Change Ada0Y to Ada 0Y in comments
4870
4871         * sem_ch8.adb (Analyze_Object_Renaming): Give support to access
4872         renamings Change Ada0Y to Ada 0Y in comments
4873
4874         * sem_type.adb (Find_Unique_Type): Give support to the equality
4875         operators for universal access types
4876         Change Ada0Y to Ada 0Y in comments
4877
4878         * sinfo.adb (Access_Definition, Set_Access_Definition): New subprograms
4879
4880         * sinfo.ads (N_Component_Definition): Addition of Access_Definition
4881         field.
4882         (N_Object_Renaming_Declaration): Addition of Access_Definition field
4883         Change Ada0Y to Ada 0Y in comments
4884
4885         * sprint.adb (Sprint_Node_Actual): Give support to the new syntax for
4886         component definition and object renaming nodes
4887         Change Ada0Y to Ada 0Y in comments
4888
4889 2004-02-02  Jose Ruiz  <ruiz@act-europe.fr>
4890
4891         * restrict.adb: Use the new restriction identifier
4892         No_Requeue_Statements instead of the old No_Requeue for defining the
4893         restricted profile.
4894
4895         * sem_ch9.adb (Analyze_Requeue): Check the new restriction
4896         No_Requeue_Statements.
4897
4898         * s-rident.ads: Adding restriction No_Requeue_Statements (AI-00249)
4899         that supersedes the GNAT specific restriction No_Requeue. The later is
4900         kept for backward compatibility.
4901
4902 2004-02-02  Ed Schonberg  <schonberg@gnat.com>
4903
4904         * lib.ads, i-cobol.ads, * s-stoele.ads, s-thread.ads, style.ads,
4905         5staprop.adb, atree.adb, atree.ads, g-crc32.ads: Remove redundant
4906         pragma and fix incorrect ones.
4907
4908         * sem_prag.adb For pragma Inline and pragma Pure_Function, emit a
4909         warning if the pragma is redundant.
4910
4911 2004-02-02  Thomas Quinot  <quinot@act-europe.fr>
4912
4913         * 5staprop.adb: Add missing 'constant' keywords.
4914
4915         * Makefile.in: use consistent value for SYMLIB on
4916         platforms where libaddr2line is supported.
4917
4918 2004-02-02  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
4919
4920         * utils.c (end_subprog_body): Do not call rest_of_compilation if just
4921         annotating types.
4922
4923 2004-02-02  Olivier Hainque  <hainque@act-europe.fr>
4924
4925         * init.c (__gnat_install_handler): Setup an alternate stack for signal
4926         handlers in the environment thread. This allows proper propagation of
4927         an exception on stack overflows in this thread even when the builtin
4928         ABI stack-checking scheme is used without support for a stack reserve
4929         region.
4930
4931         * utils.c (create_field_decl): Augment the head comment about bitfield
4932         creation, and don't account for DECL_BIT_FIELD in DECL_NONADDRESSABLE_P
4933         here, because the former is not accurate enough at this point.
4934         Let finish_record_type decide instead.
4935         Don't make a bitfield if the field is to be addressable.
4936         Always set a size for the field if the record is packed, to ensure the
4937         checks for bitfield creation are triggered.
4938         (finish_record_type): During last pass over the fields, clear
4939         DECL_BIT_FIELD when possible in the !STRICT_ALIGNMENT case, as this is
4940         not covered by the calls to layout_decl.  Adjust DECL_NONADDRESSABLE_P
4941         from DECL_BIT_FIELD.
4942
4943 2004-01-30  Kelley Cook  <kcook@gcc.gnu.org>
4944
4945         * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir).
4946         (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise.
4947         (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise.
4948
4949 2004-01-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4950
4951         * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB.
4952
4953         * 5fsystem.ads (Functions_Return_By_DSP): Set to False.
4954         (ZCX_By_Default): Likewise.
4955         (Front_End_ZCX_Support): Likewise.
4956
4957         * 5gtaprop.adb (Stack_Guard): Mark T, On unreferenced.
4958         (Initialize_Lock): Mark Level unreferenced.
4959         (Sleep): Mark Reason unreferenced.
4960         (Timed_Sleep): Likewise.
4961         (Wakeup): Likewise.
4962         (Exit_Task): Use Result.
4963         (Check_No_Locks): Mark Self_ID unreferenced.
4964
4965         * 5gtasinf.adb (New_Sproc): Make Attr constant.
4966         (Bound_Thread_Attributes): Make Sproc constant.
4967         (New_Bound_Thread_Attributes): Likewise.
4968
4969 2004-01-26  Ed Schonberg  <schonberg@gnat.com>
4970
4971         * exp_ch3.adb (Build_Slice_Assignment): New TSS procedure for
4972         one-dimensional array an slice assignments, when component type is
4973         controlled.
4974
4975         * exp_ch5.adb (Expand_Assign_Array): If array is one-dimensional,
4976         component type is controlled, and control_actions are in effect, use
4977         TSS procedure rather than generating inline code.
4978
4979         * exp_tss.ads (TSS_Slice_Assign): New TSS procedure for one-dimensional
4980         arrays with controlled components.
4981
4982 2004-01-26  Vincent Celier  <celier@gnat.com>
4983
4984         * gnatcmd.adb (GNATCmd): Add specification of argument file on the
4985         command line for the non VMS case.
4986
4987         * gnatlink.adb (Process_Binder_File): When building object file, if
4988         GNU linker is used, put all object paths between quotes, to prevent ld
4989         error when there are unusual characters (such as '!') in the paths.
4990
4991         * Makefile.generic: When there are sources in Ada and the main is in
4992         C/C++, invoke gnatmake with -B, instead of -z.
4993
4994         * vms_conv.adb (Preprocess_Command_Data): New procedure, extracted
4995         from VMS_Conversion.
4996         (Process_Argument): New procedure, extracted from VMS_Conversion. Add
4997         specification of argument file on the command line.
4998
4999 2004-01-26  Bernard Banner  <banner@gnat.com>
5000
5001         * Makefile.in: Enable GMEM_LIB and SYMLIB for x86_64
5002
5003 2004-01-26  Ed Schonberg  <schonberg@gnat.com>
5004
5005         * snames.adb: Update copyright notice.
5006         Add info on slice assignment for controlled arrays.
5007
5008 2004-01-23  Robert Dewar  <dewar@gnat.com>
5009
5010         * exp_aggr.adb: Minor reformatting
5011
5012         * exp_ch9.adb: Minor code clean up
5013         Minor reformatting
5014         Fix bad character in comment
5015
5016         PR ada/13471
5017         * targparm.adb (Get_Target_Parameters): Give clean abort error on
5018         unexpected end of file, along with more detailed message.
5019
5020 2004-01-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5021
5022         * exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of
5023         PAT.
5024
5025         * decl.c (copy_alias_set): New function.
5026         (gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it.
5027
5028 2004-01-23  Doug Rupp  <rupp@gnat.com>
5029
5030         * Makefile.in (install-gnatlib): Change occurrences of lib$$file to
5031         lib$${file} in case subsequent character is not a separator.
5032
5033 2004-01-23  Vincent Celier  <celier@gnat.com>
5034
5035         * 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc
5036         when the GCC version is at least 3.
5037
5038         * make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches
5039         Remove all "Opt.", to prepare for opt split
5040
5041         * prj-part.adb (Parse_Single_Project): New Boolean out parameter
5042         Extends_All. Set to True when the project parsed is an extending all
5043         project. Fails for importing an extending all project only when the
5044         imported project is an extending all project.
5045         (Post_Parse_Context_Clause): Set Is_Extending_All to the with clause,
5046         depending on the value of Extends_All returned.
5047
5048         * prj-proc.adb (Process): Check that no project shares its object
5049         directory with a project that extends it, directly or indirectly,
5050         including a virtual project.
5051         Check that no project extended by another project shares its object
5052         directory with another also extended project.
5053
5054         * prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for
5055         Kind = N_With_Clause
5056
5057         * prj-tree.ads: Minor reformatting
5058         Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All).
5059
5060 2004-01-23  Ed Schonberg  <schonberg@gnat.com>
5061
5062         * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute
5063         applies to a type with an incomplete view, use full view in Name of
5064         clause, for consistency with uses of Get_Attribute_Definition_Clause.
5065
5066 2004-01-23  Arnaud Charlet  <charlet@act-europe.fr>
5067
5068         * 5itaprop.adb (Set_Priority): Reset the priority to 0 when using
5069         SCHED_RR, since other values are not supported by this policy.
5070         (Initialize): Move initialization of mutex attribute to package
5071         elaboration, to prevent early access to this variable.
5072
5073         * Makefile.in: Remove mention of Makefile.adalib, unused.
5074
5075         * Makefile.adalib, 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
5076         1ssecsta.ads: Removed, unused.
5077
5078 2004-01-21  Javier Miranda  <miranda@gnat.com>
5079
5080         * exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master
5081         entity if already built in the current scope.
5082
5083         * exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity
5084         reminder in internal scopes. Required for nested limited aggregates.
5085
5086 2004-01-21  Doug Rupp  <rupp@gnat.com>
5087
5088         * Makefile.in (hyphen): New variable, default value '-'. Set to '_' on
5089         VMS. Replace all occurences of libgnat- and libgnarl- with
5090         libgnat$(hyphen) and libgnarl$(hyphen).
5091         Fixed shared library build problem on VMS.
5092
5093 2004-01-21  Robert Dewar  <dewar@gnat.com>
5094
5095         * mlib-prj.adb: Minor reformatting
5096
5097 2004-01-21  Thomas Quinot  <quinot@act-europe.fr>
5098
5099         * prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing
5100         'constant' keywords for declaration of pointers that are not modified.
5101
5102         * exp_pakd.adb: Fix English in comment.
5103
5104 2004-01-21  Ed Schonberg  <schonberg@gnat.com>
5105
5106         PR ada/10889
5107         * sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype,
5108         copy all attributes of the parent, including the foreign language
5109         convention.
5110
5111 2004-01-21  Sergey Rybin  <rybin@act-europe.fr>
5112
5113         PR ada/10565
5114         * sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check
5115         for 'delay until' statement.
5116
5117 2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
5118
5119         * Make-lang.in: Replace $(docdir) with doc.
5120         (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
5121         doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
5122         to use consistent MAKEINFO rule.
5123         (ada.man, ada.srcman): Dummy entry.
5124         (ADA_INFOFILES): Define.
5125         (ada.info, ada.srcinfo): New rules.
5126
5127 2004-01-19  Arnaud Charlet  <charlet@act-europe.fr>
5128
5129         * utils.c: Update copyright notice, missed in previous change.
5130
5131 2004-01-19  Vincent Celier  <celier@gnat.com>
5132
5133         * mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the
5134         args if Bind is True. Set First_ALI, if not already done.
5135         (Build_Library): For Stand Alone Libraries, extract from one ALI file
5136         an eventual --RTS switch, for gnatbind, and all backend switches +
5137         --RTS, for linking.
5138
5139 2004-01-19  Robert Dewar  <dewar@gnat.com>
5140
5141         * sem_attr.adb, memtrack.adb: Minor reformatting
5142
5143 2004-01-19  Ed Schonberg  <schonberg@gnat.com>
5144
5145         * exp_ch6.adb (Expand_Call): Remove code to fold calls to functions
5146         that rename enumeration literals. This is properly done in sem_eval.
5147
5148         * sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls
5149         to functions that rename enumeration literals.
5150
5151         * sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to
5152         functions that rename enumeration literals.
5153
5154 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
5155
5156         * Make-lang.in (utils.o): Depend on target.h.
5157         * utils.c: Include target.h.
5158         (process_attributes): Use targetm.have_named_sections instead
5159         of ASM_OUTPUT_SECTION_NAME.
5160
5161 2004-01-16  Andreas Jaeger  <aj@suse.de>
5162
5163         * Makefile.in: Add $(DESTDIR).
5164
5165 2004-01-15  Olivier Hainque  <hainque@act-europe.fr>
5166
5167         * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
5168         also when not defining if a Size clause applies. That information is
5169         not to be ignored.
5170
5171 2004-01-15  Arnaud Charlet  <charlet@act-europe.fr>
5172
5173         * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
5174         symbolic links for the shared gnat run time when needed.
5175
5176 2004-01-15  Vasiliy Fofanov  <fofanov@act-europe.fr>
5177
5178         * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
5179         for writing, and terminate with an error message if not.
5180
5181 2004-01-15  Ed Schonberg  <schonberg@gnat.com>
5182
5183         * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
5184         warning on an access to subprogram in an instance, when the target
5185         type is declared in the same generic unit.
5186         (Eval_Attribute): If 'access is known to fail accessibility check,
5187         rewrite as a raise statement.
5188
5189 2004-01-15  GNAT Script  <nobody@gnat.com>
5190
5191         * Make-lang.in: Makefile automatically updated
5192
5193 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
5194
5195         * Make-lang.in (ada.srcextra): Dummy entry.
5196
5197 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
5198
5199         * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.
5200
5201 2004-01-13  Ed Schonberg  <schonberg@gnat.com>
5202
5203         * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
5204         components that are initialized with aggregates.
5205
5206 2004-01-13  Vincent Celier  <celier@gnat.com>
5207
5208         * gnatlink.adb (Process_Binder_File): To find directory of shared
5209         libgcc, if "gcc-lib" is not a subdirectory, look for the last
5210         subdirectory "lib" in the path of the shared libgnat or libgnarl.
5211
5212         * make.adb (Gnatmake): If GCC version is at least 3, link with
5213         -shared-libgcc, when there is at least one shared library project.
5214
5215         * opt.ads (GCC_Version): New integer constant.
5216
5217         * adaint.c (get_gcc_version): New function.
5218
5219 2004-01-13  Robert Dewar  <dewar@gnat.com>
5220
5221         * sem_dist.adb, sem_res.adb, sem_util.adb,
5222         sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
5223         exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
5224
5225 2004-01-13  Thomas Quinot  <quinot@act-europe.fr>
5226
5227         * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
5228         g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
5229         declarations.
5230
5231 2004-01-12  Arnaud Charlet  <charlet@act-europe.fr>
5232
5233         * misc.c: Remove trailing spaces.
5234         Update copyright notice missed in previous change.
5235
5236         PR ada/13572
5237         * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
5238         prefix/share/make
5239
5240         * Makefile.generic: Update copyright.
5241         Add license notice.
5242
5243         * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
5244         of prefix/share/make.
5245
5246         * Makefile.prolog: Update copyright.
5247         Add license notice.
5248
5249 2004-01-12  Laurent Pautet  <pautet@act-europe.fr>
5250
5251         * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
5252         3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
5253         g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
5254         instead of String.
5255
5256         * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
5257         signature.
5258
5259 2004-01-12  Javier Miranda  <miranda@gnat.com>
5260
5261         * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
5262         exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
5263         sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
5264         sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
5265         Component_Definition node.
5266
5267 2004-01-12  Ed Falis  <falis@gnat.com>
5268
5269         * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit
5270
5271 2004-01-12  Thomas Quinot  <quinot@act-europe.fr>
5272
5273         * link.c: Change default libgnat kind to STATIC for FreeBSD.
5274
5275 2004-01-12  Bernard Banner  <banner@gnat.com>
5276
5277         * Makefile.in: map 86numaux to a-numaux for x86_64
5278
5279 2004-01-12  Ed Schonberg  <schonberg@gnat.com>
5280
5281         * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
5282         generated to rename a generic actual, go to the actual itself, the
5283         subtype is not a user-visible entity.
5284
5285         * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
5286         part is a private subtype, reset the visibility of its full view, if
5287         any, to be consistent.
5288
5289         PR ada/13417
5290         * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
5291         to use a generic package G as a formal package for another generic
5292         declared within G.
5293
5294 2004-01-12  Robert Dewar  <dewar@gnat.com>
5295
5296         * trans.c (Eliminate_Error_Msg): New procedure called to generate msg
5297
5298         * usage.adb: Remove mention of obsolete -gnatwb switch
5299         Noticed during code reading
5300
5301 2004-01-12  Jerome Guitton  <guitton@act-europe.fr>
5302
5303         * 1ssecsta.adb: Minor changes for -gnatwa warnings
5304
5305 2004-01-12  GNAT Script  <nobody@gnat.com>
5306
5307         * Make-lang.in: Makefile automatically updated
5308
5309 2004-01-09  Mark Mitchell  <mark@codesourcery.com>
5310
5311         * misc.c (gnat_expand_expr): Add alt_rtl parameter.
5312
5313 2004-01-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5314
5315         * link.c [sgi] (shared_libgnat_default): Change to STATIC.
5316
5317 2004-01-05  Kelley Cook  <kcook@gcc.gnu.org>
5318
5319         * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
5320         Update comment and copyright date.
5321         * stamp-xgnatug: Delete.
5322
5323 2004-01-05  Robert Dewar  <dewar@gnat.com>
5324
5325         * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
5326         be modified by the binder generated main program if the -D switch is
5327         used.
5328
5329         * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
5330         imported functions (since now we expect this to be done for imported
5331         functions)
5332
5333         * 5vtaprop.adb: Add several ??? for sections requiring more comments
5334         Minor reformatting throughout
5335
5336         * 5zinit.adb: Minor reformatting
5337         Add 2004 to copyright date
5338         Minor changes to avoid -gnatwa warnings
5339         Correct some instances of using OR instead of OR ELSE (noted while
5340         doing reformatting)
5341
5342         * sprint.adb: Minor updates to avoid -gnatwa warnings
5343
5344         * s-secsta.ads, s-secsta.adb:
5345         (SS_Get_Max): New function to obtain high water mark for ss stack
5346         Default_Secondary_Stack is not a constant since it may be modified by
5347         the binder generated main program if the -D switch is used.
5348
5349         * switch-b.adb: New -Dnnn switch for binder
5350
5351         * switch-c.adb:
5352         Make -gnatg imply all warnings currently in -gnatwa
5353
5354         * vms_conv.adb: Minor reformatting
5355         Add 2004 to copyright notice
5356         Add 2004 to printed copyright notice
5357
5358         * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
5359         3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
5360         5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
5361         5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
5362         5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
5363         5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
5364         5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
5365         5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
5366         5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
5367         5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
5368         6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
5369         vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
5370         xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
5371         sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
5372         checks.adb, clean.adb, cstand.adb, einfo.ads,
5373         einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
5374         exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
5375         prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
5376         sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
5377         g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
5378         lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
5379         Minor reformatting and code clean ups.
5380         Minor changes to prevent -gnatwa warnings
5381
5382         * ali.adb: Minor reformatting and cleanup of code
5383         Acquire new SS indication of secondary stack use from ali files
5384
5385         * a-numaux.ads: Add Pure_Function pragmas for all imported functions
5386         (since now we expect this to be done for imported functions)
5387
5388         * bindgen.adb: Generate call to modify default secondary stack size if
5389         -Dnnn switch given
5390
5391         * bindusg.adb: Add line for new -D switch
5392
5393         * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
5394         replacement name for Type_May_Have_Non_Bit_Aligned_Components!
5395         Add circuitry for both records and arrays to avoid gigi
5396         processing if the type involved has non-bit-aligned components
5397
5398         * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
5399         N_String_Literal node always references an E_String_Literal_Subtype
5400         entity. This may not be true in the future.
5401         (Possible_Bit_Aligned_Component): Move processing of
5402         Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
5403
5404         * exp_ch6.adb (Expand_Thread_Body): Pick up
5405         Default_Secondary_Stack_Size as variable so that we get value modified
5406         by possible -Dnnn binder parameter.
5407
5408         * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
5409         (Type_May_Have_Bit_Aligned_Components): New function.
5410
5411         * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
5412         (Type_May_Have_Bit_Aligned_Components): New function.
5413
5414         * fe.h: (Set_Identifier_Casing): Fix prototype.
5415         Add declaration for Sem_Elim.Eliminate_Error_Msg.
5416         Minor reformatting.
5417
5418         * freeze.adb (Freeze_Entity): Add RM reference to error message about
5419         importing constant atomic/volatile objects.
5420         (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
5421         unless explicit Pure_Function pragma given, to avoid insidious bug of
5422         call to non-pure imported function getting eliminated.
5423
5424         * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
5425         gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
5426         gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
5427         Add 2004 to printed copyright notice
5428
5429         * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
5430         stack used.
5431
5432         * Makefile.rtl: Add entry for g-sestin.o
5433         g-sestin.ads: New file.
5434
5435         * mdll.adb: Minor changes to avoid -gnatwa warnings
5436
5437         * mlib-tgt.adb: Minor reformatting
5438
5439         * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
5440         New switch Sec_Stack_Used (GNAT, GNATBIND)
5441         Make Default_Secondary_Stack_Size a variable instead of a constant,
5442         so that it can be modified by the new -Dnnn bind switch.
5443
5444         * rtsfind.adb (Load_Fail): Give full error message in configurable
5445         run-time mode if all_errors mode is set. This was not done in the case
5446         of a file not found, which was an oversight.
5447         Note if secondary stack unit is used by compiler.
5448
5449         * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
5450         ineffective elaborate all pragmas on non-visible packages (this
5451         happened when a renamed subprogram was called). Now the elaborate all
5452         always goes on the package containing the renaming rather than the one
5453         containing the renamed subprogram.
5454
5455         * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
5456         (Process_Eliminate_Pragma): Add parameter to capture pragma location.
5457
5458         * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
5459         has an Etype that references an E_String_Literal.
5460         (Eval_String_Literal): Avoid assumption that N_String_Literal node
5461         always references an E_String_Literal_Subtype entity. This may not
5462         be true in the future.
5463
5464         * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
5465         pragma location.
5466
5467         * sem_res.adb (Resolve): Specialize msg for function name used in proc
5468         call.
5469
5470 2004-01-05  Ed Falis  <falis@gnat.com>
5471
5472         * g-debuti.adb: Replaced direct boolean operator with short-circuit
5473         form.
5474
5475 2004-01-05  Vincent Celier  <celier@gnat.com>
5476
5477         * bld.adb: Minor comment updates
5478         (Process_Declarative_Items): Correct incorrect name (Index_Name instead
5479         of Item_Name).
5480
5481         * make.adb (Gnatmake): Special process for files to compile/check when
5482         -B is specified. Fail when there are only foreign mains in attribute
5483         Main of the project file and -B is not specified. Do not skip bind/link
5484         steps when -B is specified.
5485
5486         * makeusg.adb: Document new switch -B
5487
5488         * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
5489
5490         * switch-m.adb: (Scan_Make_Switches): Process -B switch
5491
5492         * vms_data.ads: Add new GNAT PRETTY qualifier
5493         /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
5494
5495 2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
5496
5497         * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
5498         case.
5499
5500         * misc.c (gnat_printable_name): If VERBOSITY is 2, call
5501         Set_Identifier_Casing.
5502
5503         * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
5504         has size that overflows.
5505
5506 2004-01-05  Gary Dismukes  <dismukes@gnat.com>
5507
5508         * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
5509         -gnatwa warning on static condition.
5510
5511 2004-01-05  Doug Rupp  <rupp@gnat.com>
5512
5513         * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
5514
5515 2004-01-05  Arnaud Charlet  <charlet@act-europe.fr>
5516
5517         * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
5518         all attributes, including read-only attribute.
5519
5520 2004-01-05  Pascal Obry  <obry@gnat.com>
5521
5522         * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
5523         library naming scheme.
5524
5525         * mlib-prj.adb (Build_Library): Generate different names for the static
5526         or dynamic version of the GNAT runtime. This is needed to support the
5527         new shared library naming scheme.
5528         (Process_Binder_File): Add detection of shared library in binder file
5529         based on the new naming scheme.
5530
5531         * gnatlink.adb (Process_Binder_File): Properly detect the new naming
5532         scheme for the shared runtime libraries.
5533
5534         * Makefile.in:
5535         (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
5536         scheme.
5537         (install-gnatlib): Do not create symlinks for shared libraries.
5538         (gnatlib-shared-default): Idem.
5539         (gnatlib-shared-dual-win32): New target. Not used for now as the
5540         auto-import feature does not support arrays/records.
5541         (gnatlib-shared-win32): Do not create copy for the shared libraries.
5542         (gnatlib-shared-vms): Fix shared runtime libraries names.
5543
5544         * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
5545         dependent runtime shared library name.
5546
5547 2004-01-05  Vasiliy Fofanov  <fofanov@act-europe.fr>
5548
5549         * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
5550         than the object.
5551
5552 2004-01-05  Ed Schonberg  <schonberg@gnat.com>
5553
5554         * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
5555         protected objects when allocator has a subtype indication, not a
5556         qualified expression. Note that qualified expressions may have to be
5557         checked when limited aggregates are implemented.
5558
5559         * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
5560         pure, emit warning.
5561         (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
5562         subprogram is imported, remove warning.
5563
5564 2004-01-05  Geert Bosch  <bosch@gnat.com>
5565
5566         * s-poosiz.adb: Update copyright notice.
5567         (Allocate): Use Task_Lock to protect against concurrent access.
5568         (Deallocate): Likewise.
5569
5570 2004-01-05  Joel Brobecker  <brobecker@gnat.com>
5571
5572         * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
5573         comment.
5574
5575 2003-12-23  Kelley Cook  <kcook@gcc.gnu.org>
5576
5577         * gnat_ug.texi: Force a CVS commit by updating copyright.
5578         * gnat_ug_vxw.texi: Regenerate.
5579         * gnat_ug_wnt.texi: Regenerate.
5580         * gnat_ug_vms.texi: Regenerate.
5581         * gnat_ug_unx.texi: Regenerate.
5582
5583 2003-12-20  Kazu Hirata  <kazu@cs.umass.edu>
5584
5585         * trans.c: Remove uses of "register" specifier in
5586         declarations of local variables.
5587
5588 2003-12-18  Kelley Cook  <kcook@gcc.gnu.org>
5589
5590         * stamp-xgnatug: New stamp file.
5591         * Make-lang.in (stamp-xgnatug):  New stamp file and comment.
5592         (ada/doctools/xgnatug): Add $(build_exeext).
5593         (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
5594         ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
5595
5596 2003-12-17  Ed Falis  <falis@gnat.com>
5597
5598         * a-elchha.adb (Tailored_Exception_Information): made Info constant to
5599         eliminate warning.
5600
5601         * a-exextr.adb: Add context clause for
5602         Ada.Exceptions.Last_Chance_Handler.
5603
5604 2003-12-17  Sergey Rybin  <rybin@act-europe.fr>
5605
5606         * cstand.adb (Create_Standard): Change the way how the declaration of
5607         the Duration type is created (making it the same way as it is for all
5608         the other standard types).
5609
5610 2003-12-17  Robert Dewar  <dewar@gnat.com>
5611
5612         * s-crtl.ads: Fix header format
5613         Change Pure to Preelaborate
5614
5615 2003-12-17  Ed Schonberg  <schonberg@gnat.com>
5616
5617         * checks.adb (Selected_Length_Checks): Generate an Itype reference for
5618         the expression type only if it is declared in the current unit.
5619
5620         * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
5621         are universal and already analyzed, as can occur in constrained
5622         subcomponents that depend on discriminants, when one constraint is a
5623         subtype mark.
5624
5625         * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
5626         type Any_Fixed is legal as the argument of a conversion, if only one
5627         fixed-point type is in context.
5628
5629 2003-12-17  GNAT Script  <nobody@gnat.com>
5630
5631         * Make-lang.in: Makefile automatically updated
5632
5633 2003-12-15  Robert Dewar  <dewar@gnat.com>
5634
5635         * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
5636         sec stack size.
5637
5638 2003-12-15  Vincent Celier  <celier@gnat.com>
5639
5640         * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
5641         (Gnatchop): Do not set failure status when reporting the number of
5642         warnings.
5643
5644 2003-12-15  Doug Rupp  <rupp@gnat.com>
5645
5646         * s-ctrl.ads: New file.
5647
5648         * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
5649
5650         * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
5651         (GNATBIND_OBJS): Add ada/s-crtl.o.
5652
5653         * Makefile.in [VMS]: Clean up ifeq rules.
5654
5655         * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
5656         a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
5657         g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
5658         s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
5659         s-tasdeb.adb: Update copyright.
5660         Import System.CRTL.
5661         Make minor modifications to use System.CRTL declared functions instead
5662         of importing locally.
5663
5664 2003-12-15  GNAT Script  <nobody@gnat.com>
5665
5666         * Make-lang.in: Makefile automatically updated
5667
5668 2003-12-11  Ed Falis  <falis@gnat.com>
5669
5670         * 5zinit.adb: Clean up.
5671
5672         * 5zintman.adb (Notify_Exception): replaced case statement with a call
5673         to __gnat_map_signal, imported from init.c to support
5674         signal -> exception mappings that depend on the vxWorks version.
5675
5676         * init.c:
5677         Created and exported __gnat_map_signal to support signal -> exception
5678         mapping that is dependent on the VxWorks version.
5679         Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
5680
5681 2003-12-11  Vasiliy Fofanv  <fofanov@act-europe.fr>
5682
5683         * 5wosinte.ads: Link with -mthreads switch.
5684
5685 2003-12-11  Arnaud Charlet  <charlet@act-europe.fr>
5686
5687         * init.c (__gnat_install_handler [NetBSD]): Set
5688         __gnat_handler_installed, as done on all other platforms.
5689         Remove duplicated code.
5690
5691 2003-12-11  Jerome Guitton  <guitton@act-europe.fr>
5692
5693         * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
5694
5695 2003-12-11  Thomas Quinot  <quinot@act-europe.fr>
5696
5697         * sinfo.ads: Fix inconsistent example code in comment.
5698
5699 2003-12-11  Robert Dewar  <dewar@gnat.com>
5700
5701         * a-tiinau.adb: Add a couple of comments
5702
5703         * sem_ch3.adb: Minor reformatting
5704
5705         * sem_prag.adb:
5706         Fix bad prototype of Same_Base_Type in body (code reading cleanup)
5707         Minor reformatting throughout
5708
5709 2003-12-11  Ed Schonberg  <schonberg@gnat.com>
5710
5711         * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
5712         bounds of a loop, create a separate block in order to generate proper
5713         cleanup actions to prevent memory leaks.
5714
5715         * sem_res.adb (Resolve_Call): After a call to
5716         Establish_Transient_Scope, the call may be rewritten and relocated, in
5717         which case no further processing is needed.
5718
5719         * sem_util.adb: (Wrong_Type): Refine previous fix.
5720          Fixes ACATS regressions.
5721
5722         PR ada/13353
5723
5724         * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
5725         be inlined.
5726
5727 2003-12-08  Jerome Guitton  <guitton@act-europe.fr>
5728
5729         * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
5730         i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
5731         obsolete files.
5732
5733         * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
5734         (rts-zfp): Ditto.
5735
5736 2003-12-08  Robert Dewar  <dewar@gnat.com>
5737
5738         * 7sintman.adb: Minor reformatting
5739
5740         * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
5741         standard linker options to get standard libraries linked. We now plan
5742         to provide dummy versions of these libraries to match the appropriate
5743         configurable run-time (e.g. if a library is not needed at all, provide
5744         a dummy empty library).
5745
5746         * targparm.ads: Configurable_Run_Time mode no longer affects linker
5747         options (-L parameters and standard libraries). What we plan to do is
5748         to provide dummy libraries where the libraries are not required.
5749
5750         * gnatbind.adb: Minor comment improvement
5751
5752 2003-12-08  Javier Miranda  <miranda@gnat.com>
5753
5754         * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
5755         aggregate in the parent. Otherwise constants with limited aggregates
5756         are not supported. Add new formal to pass the component type (Ctype).
5757         It is required to call the corresponding IP subprogram in case of
5758         default initialized components.
5759         (Gen_Assign): In case of default-initialized component, generate a
5760         call to the IP subprogram associated with the component.
5761         (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
5762         of aggregate with default initialized components.
5763         (Has_Default_Init_Comps): Improve implementation to recursively check
5764         all the present expressions.
5765
5766         * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
5767         to indicate that the initialization call corresponds to a
5768         default-initialized component of an aggregate.
5769         In case of default initialized aggregate with tasks this parameter is
5770         used to generate a null string (this is just a workaround that must be
5771         improved later). In case of discriminants, this parameter is used to
5772         generate a selected component node that gives access to the discriminant
5773         value.
5774
5775         * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
5776         subprogram, based on Build_Task_Allocate_Block, but adapted to expand
5777         allocated aggregates with default-initialized components.
5778
5779         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
5780         the box notation is used in positional aggregates.
5781
5782 2003-12-08  Samuel Tardieu  <tardieu@act-europe.fr>
5783
5784         * lib.ads: Fix typo in comment
5785
5786 2003-12-08  Vincent Celier  <celier@gnat.com>
5787
5788         * prj.adb (Project_Empty): New component Unkept_Comments
5789         (Scan): Remove procedure; moved to Prj.Err.
5790
5791         * prj.ads (Project_Data): New Boolean component Unkept_Comments
5792         (Scan): Remove procedure; moved to Prj.Err.
5793
5794         * prj-dect.adb: Manage comments for the different declarations.
5795
5796         * prj-part.adb (With_Record): New component Node
5797         (Parse): New Boolean parameter Store_Comments, defaulted to False.
5798         Set the scanner to return ends of line and comments as tokens, if
5799         Store_Comments is True.
5800         (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
5801         comments are associated with these nodes. Store the node IDs in the
5802         With_Records.
5803         (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
5804         With_Records.
5805         (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
5806         the N_Project node. Call Tree.Save and Tree.Reset before scanning the
5807         current project. Call Tree.Restore afterwards. Set the various nodes
5808         for comment storage (Next_End, End_Of_Line, Previous_Line,
5809         Previous_End).
5810
5811         * prj-part.ads (Parse): New Boolean parameter Store_Comments,
5812         defaulted to False.
5813
5814         * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
5815         to False. When Truncated is True, truncate the string, never go to the
5816         next line.
5817         (Write_End_Of_Line_Comment): New procedure
5818         (Print): Process comments for nodes N_With_Clause,
5819         N_Package_Declaration, N_String_Type_Declaration,
5820         N_Attribute_Declaration, N_Typed_Variable_Declaration,
5821         N_Variable_Declaration, N_Case_Construction, N_Case_Item.
5822         Process nodes N_Comment.
5823
5824         * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
5825         without comments and there are some comments, set the flag
5826         Unkept_Comments to True.
5827         (Scan): If there are comments, set the flag Unkept_Comments to True and
5828         clear the comments.
5829         (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
5830         (Next_End_Nodes: New table
5831         (Comment_Zones_Of): New function
5832         (Scan): New procedure; moved from Prj. Accumulate comments in the
5833         Comments table and set end of line comments, comments after, after end
5834         and before end.
5835         (Add_Comments): New procedure
5836         (Save, Restore, Seset_State): New procedures
5837         (There_Are_Unkept_Comments): New function
5838         (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
5839         (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
5840         procedures.
5841         (First_Comment_After, First_Comment_After_End): New functions
5842         (First_Comment_Before, First_Comment_Before_End): New functions
5843         (Next_Comment): New function
5844         (End_Of_Line_Comment, Follows_Empty_Line,
5845         Is_Followed_By_Empty_Line): New functions
5846         (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
5847         (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
5848         (Set_Next_Comment): New procedure
5849         (Default_Project_Node): Associate comment before if the node can store
5850         comments.
5851
5852         * scans.ads (Token_Type): New enumeration value Tok_Comment
5853         (Comment_Id): New global variable
5854
5855         * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
5856         defaulted to False.
5857         (Scan): Store position of start of comment. If comments are tokens, set
5858         Comment_Id and set Token to Tok_Comment when scanning a comment.
5859         (Set_Comment_As_Token): New procedure
5860
5861         * sinput-p.adb: Update Copyright notice
5862         (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
5863         that no longer exists.
5864
5865 2003-12-08  Javier Miranda  <miranda@gnat.com>
5866
5867         * sem_aggr.adb: Add dependence on Exp_Tss package
5868         Correct typo in comment
5869         (Resolve_Aggregate): In case of array aggregates set the estimated
5870         type of the aggregate before calling resolve. This is needed to know
5871         the name of the corresponding IP in case of limited array aggregates.
5872         (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
5873         in case of default initialized array components.
5874
5875         * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
5876         types. Required to give support to limited aggregates in generic
5877         formals.
5878
5879 2003-12-08  Ed Schonberg  <schonberg@gnat.com>
5880
5881         * sem_ch3.adb (Check_Initialization): For legality purposes, an
5882         inlined body functions like an instantiation.
5883         (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
5884         until bounds are analyzed, to diagnose premature use of type.
5885
5886         * sem_util.adb (Wrong_Type): Improve error message when the type of
5887         the expression is used prematurely.
5888
5889 2003-12-08  GNAT Script  <nobody@gnat.com>
5890
5891         * Make-lang.in: Makefile automatically updated
5892
5893 2003-12-08  Arnaud Charlet  <charlet@act-europe.fr>
5894
5895         * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
5896         they are automatically generated by Make-lang.in and cause nothing but
5897         maintenance troubles.
5898
5899 2003-12-05  Thomas Quinot  <quinot@act-europe.fr>
5900
5901         * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
5902         version of this unit).
5903
5904 2003-12-05  Olivier Hainque  <hainque@act-europe.fr>
5905
5906         * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
5907         5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
5908         5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
5909         the body of System.Interrupt_Management common to several targets.
5910         Update copyright notice when appropriate.
5911
5912         * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
5913         constant.
5914
5915         * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
5916         to ensure that the kernel fills in the interrupted context structure
5917         before calling a signal handler, which is necessary to be able to
5918         unwind past it. Update the copyright notice.
5919
5920 2003-12-05  Jerome Guitton  <guitton@act-europe.fr>
5921
5922         * a-elchha.ads: New file.
5923
5924         * a-elchha.adb: New default last chance handler. Contents taken from
5925         Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
5926
5927         * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
5928         is moved to a-elchha.adb to provide a target-independent default last
5929         chance handler.
5930
5931         * Makefile.rtl: Add a-elchha.o
5932
5933         * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
5934
5935 2003-12-05  Ed Schonberg  <schonberg@gnat.com>
5936
5937         * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
5938         declared in an instance, do not inline the call if the instance is not
5939         frozen yet, to prevent order of elaboration problems.
5940
5941         * sem_prag.adb: Add comments for previous fix.
5942
5943 2003-12-05  Samuel Tardieu  <tardieu@act-europe.fr>
5944
5945         * g-table.adb: Use the right variable in Set_Item.
5946         Update copyright notice.
5947
5948 2003-12-05  Arnaud Charlet  <charlet@act-europe.fr>
5949
5950         * Makefile.in: Remove unused rules.
5951
5952 2003-12-05  Vincent Celier  <celier@gnat.com>
5953
5954         * switch-c.adb (Scan_Front_End_Switches): Remove processing of
5955         -nostdlib. Not needed here after all.
5956
5957 2003-12-03  Thomas Quinot  <quinot@act-europe.fr>
5958
5959         PR ada/11724
5960
5961         * adaint.h, adaint.c, g-os_lib.ads:
5962         Do not assume that the offset argument to lseek(2) is a 32 bit integer,
5963         on some platforms (including FreeBSD), it is a 64 bit value.
5964         Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
5965
5966 2003-12-03  Arnaud Charlet  <charlet@act-europe.fr>
5967
5968         * gnatvsn.ads (Library_Version): Now contain only the relevant
5969         version info.
5970         (Verbose_Library_Version): New constant.
5971
5972         * g-spipat.adb, g-awk.adb, g-debpoo.adb,
5973         g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
5974         s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
5975
5976         * gnatlbr.adb: Clean up: replace Library_Version by
5977         Verbose_Library_Version.
5978
5979         * make.adb, lib-writ.adb, exp_attr.adb:
5980         Clean up: replace Library_Version by Verbose_Library_Version.
5981
5982         * 5lintman.adb: Removed.
5983
5984         * Makefile.in:
5985         Update and simplify computation of LIBRARY_VERSION.
5986         Fix computation of GSMATCH_VERSION.
5987         5lintman.adb is no longer used: replaced by 7sintman.adb.
5988
5989 2003-12-03  Robert Dewar  <dewar@gnat.com>
5990
5991         * exp_ch5.adb:
5992         (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
5993         name. Modified to consider small non-bit-packed arrays as troublesome
5994         and in need of component-by-component assigment expansion.
5995
5996 2003-12-03  Vincent Celier  <celier@gnat.com>
5997
5998         * lang-specs.h: Process nostdlib as nostdinc
5999
6000         * back_end.adb: Update Copyright notice
6001         (Scan_Compiler_Arguments): Process -nostdlib directly.
6002
6003 2003-12-03  Jose Ruiz  <ruiz@act-europe.fr>
6004
6005         * Makefile.in:
6006         When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
6007         redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
6008         included in HIE_NONE_TARGET_PAIRS.
6009
6010 2003-12-03  Ed Schonberg  <schonberg@gnat.com>
6011
6012         * sem_attr.adb:
6013         (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
6014         is legal in an instance, because legality is cheched in the template.
6015
6016         * sem_prag.adb:
6017         (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
6018         appplied to an unchecked conversion of a formal parameter.
6019
6020         * sem_warn.adb:
6021         (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
6022         variables.
6023
6024 2003-12-03  Olivier Hainque  <hainque@act-europe.fr>
6025
6026         * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
6027         routines. The second one is new functionality to deal with backtracing
6028         through signal handlers.
6029         (unwind): Split into the two separate subroutines above.
6030         Update the documentation, and deal properly with sizeof (REG) different
6031         from sizeof (void*).
6032
6033 2003-12-01  Nicolas Setton  <setton@act-europe.fr>
6034
6035         * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
6036         so that the debugger can reliably access the value of the parameter,
6037         and therefore is able to display the exception name when an exception
6038         breakpoint is reached.
6039
6040 2003-12-01  Thomas Quinot  <quinot@act-europe.fr>
6041
6042         * fmap.adb: Fix typo in warning message.
6043
6044         * g-socket.ads, g-socket.adb: Make Free a visible instance of
6045         Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
6046
6047 2003-12-01  Vincent Celier  <celier@gnat.com>
6048
6049         * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
6050         ther is no Afile.
6051         (Build_Library): Get the switches only if Default_Switches is declared
6052         in package Binder.
6053
6054 2003-12-01  Ed Schonberg  <schonberg@gnat.com>
6055
6056         * exp_ch6.adb (Expand_Actuals): When applying validity checks to
6057         actuals that are indexed components, reanalyze actual to ensure that
6058         packed array references are properly expanded.
6059
6060         * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
6061         attempted assignment to a discriminant.
6062
6063 2003-12-01  Robert Dewar  <dewar@gnat.com>
6064
6065         * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
6066         reformatting.
6067
6068         * switch-c.adb: Minor reformatting of comments
6069
6070 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
6071
6072         * Makefile.in: Clean ups.
6073
6074 2003-12-01  GNAT Script  <nobody@gnat.com>
6075
6076         * Make-lang.in: Makefile automatically updated
6077
6078 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
6079
6080         * 5wsystem.ads: Disable zero cost exception, not ready yet.
6081
6082 2003-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
6083
6084         * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
6085         to force serialization.
6086
6087 2003-11-26  Thomas Quinot  <quinot@act-europe.fr>
6088
6089         * g-socket.ads, g-socket.adb:
6090         Clarify documentation of function Stream. Introduce a Free procedure
6091         to release the returned Stream once it becomes unused.
6092
6093         * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
6094
6095 2003-11-26  Arnaud Charlet  <charlet@act-europe.fr>
6096
6097         (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
6098         since NT 4 cannot handle timeout values that are too large,
6099         e.g. DWORD'Last - 1.
6100
6101 2003-11-26  Ed Schonberg  <schonberg@gnat.com>
6102
6103         * exp_ch4.adb:
6104         (Expand_N_Slice): Recognize all cases of slices that appear as actuals
6105         in procedure calls and whose expansion must be deferred.
6106
6107         * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
6108         is in exp_ch4.
6109
6110         * sem_ch3.adb:
6111         (Build_Derived_Array_Type): Create operator for unconstrained type
6112         if ancestor is unconstrained.
6113
6114 2003-11-26  Vincent Celier  <celier@gnat.com>
6115
6116         * make.adb (Project_Object_Directory): New global variable
6117         (Change_To_Object_Directory): New procedure
6118         (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
6119         of Change_Dir directly. Do not change working directory to object
6120         directory of main project after each compilation.
6121         (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
6122         directly.
6123         Change to object directory of main project before binding step.
6124         (Initialize): Initialize Project_Object_Directory to No_Project
6125
6126         * mlib-prj.adb:
6127         (Build_Library): Take into account Builder'Default_Switches ("Ada") when
6128         binding a Stand-Alone Library.
6129
6130         * output.adb: Update Copyright notice
6131         (Write_Char): Output buffer when full
6132
6133 2003-11-26  Robert Dewar  <dewar@gnat.com>
6134
6135         * sem_ch13.adb: (Check_Size): Reset size if size is too small
6136
6137         * sem_ch13.ads:
6138         (Check_Size): Fix documentation to include bit-packed array case
6139
6140         * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
6141
6142         * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
6143
6144         * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
6145
6146 2003-11-24  Arnaud Charlet <charlet@act-europe.fr>
6147
6148         PR ada/13142
6149         * utils.c (init_gigi_decls): Change name of built-in setjmp to
6150         __builtin_setjmp, since this is apparently needed by recent
6151         non Ada changes.
6152
6153 2003-11-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6154
6155         * adadecode.c: Only include ctype.h if not IN_GCC.
6156         (__gnat_decode): Use ISDIGIT from safe-ctype.h.
6157
6158 2003-11-24  Jose Ruiz  <ruiz@act-europe.fr>
6159
6160         * Makefile.in:
6161         Use 5zintman.ads for VxWorks targets. This file avoid confusion between
6162         signals and interrupts.
6163
6164         * 5zintman.ads: New File.
6165
6166         * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
6167         add exception signals to the set of unmasked signals.
6168
6169         * 5ztaprop.adb:
6170         Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
6171         between signals and interrupts.
6172         Add to Unblocked_Signal_Mask the set of signals that are in
6173         Keep_Unmasked.
6174
6175         * 7sinmaop.adb:
6176         Adding a check to see whether the Interrupt_ID we want to unmask is in
6177         the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
6178         reason is that the index type of the Keep_Unmasked array is not always
6179         Interrupt_ID; it may be a subtype of Interrupt_ID.
6180
6181 2003-11-24  Gary Dismukes  <dismukes@gnat.com>
6182
6183         * exp_util.adb:
6184         (Remove_Side_Effects): Condition constantness of object created for a
6185          an unchecked type conversion on the constantness of the expression
6186          to ensure the correct value for 'Constrained when passing components
6187          of view-converted class-wide objects.
6188
6189 2003-11-24  Robert Dewar  <dewar@gnat.com>
6190
6191         * par-load.adb (Load): Improve handling of misspelled and missing units
6192         Removes several cases of compilation abandoned messages
6193
6194         * lib.adb: (Remove_Unit): New procedure
6195
6196         * lib.ads: (Remove_Unit): New procedure
6197
6198         * lib-load.adb: Minor reformatting
6199
6200 2003-11-24  Vincent Celier  <celier@gnat.com>
6201
6202         * make.adb:
6203         (Gnatmake, Initialize): Call Usage instead of Makeusg directly
6204         (Marking_Label): Label to mark processed source files. Incremented for
6205         each executable.
6206         (Gnatmake): Increase Marking_Labet for each executable
6207         (Is_Marked): Compare against marking label
6208         (Mark): Mark with marking label
6209
6210 2003-11-24  Jerome Guitton  <guitton@act-europe.fr>
6211
6212         * s-thread.ads:
6213         Move the declaration of the TSD for System.Threads to System.Soft_Links.
6214         Add some comments.
6215
6216         * Makefile.in: Added target pair for s-thread.adb for cert runtime.
6217         (rts-cert): build a single relocatable object for the run-time lib.
6218         Fix perms.
6219
6220 2003-11-24  Vasiliy Fofanov  <fofanov@act-europe.fr>
6221
6222         * Make-lang.in:
6223         Use gnatls rather than gcc to obtain the location of GNAT RTL for
6224         crosstools build.
6225
6226 2003-11-24  Sergey Rybin  <rybin@act-europe.fr>
6227
6228         * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
6229         can not use it as before (that is, as a variable) when dumping it into
6230         the tree file. Add a local variable to store the result of this
6231         function and to be used as the string to be written into the tree.
6232
6233         * scn.adb (Initialize_Scanner): Add comments explaining the recent
6234         changes.
6235
6236         * sinput.adb (Source_First, Source_Last): In case of
6237         Internal_Source_File, replace returning attributes of
6238         Internal_Source_Ptr (which is wrong) with returning attributes of
6239         Internal_Source.
6240
6241 2003-11-24  Ed Schonberg  <schonberg@gnat.com>
6242
6243         * sem_ch3.adb:
6244         (New_Concatenation_Op): Proper name for New_Binary_Operator, only
6245         used for implicit concatenation operators.
6246         Code cleanup.
6247
6248         * sem_elab.adb:
6249         (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
6250         task bodies that are in the scope of a Suppress pragma.
6251         (Check_A Call): Use the flag to prevent spurious elaboration checks.
6252
6253         * sinfo.ads, sinfo.adb:
6254         New flag No_Elaboration_Check on function/procedure calls, to properly
6255         suppress checks on calls in task bodies that are within a local suppress
6256         pragma.
6257
6258         * exp_ch4.adb:
6259         (Expand_Concatenate_Other): Use the proper integer type for the
6260         expression for the upper bound, to avoid universal_integer computations
6261         when possible.
6262
6263 2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
6264
6265         * .cvsignore: Delete.
6266
6267 2003-11-21  Andreas Schwab  <schwab@suse.de>
6268
6269         * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
6270
6271 2003-11-21  Vasiliy Fofanov  <fofanov@act-europe.fr>
6272
6273         * 5wsystem.ads: Enable zero cost exception.
6274
6275 2003-11-21  Jerome Guitton  <guitton@act-europe.fr>
6276
6277         * 5ztiitho.adb: Remove an unreferenced variable.
6278
6279 2003-11-21  Thomas Quinot  <quinot@act-europe.fr>
6280
6281         * adaint.c: For FreeBSD, use mkstemp.
6282
6283 2003-11-21  Arnaud Charlet  <charlet@act-europe.fr>
6284
6285         * gnatlbr.adb: Now reference Gnat_Static_Version_String.
6286
6287 2003-11-21  Robert Dewar  <dewar@gnat.com>
6288
6289         * bld.adb: Remove useless USE of gnatvsn
6290
6291         * gnatchop.adb: Minor reformatting
6292         Clean up version handling to be more consistent
6293
6294         * gnatxref.adb: Minor reformatting
6295
6296         * gprcmd.adb: Minor reformatting
6297         Fix output of copyright to be more consistent with other tools
6298
6299 2003-11-21  Vincent Celier  <celier@gnat.com>
6300
6301         * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
6302
6303 2003-11-21  Sergey Rybin  <rybin@act-europe.fr>
6304
6305         * atree.adb (Initialize): Add initializations for global variables
6306         used in New_Copy_Tree.
6307
6308         * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
6309         Internal_Source_File as the actual).
6310         Put the set of statements creating Any_Character before the set of
6311         statements creating Any_Array to have Any_Character fully initialized
6312         when it is used in creating Any_Array.
6313
6314         * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
6315         not call Scan in case if the actual is Internal_Source_File
6316         Add 2003 to copyright note.
6317
6318         * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
6319         processing Internal_Source_File.
6320
6321         * types.ads: Add the constant Internal_Source_File representing the
6322         source buffer for artificial source-code-like strings created within
6323         the compiler (the definition of Source_File_Index is changed).
6324
6325 2003-11-20  Arnaud Charlet  <charlet@act-europe.fr>
6326
6327         * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
6328         56system.ads: New file, FreeBSD version.
6329
6330 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
6331
6332         * Make-lang.in (ada.extraclean): Delete.
6333
6334 2003-11-19  Arnaud Charlet  <charlet@act-europe.fr>
6335
6336         * gnatmem.adb: Clean up verbose output.
6337
6338         * gprcmd.adb: Change copyright to FSF.
6339
6340 2003-11-19  Vincent Celier  <celier@gnat.com>
6341
6342         * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
6343         and Version (ignored).
6344
6345         * symbols.ads: (Policy): New type
6346         (Initialize): New parameter Reference, Symbol_Policy and
6347         Library_Version.
6348         Remove parameter Force.
6349         Minor reformatting.
6350
6351         * snames.ads, snames.adbadb: New standard names
6352         Library_Reference_Symbol_File and Library_Symbol_Policy
6353
6354         * mlib-prj.adb:
6355         (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
6356         project.
6357
6358         * mlib-tgt.adb:
6359         (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
6360
6361         * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
6362
6363         * prj.adb: (Project_Empty): New component Symbol_Data
6364
6365         * prj.ads: (Policy, Symbol_Record): New types
6366         (Project_Data): New component Symbol_Data
6367
6368         * prj-attr.adb:
6369         New attributes Library_Symbol_File, Library_Symbol_Policy and
6370         Library_Reference_Symbol_File.
6371
6372         * prj-nmsc.adb:
6373         (Ada_Check): When project is a Stand-Alone library project, process
6374         attribute Library_Symbol_File, Library_Symbol_Policy and
6375         Library_Reference_Symbol_File.
6376
6377         * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
6378         5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
6379         5sml-tgt.adb (Build_Dynamic_Library): New parameter
6380         Symbol_Data (ignored).
6381
6382         * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
6383         (Build_Dynamic_Library): New parameter Symbol_Data. New internal
6384         functions Option_File_Name and Version_String. Set new options of
6385         gnatsym related to symbol file, symbol policy and reference symbol
6386         file.
6387
6388         * 5vsymbol.adb:
6389         Extensive modifications to take into account the reference symbol file,
6390         the symbol policy, the library version and to put in the symbol file the
6391         minor and major IDs.
6392
6393         * bld.adb (Process_Declarative_Items): Put second argument of
6394         gprcmd to_absolute between single quotes, to avoid problems with
6395         Windows.
6396
6397         * bld-io.adb: Update Copyright notice.
6398         (Flush): Remove last character of a line, if it is a back slash, to
6399         avoid make problems.
6400
6401         * gnatsym.adb:
6402         Implement new scheme with reference symbol file and symbol policy.
6403
6404         * g-os_lib.ads: (Is_Directory): Clarify comment
6405
6406 2003-11-19  Robert Dewar  <dewar@gnat.com>
6407
6408         * atree.adb: Move New_Copy_Tree global variables to head of package
6409
6410         * errout.adb: Minor reformatting
6411
6412 2003-11-19  Javier Miranda  <miranda@gnat.com>
6413
6414         * sem_ch4.adb: (Diagnose_Call): Improve error message.
6415         Add reference to Ada0Y (AI-50217)
6416
6417         * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
6418         sem_util.adb: Add reference to AI-50217
6419
6420         * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
6421
6422         * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
6423
6424         * sem_aggr.adb: Complete documentation of AI-287 changes
6425
6426         * par-ch4.adb: Document previous changes.
6427
6428         * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
6429         sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
6430         Ada0Y (AI-50217)
6431
6432         * exp_aggr.adb: Add references to AI-287 in previous changes
6433
6434 2003-11-19  Ed Schonberg  <schonberg@gnat.com>
6435
6436         * exp_ch6.adb:
6437         (Add_Call_By_Copy_Node): Do not original node of rewritten expression
6438         in the rewriting is the result of an inlined call.
6439
6440         * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
6441         parameter is a type conversion, use original node to construct the
6442         post-call assignment, because expression may have been rewritten, e.g.
6443         if it is a packed array.
6444
6445         * sem_attr.adb:
6446         (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
6447         body, just as it is in an instance.
6448         Categorization routines
6449
6450         * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
6451         Instantiate_Object): Set proper sloc reference for message on missing
6452         actual.
6453
6454 2003-11-19  Thomas Quinot  <quinot@act-europe.fr>
6455
6456         * Makefile.in: Add FreeBSD libgnat pairs.
6457
6458         * usage.adb: Fix typo in usage message.
6459
6460 2003-11-19  Jerome Guitton  <guitton@act-europe.fr>
6461
6462         * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
6463         s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
6464         pragma Thread_Body.
6465         Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
6466
6467         * s-thread.adb: This file is now a dummy implementation of
6468         System.Thread.
6469
6470 2003-11-19  Sergey Rybin  <rybin@act-europe.fr>
6471
6472         * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
6473
6474 2003-11-19  Emmanuel Briot  <briot@act-europe.fr>
6475
6476         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
6477         instanciation references in the parent type description.
6478
6479 2003-11-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6480
6481         * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
6482
6483         * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
6484         TYPE_PRECISION directly from esize.
6485
6486 2003-11-18  Thomas Quinot  <quinot@act-europe.fr>
6487
6488         * cstreams.c:
6489         Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
6490
6491         * init.c: Initialization routines for FreeBSD
6492
6493         * link.c: Link info for FreeBSD
6494
6495         * sysdep.c: Add the case of FreeBSD
6496
6497 2003-11-17  Jerome Guitton  <guitton@act-europe.fr>
6498
6499         * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
6500         already called in System.Threads.
6501
6502         * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
6503         environment task, as it has been moved to System.Threads.Initialization.
6504
6505 2003-11-17  Arnaud Charlet  <charlet@act-europe.fr>
6506
6507         * adaint.c (__gnatlib_install_locks): Only reference
6508         __gnat_install_locks on VMS, since other platforms can avoid using
6509         --enable-threads=gnat
6510
6511 2003-11-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6512
6513         * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
6514
6515         * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
6516         TYPE_PACKED_ARRAY_TYPE_P.
6517         (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
6518
6519         Part of PR ada/12806
6520         * utils.c (float_type_for_precision): Renamed from float_type_for_size.
6521         Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
6522
6523 2003-11-17  Vincent Celier  <celier@gnat.com>
6524
6525         * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
6526         to False.
6527         Do not set exit status to Failure when Warning is True.
6528         (Gnatchop): Make errors "no compilation units found" and
6529         "no source files written" warnings only.
6530
6531         * make.adb (Gnatmake): When using a project file, set
6532         Look_In_Primary_Dir to False.
6533         (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
6534         and Local_Configuration_Pragmas in the project where they are declared
6535         not an extending project which might have inherited them.
6536
6537         * osint.adb (Locate_File): If Name is already an absolute path, do not
6538         look for a directory.
6539
6540         * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
6541         -gnats (Check_Syntax) is used, issue only a warning, not an error.
6542
6543         * prj.adb (Register_Default_Naming_Scheme): Add new component Project
6544         in objects of type Variable_Value.
6545
6546         * prj.ads: (Variable_Value): New component Project
6547
6548         * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
6549         is in a project extended by Project.
6550
6551         * prj-proc.adb (Add_Attributes): New parameter Project. Set component
6552         Project of Variable_Values to this new parameter value.
6553         (Expression): Set component Project of Variable_Values.
6554         (Process_Declarative_Items): Call Add_Attributes with parameter Project.
6555         Set the component Project in array elements.
6556
6557 2003-11-17  Sergey Rybin  <rybin@act-europe.fr>
6558
6559         * errout.adb: (Initialize): Add initialization for error nodes.
6560
6561         * sem_ch12.adb (Initialize): Add missing initializations for
6562         Exchanged_Views and Hidden_Entities.
6563
6564 2003-11-17  Ed Schonberg  <schonberg@gnat.com>
6565
6566         * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
6567         already instantiated tree for use in subsequent inlining.
6568         (Analyze_Associations, Instantiate_Formal_Subprogram,
6569         Instantiate_Object): improve error message for mismatch in
6570         instantiations.
6571
6572         * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
6573         instantiations of subprograms declared in instances.
6574
6575 2003-11-17  Javier Miranda  <miranda@gnat.com>
6576
6577         * sem_ch4.adb (Analyze_Allocator): Previous modification must be
6578         executed only under the Extensions_Allowed flag.
6579
6580 2003-11-17  Robert Dewar  <dewar@gnat.com>
6581
6582         * a-exexda.adb (Address_Image): Fix documentation to indicate leading
6583         zeroes suppressed.
6584         (Address_Image): Fix bug of returning 0x instead of 0x0
6585         Minor reformatting (function specs).
6586
6587         * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
6588         (missed case of 33-63)
6589
6590         * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
6591
6592         * s-thread.adb: Add comments for pragma Restriction
6593
6594         * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
6595         sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
6596
6597 2003-11-17  Ed Falis  <falis@gnat.com>
6598
6599         * s-thread.adb: Added No_Tasking restriction for this implementation.
6600
6601 2003-11-17  Emmanuel Briot  <briot@act-europe.fr>
6602
6603         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
6604         instanciation references in the parent type description.
6605
6606 2003-11-17  GNAT Script  <nobody@gnat.com>
6607
6608         * Make-lang.in: Makefile automatically updated
6609
6610 2003-11-16  Jason Merrill  <jason@redhat.com>
6611
6612         * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
6613         and TAGS files that include them for each front end.
6614
6615 2003-11-14  Andreas Jaeger  <aj@suse.de>
6616
6617         * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
6618         is the canonical version.
6619         * misc.c (gnat_handle_option): Likewise.
6620
6621         * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
6622
6623         * 5nsystem.ads: New file for x86_64-linux-gnu.
6624
6625 2003-11-14  Arnaud Charlet  <charlet@act-europe.fr>
6626
6627         * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
6628
6629         * comperr.adb: Fix logic in previous change.
6630
6631 2003-11-13  Vincent Celier  <celier@gnat.com>
6632
6633         * 5bml-tgt.adb (Build_Dynamic_Library): Use
6634         Osint.Include_Dir_Default_Prefix instead of
6635         Sdefault.Include_Dir_Default_Name.
6636
6637         * gnatlbr.adb: Update Copyright notice
6638         (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
6639         Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
6640         instead of Sdefault.Object_Dir_Default_Name
6641
6642         * gnatlink.adb:
6643         (Process_Binder_File): Never suppress the option following -Xlinker
6644
6645         * mdll-utl.adb:
6646         (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
6647         Sdefault.Object_Dir_Default_Name.
6648
6649         * osint.ads, osint.adb:
6650         (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
6651         Minor reformatting.
6652
6653         * vms_conv.ads: Minor reformating
6654         Remove GNAT STANDARD and GNAT PSTA
6655
6656         * vms_conv.adb:
6657         Allow GNAT MAKE to have several files on the command line.
6658         (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
6659         Sdefault.Object_Dir_Default_Name.
6660         Minor Reformating
6661         Remove data for GNAT STANDARD
6662
6663         * vms_data.ads:
6664         Add new compiler qualifier /PRINT_STANDARD (-gnatS)
6665         Remove data for GNAT STANDARD
6666         Remove options and documentation for -gnatwb/-gnatwB: these warning
6667         options no longer exist.
6668
6669 2003-11-13  Ed Falis  <falis@gnat.com>
6670
6671         * 5zthrini.adb: (Init_RTS): Made visible
6672
6673         * 5zthrini.adb:
6674         (Register): Removed unnecessary call to taskVarGet that checked whether
6675          an ATSD was already set as a task var for the argument thread.
6676
6677         * s-thread.adb:
6678         Updated comment to reflect that this is a VxWorks version
6679         Added context clause for System.Threads.Initialization
6680         Added call to System.Threads.Initialization.Init_RTS
6681
6682 2003-11-13  Jerome Guitton  <guitton@act-europe.fr>
6683
6684         * 5zthrini.adb:
6685         (Init_RTS): New procedure, for the initialization of the run-time lib.
6686
6687         * s-thread.adb:
6688         Remove dependancy on System.Init, so that this file can be used in the
6689         AE653 sequential run-time lib.
6690
6691 2003-11-13  Robert Dewar  <dewar@gnat.com>
6692
6693         * bindgen.adb: Minor reformatting
6694
6695 2003-11-13  Ed Schonberg  <schonberg@gnat.com>
6696
6697         * checks.adb:
6698         (Apply_Discriminant_Check): Do no apply check if target type is derived
6699         from source type with no applicable constraint.
6700
6701         * lib-writ.adb:
6702         (Ensure_System_Dependency): Do not apply the style checks that may have
6703         been specified for the main unit.
6704
6705         * sem_ch8.adb:
6706         (Find_Selected_Component): Further improvement in error message, with
6707         RM reference.
6708
6709         * sem_res.adb:
6710         (Resolve): Handle properly the case of an illegal overloaded protected
6711         procedure.
6712
6713 2003-11-13  Javier Miranda  <miranda@gnat.com>
6714
6715         * exp_aggr.adb:
6716         (Has_Default_Init_Comps): New function to check the presence of
6717         default initialization in an aggregate.
6718         (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
6719         extension aggregate of a limited record. In addition, a new formal
6720         was added to do not initialize the record controller (if any) during
6721         this recursive expansion of ancestors.
6722         (Init_Controller): Add support for limited record components.
6723         (Expand_Record_Aggregate): In case of default initialized components
6724         convert the aggregate into a set of assignments.
6725
6726         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
6727         describing the new syntax.
6728         Nothing else needed to be done because this subprogram delegates part of
6729         its work to P_Precord_Or_Array_Component_Association.
6730         (P_Record_Or_Array_Component_Association): Give support to the new
6731         syntax for default initialization of components.
6732
6733         * sem_aggr.adb:
6734         (Resolve_Aggregate): Relax the strictness of the frontend in case of
6735         limited aggregates.
6736         (Resolve_Record_Aggregate): Give support to default initialized
6737         components.
6738         (Get_Value): In case of default initialized components, duplicate
6739         the corresponding default expression (from the record type
6740         declaration). In case of default initialization in the *others*
6741         choice, do not check that all components have the same type.
6742         (Resolve_Extension_Aggregate): Give support to limited extension
6743         aggregates.
6744
6745         * sem_ch3.adb:
6746         (Check_Initialization): Relax the strictness of the front-end in case
6747         of aggregate and extension aggregates. This test is now done in
6748         Get_Value in a per-component manner.
6749
6750         * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
6751         expression corresponds to a limited aggregate. This test is now done
6752         in Get_Value.
6753
6754         * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
6755         Box_Present flag.
6756
6757         * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
6758         present in an N_Component_Association node
6759
6760 2003-11-13  Thomas Quinot  <quinot@act-europe.fr>
6761
6762         * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
6763         type-conformant entry only if they are homographs.
6764
6765 2003-11-13  GNAT Script  <nobody@gnat.com>
6766
6767         * Make-lang.in: Makefile automatically updated
6768
6769 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6770
6771         * adadecode.c: Use <> form of include for ctype.h.
6772         * sysdep.c [IN_RTS]: Use <> form of include for time.h.
6773
6774 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6775
6776         * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
6777         Works around PR middle-end/6552.
6778
6779 2003-11-10  Ed Falis  <falis@gnat.com>
6780
6781         * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
6782
6783         * 5zinit.adb: (Install_Handler): Moved back to spec
6784         (Install_Signal_Handlers): Deleted
6785
6786         * 5zthrini.adb: Added context clause for System.Storage_Elements
6787         (Register): Only handles creation of taskVar; initialization moved to
6788         Thread_Body_Enter.
6789         (Reset_TSD): Deleted; replaced by Thread_Body_Enter
6790         Added declaration of environment task secondary stack and
6791         initialization.
6792
6793         * s-thread.adb: Implement bodies for thread body processing
6794
6795         * s-thread.ads:
6796         Added comment identifying supported targets for pragma Thread_Body.
6797
6798 2003-11-10  Pascal Obry  <obry@gnat.com>
6799
6800         * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
6801         GNAT_MAX_PATH_LEN.
6802
6803         * s-fileio.adb:
6804         (Open): Properly check for string length before copying into the buffer.
6805         Raises Name_Error if buffer is too small. Note that this was a potential
6806         buffer overflow.
6807
6808 2003-11-10  Romain Berrendonner  <berrendo@act-europe.fr>
6809
6810         * bindgen.adb, comperr.adb: Code clean ups.
6811         * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
6812
6813 2003-11-10  Sergey Rybin  <rybin@act-europe.fr>
6814
6815         * gnat1drv.adb: Add call to Sem_Elim.Initialize.
6816
6817 2003-11-10  Vincent Celier  <celier@gnat.com>
6818
6819         * gprcmd.adb:
6820         (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
6821         installation.
6822
6823         * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
6824
6825         * prj.adb: (Project_Empty): Add new boolean component Virtual
6826
6827         * prj.ads: (Virtual_Prefix): New constant string
6828         (Project_Data): New boolean component Virtual
6829
6830         * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
6831         a library project is extended by a virtual extending project.
6832
6833         * prj-part.adb:
6834         Modifications throughout to implement extending-all project, including:
6835         (Virtual_Hash, Processed_Hash): New hash tables
6836         (Create_Virtual_Extending_Project): New procedure
6837         (Look_For_Virtual_Projects_For): New procedure
6838
6839         * prj-proc.adb:
6840         (Process): After checking the projects, if main project is an
6841         extending-all project, set the object directory of all virtual extending
6842         project to the object directory of the main project.
6843         Adjust error message when a virtual extending project has the same
6844         object directory as an project being extended.
6845         (Recursive_Process): If name starts with the virtual prefix, set Virtual
6846         to True in the project data.
6847
6848         * prj-tree.adb:
6849         (Default_Project_Node): Add new boolean component Extending_All
6850         (Is_Extending_All): New function
6851         (Set_Is_Extending_All): New procedure
6852
6853         * prj-tree.ads: (Is_Extending_All): New function
6854         (Set_Is_Extending_All): New procedure
6855         (Project_Node_Record): New boolean component Extending_All
6856
6857         * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
6858
6859         * vms_data.ads:
6860         Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
6861
6862         * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
6863         "gprcmd prefix" to define it.
6864
6865 2003-11-10  Thomas Quinot  <quinot@act-europe.fr>
6866
6867         * einfo.ads: Fix a typo and remove an extraneous word in comments.
6868
6869         * lib-load.adb:
6870         (Create_Dummy_Package_Unit): Set the scope of the entity for the
6871         created dummy package to Standard_Standard, not to itself, to
6872         defend other parts of the front-end against encoutering a cycle in
6873         the scope chain.
6874
6875         * sem_ch10.adb:
6876         (Analyze_With_Clause): When setting the entities for the successive
6877         N_Expanded_Names that constitute the name of a child unit, do not
6878         attempt to go further than Standard_Standard in the chain of scopes.
6879         This case arises from the placeholder units created by
6880         Create_Dummy_Package_Unit in the case of a with_clause for a
6881         nonexistent child unit.
6882
6883 2003-11-10  Ed Schonberg  <schonberg@gnat.com>
6884
6885         * exp_ch6.adb:
6886         (Expand_Thread_Body): Place subprogram on scope stack, so that new
6887         declarations are given the proper scope.
6888
6889         * sem_ch13.adb:
6890         (Check_Expr_Constants): Reject an expression that contains a constant
6891         created during expansion, and that appears after the object to which
6892         the address clause applies.
6893
6894         * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
6895         Analyze_Iteration_Scheme, to rewrite a loop parameter specification
6896         that uses 'Range of a function call with controlled components, so
6897         that the function result can be finalized before starting the loop.
6898
6899         * sem_ch8.adb:
6900         (Find_Selected_Component): Improve error message when prefix is
6901         an implicit dereference of an incomplete type.
6902
6903 2003-11-10  Robert Dewar  <dewar@gnat.com>
6904
6905         * opt.ads: New Print_Standard flag for -gnatS switch
6906
6907         * sem_ch13.adb: Remove some additional checks for unaligned arrays
6908
6909         * cstand.adb (Create_Standard): Print out package standard if -gnatS
6910         switch set
6911
6912         * debug.adb: Update doc for -gnatds to discuss relationship with new
6913         -gnatS flag
6914
6915         * sinfo.adb: Add new field Entity_Or_Associated_Node
6916
6917         * sinfo.ads: Add new field Entity_Or_Associated_Node
6918         Update documentation for Associated_Node and Entity fields to clarify
6919         relationship and usage.
6920
6921         * sprint.adb:
6922         (Write_Id): Properly process Associated_Node field in generic template
6923
6924         * switch-c.adb:
6925         Recognize new -gnatS switch for printing package Standard
6926         This replaces gnatpsta
6927
6928         * usage.adb:
6929         Add line for  new -gnatS switch for printing package Standard
6930         This replaces gnatpsta
6931
6932 2003-11-10  Andreas Jaeger  <aj@suse.de>
6933
6934         * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
6935         integer.
6936
6937 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
6938
6939         * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
6940         by gnat1.
6941
6942 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
6943
6944         * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
6945         no longer needed.
6946
6947         * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
6948
6949         * sysdep.c: Add handling of cygwin.
6950
6951 2003-11-10  GNAT Script  <nobody@gnat.com>
6952
6953         * Make-lang.in: Makefile automatically updated
6954
6955 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
6956
6957         PR 12950
6958         * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
6959         functions. Used to handle dynamic prefix relocation, via set_std_prefix.
6960         Replace GNAT_ROOT by GCC_ROOT.
6961
6962         * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
6963
6964 2003-11-06  Zack Weinberg  <zack@codesourcery.com>
6965
6966         * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
6967         and update for changed meaning of GET_MODE_BITSIZE.
6968
6969 2003-11-04  Doug Rupp  <rupp@gnat.com>
6970
6971         * sysdep.c: Problem discovered during IA64 VMS port.
6972         [VMS] #include <unixio.h> to get proper prototypes.
6973
6974         * adaint.c:
6975         Issues discovered/problems fixed during IA64 VMS port.
6976         [VMS] #define _POSIX_EXIT for proper semantics.
6977         [VMS] #include <unixio.h> for proper prototypes.
6978         [VMS] (fork): #define IA64 version.
6979         (__gnat_os_exit): Remove unnecessary VMS specific code.
6980
6981 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
6982
6983         Part of PR ada/12806
6984
6985         * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
6986         tree, not integer.
6987
6988         * decl.c:
6989         (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
6990         not integer.
6991
6992         * targtyps.c, decl.c, misc.c,
6993         gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
6994         routines to work around change in FP sizing semantics in GCC.
6995
6996         * utils.c:
6997         (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
6998
6999         * gigi.h: (enumerate_modes): New function.
7000
7001         * Make-lang.in: (ada/misc.o): Add real.h.
7002
7003         * misc.c: (enumerate_modes): New function.
7004
7005 2003-11-04  Robert Dewar  <dewar@gnat.com>
7006
7007         * 3vtrasym.adb: Minor reformatting
7008         Use terminology encoded/decoded name, rather than C++ specific notion
7009         of mangling (this is the terminology used throughout GNAT).
7010
7011         * einfo.h: Regenerated
7012
7013         * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
7014
7015         * exp_ch6.adb:
7016         (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
7017
7018         * par-prag.adb: Add dummy entry for Thread_Body pragma
7019
7020         * rtsfind.ads:
7021         Add entries for System.Threads entities for thread body processing
7022
7023         * sem_attr.adb:
7024         (Analyze_Pragma, Access attributes): Check these are not applied to a
7025         thread body, since this is not permitted
7026
7027         * sem_prag.adb: Add processing for Thread_Body pragma.
7028         Minor comment fix.
7029
7030         * sem_res.adb:
7031         (Resolve_Call): Check for incorrect attempt to call a thread body
7032          procedure with a direct call.
7033
7034         * snames.ads, snames.adb: Add entry for Thread_Body pragma
7035         Add names associated with thread body expansion
7036
7037         * snames.h: Add entry for Thread_Body pragma
7038
7039         * s-thread.adb: Add entries for thread body processing
7040         These are dummy bodies so far
7041
7042         * s-thread.ads: Add documentation on thread body handling.
7043         Add entries for thread body processing.
7044
7045 2003-11-04  Javier Miranda  <miranda@gnat.com>
7046
7047         * sem_ch10.adb:
7048         (Build_Limited_Views): Return after posting an error in case of limited
7049         with_clause on subprograms, generics, instances or generic renamings
7050         (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
7051         on subprograms, generics, instances or generic renamings
7052
7053 2003-11-04  Arnaud Charlet  <charlet@act-europe.fr>
7054
7055         * raise.c (setup_to_install): Correct mistake in last revision; two
7056         arguments out of order.
7057
7058         * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
7059         gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
7060         notice, missed in previous change.
7061         Remove trailing blanks and other style errors introduced in previous
7062         change.
7063
7064 2003-11-04  Olivier Hainque  <hainque@act-europe.fr>
7065
7066         * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
7067         rid of the wrapper for a LJM type, ensuring we don't do that if the
7068         field is addressable.  This avoids potential low level type view
7069         mismatches later on, for instance in a by-reference argument passing
7070         process.
7071
7072 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7073
7074         * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
7075         aligned at byte boundary.
7076
7077 2003-11-04  Joel Brobecker  <brobecker@gnat.com>
7078
7079         * decl.c (components_to_record): Do not delete the empty variants from
7080         the end of the union type.
7081
7082 2003-11-04  Ed Schonberg  <schonberg@gnat.com>
7083
7084         * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
7085         operation for a derived type, an explicit declaration may use a local
7086         subtype of Boolean.
7087
7088 2003-11-04  Vincent Celier  <celier@gnat.com>
7089
7090         * make.adb (Gnatmake): Allow main sources on the command line with a
7091         library project when it is only for compilation (no binding or
7092         linking).
7093
7094 2003-11-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7095
7096         * Makefile.in: Remove many duplicate variables.
7097
7098 2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
7099
7100         * Make-lang.in (dvi): Move targets to $(docobjdir).
7101         (gnat_ug_vms.dvi): Simplify rule and adjust target.
7102         (gnat_ug_wnt.dvi): Likewise.
7103         (gnat_ug_unx.dvi): Likewise.
7104         (gnat_ug_vxw.dvi): Likewise.
7105         (gnat_rm.dvi): Likewise.
7106         (gnat-style.dvi): Likewise.
7107
7108 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
7109
7110         * gigi.h: Missed commit from update for C90.
7111
7112 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
7113
7114         * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
7115
7116 2003-10-31  Andreas Schwab  <schwab@suse.de>
7117
7118         * raise.c (get_action_description_for): Fix typo in last change.
7119
7120 2003-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
7121
7122         PR ada/12761
7123         * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
7124         T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
7125
7126 2003-10-30  Kelley Cook  <kcook@gcc.gnu.org>
7127
7128         * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
7129         ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
7130         gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
7131         sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
7132         trans.c, utils.c, utils2.c: Convert function prototypes to C90.
7133
7134 2003-10-30  Vasiliy Fofanov  <fofanov@act-europe.fr>
7135
7136         * 3vtrasym.adb:
7137         Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
7138         numbers when symbol name is too long.
7139
7140 2003-10-30  Ed Falis  <falis@gnat.com>
7141
7142         * g-signal.ads, g-signal.adb: New files
7143
7144         * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
7145
7146         * Makefile.rtl: Introduce GNAT.Signals
7147
7148 2003-10-30  Robert Dewar  <dewar@gnat.com>
7149
7150         * freeze.adb: Minor reformatting
7151
7152         * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
7153
7154         * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
7155         par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
7156         New handling of Id_Check parameter to improve recognition of keywords
7157         used as identifiers.
7158         Update copyright notice to include 2003
7159
7160 2003-10-29  Robert Dewar  <dewar@gnat.com>
7161
7162         * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
7163         sem_ch10.adb: Minor reformatting
7164
7165         * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
7166         (Expand_Assign_Record): Test right hand side for bit unaligned as well
7167
7168 2003-10-29  Vasiliy Fofanov  <fofanov@act-europe.fr>
7169
7170         * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
7171         Support for TBK$SYMBOLIZE-based symbolic traceback.
7172
7173 2003-10-29  Jose Ruiz  <ruiz@act-europe.fr>
7174
7175         * exp_disp.adb:
7176         Revert previous change, that did not work well when pragma No_Run_Time
7177         was used in conjunction with a run-time other than ZFP.
7178
7179 2003-10-29  Vincent Celier  <celier@gnat.com>
7180
7181         * make.adb:
7182         (Gnatmake): When there are no Ada mains in attribute Main, disable the
7183          bind and link steps only is switch -z is not used.
7184
7185 2003-10-29  Arnaud Charlet  <charlet@act-europe.fr>
7186
7187         * Makefile.generic: Remove duplicated setting of CC.
7188
7189         * Makefile.prolog: Set CC to gcc by default, to override make's
7190         default (cc).
7191
7192         * einfo.h: Regenerated.
7193
7194 2003-10-29  Ed Schonberg  <schonberg@gnat.com>
7195
7196         * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
7197         current body, after compiling subunit.
7198
7199         * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
7200         when in deleted code, because gigi needs properly ordered freeze
7201         actions to annotate types.
7202
7203         * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
7204         prevent the premature freezing of record type that contains
7205         subcomponents with a private type that does not yet have a completion.
7206
7207 2003-10-29  Javier Miranda  <miranda@gnat.com>
7208
7209         * sem_ch12.adb:
7210         (Analyze_Package_Instantiation): Check that instances can not be used in
7211         limited with_clauses.
7212
7213         * sem_ch8.adb:
7214         (Analyze_Package_Renaming): Check that limited withed packages cannot
7215         be renamed. Improve text on error messages related to limited
7216         with_clauses.
7217
7218         * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
7219
7220         * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
7221         Update copyright notice.
7222
7223         * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
7224         (Install_Limited_Context_Clauses): New subprogram that isolates all the
7225         checks required for limited context_clauses and installs the limited
7226         view.
7227         (Install_Limited_Withed_Unit): Complete its documentation.
7228         (Analyze_Context): Check that limited with_clauses are only allowed in
7229         package specs.
7230         (Install_Context): Call Install_Limited_Context_Clauses after the
7231         parents have been installed.
7232         (Install_Limited_Withed_Unit): Add documentation. Mark the installed
7233         package as 'From_With_Type'; this mark indicates that the limited view
7234         is installed. Used to check bad usages of limited with_clauses.
7235         (Build_Limited_Views): Do not add shadow entities to the scope's list
7236         of entities. Do not add real entities to the Non_Limited_Views chain.
7237         Improve error notification.
7238         (Remove_Context_Clauses): Remove context clauses in two phases:
7239         limited views first and regular views later (to maintain the
7240         stack model).
7241         (Remove_Limited_With_Clause): If the package is analyzed then reinstall
7242         its visible entities.
7243
7244 2003-10-29  Thomas Quinot  <quinot@act-europe.fr>
7245
7246         * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
7247         with any type that Is_Fixed_Point_Type.
7248
7249         * sinfo.ads: Fix documentation for Associated_Node attribute.
7250
7251 2003-10-29  Sergey Rybin  <rybin@act-europe.fr>
7252
7253         * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
7254         both '-gnatc' and '-gnatt' are specified.
7255
7256         * atree.adb (Initialize): Add initialization for Node_Count (set to
7257         zero).
7258
7259 2003-10-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7260
7261         * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
7262         do not consider as Pure.
7263
7264         Part of implementation of function-at-a-time:
7265
7266         * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
7267         (tree_transform): Add new argument to build_component_ref.
7268         (tree_transform, case N_Assignment_Statement): Make and return an
7269         EXPR_STMT.
7270         (tree_transform): If result IS_STMT, set flags and return it.
7271         (gnat_expand_stmt, set_lineno_from_sloc): New functions.
7272
7273         * utils2.c (build_simple_component_ref, build_component_ref): Add new
7274         arg, NO_FOLD_P.
7275         (build_binary_op, case EQ_EXPR): Pass additional arg to it.
7276         (build_allocator): Likewise.
7277
7278         * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
7279         Add new arg to build_component_ref.
7280         (maybe_unconstrained_array, unchecked_convert): Likewise.
7281
7282         * ada-tree.def (EXPR_STMT): New code.
7283
7284         * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
7285
7286         * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
7287         build_component_ref calls.
7288
7289         * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
7290
7291         * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
7292         (build_component_ref): Add new argument, NO_FOLD_P.
7293
7294 2003-10-27  Arnaud Charlet  <charlet@act-europe.fr>
7295
7296         * Makefile.generic: Add missing substitution on object_deps handling.
7297
7298         PR ada/5909:
7299         * Make-lang.in (check-ada): Enable ACATS test suite.
7300
7301 2003-10-27  Robert Dewar  <dewar@gnat.com>
7302
7303         * exp_ch3.adb:
7304         (Freeze_Array_Type): We do not need an initialization routine for types
7305         derived from String or Wide_String. They should be treated the same
7306         as String and Wide_String themselves. This caused problems with the
7307         use of Initialize_Scalars.
7308
7309         * exp_ch5.adb:
7310         (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
7311         composites. This allows use of component clauses that are not byte
7312         aligned.
7313
7314         * sem_prag.adb:
7315         (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
7316         is an attempt to pack an array of atomic objects.
7317
7318         * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
7319
7320 2003-10-27  Pascal Obry  <obry@gnat.com>
7321
7322         * g-dirope.adb:
7323         (Basename): Check for drive letters in a pathname only on DOS based OS.
7324
7325 2003-10-27  Vincent Celier  <celier@gnat.com>
7326
7327         * make.adb:
7328         (Gnatmake): When unable to change dir to the object dir, display the
7329         content of the parent dir of the obj dir, to try to understand why this
7330         happens.
7331
7332 2003-10-27  GNAT Script  <nobody@gnat.com>
7333
7334         * Make-lang.in: Makefile automatically updated
7335
7336 2003-10-27  Ed Schonberg  <schonberg@gnat.com>
7337
7338         * sem_ch12.adb:
7339         (Inline_Instance_Body): Indicate that the save/restore of use_clauses
7340         should not be done in Save/Restore_Scope_Stack, because it is performed
7341         locally.
7342
7343         * sem_ch8.adb:
7344         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
7345         whether use clauses should be removed/restored.
7346
7347         * sem_ch8.ads:
7348         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
7349         whether use clauses should be removed/restored.
7350
7351 2003-10-26  Andreas Jaeger  <aj@suse.de>
7352
7353         * Makefile.in: Remove duplicated lines.
7354
7355 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
7356
7357         * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
7358         minimize the differences with ACT tree.
7359
7360         * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
7361         gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
7362         Gnatvsn.Gnat_Static_Version_String to reduce differences between
7363         ACT and FSF trees.
7364
7365 2003-10-24  Pascal Obry  <obry@gnat.com>
7366
7367         * adadecode.c (ostrcpy): New function.
7368         (__gnat_decode): Use ostrcpy of strcpy.
7369         (has_prefix): Set first parameter a const.
7370         (has_suffix): Set first parameter a const.
7371         Update copyright notice. Fix source name in header.
7372         Removes a trailing space.
7373         PR ada/12014.
7374
7375 2003-10-24  Jose Ruiz  <ruiz@act-europe.fr>
7376
7377         * exp_disp.adb:
7378         Remove the test against being in No_Run_Time_Mode before generating a
7379         call to Register_Tag. It is redundant with the test against the
7380         availability of the function Register_Tag.
7381
7382 2003-10-24  Vincent Celier  <celier@gnat.com>
7383
7384         * g-catiio.adb: (Month_Name): Correct spelling of February
7385
7386         * make.adb: (Mains): New package
7387         (Initialize): Call Mains.Delete
7388         (Gnatmake): Check that each main on the command line is a source of a
7389         project file and, if there are several mains, each of them is a source
7390         of the same project file.
7391         (Gnatmake): When a foreign language is specified in attribute Languages,
7392         no main is specified on the command line and attribute Mains is not
7393         empty, only build the Ada main. If there is no Ada main, just compile
7394         the Ada sources and their closure.
7395         (Gnatmake): If a main is specified on the command line with directory
7396         information, check that the source exists and, if it does, that the path
7397         is the actual path of a source of a project.
7398
7399         * prj-env.adb:
7400         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
7401         Full_Path is True, return the full path instead of the simple file name.
7402         (Project_Of): New function
7403
7404         * prj-env.ads:
7405         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
7406         defaulted to False.
7407         (Project_Of): New function
7408
7409 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
7410
7411         * Makefile.generic:
7412         Ensure objects of main project are always checked and rebuilt if needed.
7413         Set CC to gcc by default.
7414         Prepare new handling of link by creating a global archive (not activated
7415         yet).
7416
7417         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
7418         stringt.h: Update copyright notice. Remove trailing blanks.
7419         Fix source name in header.
7420
7421 2003-10-24  Robert Dewar  <dewar@gnat.com>
7422
7423         * sem_ch12.adb: Minor reformatting
7424
7425         * sem_ch3.adb:
7426         Minor reformatting (including new function return style throughout)
7427
7428         * sem_ch3.ads:
7429         Minor reformatting (including new function return style throughout)
7430
7431 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
7432
7433         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
7434         stringt.h: Update copyright notice. Remove trailing blanks.
7435         Fix source name in header.
7436
7437 2003-10-24  GNAT Script  <nobody@gnat.com>
7438
7439         * Make-lang.in: Makefile automatically updated
7440
7441 2003-10-23  Nathanael Nerode  <neroden@gcc.gnu.org>
7442
7443         * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
7444         stringt.h: Convert to ISO C90 declarations and definitions.
7445
7446 2003-10-23  Thomas Quinot  <quinot@act-europe.fr>
7447
7448         PR ada/11978:
7449         * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
7450         External_Tag attribute definition clauses.
7451
7452 2003-10-23  Ed Schonberg  <schonberg@gnat.com>
7453
7454         PR ada/7613:
7455         * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
7456         child unit, generate a fully qualified name to avoid spurious errors
7457         when the context contains renamings of different child units with
7458         the same simple name.
7459
7460         * exp_dbug.ads: Add documentation on name qualification for renamings
7461         of child units.
7462
7463 2003-10-23  Robert Dewar  <dewar@gnat.com>
7464
7465         * g-regpat.ads, g-regpat.adb: Minor reformatting
7466
7467 2003-10-23  Jose Ruiz  <ruiz@act-europe.fr>
7468
7469         * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
7470
7471 2003-10-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7472
7473         * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
7474         Machine call.
7475
7476         * urealp.h: (Machine): Update to proper definition.
7477
7478 2003-10-23  Arnaud Charlet  <charlet@act-europe.fr>
7479
7480         * init.c, adaint.c: Minor reformatting.
7481
7482 2003-10-23  Danny Smith  <dannysmith@users.sourceforge.net>
7483
7484         * adaint.c (w32_epoch_offset): Define static const at file level.
7485         (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
7486         rather than t_create, t_access in call to GetFileTime. Use union
7487         to convert between FILETIME and  unsigned long long.
7488         (__gnat_file_time_name): Test for invalid file handle.
7489         (__gnat_set_filetime_name): Support win32 targets using
7490         w32api SetFileTime.
7491
7492 2003-10-22  Danny Smith  <dannysmith@users.sourceforge.net>
7493
7494         * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
7495
7496         * ctrl_c.c (__gnat_int_handler): Remove declaration.
7497
7498         * decl.c (creat_concat_name):  Const-ify prefix.
7499
7500         * adaint.c: Include ctype.h if __MINGW32__.
7501         (__gnat_readlink): Mark arguments as possibly unused.
7502         (__gnat_symlink): Likewise.
7503         (__gnat_is_symbolic_link): Likewise.
7504         (__gnat_portable_spawn): Likewise.  Cast last arg of spawnvp to match
7505         declaration
7506         (__gnat_file_time_name): Don't declare struct stat statbuf when
7507         not needed.
7508         (__gnat_is_absolute_path): Add parenthesis around condition of
7509         'if' statement to avoid warning.
7510         (__gnat_plist_init): Specify void as parameter.
7511         (plist_enter): Likewise.
7512         (plist_leave): Likewise.
7513         (remove_handle): Make static. Initialize prev.
7514
7515 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
7516
7517         * Makefile.in: Disable build of gnatpsta. PR ada/10110.
7518         * cstreams.c (__gnat_full_name): Minor improvements and clean up
7519         of previous change.
7520
7521 2003-10-22  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
7522
7523         * tracebak.c (MAX): Avoid redefinition warning.
7524
7525         * init.c [sgi] (__gnat_error_handler): Remove i, unused.
7526         Change msg to const char *.
7527         (__gnat_install_handler): Remove ss, unused.
7528         [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
7529         to const char *.
7530         * cstreams.c (__gnat_full_name): Declare p only when used.
7531         (__gnat_full_name) [sgi] Return buffer.
7532
7533 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
7534
7535         * mingw32.h: New file.
7536         * gnat_wrapper.adb: New file.
7537
7538 2003-10-22  Jerome Roussel  <roussel@act-europe.fr>
7539
7540         * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
7541         string match a pre compiled regular expression (the corresponding
7542         version of the function working on a raw regular expression)
7543         Fix typos in various comments
7544         Update copyright notice in spec
7545
7546 2003-10-21  Gary Dismukes  <dismukes@gnat.com>
7547
7548         * exp_ch3.adb:
7549         (Component_Needs_Simple_Initialization): Return False when the type is a
7550         packed bit array. Revise spec comments to document this case.
7551
7552         * exp_prag.adb:
7553         (Expand_Pragma_Import): Set any expression on the imported object to
7554         empty to avoid initializing imported objects (in particular this
7555         covers the case of zero-initialization of bit arrays).
7556         Update copyright notice.
7557
7558 2003-10-21  Ed Schonberg  <schonberg@gnat.com>
7559
7560         * sem_ch12.adb:
7561         (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
7562         a subunit is missing.
7563         (Instantiate_Subprogram_Body): If body of function is missing, set type
7564         of return expression explicitly in dummy body, to prevent cascaded
7565         errors when a subunit is missing.
7566         Fixes PR 5677.
7567
7568         * sem_ch3.adb:
7569         (Access_Subprogram_Declaration): Verify that return type is valid.
7570         Fixes PR 8693.
7571
7572         * sem_elab.adb:
7573         (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
7574         generic.
7575         Fixes PR 12318.
7576
7577         * sem_util.adb:
7578         (Corresponding_Discriminant): If the scope of the discriminant is a
7579         private type without discriminant, use its full view.
7580         Fixes PR 8247.
7581
7582 2003-10-21  Arnaud Charlet  <charlet@act-europe.fr>
7583
7584         * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
7585         3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
7586         3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
7587         55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
7588         56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
7589         59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
7590         5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
7591         5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
7592         5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
7593         5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
7594         5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
7595         5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
7596         5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
7597         5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
7598         7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
7599         a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
7600         a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
7601         a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
7602         bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
7603         erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
7604         err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
7605         g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
7606         g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
7607         g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
7608         g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
7609         g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
7610         g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
7611         gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
7612         g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
7613         g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
7614         i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
7615         prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
7616         prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
7617         s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
7618         s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
7619         s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
7620         s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
7621         s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
7622         s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
7623         s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
7624         s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
7625         socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
7626         s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
7627         s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
7628         s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
7629         styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
7630         s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
7631         tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
7632         vms_conv.ads, vms_conv.adb, vms_data.ads,
7633         vxaddr2line.adb: Files added. Merge with ACT tree.
7634
7635         * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
7636         5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
7637         5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
7638         5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
7639         g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
7640         s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
7641         s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
7642         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
7643         s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
7644         s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
7645
7646         * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
7647         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
7648         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
7649         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
7650         4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
7651         4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
7652         4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
7653         4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
7654         51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
7655         53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
7656         5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
7657         5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
7658         5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
7659         5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
7660         5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
7661         5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
7662         5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
7663         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
7664         5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
7665         5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
7666         5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
7667         5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
7668         5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
7669         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
7670         5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
7671         5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
7672         5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
7673         5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
7674         5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
7675         5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
7676         5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
7677         5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
7678         5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
7679         5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
7680         6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
7681         7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
7682         7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
7683         a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
7684         a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
7685         a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
7686         a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
7687         a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
7688         ali.adb, ali.ads, ali-util.adb, ali-util.ads,
7689         a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
7690         a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
7691         a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
7692         a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
7693         a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
7694         a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
7695         a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
7696         a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
7697         a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
7698         a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
7699         a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
7700         a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
7701         atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
7702         a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
7703         a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
7704         bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
7705         checks.adb, checks.ads, cio.c, comperr.adb,
7706         comperr.ads, csets.adb, cstand.adb, cstreams.c,
7707         debug_a.adb, debug_a.ads, debug.adb, decl.c,
7708         einfo.adb, einfo.ads, errout.adb, errout.ads,
7709         eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
7710         expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
7711         exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
7712         exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
7713         exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
7714         exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
7715         exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
7716         exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
7717         exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
7718         fe.h, fmap.adb, fmap.ads, fname.adb,
7719         fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
7720         freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
7721         g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
7722         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
7723         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
7724         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
7725         g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
7726         g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
7727         g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
7728         g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
7729         g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
7730         g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
7731         g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
7732         g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
7733         gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
7734         gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
7735         gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
7736         gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
7737         gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
7738         g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
7739         g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
7740         g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
7741         g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
7742         g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
7743         g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
7744         g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
7745         g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
7746         i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
7747         i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
7748         inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
7749         itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
7750         layout.adb, lib.adb, lib.ads, lib-list.adb,
7751         lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
7752         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
7753         link.c, live.adb, make.adb, make.ads,
7754         Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
7755         mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
7756         mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
7757         misc.c, mkdir.c, mlib.adb, mlib.ads,
7758         mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
7759         mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
7760         namet.adb, namet.ads, namet.h, nlists.ads,
7761         nlists.h, nmake.adt, opt.adb, opt.ads,
7762         osint.adb, osint.ads, osint-b.adb, osint-c.adb,
7763         par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
7764         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
7765         par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
7766         par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
7767         prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
7768         prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
7769         prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
7770         prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
7771         prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
7772         prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
7773         prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
7774         prj-util.adb, prj-util.ads, raise.c, raise.h,
7775         repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
7776         rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
7777         s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
7778         s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
7779         scans.ads, scn.adb, scn.ads, s-crc32.adb,
7780         s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
7781         sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
7782         sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
7783         sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
7784         sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
7785         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
7786         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
7787         sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
7788         sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
7789         sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
7790         sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
7791         sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
7792         s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
7793         s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
7794         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
7795         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
7796         s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
7797         s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
7798         s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
7799         sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
7800         sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
7801         sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
7802         s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
7803         s-memory.adb, s-memory.ads, snames.adb, snames.ads,
7804         snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
7805         s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
7806         s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
7807         s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
7808         s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
7809         s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
7810         s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
7811         s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
7812         s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
7813         s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
7814         s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
7815         s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
7816         s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
7817         s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
7818         s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
7819         s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
7820         s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
7821         stringt.adb, stringt.ads, stringt.h, style.ads,
7822         stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
7823         s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
7824         s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
7825         switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
7826         s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
7827         table.adb, table.ads, targparm.adb, targparm.ads,
7828         targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
7829         trans.c, tree_io.adb, treepr.adb, treeprs.adt,
7830         ttypes.ads, types.ads, types.h, uintp.adb,
7831         uintp.ads, uintp.h, uname.adb, urealp.adb,
7832         urealp.ads, urealp.h, usage.adb, utils2.c,
7833         utils.c, validsw.adb, validsw.ads, widechar.adb,
7834         xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
7835         xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
7836         einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
7837         gnatvsn.ads: Merge with ACT tree.
7838
7839         * gnatvsn.adb: Rewritten in a simpler and more efficient way.
7840
7841 2003-10-20  Mark Mitchell  <mark@codesourcery.com>
7842
7843         * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
7844         (gnat_ug_vmx.info): Likewise.
7845         (gnat_ug_vxw.info): Likewise.
7846         (gnat_ug_wnt.info): Likewise.
7847         (gnat_rm.info): Likewise.
7848         (gnat-style.info): Likewise.
7849
7850         * Make-lang.in (ada.install-info): Remove target.
7851         (info): New target.
7852         (install-info): Likewise.
7853         (gnat_ug_unx.info): Simplify rule.
7854         (gnat_ug_vmx.info): Likewise.
7855         (gnat_ug_vxw.info): Likewise.
7856         (gnat_ug_wnt.info): Likewise.
7857         (gnat_rm.info): Likewise.
7858         (gnat-style.info): Likewise.
7859
7860 2003-10-14  Nathanael Nerode  <neroden@gcc.gnu.org>
7861
7862         * Make-lang.in: Replace uses of $(target_alias) with
7863         $(target_noncanonical).
7864         * ada/Makefile.in: Remove unused mention of $(target_alias).
7865
7866 2003-10-06  Mark Mitchell  <mark@codesourcery.com>
7867
7868         * Make-lang.in (ada.info): Replace with ...
7869         (info): ... this.
7870         (ada.dvi): Replace with ...
7871         (dvi): ... this.
7872
7873 2003-09-29  Zack Weinberg  <zack@codesourcery.com>
7874
7875         * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
7876         initialize dconstp5 and dconstmp5.
7877
7878 2003-09-28  Richard Henderson  <rth@redhat.com>
7879
7880         * trans.c (tree_transform): Update call to expand_asm_operands.
7881
7882 2003-09-21  Richard Henderson  <rth@redhat.com>
7883
7884         * trans.c, utils.c: Revert.
7885
7886 2003-09-21  Richard Henderson  <rth@redhat.com>
7887
7888         * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
7889         change to const.
7890
7891 2003-09-04  Michael Matz  <matz@suse.de>
7892
7893         * misc.c: Include "target.h".
7894         * Make-lang.in (misc.o): Add dependency on target.h.
7895
7896 2003-09-03  DJ Delorie  <dj@redhat.com>
7897
7898         * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
7899         hook.
7900
7901 2003-08-30  Zack Weinberg  <zack@codesourcery.com>
7902
7903         * Makefile.in: Update substitutions to match changes to
7904         configure.  Use include directives instead of @-insertions
7905         to read in host and target fragments.  Add a rule to
7906         regenerate ada/Makefile.
7907
7908 2003-07-18  Neil Booth  <neil@daikokuya.co.uk>
7909
7910         * lang-options.h: Remove.
7911         * lang.opt: Add help text.
7912
7913 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
7914
7915         * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
7916         calls.
7917
7918 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
7919
7920         * misc.c (gnat_handle_option): Don't handle filenames.
7921
7922 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
7923
7924         * Make-lang.in: Replace PWD with PWD_COMMAND.
7925         * Makefile.adalib: Likewise.
7926         * Makefile.in: Likewise.
7927
7928 2003-07-04  Matt Kraai  <kraai@alumni.cmu.edu>
7929
7930         * misc.c (gnat_argv): Revert last change.
7931         (gnat_handle_option, gnat_init_options): Copy arguments.
7932
7933 2003-07-03  Neil Booth  <neil@daikokuya.co.uk>
7934
7935         * misc.c (gnat_argv): Make const.
7936
7937 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
7938
7939         * misc.c (save_argc, save_argv): Keep non-static!
7940
7941 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
7942
7943         * misc.c (save_argc, save_argv): Make static.
7944         (gnat_init_options): New prototype.
7945         (gnat_init_options): Update.
7946
7947 2003-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
7948
7949         * gnat_ug.texi: Remove unlikely characters from @vars.
7950         * gnat_ug_vms.texi: Regenerate.
7951
7952 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
7953
7954         * misc.c (record_code_position): Adjust emit_note call.
7955
7956 2003-06-26  Neil Booth  <neil@daikokuya.co.uk>
7957
7958         * misc.c (gnat_handle_option): Don't check for missing arguments.
7959
7960 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
7961
7962         * utils.c (end_subprog_body): Adjust expand_function_end call.
7963
7964 2003-06-16  Matt Kraai  <kraai@alumni.cmu.edu>
7965
7966         * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
7967         Bind_Main_Program.
7968
7969 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
7970
7971         * lang.opt: Declare Ada.
7972         * misc.c (gnat_init_options): Update.
7973
7974 2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
7975
7976         * utils.c (begin_subprog_body): Adjust init_function_start call.
7977
7978 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
7979
7980         * Make-lang.in: Update to use options.c and options.h.
7981         * misc.c: Include options.h not aoptions.h.
7982         (gnat_handle_option): Abort on unrecognized switch.
7983         (gnat_init_options): Request Ada switches.
7984
7985 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
7986
7987         * lang.opt: Add -Wall.
7988         * misc.c (gnat_handle_option): Handle it.
7989
7990 2003-06-12  Neil Booth  <neil@daikokuya.co.uk>
7991
7992         * misc.c (gnat_handle_option): Fix warnings.
7993
7994 2003-06-11  Matt Kraai  <kraai@alumni.cmu.edu>
7995
7996         * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
7997
7998 2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
7999
8000         * Make-lang.in: Update to handle command-line options.
8001         * lang.opt: New file.
8002         * misc.c: Include aoptions.h.
8003         (cl_options_count, cl_options): Remove.
8004         (gnat_handle_option): New.
8005         (gnat_decode_option): Remove.
8006         (LANG_HOOKS_DECODE_OPTION): Remove.
8007         (LANG_HOOKS_HANDLE_OPTION): Override.
8008
8009 2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>
8010
8011         * init.c, misc.c, trans.c, utils.c: Remove dead code.
8012
8013 2003-06-09  Nathanael Nerode  <neroden@gcc.gnu.org>
8014
8015         * Makefile.in: Replace "host_canonical" with "host" for autoconf
8016         substitution.
8017
8018 2003-06-08  Neil Booth  <neil@daikokuya.co.uk>
8019
8020         * Make-lang.in: Update.
8021         * misc.c: Include opts.h. Define cl_options_count and cl_options.
8022
8023 2003-06-07  Neil Booth  <neil@daikokuya.co.uk>
8024
8025         * misc.c (gnat_init_options): Update.
8026
8027 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
8028
8029         * Make-lang.in (ada/b_gnatb.o-warn): Remove.
8030         * bindgen.adb (Gen_Main_C): Mark ensure_reference with
8031         __attribute__ ((__unused__)).
8032
8033 2003-06-05  Jan Hubicka  <jh@suse.cz>
8034
8035         * Make-lang.in:  Add support for stageprofile and stagefeedback
8036
8037 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
8038
8039         * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
8040         (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
8041
8042 2003-06-04  Matt Kraai  <kraai@alumni.cmu.edu>
8043
8044         * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
8045         Remove non-VMS directive.
8046         (Switches for gnatlbr, Optimization Levels): Remove non-VMS
8047         alternatives.
8048         (Examples of gnatls Usage): Remove VMS alternative.
8049
8050 2003-06-04  Olivier Hainque  <hainque@act-europe.fr>
8051
8052         PR ada/9953:
8053         * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
8054         and turn ZCX_By_Default back to False since the underlying support
8055         is not quite there yet.
8056
8057 2003-06-01  Andreas Jaeger  <aj@suse.de>
8058
8059         * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
8060         and ROUND_TYPE_SIZE_UNIT.
8061
8062 2003-05-22   Geert Bosch <bosch@gnat.com>
8063
8064         * gnat_rm.texi : Remove reference to Ada Core Technologies.
8065
8066 2003-05-03  Nathan Sidwell  <nathan@codesourcery.com>
8067
8068         * trans.c (tree_transform): Use location_t and input_location
8069         directly.
8070         (build_unit_elab): Likewise.
8071         * utils.c (create_label_decl): Likewise.
8072
8073 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
8074
8075         * trans.c (tree_transform, build_unit_elab,
8076         set_lineno): Rename lineno to input_line.
8077         * utils.c (pushdecl, create_label_decl, begin_subprog_body,
8078         end_subprog_body): Likewise.
8079         * utils2.c (build_call_raise): Likewise.
8080
8081 2003-05-01  Laurent Guerby <guerby@acm.org>
8082
8083         PR ada/10546
8084         * 5iosinte.ads: Increase pthread_cond_t size to match recent
8085         LinuxThread and NPTL version, merge from ACT.
8086
8087 2003-04-28  Zack Weinberg  <zack@codesourcery.com>
8088
8089         * utils.c (convert): No need to clear TREE_CST_RTL.
8090
8091 2003-04-23   Geert Bosch <bosch@gnat.com>
8092
8093         * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
8094         1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
8095         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
8096         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
8097         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
8098         4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
8099         4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
8100         4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
8101         4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
8102         4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
8103         4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
8104         4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
8105         52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
8106         5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
8107         5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
8108         5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
8109         5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
8110         5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
8111         5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
8112         5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
8113         5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
8114         5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
8115         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
8116         5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
8117         5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
8118         5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
8119         5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
8120         5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
8121         5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
8122         5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
8123         5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
8124         5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
8125         5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
8126         5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
8127         5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
8128         5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
8129         5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
8130         5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
8131         5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
8132         5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
8133         5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
8134         5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
8135         5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
8136         5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
8137         6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
8138         7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
8139         7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
8140         9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
8141         a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
8142         a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
8143         a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
8144         a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
8145         a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
8146         a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
8147         a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
8148         a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
8149         a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
8150         a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
8151         a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
8152         a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
8153         a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
8154         a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
8155         a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
8156         a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
8157         a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
8158         a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
8159         a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
8160         a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
8161         a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
8162         a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
8163         a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
8164         a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
8165         a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
8166         a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
8167         a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
8168         a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
8169         a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
8170         a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
8171         a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
8172         a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
8173         a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
8174         a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
8175         a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
8176         a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
8177         a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
8178         a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
8179         a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
8180         a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
8181         a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
8182         a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
8183         a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
8184         a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
8185         a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
8186         a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
8187         a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
8188         a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
8189         a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
8190         a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
8191         a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
8192         a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
8193         a-wttest.ads, ada-tree.h, ada.ads, ada.h,
8194         adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
8195         ali.adb, ali.ads, alloc.ads, argv.c,
8196         atree.adb, atree.ads, atree.h, aux-io.c,
8197         back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
8198         binde.adb, binde.ads, binderr.adb, binderr.ads,
8199         bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
8200         butil.adb, butil.ads, cal.c, calendar.ads,
8201         casing.adb, casing.ads, ceinfo.adb, checks.adb,
8202         checks.ads, cio.c, comperr.adb, comperr.ads,
8203         config-lang.in, csets.adb, csets.ads, csinfo.adb,
8204         cstand.adb, cstand.ads, cuintp.c, debug.adb,
8205         debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
8206         dec-io.ads, dec.ads, deftarg.c, directio.ads,
8207         einfo.adb, einfo.ads, elists.adb, elists.ads,
8208         elists.h, errno.c, errout.adb, errout.ads,
8209         eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
8210         exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
8211         exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
8212         exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
8213         exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
8214         exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
8215         exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
8216         exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
8217         exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
8218         exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
8219         exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
8220         exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
8221         exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
8222         exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
8223         exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
8224         fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
8225         fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
8226         freeze.adb, freeze.ads, frontend.adb, frontend.ads,
8227         g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
8228         g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
8229         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
8230         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
8231         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
8232         g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
8233         g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
8234         g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
8235         g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
8236         g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
8237         g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
8238         g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
8239         g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
8240         g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
8241         g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
8242         g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
8243         g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
8244         g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
8245         g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
8246         g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
8247         g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
8248         g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
8249         get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
8250         gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
8251         gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
8252         gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
8253         gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
8254         gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
8255         gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
8256         gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
8257         hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
8258         i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
8259         i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
8260         i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
8261         i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
8262         i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
8263         i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
8264         inline.adb, inline.ads, interfac.ads, ioexcept.ads,
8265         itypes.adb, itypes.ads, krunch.adb, krunch.ads,
8266         layout.adb, layout.ads, lib-list.adb, lib-load.adb,
8267         lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
8268         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
8269         lib.adb, lib.ads, live.adb, live.ads,
8270         machcode.ads, make.adb, make.ads, makeusg.adb,
8271         makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
8272         mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
8273         memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
8274         mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
8275         mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
8276         mlib.ads, namet.adb, namet.ads, nlists.adb,
8277         nlists.ads, opt.adb, opt.ads, osint-b.adb,
8278         osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
8279         osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
8280         osint.ads, output.adb, output.ads, par-ch10.adb,
8281         par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
8282         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
8283         par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
8284         par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
8285         par-tchk.adb, par-util.adb, par.adb, par.ads,
8286         prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
8287         prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
8288         prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
8289         prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
8290         prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
8291         prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
8292         prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
8293         prj.adb, prj.ads, repinfo.adb, repinfo.ads,
8294         restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
8295         rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
8296         s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
8297         s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
8298         s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
8299         s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
8300         s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
8301         s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
8302         s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
8303         s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
8304         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
8305         s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
8306         s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
8307         s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
8308         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
8309         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
8310         s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
8311         s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
8312         s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
8313         s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
8314         s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
8315         s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
8316         s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
8317         s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
8318         s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
8319         s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
8320         s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
8321         s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
8322         s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
8323         s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
8324         s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
8325         s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
8326         s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
8327         s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
8328         s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
8329         s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
8330         s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
8331         s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
8332         s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
8333         s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
8334         s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
8335         s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
8336         s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
8337         s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
8338         s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
8339         s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
8340         s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
8341         s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
8342         s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
8343         s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
8344         s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
8345         s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
8346         s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
8347         s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
8348         s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
8349         s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
8350         s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
8351         s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
8352         s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
8353         s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
8354         s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
8355         s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
8356         s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
8357         s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
8358         s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
8359         s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
8360         s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
8361         s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
8362         s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
8363         s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
8364         s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
8365         s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
8366         s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
8367         s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
8368         s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
8369         s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
8370         s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
8371         s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
8372         s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
8373         s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
8374         s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
8375         s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
8376         s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
8377         s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
8378         s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
8379         s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
8380         s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
8381         s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
8382         s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
8383         s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
8384         s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
8385         s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
8386         s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
8387         s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
8388         s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
8389         scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
8390         sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
8391         sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
8392         sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
8393         sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
8394         sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
8395         sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
8396         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
8397         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
8398         sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
8399         sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
8400         sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
8401         sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
8402         sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
8403         sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
8404         sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
8405         sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
8406         sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
8407         sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
8408         sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
8409         sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
8410         snames.ads, sprint.adb, sprint.ads, stand.adb,
8411         stand.ads, stringt.adb, stringt.ads, style.adb,
8412         style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
8413         switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
8414         switch-m.ads, switch.adb, switch.ads, system.ads,
8415         table.adb, table.ads, targparm.adb, targparm.ads,
8416         tbuild.adb, tbuild.ads, text_io.ads, trans.c,
8417         tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
8418         tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
8419         ttypef.ads, ttypes.ads, types.adb, types.ads,
8420         uintp.adb, uintp.ads, uname.adb, uname.ads,
8421         unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
8422         usage.adb, usage.ads, validsw.adb, validsw.ads,
8423         widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
8424         xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
8425         xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
8426         formatting and other trivial changes from ACT.
8427
8428 2003-04-12  Zack Weinberg  <zack@codesourcery.com>
8429
8430         * gigi.h, utils2.c (build_constructor):
8431         Rename gnat_build_constructor. Use build_constructor.
8432         * decl.c (gnat_to_gnu_entity)
8433         * trans.c (tree_transform, pos_to_constructor, extract_values)
8434         * ada/utils.c (build_template, convert_to_fat_pointer, convert)
8435         (unchecked_convert)
8436         * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
8437         (fill_vms_descriptor):
8438         Update to match.
8439
8440 2003-04-06  Zack Weinberg  <zack@codesourcery.com>
8441
8442         * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
8443         * misc.c (gnat_tree_size): New function.
8444         (LANG_HOOKS_TREE_SIZE): Override.
8445
8446 2003-04-03  Jason Merrill  <jason@redhat.com>
8447
8448         * misc.c (gnat_adjust_rli): #if 0.
8449
8450 2003-03-31   Geert Bosch <bosch@gnat.com>
8451
8452         PR ada/10020
8453         * link.c : Fix misspelled "const" keyword
8454
8455 2003-03-23  Mark Mitchell  <mark@codesourcery.com>
8456
8457         PR c++/7086
8458         * utils2.c: Adjust calls to put_var_into_stack.
8459
8460 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
8461
8462         * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
8463
8464 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
8465
8466         * misc.c (gnat_init): Update for new prototype.
8467
8468 2003-03-05  Olivier Hainque  <hainque@gnat.com>
8469
8470         ada/9961
8471         * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
8472         warning, and fix return type for the IN_RTS && !SJLJ case.
8473
8474 2003-03-04  Tom Tromey  <tromey@redhat.com>
8475
8476         * Make-lang.in (ada.tags): New target.
8477
8478 2003-03-04  Olivier Hainque  <hainque@act-europe.fr>
8479
8480         ada/9911
8481         * a-except.adb (Unwind_RaiseException): Import a GNAT specific
8482         wrapper, which name remains constant whatever underlying GCC
8483         scheme.
8484
8485         * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
8486         the stable interface needed for a-except.
8487
8488 2003-03-02  Andreas Jaeger  <aj@suse.de>
8489
8490         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8491         gnat_ug_wnt.texi: Regenerate.
8492
8493 2003-03-02  Laurent Guerby <guerby@acm.org>
8494
8495         * Makefile.in (install-gnatlib): Match previous change there
8496         so it works.
8497
8498 2003-02-28  Andreas Schwab  <schwab@suse.de>
8499
8500         * Make-lang.in (install-gnatlib): Change to ada directory before
8501         running make instead of using ada/Makefile directly.
8502
8503 2003-02-18  Ben Elliston  <bje@redhat.com>
8504
8505         Part of fix for PR ada/9406
8506         * gnat_ug.texi (Binder output file): Grammar fix.
8507
8508 2003-02-18  Ben Elliston  <bje@redhat.com>
8509
8510         PR other/7350
8511         * 5qtaprop.adb (Sleep): Fix typo in comment.
8512
8513 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
8514
8515         * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
8516         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8517         gnat_ug_wnt.texi: Regenerate.
8518
8519 2003-02-03  Christian Cornelssen <ccorn@cs.tu-berlin.de>
8520
8521         * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
8522         be created if necessary.
8523         (ada.install-common): Let $(DESTDIR)$(bindir) be created
8524         if necessary.  Remove erroneous and redundant gnatchop
8525         installation commands.  Test for gnatdll before attempting
8526         to install it.
8527         (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
8528         and gnatdll from all plausible locations.
8529
8530 2003-02-01  Richard Sandiford  <rsandifo@redhat.com>
8531
8532         * utils2.c (build_unary_op): Don't check flag_volatile.
8533         * gnat_ug.texi: Remove -fvolatile from example.
8534         * gnat_ug_vxw.texi: Likewise.
8535
8536 2003-01-29  Laurent Guerby <guerby@acm.org>
8537
8538         PR ada/8344
8539         * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
8540         * Makefile.in: match previous change.
8541         * Make-lang.in: match previous change.
8542
8543 2003-01-29      Joel Sherrill <joel@OARcorp.com>
8544
8545         * 5rosinte.ads: Add SIGXCPU.
8546         * 5rtpopsp.adb: New file.
8547         * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
8548         * Makefile.in: Recognize more RTEMS targets and add the RTEMS
8549         specific file 5rtpopsp.adb.
8550         * adaint.h: Add include of <stdio.h> when target is RTEMS.  This
8551         is likely needed for all newlib targets.
8552         * init.c: Add RTEMS specific version of __gnat_initialize().
8553
8554 2003-01-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8555
8556         * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
8557
8558 2003-01-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8559
8560         * init.c (__gnat_error_handler): Make msg const.
8561
8562         * gmem.c (convert_addresses): Move declaration ...
8563         * adaint.h: ... here.
8564         * adaint.c (convert_addresses): Adapt addrs type to match
8565         prototype.
8566
8567         * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
8568
8569 2003-01-24  Andreas Schwab  <schwab@suse.de>
8570
8571         * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
8572         size_t to avoid warning.
8573
8574 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
8575
8576         * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
8577
8578 2003-01-09  Geoffrey Keating  <geoffk@apple.com>
8579
8580         * gnat_rm.texi: Remove RCS version number.
8581
8582         * ada-tree.h (union lang_tree_node): Add chain_next option.
8583
8584 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
8585
8586         * Make-lang.in (ada.install-info, ada.install-common,
8587         ada.uninstall): Prepend $(DESTDIR) to the destination
8588         directory in all (un)installation commands.
8589         * Makefile.in (install-gnatlib, install-rts): Ditto.
8590
8591 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
8592
8593         * gnat_rm.texi, gnat_ug.texi: Use @copying.
8594         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8595         gnat_ug_wnt.texi: Regenerate.
8596
8597 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
8598
8599         * gnat_rm.texi: Include gcc-common.texi.  Use GCC version number
8600         only.
8601         * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
8602         $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
8603         $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
8604         ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
8605         ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
8606         $(srcdir)/doc/include/gcc-common.texi.
8607
8608 2002-12-15   Geert Bosch <bosch@gnat.com>
8609
8610         * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
8611
8612 2002-12-14   Geert Bosch <bosch@gnat.com>
8613
8614         * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
8615         case of a body created for a Renaming_As_Body, on which
8616         conformance checks are not performed. Fixes PR ada/5690.
8617
8618 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
8619
8620         * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
8621         utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
8622         not already included.
8623         * Make-lang.in: Update dependencies.
8624
8625 2002-11-18  Nathanael Nerode  <neroden@gcc.gnu.org>
8626         * adaint.c (__gnat_tmp_name): Better, but good enough for now,
8627         solution to buffer overflow bug on GNU/Linux.
8628
8629 2002-11-14  Nathanael Nerode  <neroden@gcc.gnu.org>
8630         Closes PR ada/5856 and PR ada/6919 !
8631         * bindgen.adb: Remove all references to Public_Version.
8632         * comperr.adb: Remove all references to Public_Version and
8633         GNATPRO_Version; correct bug reporting instructions.
8634         * comperr.ads: Change to match bug box.
8635         * gnatvsn.ads: Remove all references to Public version and
8636         GNATPRO version.
8637
8638 2002-11-13  Nathanael Nerode  <neroden@gcc.gnu.org>
8639         PR ada/6919
8640         * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
8641         GNU/Linux.
8642
8643         PR ada/6558
8644         * config-lang.in: Remove diff_excludes.
8645
8646 2002-11-05  Graham Stott  <graham.stott@btinternet.com>
8647         PR ada/8358
8648         * trans.c (gnu_pending_elaboration_lists): New GC root.
8649         (build_unit_elab): Use..
8650
8651 2002-10-30   Geert Bosch <bosch@gnat.com>
8652         PR ada/6558
8653         * misc.c : Include optabs.h
8654
8655         * Make-lang.in (misc.o): Add dependency on optabs.h
8656
8657 2002-10-29   Geert Bosch <bosch@gnat.com>
8658         PR ada/6558
8659         * Make-lang.in (gnatbind): Depend on CONFIG_H
8660
8661 2002-10-29  Geert bosch  <bosch@gnat.com>
8662         PR ada/6558
8663         * misc.c: Unrevert misc.c (1.13)
8664
8665 2002-10-28  Nathanael Nerode  <neroden@gcc.gnu.org>
8666
8667         * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
8668         maintainership comments.
8669
8670 2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
8671         PR ada/5904
8672         * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
8673         5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
8674         5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
8675         7staprop.adb: Correct statements in comments about
8676         maintainership of GNAT.
8677
8678         PR ada/5904
8679         * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
8680         gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
8681         osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
8682         osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
8683         s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
8684         s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
8685         sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
8686         switch-c.ads switch-m.adb switch-m.ads: Correct statements in
8687         comments about maintainership of GNAT.
8688
8689         PR ada/6919 (forward port of patch for PR ada/5904)
8690         * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
8691         4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
8692         4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
8693         4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
8694         4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
8695         4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
8696         4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
8697         52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
8698         5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
8699         5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
8700         5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
8701         5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
8702         5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
8703         5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
8704         5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
8705         5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
8706         5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
8707         5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
8708         5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
8709         5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
8710         5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
8711         5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
8712         5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
8713         5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
8714         5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
8715         5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
8716         5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
8717         5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
8718         7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
8719         a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
8720         a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
8721         a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
8722         a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
8723         a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
8724         a-except.adb a-except.ads a-excpol.adb a-exctra.adb
8725         a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
8726         a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
8727         a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
8728         a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
8729         a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
8730         a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
8731         a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
8732         a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
8733         a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
8734         a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
8735         a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
8736         a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
8737         a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
8738         a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
8739         a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
8740         a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
8741         a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
8742         a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
8743         a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
8744         a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
8745         a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
8746         a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
8747         a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
8748         a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
8749         a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
8750         a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
8751         a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
8752         a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
8753         a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
8754         a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
8755         a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
8756         a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
8757         a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
8758         adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
8759         alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
8760         back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
8761         binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
8762         bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
8763         ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
8764         csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
8765         cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
8766         debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
8767         einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
8768         errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
8769         exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
8770         exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
8771         exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
8772         exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
8773         exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
8774         exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
8775         exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
8776         exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
8777         exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
8778         exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
8779         exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
8780         exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
8781         exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
8782         final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
8783         fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
8784         freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
8785         g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
8786         g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
8787         gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
8788         gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
8789         gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
8790         gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
8791         gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
8792         gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
8793         i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
8794         i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
8795         i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
8796         i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
8797         impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
8798         itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
8799         lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
8800         lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
8801         lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
8802         lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
8803         makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
8804         namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
8805         nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
8806         osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
8807         par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
8808         par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
8809         par-endh.adb par-labl.adb par-load.adb par-prag.adb
8810         par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
8811         prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
8812         prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
8813         prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
8814         prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
8815         prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
8816         prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
8817         repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
8818         rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
8819         s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
8820         s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
8821         s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
8822         s-direio.adb s-direio.ads s-except.ads s-exctab.adb
8823         s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
8824         s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
8825         s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
8826         s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
8827         s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
8828         s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
8829         s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
8830         s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
8831         s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
8832         s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
8833         s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
8834         s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
8835         s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
8836         s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
8837         s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
8838         s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
8839         s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
8840         s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
8841         s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
8842         s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
8843         s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
8844         s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
8845         s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
8846         s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
8847         s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
8848         s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
8849         s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
8850         s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
8851         s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
8852         s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
8853         s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
8854         s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
8855         s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
8856         s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
8857         s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
8858         s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
8859         s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
8860         s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
8861         s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
8862         s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
8863         s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
8864         s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
8865         s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
8866         s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
8867         s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
8868         s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
8869         s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
8870         s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
8871         s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
8872         s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
8873         s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
8874         s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
8875         s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
8876         s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
8877         s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
8878         s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
8879         s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
8880         s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
8881         s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
8882         s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
8883         s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
8884         s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
8885         s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
8886         s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
8887         s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
8888         s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
8889         s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
8890         s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
8891         s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
8892         s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
8893         s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
8894         s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
8895         s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
8896         s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
8897         s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
8898         s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
8899         s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
8900         s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
8901         scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
8902         sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
8903         sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
8904         sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
8905         sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
8906         sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
8907         sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
8908         sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
8909         sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
8910         sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
8911         sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
8912         sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
8913         sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
8914         sem_type.adb sem_type.ads sem_util.adb sem_util.ads
8915         sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
8916         sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
8917         sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
8918         sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
8919         snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
8920         stringt.ads stringt.h style.adb style.ads stylesw.adb
8921         stylesw.ads switch.adb switch.ads sysdep.c system.ads
8922         table.adb table.ads targparm.adb targparm.ads targtyps.c
8923         tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
8924         tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
8925         treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
8926         types.adb types.ads types.h uintp.adb uintp.ads uintp.h
8927         uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
8928         usage.ads utils.c utils2.c validsw.adb validsw.ads
8929         widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
8930         xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
8931         xtreeprs.adb: Correct statements in comments about maintainership
8932         of GNAT.
8933
8934 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
8935
8936         * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
8937         * Makefile.in (TOOLS_LIBS): Add ../../version.o.
8938         * gnatvsn.ads: Gnat_Version_String is now a function.
8939         * gnatvsn.adb: New file.  When asked for Gnat_Version_String,
8940         copy the C version_string into a String and return it.
8941         * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
8942         gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
8943         Remove pragma Ident (Gnat_Version_String).  If this was the
8944         sole use of package Gnatvsn, remove the with statement too.
8945         * gnat1drv.adb: Tweak -gnatv output.
8946
8947 2002-09-17  Richard Henderson  <rth@redhat.com>
8948
8949         * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
8950         * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
8951         * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
8952         (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
8953         * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
8954         and real_2expN instead of a loop.
8955         * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
8956         (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
8957
8958 2002-08-25  Andre Leis <a.leis@gmx.net>
8959             David Billinghurst (David.Billinghurst@riotinto.com>
8960
8961         * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
8962
8963 2002-08-13  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8964
8965         * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
8966         Remove $(CONFIG_H) dependency.
8967
8968 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
8969
8970         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
8971
8972 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8973
8974         * adadecode.c (ada_demangle): Use xstrdup in lieu of
8975         xmalloc/strcpy.
8976         * misc.c (gnat_decode_option): Likewise.
8977
8978 2002-07-15  Florian Weimer  <fw@deneb.enyo.de>
8979
8980         * make.adb (Add_Switch): Make Generic_Position a procedure.  The
8981         function approach did not work well because of a side effect (the
8982         function call could reallocate the table which was being indexed
8983         using its result). Fixes ada/4851. [RESURRECTED]
8984
8985 2002-07-01  Roger Sayle  <roger@eyesopen.com>
8986
8987         * ada/utils.c (builtin_function): Accept an additional parameter.
8988
8989 2002-06-28  Andreas Jaeger  <aj@suse.de>
8990
8991         PR ada/7144
8992         * Makefile.in: Fix typo in comment, patch by Adrian Knoth
8993         <adi@thur.de>.
8994
8995 2002-06-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8996
8997         * Makefile.in (SHELL): Set to @SHELL@.
8998
8999 2002-06-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9000
9001         * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
9002         array size calculation.
9003
9004 2002-06-04  Andreas Jaeger  <aj@suse.de>
9005
9006         * Make-lang.in (gnatbind): Readd rule that has been lost in last
9007         patch.
9008
9009 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
9010
9011         Merge from pch-branch:
9012
9013         * config-lang.in (gtfiles): Add ada-tree.h.
9014         * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
9015         (SET_TYPE_MODULUS): New.
9016         (SET_TYPE_INDEX): New.
9017         (SET_TYPE_DIGITS_VALUE): New.
9018         (SET_TYPE_RM_SIZE): New.
9019         (SET_TYPE_UNCONSTRAINED_ARRAY): New.
9020         (SET_TYPE_ADA_SIZE): New.
9021         (SET_TYPE_ACTUAL_BOUNDS): New.
9022         (SET_DECL_CONST_CORRESPONDING_VAR): New.
9023         (SET_DECL_ORIGINAL_FIELD): New.
9024         (TREE_LOOP_ID): Correct typo.
9025         * decl.c: Use new macros.
9026         * utils.c: Include debug.h, use new macros.
9027         * utils2.c: Use new macros.
9028
9029         * ada-tree.h: Update all macros for new tree description.
9030         (struct tree_loop_id): New.
9031         (union lang_tree_node): New.
9032         (struct lang_decl): New.
9033         (struct lang_type): New.
9034         * misc.c (gnat_mark_tree): Delete.
9035         (LANG_HOOKS_MARK_TREE): Delete.
9036         * trans.c (tree_transform): No longer any need to cast
9037         for TREE_LOOP_ID.
9038
9039         * utils.c (struct language_function): New dummy structure.
9040
9041         * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
9042         (misc.o): Likewise.
9043         (utils.o): Likewise; also gtype-ada.h.
9044         * Make-lang.in (gnat1): Add dependency on s-gtype.
9045         (gnatbind): Add dependency on $(CONFIG_H).
9046         * utils.c: Correct last #include.
9047         (stuct e_stack): Remove unnecessary 'static'.
9048         (mark_e_stack): Remove unused prototype.
9049
9050         * scn-nlit.adb: Remove whitespace after version number to
9051         keep lines under 80 chars.
9052         * snames.adb: Likewise.
9053         * treepr.ads: Likewise.
9054
9055         * Makefile.in (decl.o): Include gt-ada-<filename>.h.
9056         (misc.o): Likewise.
9057         (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
9058         * config-lang.in (gtfiles): New.
9059         * decl.c: Use gengtype for roots.
9060         * gigi.h: Use gengtype for roots.
9061         * trans.c: Use gengtype for roots.
9062         * utils.c: Use gengtype for roots, marking.  Include gtype-ada.h.
9063
9064 2002-06-02  Gabriel Dos Reis  <gdr@codesourcery.com>
9065
9066         * misc.c (gnat_init): Adjust setting of internal_error_function.
9067
9068 2002-06-01  Joseph S. Myers  <jsm28@cam.ac.uk>
9069
9070         * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
9071         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
9072         gnat_ug_wnt.texi: Regenerate.
9073
9074 2002-05-31  Florian Weimer  <fw@deneb.enyo.de>
9075
9076         * 5ntaprop.adb (with System.OS_Primitives): Remove.
9077
9078         * cstreams.c (max_path_len): Move from here ...
9079         * adaint.c (__gnat_max_path_len): ... to here.
9080         * adaint.c (__gnat_max_path_len): Declare.
9081         * g-dirope.adb (Max_Path): Adjust.
9082         * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
9083         * i-cstrea.ads (max_path_len): Adjust.
9084         * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
9085         * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
9086
9087         * Makefile.in, Make-lang.in: Documentation is now built in
9088         Make-lang.in.  Store Info and generated Texinfo files in the
9089         source directory.
9090         * gnat_ug.texi: Remove CVS keywords, correct version number.
9091         Set file name correctly.
9092
9093         * gnat_ug_*.texi: Add.
9094         * .cvsignore: Ignore generated Texinfo files.
9095
9096 2002-05-30  Zack Weinberg  <zack@codesourcery.com>
9097
9098         * ada.h: Add MI guard macro.
9099         (SUBTYPE): Define constants with an anonymous enum, not static
9100         const variables.
9101         (IN): Cast constants to appropriate type before use.
9102
9103 2002-05-26  Joseph S. Myers  <jsm28@cam.ac.uk>
9104
9105         * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
9106         (experimental)".
9107
9108 2002-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9109
9110         * Make-lang.in (CP, ECHO): Copy from Makefile.in.
9111         (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
9112         (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
9113         (ALL_ADA_CFLAGS): Likewise.
9114         (ADA_INCLUDES): Likewise.
9115         Adapt for new working dir.
9116         (GNATBIND): Use Makefile.in version.
9117         (.SUFFIXES): Copy from Makefile.in.
9118         (ada-warn): Define.
9119         (.adb.o, .ads.o): Copy from Makefile.in.
9120         Added $(OUTPUT_OPTION).
9121         (GNAT1_C_OBJS): Moved from Makefile.in.
9122         Prefix with ada subdir.
9123         (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
9124         (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
9125         Adapt for new working dir.
9126         (EXTRA_GNATBIND_OBJS): Likewise.
9127         (ADA_BACKEND): Moved from Makefile.in.
9128         Renamed to avoid conflict with global BACKEND.
9129         Use that one.
9130         (TARGET_ADA_SRCS): Moved from Makefile.in.
9131         (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
9132         Use ADA_BACKEND.
9133         (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
9134         (ada_extra_files): Moved from Makefile.in.
9135         Prefix with ada subdir.
9136         (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
9137         (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
9138         (ada/nmake.ads): Likewise.
9139         (update-sources): Moved from Makefile.in.
9140         Prefix with ada subdir.
9141         (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
9142         (ADA_TREE_H): Likewise.
9143         (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
9144         (ada/memtrack.o): Likewise.
9145         (ada/adadecode.o): Likewise.
9146         Update dependencies.
9147         (ada/adaint.o): New.
9148         (ada/argv.o): Moved from Makefile.in.
9149         Prefix with ada subdir.
9150         Update dependencies.
9151         (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
9152         (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
9153         (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
9154         Prefix with ada subdir.
9155         (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
9156         (GNAT DEPENDENCIES): Regenerate.
9157         * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
9158         toplevel Makefile.in.
9159         (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
9160         (TARGET_ADA_SRCS): Removed.
9161         (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
9162         (GNATBIND_OBJS): Likewise.
9163         (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
9164         (BACKEND): Removed.
9165         (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
9166         (TREE_H): Likewise.
9167         (ada_extra_files): Likewise.
9168         (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
9169         (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
9170         (update-sources): Likewise.
9171         (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
9172         (ADA_TREE_H): Likewise.
9173         (adadecoce.o): Likewise.
9174         (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
9175         (GNAT DEPENDENCIES): Likewise.
9176
9177 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9178
9179         * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
9180         * Makefile.in: Likewise.
9181
9182 2002-05-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9183
9184         * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
9185         Restore $(CONFIG_H) and prefix.o dependencies.
9186         (ada.stage[1-4]): Depend on stage?-start.
9187
9188         * Makefile.in (b_gnatb.c): Depend on interfac.o.
9189
9190 2002-05-02  Jim Wilson  <wilson@redhat.com>
9191
9192         * utils.c (finish_record_type): Change record_size to record_type.
9193
9194 2001-05-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
9195
9196         * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
9197         (ALL_ADA_CFLAGS): Define.  Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
9198         ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
9199
9200 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
9201
9202         * misc.c (gnat_parse_file): Update.
9203
9204 2002-04-24  Neil Booth  <neil@daikokuya.demon.co.uk>
9205
9206         * misc.c (gnat_init): Don't set lang_attribute_common.
9207
9208 2002-04-21  Joseph S. Myers  <jsm28@cam.ac.uk>
9209
9210         * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
9211
9212 2002-04-21  Florian Weimer  <fw@deneb.enyo.de>
9213
9214         * gnat_ug.texi: New file.
9215
9216         * gnat_rm.texi: Do not include texiplus.texi.  Include fdl.texi
9217         instead of gfdl.texi
9218
9219         * xgnatug.adb, ug_words: New files.
9220
9221         * Makefile.in (doc, dvi): New targets.  Build gnat_ug_*,
9222         gnat_rm and gnat-style manuals.
9223
9224 2002-04-18  Neil Booth  <neil@daikokuya.demon.co.uk>
9225
9226         * gigi.h (incomplete_type_error): Remove.
9227         * utils.c (incomplete_type_error): Remove.
9228
9229 2002-04-16  Mark Mitchell  <mark@codesourcery.com>
9230
9231         * trans.c (tree_transform): Add has_scope argument to
9232         expand_start_stmt_expr.
9233
9234 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
9235
9236         * gigi.h (truthvalue_conversion): Rename.
9237         * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
9238         * trans.c (tree_transform): Update.
9239         * utils2.c (truthvalue_conversion): Rename, update.
9240         (build_binary_op, build_unary_op): Update.
9241
9242 2002-04-04  Laurent Guerby  <guerby@acm.org>
9243
9244         * make.adb: Implement -margs, remove restriction about file name placement.
9245         * makeusg.adb: Documentation update.
9246         * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
9247         * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
9248
9249 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
9250
9251         * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
9252         (builtin_function): Similarly.
9253
9254 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
9255
9256         * decl.c (gnat_to_gnu_entity): Update.
9257         * gigi.h (mark_addressable): Rename.
9258         * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
9259         * trans.c (tree_transform): Update.
9260         * utils.c (create_var_decl): Update.
9261         * util2.c (build_binary_op, build_unary_op,
9262         fill_vms_descriptor): Update.
9263         (mark_addressable): Rename, update.
9264
9265 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
9266
9267         * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
9268         Rename.
9269         * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
9270         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
9271         * trans.c (tree_transform, convert_with_check): Update.
9272         * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
9273         Rename.
9274
9275 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
9276
9277         * gigi.h (finish_incomplete_decl): Rename.
9278         * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
9279         * utils.c (gnat_init_decl_processing): Don't set hook.
9280         (finish_incomplete_decl): Rename.
9281
9282 2002-03-29  Andreas Schwab  <schwab@suse.de>
9283
9284         * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
9285         directory.
9286
9287 2001-03-28  Robert Dewar <dewar@gnat.com>
9288
9289         * checks.ads:
9290         (Remove_Checks): New procedure
9291
9292         * checks.adb:
9293         (Remove_Checks): New procedure
9294
9295         * exp_util.adb:
9296         Use new Duplicate_Subexpr functions
9297         (Duplicate_Subexpr_No_Checks): New procedure
9298         (Duplicate_Subexpr_No_Checks_Orig): New procedure
9299         (Duplicate_Subexpr): Restore original form (checks duplicated)
9300         (Duplicate_Subexpr): Call Remove_Checks
9301
9302         * exp_util.ads:
9303         (Duplicate_Subexpr_No_Checks): New procedure
9304         (Duplicate_Subexpr_No_Checks_Orig): New procedure
9305         Add 2002 to copyright notice
9306
9307         * sem_util.adb: Use new Duplicate_Subexpr functions
9308
9309         * sem_eval.adb:
9310         (Eval_Indexed_Component): This is the place to call
9311         Constant_Array_Ref and to replace the value. We simply merge
9312         the code of this function in here, since it is now no longer
9313         used elsewhere. This fixes the problem of the back end not
9314         realizing we were clever enough to see that this was
9315         constant.
9316         (Expr_Val): Remove call to Constant_Array_Ref
9317         (Expr_Rep_Val): Remove call to Constant_Array_Ref
9318         Minor reformatting
9319         (Constant_Array_Ref): Deal with string literals (patch
9320         suggested by Zack Weinberg on the gcc list)
9321
9322 2001-03-28  Ed Schonberg <schonber@gnat.com>
9323
9324         * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
9325         Duplicate_Subexpr_Move_Checks.
9326
9327         * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
9328         Duplicate_Subexpr_Move_Checks.
9329
9330         * sem_eval.adb: (Constant_Array_Ref): Verify that constant
9331         value of array exists before retrieving it (it may a private
9332         protected component in a function).
9333
9334 2002-03-28   Geert Bosch <bosch@gnat.com>
9335
9336         * prj-pp.adb : New file.
9337
9338         * prj-pp.ads : New file.
9339
9340 2002-03-28  Andreas Jaeger  <aj@suse.de>
9341
9342         * Makefile.in (stamp-sdefault): Fix path for Makefile.
9343
9344 2002-03-28  Neil Booth  <neil@daikokuya.demon.co.uk>
9345
9346         * misc.c (gnat_expand_expr): Move prototype.
9347
9348 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
9349
9350         * misc.c (insert_default_attributes): Remove.
9351
9352 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
9353
9354         * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
9355         (gnat_init): Don't set hook.
9356         (gnat_expand_expr): Fix prototype.
9357
9358 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
9359
9360         * misc.c (ggc_p): Remove.
9361
9362 2002-03-27  Geert Bosch  <bosch@gnat.com>
9363
9364         * prj-makr.ads, prj-makr.adb : New files.
9365
9366 2002-03-26  Neil Booth  <neil@daikokuya.demon.co.uk>
9367
9368         * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
9369         (lang_mark_tree): Make static, rename.
9370
9371 2002-03-25  Neil Booth  <neil@daikokuya.demon.co.uk>
9372
9373         * misc.c (maybe_build_cleanup): Remove.
9374
9375 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
9376
9377         * gigi.h (yyparse): Remove.
9378
9379 2002-03-23  Florian Weimer  <fw@deneb.enyo.de>
9380
9381         * gnat_rm.texi: Sync with ACT version.
9382           (From Ben Brosgol <brosgol@gnat.com>)
9383
9384 2002-03-20  Neil Booth  <neil@daikokuya.demon.co.uk>
9385
9386         * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
9387         (gnat_init): Remove old hook.
9388
9389 2002-03-17  Neil Booth  <neil@daikokuya.demon.co.uk>
9390
9391         * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
9392         (yyparse): Rename gnat_parse_file.
9393
9394 2002-03-14  Geoffrey Keating  <geoffk@redhat.com>
9395
9396         Delete all lines containing "$Revision:".
9397         * xeinfo.adb: Don't look for revision numbers.
9398         * xnmake.adb: Likewise.
9399         * xsinfo.adb: Likewise.
9400         * xsnames.adb: Likewise.
9401         * xtreeprs.adb: Likewise.
9402
9403 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9404
9405         * misc.c (gnat_tree_code_type, gnat_tree_code_length,
9406         gnat_tree_code_name): Delete.
9407         (tree_code_type, tree_code_length, tree_code_name): Define.
9408         (gnat_init): Don't try to copy into the various tree_code
9409         arrays.
9410
9411 2002-03-11  Richard Henderson  <rth@redhat.com>
9412
9413         * Makefile.in (.NOTPARALLEL): Add fake tag.
9414
9415 2002-03-07  Geert Bosch  <bosch@gnat.com>
9416
9417         * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
9418         s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
9419         switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
9420         switch-m.adb, switch-m.ads : New files.
9421
9422 2002-03-07  Geert Bosch  <bosch@gnat.com>
9423
9424         * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
9425         4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
9426         4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
9427         4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
9428         5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
9429         5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
9430         5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
9431         5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
9432         5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
9433         5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
9434         5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
9435         5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
9436         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
9437         5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
9438         5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
9439         5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
9440         5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
9441         5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
9442         5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
9443         5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
9444         7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
9445         Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
9446         a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
9447         a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
9448         a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
9449         a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
9450         a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
9451         a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
9452         a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
9453         adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
9454         atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
9455         bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
9456         csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
9457         einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
9458         eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
9459         exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
9460         exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
9461         exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
9462         exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
9463         exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
9464         expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
9465         freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
9466         g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
9467         g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
9468         g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
9469         g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
9470         g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
9471         g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
9472         gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
9473         gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
9474         gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
9475         i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
9476         impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
9477         lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
9478         lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
9479         memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
9480         mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
9481         nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
9482         output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
9483         par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
9484         prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
9485         prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
9486         prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
9487         rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
9488         s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
9489         s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
9490         s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
9491         s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
9492         s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
9493         s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
9494         s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
9495         s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
9496         s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
9497         s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
9498         s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
9499         s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
9500         s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
9501         s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
9502         s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
9503         sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
9504         sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
9505         sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
9506         sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
9507         sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
9508         sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
9509         sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
9510         sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
9511         sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
9512         sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
9513         snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
9514         stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
9515         table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
9516         tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
9517         treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
9518         types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
9519         utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
9520         xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
9521
9522         * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
9523         g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
9524         mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
9525         osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
9526
9527         * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
9528         5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
9529
9530         * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
9531         to mdll-fil.ad[bs] and mdll-util.ad[bs]
9532
9533         * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
9534         from mdllfile.ad[bs] and mdlltool.ad[bs]
9535
9536 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9537
9538         * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
9539         lieu of explicit sizeof/sizeof.
9540
9541 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
9542
9543         * misc.c (copy_lang_decl): Remove.
9544
9545 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
9546
9547         * misc.c: Delete traditional-mode-related code copied from the
9548         C front end but not used, or used only to permit the compiler
9549         to link.
9550
9551 2002-02-07  Richard Henderson  <rth@redhat.com>
9552
9553         * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
9554         * adaint.h (__gnat_to_gm_time): Update prototype.
9555
9556 2002-01-30  Richard Henderson  <rth@redhat.com>
9557
9558         * trans.c (tree_transform) [N_Loop_Statement]: Use
9559         expand_exit_loop_top_cond.
9560
9561 2001-12-23  Richard Henderson  <rth@redhat.com>
9562
9563         * utils.c (end_subprog_body): Push GC context around
9564         rest_of_compilation for nested functions.
9565
9566 2001-12-23  Richard Henderson  <rth@redhat.com>
9567
9568         * 5nosinte.ads: Get definition of "int" from Interfaces.C.
9569
9570 2001-12-23  Florian Weimer  <fw@deneb.enyo.de>
9571
9572         * gnat-style.texi (Declarations and Types): Remove ancient style
9573         rule which was mandated by code generation issues.
9574
9575         * gnat-style.texi (header): Add @dircategory, @direntry.
9576         (title page): Remove date.
9577         (general) Add @./@: where approriate, and two spaces after the
9578         full stop at the end of a sentence.  Use @samp markup when
9579         referring concrete lexical entities (keywords, attribute names
9580         etc.), and @syntax for ARM grammar elements. Use @r for English
9581         text in comments.  Use @emph for emphasis.  Change "if-statements"
9582         etc. to "if statements" (without @samp). Break long lines.  Make
9583         casing of section names consistent.
9584         (Identifiers): Use @samp markup for variable names.
9585         (Comments): Use @samp markup for comment characters. Line-end
9586         comments may follow any Ada code, not just statements.  Fix
9587         misspelling of "Integer" as "integer".
9588         (Loop statements): Do not use variable name "I", use "J".
9589         (Subprogram Declarations): Document alignment.
9590         (Subprogram Bodies, Block statements): Document empty line before
9591         "begin".
9592
9593 2001-12-22  Florian Weimer  <fw@deneb.enyo.de>
9594
9595         * make.adb (Add_Switch): Make Generic_Position a procedure.  The
9596         function approach did not work well because of a side effect (the
9597         function call could reallocate the table which was being indexed
9598         using its result). Fixes ada/4851.
9599
9600 2001-12-19  Robert Dewar <dewar@gnat.com>
9601
9602         * bindgen.adb: Minor reformatting
9603
9604         * cstand.adb: Minor reformatting
9605
9606         * fmap.adb: Minor reformatting
9607         Change name from Add for Add_To_File_Map (Add is much too generic)
9608         Change Path_Name_Of to Mapped_Path_Name
9609         Change File_Name_Of to Mapped_File_Name
9610         Fix copyright dates in header
9611
9612         * fmap.ads:
9613         Change name from Add for Add_To_File_Map (Add is much too generic)
9614         Change Path_Name_Of to Mapped_Path_Name
9615         Change File_Name_Of to Mapped_File_Name
9616         Fix copyright dates in header
9617
9618         * fname-uf.adb: Minor reformatting.  New names of stuff in Fmap.
9619         Add use clause for Fmap.
9620
9621         * make.adb: Minor reformatting
9622
9623         * osint.adb: Minor reformatting.  Change of names in Fmap.
9624         Add use clause for Fmap.
9625
9626         * prj-env.adb: Minor reformatting
9627
9628         * prj-env.ads: Minor reformatting
9629
9630         * switch.adb: Minor reformatting.  Do proper raise of Bad_Switch if
9631         error found (there were odd exceptions to this general rule in
9632         -gnatec/-gnatem processing)
9633
9634 2001-12-19  Olivier Hainque <hainque@gnat.com>
9635
9636         * raise.c (__gnat_eh_personality): Exception handling personality
9637         routine for Ada.  Still in rough state, inspired from the C++ version
9638         and still containing a bunch of debugging artifacts.
9639         (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
9640         inspired from the C++ library.
9641
9642         * raise.c (eh_personality): Add comments. Part of work for the GCC 3
9643         exception handling integration.
9644
9645 2001-12-19  Arnaud Charlet <charlet@gnat.com>
9646
9647         * Makefile.in: Remove use of 5smastop.adb which is obsolete.
9648         (HIE_SOURCES): Add s-secsta.ad{s,b}.
9649         (HIE_OBJS): Add s-fat*.o
9650         (RAVEN_SOURCES): Remove files that are no longer required. Add
9651         interrupt handling files.
9652         (RAVEN_MOD): Removed, no longer needed.
9653
9654 2001-12-19  Robert Dewar <dewar@gnat.com>
9655
9656         * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
9657         Add 2001 to copyright date
9658
9659         * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
9660         need to force universal inlining for these cases.
9661
9662 2001-12-19  Arnaud Charlet <charlet@gnat.com>
9663
9664         * s-taprob.adb: Minor clean ups so that this unit can be used in
9665         Ravenscar HI.
9666
9667         * exp_ch7.adb: Allow use of secondary stack in HI mode.
9668         Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
9669
9670 2001-12-19  Vincent Celier <celier@gnat.com>
9671
9672         * prj-tree.ads (Project_Node_Record): Add comments for components
9673         Pkg_Id and Case_Insensitive.
9674
9675 2001-12-19  Pascal Obry <obry@gnat.com>
9676
9677         * g-socket.adb: Minor reformatting. Found while reading code.
9678
9679 2001-12-19  Robert Dewar <dewar@gnat.com>
9680
9681         * prj-tree.ads: Minor reformatting
9682
9683 2001-12-20  Joseph S. Myers  <jsm28@cam.ac.uk>
9684
9685         * config-lang.in (diff_excludes): Remove.
9686
9687 2001-12-17  Ed Schonberg <schonber@gnat.com>
9688
9689         * sem_res.adb (Resolve_Selected_Component): do not generate a
9690         discriminant check if the selected component is a component of
9691         the argument of an initialization procedure.
9692
9693         * trans.c (tree_transform, case of arithmetic operators): If result
9694         type is private, the gnu_type is the base type of the full view,
9695         given that the full view itself may be a subtype.
9696
9697 2001-12-17  Robert Dewar <dewar@gnat.com>
9698
9699         * sem_res.adb: Minor reformatting
9700
9701         * trans.c (tree_transform, case N_Real_Literal): Add missing third
9702         parameter in call to Machine (unknown horrible effects from this
9703         omission).
9704
9705         * urealp.h: Add definition of Round_Even for call to Machine
9706         Add third parameter for Machine
9707
9708 2001-12-17  Ed Schonberg <schonber@gnat.com>
9709
9710         * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
9711         predefined units in No_Run_Time mode.
9712
9713 2001-12-17  Richard Kenner <kenner@gnat.com>
9714
9715         * misc.c (insn-codes.h): Now include.
9716
9717 2001-12-17  Olivier Hainque <hainque@gnat.com>
9718
9719         * a-except.adb: Preparation work for future integration of the GCC 3
9720         exception handling mechanism
9721         (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
9722         to factorize previous code sequences and make them externally callable,
9723         e.g. for the Ada personality routine when the GCC 3 mechanism is used.
9724         (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
9725         Use the new notification routines.
9726
9727 2001-12-17  Emmanuel Briot <briot@gnat.com>
9728
9729         * prj-tree.ads (First_Choice_Of): Document the when others case
9730
9731 2001-12-17  Arnaud Charlet <charlet@gnat.com>
9732
9733         * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
9734         HI-E mode, in order to support Ravenscar profile properly.
9735
9736         * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
9737         mode on 32 bits targets.
9738
9739 2001-12-17  Vincent Celier <celier@gnat.com>
9740
9741         * fmap.adb: Initial version.
9742
9743         * fmap.ads: Initial version.
9744
9745         * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
9746         If search is successfully done, add to mapping.
9747
9748         * frontend.adb: Initialize the mapping if a -gnatem switch was used.
9749
9750         * make.adb:
9751         (Gnatmake): Add new local variable Mapping_File_Name.
9752          Create mapping file when using project file(s).
9753          Delete mapping file before exiting.
9754
9755         * opt.ads (Mapping_File_Name): New variable
9756
9757         * osint.adb (Find_File): Use path name found in mapping, if any.
9758
9759         * prj-env.adb (Create_Mapping_File): New procedure
9760
9761         * prj-env.ads (Create_Mapping_File): New procedure.
9762
9763         * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
9764         (Mapping_File)
9765
9766         * usage.adb: Add entry for new switch -gnatem.
9767
9768         * Makefile.in: Add dependencies for fmap.o.
9769
9770 2001-12-17  Ed Schonberg <schonber@gnat.com>
9771
9772         * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
9773         is a package instantiation rewritten as a package body.
9774         (Install_Withed_Unit): Undo previous change, now redundant.
9775
9776 2001-12-17  Gary Dismukes <dismukes@gnat.com>
9777
9778         * layout.adb:
9779         (Compute_Length): Move conversion to Unsigned to callers.
9780         (Get_Max_Size): Convert Len expression to Unsigned after calls to
9781         Compute_Length and Determine_Range.
9782         (Layout_Array_Type): Convert Len expression to Unsigned after calls to
9783         Compute_Length and Determine_Range.
9784         Above changes fix problem with length computation for supernull arrays
9785         where Max (Len, 0) wasn't getting applied due to the Unsigned
9786         conversion used by Compute_Length.
9787
9788 2001-12-17  Arnaud Charlet <charlet@gnat.com>
9789
9790         * rtsfind.ads:
9791         (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
9792          System.Secondary_Stack.
9793         (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
9794          in HI-E mode.
9795         Remove unused entity RE_Exception_Data.
9796
9797         * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
9798
9799         * rident.ads (No_Secondary_Stack): New restriction.
9800
9801 2001-12-17  Joel Brobecker <brobecke@gnat.com>
9802
9803         * gnat_rm.texi: Fix minor typos. Found while reading the section
9804         regarding "Bit_Order Clauses" that was sent to a customer.
9805         Very interesting documentation!
9806
9807 2001-12-17  Robert Dewar <dewar@gnat.com>
9808
9809         * sem_case.adb (Choice_Image): Avoid creating improper character
9810         literal names by using the routine Set_Character_Literal_Name. This
9811         fixes bombs in certain error message cases.
9812
9813 2001-12-17  Arnaud Charlet <charlet@gnat.com>
9814
9815         * a-reatim.adb: Minor reformatting.
9816
9817 2001-12-17  Ed Schonberg <schonber@gnat.com>
9818
9819         * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
9820         case where the formal is an extension of another formal in the current
9821         unit or in a parent generic unit.
9822
9823 2001-12-17  Arnaud Charlet <charlet@gnat.com>
9824
9825         * s-tposen.adb: Update comments.  Minor reformatting.
9826         Minor code clean up.
9827
9828         * s-tarest.adb: Update comments.  Minor code reorganization.
9829
9830 2001-12-17  Gary Dismukes <dismukes@gnat.com>
9831
9832         * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
9833         when Java_VM.
9834
9835 2001-12-17  Robert Dewar <dewar@gnat.com>
9836
9837         * exp_attr.adb: Minor reformatting
9838
9839 2001-12-17  Ed Schonberg <schonber@gnat.com>
9840
9841         * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
9842         derivations nested within a child unit: verify that the parent
9843         type is declared in an outer scope.
9844
9845 2001-12-17  Robert Dewar <dewar@gnat.com>
9846
9847         * sem_ch12.adb: Minor reformatting
9848
9849 2001-12-17  Ed Schonberg <schonber@gnat.com>
9850
9851         * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
9852         warning if current unit is a predefined one, from which bodies may
9853         have been deleted.
9854
9855 2001-12-17  Robert Dewar <dewar@gnat.com>
9856
9857         * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
9858         Fix header format. Add 2001 to copyright date.
9859
9860         * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
9861         which caused CE during compilation if checks were enabled.
9862
9863 2001-12-17  Vincent Celier <celier@gnat.com>
9864
9865         * make.adb:
9866         (Switches_Of): New function
9867         (Test_If_Relative_Path): New procedure
9868         (Add_Switches): Use new function Switches_Of
9869         (Collect_Arguments_And_Compile): Use new function Switches_Of.
9870         When using a project file, test if there are any relative
9871         search path. Fail if there are any.
9872         (Gnatmake): Only add switches for the primary directory when not using
9873         a project file. When using a project file, change directory to the
9874         object directory of the main project file. When using a project file,
9875         test if there are any relative search path. Fail if there are any.
9876         When using a project file, fail if specified executable is relative
9877         path with directory information, and prepend executable, if not
9878         specified as an absolute path, with the exec directory.  Make sure
9879         that only one -o switch is transmitted to the linker.
9880
9881         * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
9882
9883         * prj-nmsc.adb:
9884         (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
9885         when using a non standard naming scheme.
9886         (Check_Ada_Naming_Scheme): Make sure that error messages
9887         do not raise exceptions.
9888         (Is_Illegal_Append): Return True if there is no dot in the suffix.
9889         (Language_Independent_Check): Check the exec directory.
9890
9891         * prj.adb (Project_Empty): Add new component Exec_Directory
9892
9893         * prj.ads:
9894         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
9895         (Project_Data): Add component Exec_Directory
9896
9897         * snames.adb: Updated to match snames.ads revision 1.215
9898
9899         * snames.ads: Added Exec_Dir
9900
9901 2001-12-17  Robert Dewar <dewar@gnat.com>
9902
9903         * make.adb: Minor reformatting
9904
9905         * prj-nmsc.adb: Minor reformatting
9906
9907         * snames.adb: Updated to match snames.ads
9908
9909         * snames.ads: Alphebetize entries for project file
9910
9911 2001-12-17  Ed Schonberg <schonber@gnat.com>
9912
9913         * trans.c (process_freeze_entity): Do nothing if the entity is a
9914         subprogram that was already elaborated.
9915
9916 2001-12-17  Richard Kenner <kenner@gnat.com>
9917
9918         * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
9919         and Esize if object is referenced via pointer.
9920
9921 2001-12-17  Ed Schonberg <schonber@gnat.com>
9922
9923         * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
9924         is discrete before analyzing choices.
9925
9926 2001-12-17  Joel Brobecker <brobecke@gnat.com>
9927
9928         * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
9929         containing the name of the Ada Main Program. This string is mainly
9930         intended for the debugger.
9931         (Gen_Output_File_C): Do the equivalent change when generating a C file.
9932
9933 2001-12-17  Robert Dewar <dewar@gnat.com>
9934
9935         * ali.adb: Set new Dummy_Entry field in dependency entry
9936
9937         * ali.ads: Add Dummy_Entry field to source dependency table
9938
9939         * bcheck.adb (Check_Consistency): Ignore dummy D lines
9940
9941         * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
9942
9943         * lib-writ.ads: Document dummy D lines for missing files.
9944
9945         * types.ads: (Dummy_Time_Stamp): New value for non-existant files
9946
9947 2001-12-17  Robert Dewar <dewar@gnat.com>
9948
9949         * ali.adb: Type reference does not reset current file.
9950
9951         * ali.adb: Recognize and scan renaming reference
9952
9953         * ali.ads: Add spec for storing renaming references.
9954
9955         * lib-xref.ads: Add documentation for handling of renaming references
9956
9957         * lib-xref.adb: Implement output of renaming reference.
9958
9959         * checks.adb:
9960         (Determine_Range): Document local variables
9961         (Determine_Range): Make sure Hbound is initialized. It looks as though
9962          there could be a real problem here with an uninitialized reference
9963          to Hbound, but no actual example of failure has been found.
9964
9965 2001-12-17  Laurent Pautet <pautet@gnat.com>
9966
9967         * g-socket.ads:
9968         Fix comment of Shutdown_Socket and Close_Socket. These functions
9969         should not fail silently because if they are called twice, this
9970         probably means that there is a race condition in the user program.
9971         Anyway, this behaviour is consistent with the rest of this unit.
9972         When an error occurs, an exception is raised with the error message
9973         as exception message.
9974
9975 2001-12-17  Robert Dewar <dewar@gnat.com>
9976
9977         * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
9978         that it happens before modification of Sloc values for -gnatD.
9979
9980         * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
9981         so that it happens before modification of Sloc values for -gnatD.
9982
9983         * switch.adb: Minor reformatting
9984
9985 2001-12-15  Richard Henderson  <rth@redhat.com>
9986
9987         * sem_ch7.adb: Wrap comment.
9988
9989 2001-12-16  Joseph S. Myers  <jsm28@cam.ac.uk>
9990
9991         * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
9992         5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
9993         5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
9994         5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
9995         5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
9996         7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
9997         a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
9998         a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
9999         cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
10000         exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
10001         exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
10002         g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
10003         gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
10004         make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
10005         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
10006         repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
10007         s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
10008         s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
10009         s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
10010         s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
10011         sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
10012         sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
10013         sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
10014         sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
10015         spelling errors.
10016
10017 2001-12-14  Vincent Celier <celier@gnat.com>
10018
10019         * osint.adb(Create_Debug_File): When an object file is specified,
10020         put the .dg file in the same directory as the object file.
10021
10022 2001-12-14  Robert Dewar <dewar@gnat.com>
10023
10024         * osint.adb: Minor reformatting
10025
10026         * lib-xref.adb (Output_Instantiation): New procedure to generate
10027         instantiation references.
10028
10029         * lib-xref.ads: Add documentation of handling of generic references.
10030
10031         * ali.adb (Read_Instantiation_Ref): New procedure to read
10032         instantiation references
10033
10034         * ali.ads: Add spec for storing instantiation references
10035
10036         * bindusg.adb: Minor reformatting
10037
10038         * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
10039
10040         * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
10041
10042         * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
10043
10044         * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
10045
10046         * csets.ads:
10047         Fix header format
10048         Add 2001 to copyright date
10049         Add entry for Latin-5 (Cyrillic ISO-8859-5)
10050
10051 2001-12-14  Matt Gingell <gingell@gnat.com>
10052
10053         * adaint.c: mktemp is a macro on Lynx and can not be used as an
10054         expression.
10055
10056 2001-12-14  Richard Kenner <kenner@gnat.com>
10057
10058         * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
10059         if operand is CONSTRUCTOR.
10060
10061 2001-12-14  Ed Schonberg <schonber@gnat.com>
10062
10063         * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
10064         before emiting check on right-hand side, so that exception information
10065         is correct.
10066
10067 2001-12-14  Richard Kenner <kenner@gnat.com>
10068
10069         * utils.c (create_var_decl): Throw away initializing expression
10070         if just annotating types and non-constant.
10071
10072 2001-12-14  Vincent Celier <celier@gnat.com>
10073
10074         * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
10075         Default_Ada_...
10076
10077         * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
10078         Remove functions.
10079         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
10080
10081         * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
10082         Remove functions.
10083         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
10084
10085 2001-12-16  Joseph S. Myers  <jsm28@cam.ac.uk>
10086
10087         * ChangeLog: Remove piece of diff output.
10088
10089 2001-12-14  Geert Bosch <bosch@gnat.com>
10090
10091         * config-lang.in: Update copyright notice
10092
10093         * layout.adb: Remove commented out code.
10094
10095         * mdllfile.ads: Update copyright notice. Fix header format.
10096
10097         * sem_case.ads: Likewise.
10098
10099         * sem_ch3.adb: Minor reformatting.
10100
10101 2001-12-12  Geert Bosch <bosch@gnat.com>
10102
10103         * freeze.ads: Update copyright date.
10104
10105         * g-comlin.ads: Minor reformatting.
10106
10107         * gnat-style.texi: Fix typo.
10108
10109 2001-12-12  Geert Bosch <bosch@gnat.com>
10110
10111         *  einfo.h: Regenerate.
10112
10113 2001-12-12  Ed Schonberg <schonber@gnat.com>
10114
10115         * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
10116         on known node types, rather than untyped fields. Further cleanups.
10117
10118 2001-12-12  Robert Dewar <dewar@gnat.com>
10119
10120         * sem_ch12.adb:
10121         (Save_Entity_Descendant): Minor comment update.
10122         (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
10123          of an N_Attribute_Reference node. As per note below, this does not
10124         eliminate need for Associated_Node in attribute ref nodes.
10125         (Associated_Node): Documentation explicitly mentions attribute
10126         reference nodes, since this field is used in such nodes.
10127
10128         * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
10129
10130 2001-12-12  Robert Dewar <dewar@gnat.com>
10131
10132         * s-stalib.adb: Add more comments on with statements being needed
10133
10134         * par-ch12.adb: Minor reformatting
10135
10136         * prj-dect.ads: Fix copyright header
10137
10138         * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
10139         inputs fit in 32 bits, but the result still overflows.
10140
10141         * s-fatgen.ads: Minor comment improvement
10142
10143 2001-12-12  Ed Schonberg <schonber@gnat.com>
10144
10145         * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
10146         formal derived type, look for an inherited component from the full
10147         view of the parent, if any.
10148
10149 2001-12-12  Robert Dewar <dewar@gnat.com>
10150
10151         * checks.ads (Apply_Alignment_Check): New procedure.
10152
10153         * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
10154         ensure that the alignment of objects with address clauses is
10155         appropriate, and raise PE if not.
10156
10157         * exp_util.ads (Must_Be_Aligned): Removed, replaced by
10158         Exp_Pakd.Known_Aligned_Enough
10159
10160         * mdllfile.ads: Minor reformatting
10161
10162         * mlib-fil.ads: Minor reformatting
10163
10164 2001-12-12  Ed Schonberg <schonber@gnat.com>
10165
10166         * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
10167         fix to any component reference if enclosing record has non-standard
10168         representation.
10169
10170 2001-12-12  Vincent Celier <celier@gnat.com>
10171
10172         * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
10173         Iteration
10174
10175 2001-12-12  Ed Schonberg <schonber@gnat.com>
10176
10177         * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
10178         sem_attr.
10179
10180 2001-12-12  Robert Dewar <dewar@gnat.com>
10181
10182         * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
10183
10184 2001-12-12  Emmanuel Briot <briot@gnat.com>
10185
10186         * g-regexp.adb: Remove all debug code, since it isn't required anymore,
10187         and it adds dependencies to system.io.
10188
10189 2001-12-12  Pascal Obry <obry@gnat.com>
10190
10191         * g-dirope.adb (Expand_Path.Var): Correctly detect end of
10192         variable name.
10193
10194 2001-12-11  Ed Schonberg <schonber@gnat.com>
10195
10196         * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
10197         that is the parent of other generics, the instance body replaces the
10198         instance node.  Retrieve the instance of the spec, which is the one
10199         that is visible in clients and within the body.
10200
10201 2001-12-11  Vincent Celier <celier@gnat.com>
10202
10203         * gnatmain.adb: Initial version.
10204
10205         * gnatmain.ads: Initial version.
10206
10207         * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
10208
10209         * snames.adb: Updated to match snames.ads.
10210
10211         * snames.ads: Added Gnatstub.
10212
10213 2001-12-11  Vincent Celier <celier@gnat.com>
10214
10215         * prj-attr.adb (Initialization_Data): Change name from
10216         Initialisation_Data.
10217
10218 2001-12-11  Emmanuel Briot <briot@gnat.com>
10219
10220         * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
10221         + and * applied to backslashed expressions like \r.
10222
10223 2001-12-11  Vasiliy Fofanov <fofanov@gnat.com>
10224
10225         * g-os_lib.ads: String_List type added, Argument_List type is now
10226         subtype of String_List.
10227
10228 2001-12-11  Robert Dewar <dewar@gnat.com>
10229
10230         * g-os_lib.ads: Change copyright to FSF
10231         Add comments for String_List type
10232
10233 2001-12-11  Vincent Celier <celier@gnat.com>
10234
10235         * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
10236         string to the buffer).
10237
10238 2001-12-11  Ed Schonberg <schonber@gnat.com>
10239
10240         * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
10241         sem_attr.
10242
10243         * sem_attr.adb: Simplify previous fix for Address.
10244         (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
10245         to avoid anomalies where the bound of the type appears to raise
10246         constraint error.
10247
10248 2001-12-11  Robert Dewar <dewar@gnat.com>
10249
10250         * lib-xref.adb (Output_Refs): Make sure pointers are always properly
10251         handled.
10252
10253 2001-12-11  Ed Schonberg <schonber@gnat.com>
10254
10255         * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
10256         renamed unit before checking for recursive instantiations.
10257
10258 2001-12-11  Emmanuel Briot <briot@gnat.com>
10259
10260         * prj.ads: Add comments for some of the fields.
10261
10262 2001-12-11  Robert Dewar <dewar@gnat.com>
10263
10264         * lib-xref.adb (Output_Refs): Don't output type references outside
10265         the main unit if they are not otherwise referenced.
10266
10267 2001-12-11  Ed Schonberg <schonber@gnat.com>
10268
10269         * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
10270         code and diagnose additional illegal uses
10271
10272         * sem_util.adb (Is_Object_Reference): An indexed component is an
10273         object only if the prefix is.
10274
10275 2001-12-11  Vincent Celier <celier@gnat.com>
10276
10277         * g-diopit.adb: Initial version.
10278
10279         * g-diopit.ads: Initial version.
10280
10281         * g-dirope.adb:
10282         (Expand_Path): Avoid use of Unbounded_String
10283         (Find, Wildcard_Iterator): Moved to child package Iteration
10284
10285         * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
10286
10287 2001-12-11  Robert Dewar <dewar@gnat.com>
10288
10289         * sem_attr.adb: Minor reformatting
10290
10291 2001-12-11  Ed Schonberg <schonber@gnat.com>
10292
10293         * sem_ch3.adb: Clarify some ???.
10294
10295 2001-12-11  Robert Dewar <dewar@gnat.com>
10296
10297         * exp_util.adb (Must_Be_Aligned): Removed, replaced by
10298         Exp_Pakd.Known_Aligned_Enough
10299
10300         * sem_ch13.adb (Check_Address_Alignment): Removed, extended
10301         version is moved to Exp_Ch13.
10302
10303 2001-12-11  Robert Dewar <dewar@gnat.com>
10304
10305         * einfo.ads: Minor reformatting
10306
10307         * exp_ch5.adb: Add comment for previous.change
10308
10309         * ali.adb: New interface for extended typeref stuff.
10310
10311         * ali.ads: New interface for typeref stuff.
10312
10313         * checks.adb (Apply_Alignment_Check): New procedure.
10314
10315         * debug.adb: Add -gnatdM for modified ALI output
10316
10317         * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
10318
10319         * lib-xref.adb: Extend generation of <..> notation to cover
10320         subtype/object types. Note that this is a complete rewrite,
10321         getting rid of the very nasty quadratic algorithm previously
10322         used for derived type output.
10323
10324         * lib-xref.ads: Extend description of <..> notation to cover
10325         subtype/object types. Uses {..} for these other cases.
10326         Also use (..) for pointer types.
10327
10328         * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
10329
10330         * exp_pakd.adb: Minor reformatting.  Note that prevous RH should say:
10331         (Known_Aligned_Enough): Replaces Must_Be_Aligned.
10332
10333 2001-12-11  Vincent Celier <celier@gnat.com>
10334
10335         * gnatcmd.adb:
10336         Changed /COMPILE_ONLY to /ACTIONS=COMPILE
10337         Changed /BIND_ONLY to /ACTIONS=BIND
10338         Changed /LINK_ONLY to /ACTIONS=LINK
10339
10340 2001-12-11  Ed Schonberg  <schonber@gnat.com>
10341
10342         * sem_ch8.adb (Find_Selected_Component): improved search for a
10343         candidate package in case of error.
10344
10345         * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
10346         chain back on scope stack before reinstalling use clauses.
10347
10348         * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
10349         is enabled, do not kill the code for the condition, to preserve
10350         warning.
10351
10352 2001-12-11  Robert Dewar <dewar@gnat.com>
10353
10354         * checks.adb (Insert_Valid_Check): Apply validity check to expression
10355         of conversion, not to result of conversion.
10356
10357 2001-12-11  Ed Schonberg <schonber@gnat.com>
10358
10359         * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
10360         before freezing parent. If the declarations are mutually recursive,
10361         an access to the current record type may be frozen before the
10362         derivation is complete.
10363
10364 2001-12-05  Vincent Celier <celier@gnat.com>
10365
10366         * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
10367         -c /COMPILE_ONLY, -l /LINK_ONLY
10368
10369         * opt.ads:
10370         (Bind_Only): New Flag
10371         (Link_Only): New flag
10372
10373         * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
10374         and -l (Link_Only)
10375
10376         * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
10377
10378         * make.adb:
10379         (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
10380         (Gnatmake): Set the step flags. Only perform a step if the
10381         corresponding step flag is True.
10382         (Scan_Make_Arg): Reset the bind and link step flags when -u
10383         or -gnatc has been specified.
10384
10385 2001-12-05  Ed Schonberg <schonber@gnat.com>
10386
10387         * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
10388         get bounds from right operand.
10389
10390         * sem_eval.adb: Minor reformatting
10391
10392         * exp_util.adb (Make_Literal_Range): use bound of literal rather
10393         than Index'First, its lower bound may be different from 1.
10394
10395         * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
10396         and C48009J
10397
10398 2001-12-05  Vincent Celier <celier@gnat.com>
10399
10400         * prj-nmsc.adb Minor reformatting
10401
10402         * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
10403         set and libraries are not supported.
10404
10405 2001-12-05  Ed Schonberg <schonber@gnat.com>
10406
10407         * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
10408         private view explicitly, so the back-end can treat as a global
10409         when appropriate.
10410
10411 2001-12-05  Ed Schonberg <schonber@gnat.com>
10412
10413         * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
10414          unit, always replace instance node with new body, for ASIS use.
10415
10416 2001-12-05  Vincent Celier <celier@gnat.com>
10417
10418         * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
10419         libraries are not supported and both attributes Library_Name and
10420         Library_Dir are specified.
10421
10422         * prj-proc.adb (Expression): Set location of Result to location of
10423         first term.
10424
10425         * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
10426         (prj-nmsc is now importing MLib.Tgt)
10427
10428         * prj-proc.adb: Put the change indicated above that was forgotten.
10429
10430 2001-12-05  Robert Dewar <dewar@gnat.com>
10431
10432         * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
10433
10434 2001-12-05  Ed Schonberg <schonber@gnat.com>
10435
10436         * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
10437         constraint, introduce explicit subtype declaration and derive from it.
10438
10439         * sem_ch3.adb: Minor reformatting
10440
10441 2001-12-05  Robert Dewar <dewar@gnat.com>
10442
10443         * checks.adb (Determine_Range): Increase cache size for checks.
10444         Minor reformatting
10445
10446         * exp_ch6.adb: Minor reformatting
10447         (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
10448         a parameter whose root type is System.Address, since treating such
10449         subprograms as pure in the code generator is almost surely a mistake
10450         that will lead to unexpected results.
10451
10452         * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
10453         change handling of conversions.
10454
10455         * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
10456
10457 2001-12-05  Ed Schonberg <schonber@gnat.com>
10458
10459         * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
10460         aggregate with static wrong size, attach generated Raise node to
10461         declaration.
10462
10463 2001-12-05  Robert Dewar <dewar@gnat.com>
10464
10465         * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
10466         Fixes compilation abandoned bomb in B24009B.
10467
10468 2001-12-05  Ed Schonberg <schonber@gnat.com>
10469
10470         * sem_ch12.adb:
10471         Document use of Associated_Node on Selected_Components.
10472         (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
10473         to clarify use of untyped descendant fields.
10474
10475 2001-12-05  Robert Dewar <dewar@gnat.com>
10476
10477         * prj-dect.ads: Add ??? comment
10478         Add 2001 to copyright notice (was not done in after all)
10479
10480         * prj-part.adb: Minor reformatting. Reword one awkward error message.
10481
10482         * prj.ads: Minor reformatting throughout, and add some ??? comments
10483
10484         * snames.ads: Minor reformatting
10485
10486 2001-12-05  Geert Bosch <bosch@gnat.com>
10487
10488         * snames.adb: Autoupdate
10489
10490 2001-12-05  Vincent Celier <celier@gnat.com>
10491
10492         * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
10493
10494         * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
10495
10496         * prj-env.adb: Minor comment changes (modifying -> extends).
10497
10498         * prj-nmsc.adb: Minor comment changes (modifying -> extends).
10499
10500         * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
10501         Tok_Extends.
10502
10503         * prj.adb (Initialize): Change Modifying to Extends.
10504
10505         * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
10506
10507         * prj.ads: Minor comment change (Modifying -> extending).
10508
10509         * snames.ads: Change modifying to extends.
10510
10511 2001-12-05  Robert Dewar <dewar@gnat.com>
10512
10513         * sem_warn.adb: Remove stuff for conditionals, we are not going to
10514         do this after all.
10515
10516         * sem_warn.ads: Remove stuff for conditionals, we are not going to
10517         do this after all.  Add 2001 to copyright notice
10518
10519 2001-12-04  Geert Bosch <bosch@gnat.com>
10520
10521         *  einfo.h, sinfo.h, treeprs.ads: Regenerate.
10522
10523 2001-12-04  Robert Dewar <dewar@gnat.com>
10524
10525         * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
10526         location if we already have errors. Stops some cases of cascaded
10527         errors.
10528
10529         * errout.adb: Improve comment.
10530
10531 2001-12-04  Robert Dewar <dewar@gnat.com>
10532
10533         * sem_ch12.adb:
10534         (Analyze_Formal_Type_Definition): Defend against Error.
10535         (Analyze_Formal_Subprogram): Defend against Error.
10536
10537         * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
10538         remove following semicolon if present. Removes cascaded error.
10539
10540 2001-12-04  Douglas B. Rupp <rupp@gnat.com>
10541
10542         * bindgen.adb:
10543         (Gen_Exception_Table_Ada): Write "begin" and then return if Num
10544          exceptions equals 0.
10545         (Gen_Exception_Table_C): Return if Num exceptions equals 0.
10546         Fixes PIWG E tests (which have to be run with -gnatL).
10547
10548 2001-12-04  Robert Dewar <dewar@gnat.com>
10549
10550         * einfo.ads: Minor reformatting
10551
10552 2001-12-04  Ed Schonberg <schonber@gnat.com>
10553
10554         * einfo.ads: Block_Node points to the identifier of the block, not to
10555         the block node itself, to preserve the link when the block is
10556         rewritten, e.g. within an if-statement with a static condition.
10557
10558         * inline.adb (Cleanup_Scopes): recover block statement from block
10559         entity using new meaning of Block_Node.
10560
10561         * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
10562         identifier of block node, rather than to node itself.
10563
10564 2001-12-04  Gary Dismukes <dismukes@gnat.com>
10565
10566         * layout.adb:
10567         (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
10568         (Discrimify): Go back to setting the Etypes of the selected component
10569         because the Vname component does not exist at this point and will
10570         fail name resolution. Also set Analyzed.
10571         Remove with and use of Sem_Res.
10572
10573 2001-12-04  Arnaud Charlet <charlet@gnat.com>
10574
10575         * Makefile.in: (HIE_SOURCES): add s-fat*.
10576
10577 2001-12-04  Robert Dewar <dewar@gnat.com>
10578
10579         * sem_attr.adb:
10580         (Compile_Time_Known_Attribute): New procedure.
10581         (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
10582          proper range check.
10583
10584 2001-12-04  Ed Schonberg <schonber@gnat.com>
10585
10586         * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
10587         processing discriminants to diagnose illegal default values.
10588
10589 2001-12-04  Ed Schonberg <schonber@gnat.com>
10590
10591         * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
10592         access discriminant within a type extension that constrains its
10593         parent discriminants.
10594
10595 2001-12-04  Ed Schonberg <schonber@gnat.com>
10596
10597         * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
10598         is malformed, use instance of Any_Id to allow analysis to proceed.
10599
10600         * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
10601         type definition is illegal.
10602         (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
10603         misplaced.
10604
10605 2001-12-04  Ed Schonberg <schonber@gnat.com>
10606
10607         * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
10608         constants.
10609
10610 2001-12-04  Robert Dewar <dewar@gnat.com>
10611
10612         * errout.adb: Minor reformatting
10613
10614 2001-12-04  Robert Dewar <dewar@gnat.com>
10615
10616         * exp_util.adb: Minor reformatting from last change
10617
10618         * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
10619         which is a rewriting of an expression, traverse the original
10620         expression to remove warnings that may have been posted on it.
10621
10622 2001-12-04  Ed Schonberg <schonber@gnat.com>
10623
10624         * exp_util.adb (Must_Be_Aligned): Return false for a component of a
10625         record that has other packed components.
10626
10627 2001-12-04  Douglass B. Rupp <rupp@gnat.com>
10628
10629         * adaint.c: Minor cleanups.
10630
10631 2001-12-04  Douglass B. Rupp <rupp@gnat.com>
10632
10633         * adaint.c: Do not use utime.h on vxworks.
10634
10635 2001-12-04  Arnaud Charlet <charlet@gnat.com>
10636
10637         * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
10638         more confusion than it solves.
10639
10640 2001-12-04  Geert bosch <bosch@gnat.com>
10641
10642         * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
10643
10644 2001-12-04  Geert Bosch  <bosch@gnat.com>
10645
10646         * Makefile.in (update-sources): New target.
10647         For use by gcc_release script.
10648
10649 2001-12-04  Ed Schonberg <schonber@gnat.com>
10650
10651         * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
10652         a configuration pragma, it is now legal wherever a pragma can appear.
10653
10654 2001-12-04  Zack Weinberg  <zack@codesourcery.com>
10655
10656         * Makefile.in: Don't set ALL.  Delete @cross_defines@,
10657         @cross_overrides@, @build_overrides@ stanzas.  INTERNAL_CFLAGS
10658         is now @CROSS@ -DIN_GCC; update comment.
10659
10660 2001-12-04  Robert Dewar <dewar@gnat.com>
10661
10662         * einfo.adb (Has_Pragma_Pure_Function): New flag.
10663         Fix problem that stopped ceinfo from working
10664
10665         * einfo.ads (Has_Pragma_Pure_Function): New flag.
10666
10667         * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
10668
10669 2001-12-04  Douglas B. Rupp <rupp@gnat.com>
10670
10671         * gnatchop.adb:
10672         (File_Time_Stamp): New procedure.
10673         (Preserve_Mode): New boolean.
10674         (Write_Unit): Pass time stamp.
10675         Implement -p switch (preserve time stamps).
10676
10677         * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
10678
10679         * gnatchop.adb: Do usage info for -p switch
10680
10681         * adaint.h (__gnat_set_file_time_name): New function
10682
10683         * adaint.c (__gnat_set_file_time_name): Implement
10684
10685         * adaint.h: Fix typo
10686
10687 2001-12-03  Robert Dewar <dewar@gnat.com>
10688
10689         * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
10690         have Associated_Node.
10691
10692 2001-12-03  Robert Dewar <dewar@gnat.com>
10693
10694         * prj-proc.adb: Minor reformatting
10695
10696         * make.adb: Minor reformatting
10697
10698 2001-12-03  Geert Bosch <bosch@gnat.com>
10699
10700         * make.adb: Minor reformatting.
10701
10702 2001-12-03 Robert Dewar  <dewar@gnat.com>
10703
10704         * sem_ch12.adb: Minor reformatting
10705
10706 2001-12-03  Ed Schonberg <schonber@gnat.com>
10707
10708         * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
10709         push Standard on the stack before analyzing the instance body,
10710         in order to have a clean visibility environment.
10711
10712         * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
10713
10714 2001-12-03  Ed Schonberg <schonber@gnat.com>
10715
10716         * sem_ch12.adb (Instantiate_Package_Body): Protect against double
10717         instantiation of a body that contains an inlined body.
10718
10719 2001-12-03  Ed Schonberg <schonber@gnat.com>
10720
10721         * sem_ch12.adb:
10722         (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
10723         to prevent freezing within formal packages.
10724         (Freeze_Subprogram_Body): If body comes from another instance that
10725         appeared before its own body, place freeze node at end of current
10726         declarative part, to prevent a back-end crash.
10727         (Inline_Instance_Body): Handle properly a package instance within
10728         a subprogram instance that is a child unit.
10729
10730 2001-12-01  Graham Stott  <grahams@redhat.com>
10731
10732         * Makefile.in (misc.o): Add missing $(srcdir) prefix
10733         and add optabs.h dependency.
10734
10735         * misc.c: Include optabs.h
10736         (gnat_tree_code_type): Make static and const.
10737         (gnat_tree_code_length): Likewise.
10738         (gnat_tree_code_name): Likewise.
10739         (update_setjmp_buf): Obtain operands mode from insn_data.
10740
10741 2001-11-29  Richard Henderson  <rth@redhat.com>
10742
10743         * init.c: Remove obsolete dwarf2 frame.h section.
10744
10745 2001-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
10746
10747         * Make-lang.in (ada.generated-manpages): New dummy target.
10748
10749 2001-11-29  Ed Schonberg <schonber@gnat.com>
10750
10751         * g-os_lib.adb (Add_To_Command): use explicit loop to move string
10752         into Command, an array conversion is illegal here. Uncovered by
10753         ACATS B460005.
10754
10755 2001/11/28  Geert Bosch <bosch@gnat.com>
10756
10757         * init.c: Minor whitespace changes.
10758
10759 2001-11-28  Doug Rupp <rupp@gnat.com>
10760
10761         * init.c: (__gnat_install_handler,VMS): Increase size of alternate
10762         signal stack.
10763
10764 2001-11-28  Zack Weinberg  <zack@codesourcery.com>
10765
10766         * misc.c (gnat_expand_constant): Move declaration above
10767         definition of lang_hooks.
10768         (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
10769         (gnat_init): lang_expand_constant no longer exists.
10770
10771         (internal_error_function): Remove #ifdef HAVE_VPRINTF.  We
10772         always have vprintf.
10773         (gnat_init): Always call set_internal_error_function.
10774
10775 2001-11-27  Andreas Jaeger  <aj@suse.de>
10776
10777         * Makefile.in (stamp-tool_src_dir): Use symbolic link.
10778
10779 2001-11-27  Laurent Guerby  <guerby@acm.org>
10780
10781         * Makefile.in: Regenerate Ada dependencies.
10782
10783 2001-11-26  Richard Henderson  <rth@redhat.com>
10784
10785         * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
10786         gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
10787         gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
10788
10789 2001-11-25  Laurent Guerby  <guerby@acm.org>
10790
10791         * sysdep.c (rts_get_*): Fix style.
10792
10793 2001-11-19  Laurent Guerby  <guerby@acm.org>
10794
10795         * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
10796         since it is of no apparent use and cause warnings.
10797
10798 2001-11-18  Neil Booth  <neil@daikokuya.demon.co.uk>
10799
10800         * misc.c (gnat_decode_option, gnat_init_options): Make definitions
10801         static too.
10802         (gnat_init): Don't return NULL.
10803         (finish_parse): Remove.
10804
10805 2001-11-17  Laurent Guerby  <guerby@acm.org>
10806
10807         * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
10808         * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
10809         * io-aux.c: Provide K&R prototypes to all functions, reformat code.
10810         * lang-spec.h: Add missing struct field to silence warnings.
10811         * sysdep.c (rts_get_*): Provide K&R prototype.
10812         * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
10813         * traceback.c (Unlock_Task, Lock_Task): Likewise.
10814         * tracebak.c (__gnat_backtrace): Remove unused variable.
10815         * utils.c (end_subprog_body): Move to K&R style.
10816
10817 Thu Nov 15 18:16:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
10818
10819         * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
10820
10821 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
10822
10823         * misc.c (gnat_init): Change prototype.  Include the
10824         functionality of the old init_parse and init_decl_processing.
10825         (gnat_init_decl_processing): New prototype.
10826         (init_parse): Remove.
10827         * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
10828
10829 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10830
10831         * misc.c (gnat_print_decl, gnat_print_type): Renamed.
10832         (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
10833         (print_lang_statistics, lang_print_xnode, print_lang_identifier,
10834         set_yydebug): Remove.
10835
10836 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
10837
10838         * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
10839         (struct lang_hooks): Constify.
10840         (language_string, lang_identify): Remove.
10841         * utils.c (init_decl_processing): Update.
10842
10843 2001-11-06  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
10844
10845         * misc.c: Include langhooks-def.h.
10846         * Makefile.in: Update.
10847
10848 2001-10-30  Robert Dewar <dewar@gnat.com>
10849
10850         * style.adb:
10851         (Check_Identifier): Rewrite circuit to be compatible with use of letters
10852         in the upper half of ASCII.
10853         (Check_Identifier): Minor reformatting
10854
10855 2001-10-30  Geert Bosch <bosch@gnat.com>
10856
10857         * (Associated_Node, Set_Associated_Node): Do not check for
10858         Freeze_Entity.
10859
10860 2001-10-30  Robert Dewar <dewar@gnat.com>
10861
10862         * a-reatim.ads: Minor reformatting
10863
10864 2001-10-30  Robert Dewar <dewar@gnat.com>
10865
10866         * gnatdll.adb: Minor reformatting throughout. Many ??? added for
10867         undocumented declarations.
10868
10869 2001-10-30  Pascal Obry <obry@gnat.com>
10870
10871         * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
10872         to the binder and linker.
10873         Minor style fix.
10874
10875         * mdll.ads: Fix layout.  Update copyright notice.
10876
10877         * mdll.adb: Fix layout.  Update copyright notice.
10878
10879 2001-10-30  Robert Dewar <dewar@gnat.com>
10880
10881         * usage.adb: Minor fix to output for -gnaty.
10882
10883 2001-10-30  Ed Schonberg <schonber@gnat.com>
10884
10885         * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
10886         to accommodate all its possible values.
10887
10888         * a-reatim.adb (Split): Special-case handling of Time_Span_First
10889         and of small absolute values of T.
10890
10891 2001-10-30  Richard Kenner <kenner@gnat.com>
10892
10893         * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
10894         set_mem_attributes since not needed and wrong if RESULT if a REG;
10895         fixes ACATS failures.
10896
10897 2001-10-30  Geert Bosch <bosch@gnat.com>
10898
10899         * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
10900         s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
10901
10902 2001-10-30  Robert Dewar <dewar@gnat.com>
10903
10904         * bindusg.adb: Undocument -f switch.
10905
10906         * gnatcmd.adb: Remove /FULL_ELABORATION.
10907
10908         * opt.ads (Force_RM_Elaboration_Order): Document that this is
10909         obsolescent.
10910
10911         * gnatbind.adb: Output new warning for use of obsolescent -f switch.
10912
10913         * gnatbind.adb: Minor update of warning msg.
10914
10915 2001-10-30  Vincent Celier <celier@gnat.com>
10916
10917         * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
10918         for project file switches (-P (/PROJECT_FILE=),
10919          -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
10920         or MEDIUM or HIGH)
10921
10922 2001-10-30  Geert Bosch <bosch@gnat.com>
10923
10924         * decl.c: Minor whitespace fixes.
10925
10926 2001-10-30  Richard Kenner <kenner@gnat.com>
10927
10928         * utils2.c (build_allocator): Test for SIZE overflow in array case too
10929
10930 2001-10-30  Geert Bosch <bosch@gnat.com>
10931
10932         * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
10933         Found due to GCC 3.0 warning of using uninitialized value.
10934
10935         * layout.adb:
10936         (Get_Max_Size): Use variant record for tracking value/expression.
10937          Makes logic clearer and prevents warnings for uninitialized variables.
10938         (Layout_Array_Type): Use variant record for tracking value/expression.
10939          Makes logic clearer and prevents warnings for uninitialized variables.
10940
10941 2001-10-30  Robert Dewar <dewar@gnat.com>
10942
10943         * lib.adb: Minor reformatting
10944
10945         * s-taprop.ads: Minor reformatting
10946
10947 2001-10-29  Laurent Guerby  <guerby@acm.org>
10948
10949         * init.c:
10950         (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
10951         const.
10952         (_gnat_error_handler): Make MSG const.
10953
10954 2001-10-29  Richard Kenner <kenner@gnat.com>
10955
10956         * sysdep.c: Fix localtime_r problem on LynxOS.
10957         Also remove #elif to avoid warnings.
10958
10959         * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
10960         used by this.
10961
10962         * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
10963
10964 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
10965
10966         * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
10967         exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
10968         g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
10969         g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
10970         layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
10971         s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
10972         sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
10973         sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
10974         sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
10975         types.ads, urealp.adb: Fix spelling errors.
10976
10977 2001-10-27  Laurent Guerby <guerby@acm.org>
10978
10979         * trans.c (gigi): Fix non determinism leading to bootstrap
10980         comparison failures for debugging information.
10981
10982 2001-10-26  Florian Weimer  <fw@deneb.enyo.de>
10983
10984         * gnat_rm.texi: Use @./@: where appropriate.
10985
10986 2001-10-26  Robert Dewar <dewar@gnat.com>
10987
10988         * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
10989
10990 2001-10-26  Richard Kenner <kenner@gnat.com>
10991
10992         * gmem.c (__gnat_gmem_read_next): Properly check for EOF
10993
10994 2001-10-26  Richard Kenner <kenner@gnat.com>
10995
10996         * decl.c (validate_size): Modify message for bad size to avoid
10997         implication that compiler is modifying the size.
10998
10999 2001-10-26  Robert Dewar <dewar@gnat.com>
11000
11001         * prj-util.adb: Minor reformatting. Fix bad header format.
11002
11003 2001-10-26  Robert Dewar <dewar@gnat.com>
11004
11005         * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
11006
11007         * sinfo.ads: Clarify use of Associated_Node (documentation only).
11008
11009         * sem_ch12.adb: Change Node4 to Associated_Node. Change
11010         Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
11011         much more narrowly in places where needed. These are cleanups.
11012
11013 2001-10-26  Joel Brobecker <brobecke@gnat.com>
11014
11015         * 5zosinte.ads (null_pthread): new constant.
11016
11017         * 5ztaprop.adb:
11018         (Initialize_TCB): Initialize thread ID to null, to be able to verify
11019          later that this field has been set.
11020         (Finalize_TCB): ditto.
11021         (Suspend_Task): Verify that the thread ID is not null before using it.
11022         (Resume_Task): ditto.
11023
11024         * s-tasdeb.adb:
11025         (Resume_All_Tasks): Lock the tasks list before using it.
11026         (Suspend_All_Tasks): ditto.
11027
11028 2001-10-26  Richard Kenner <kenner@gnat.com>
11029
11030         * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
11031         Make constant variant of designated type for Is_Access_Constant.
11032         Call update_pointer_to with main variant.
11033
11034         * trans.c (process_freeze_entity, process_type):
11035         Call update_pointer_to on main variant.
11036
11037         * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
11038         If main variant, update all other variants.
11039
11040         * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
11041         TREE_STATIC.
11042
11043 2001-10-26  Robert Dewar <dewar@gnat.com>
11044
11045         * prj-util.adb: Minor reformatting
11046
11047 2001-10-26  Robert Dewar <dewar@gnat.com>
11048
11049         * prj-util.adb: Minor reformatting
11050
11051 2001-10-26  Robert Dewar <dewar@gnat.com>
11052
11053         * prj-attr.adb: Minor reformatting throughout
11054
11055 2001-10-26  Robert Dewar <dewar@gnat.com>
11056
11057         * prj-attr.ads: Minor reformatting
11058         Add ??? comment (this whole spec has almost no comments)
11059
11060 2001-10-26  Vincent Celier <celier@gnat.com>
11061
11062         * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
11063         ("//") that precede the drive letter on Interix.
11064
11065 2001-10-26  Geert Bosch <bosch@gnat.com>
11066
11067         * gnat_rm.texi: Add GNAT Reference Manual.
11068
11069 2001-10-25  Robert Dewar <dewar@gnat.com>
11070
11071         * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
11072         is Error. Similar change for other renaming cases.
11073
11074 2001-10-25  Robert Dewar <dewar@gnat.com>
11075
11076         * s-atacco.ads: Add pragma Inline_Always for functions.
11077         Fix header format. Add copyright 2001
11078
11079 2001-10-25  Ed Schonberg <schonber@gnat.com>
11080
11081         * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
11082         return Error rather than Empty so that analysis can proceed.
11083
11084 2001-10-25  Ed Schonberg <schonber@gnat.com>
11085
11086         * sem_util.adb (Enter_Name): better handling of cascaded error
11087         messages when a unit appears in its own context.
11088
11089 2001-10-25  Ed Schonberg <schonber@gnat.com>
11090
11091         * sem_util.adb (Defining_Entity): in case of error, attach created
11092         entity to specification, so that semantic analysis can proceed.
11093
11094 2001-10-25  Robert Dewar <dewar@gnat.com>
11095
11096         * sem_util.adb
11097         (Defining_Entity): Deal with Error.
11098         (Process_End_Label): Deal with bad end label for.
11099
11100 2001-10-25  Ed Schonberg <schonber@gnat.com>
11101
11102         * sem_elab.adb (Check_A_Call): refine message when call is in an
11103         instance but callee is not declared in the generic unit.
11104
11105 2001-10-25  Ed Schonberg <schonber@gnat.com>
11106
11107         * sem_elab.adb (Check_A_Call): check for renaming before finding the
11108         enclosing unit, which may already be different from the calling unit.
11109
11110 2001-10-25  Geert Bosch <bosch@gnat.com>
11111
11112         * 4gintnam.ads: fix header format.
11113
11114 2001-10-25  Ed Schonberg <schonber@gnat.com>
11115
11116         * sem_res.adb (Resolve_Call): if the call is actually an indexing
11117         operation on the result of a parameterless call, perform elaboration
11118         check after the node has been properly rewritten.
11119
11120         * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
11121         inlined within the generic tree, the defining identifier is not a
11122         compilation_unit.
11123
11124 2001-10-25  Ed Schonberg <schonber@gnat.com>
11125
11126         * sem_res.adb (Resolve): special-case resolution of Null in an
11127          instance or an inlined body to avoid view conflicts.
11128
11129         * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
11130          compatibility by retrieving the access type of the generic copy.
11131
11132 2001-10-25  Robert Dewar <dewar@gnat.com>
11133
11134         * sem_ch3.adb:
11135         (Analyze_Number_Declaration): Handle error expression.
11136         (Signed_Integer_Type_Declaration): Handle error bound.
11137         (Analyze_Subtype_Indication): Handle error range.
11138
11139         * sem_util.adb (Get_Index_Bounds): Check for Error.
11140
11141 2001-10-25  Robert Dewar <dewar@gnat.com>
11142
11143         * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
11144         in no run time mode.
11145
11146 2001-10-25  Pascal Obry <obry@gnat.com>
11147
11148         * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
11149         mode case for ALLOC case.
11150
11151         * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
11152         all platforms. Improvement of last change.
11153
11154 2001-10-25  Robert Dewar <dewar@gnat.com>
11155
11156         * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
11157
11158 2001-10-25  Geert Bosch  <bosch@gnat.com>
11159
11160         * osint.adb (Is_Relative): Remove duplicate.
11161
11162 2001-10-25  Pascal Obry <obry@gnat.com>
11163
11164         * osint.adb (Read_Default_Search_Dirs): correctly detect relative
11165         pathnames in UNIX and DOS style with drive letter.
11166         (Is_Relative): new routine.
11167
11168         * osint.adb: Minor reformatting
11169
11170         * osint.adb (Is_Relative): implementation using
11171         GNAT.OS_Lib.Is_Absolute_Path. Better fix.
11172
11173 2001-10-25  Pascal Obry <obry@gnat.com>
11174
11175         * g-dirope.adb (Basename): correctly compute offset between the
11176         original Path and the translated one.
11177
11178         * g-dirope.adb: (Base_Name): add some comments.
11179
11180 2001-10-25  Robert Dewar <dewar@gnat.com>
11181
11182         * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
11183         in HIE mode, avoids compilation abandoned message
11184
11185         * exp_imgv.adb: Correct typo in previous change
11186
11187         * exp_imgv.adb: Correct typo in previous change (not my day!)
11188
11189 2001-10-25  Robert Dewar <dewar@gnat.com>
11190
11191         * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
11192
11193 2001-10-25  Pascal Obry <obry@gnat.com>
11194
11195         * g-awk.ads: Move all pragma inlines next to the routine
11196          declarations. This is more uniform with other GNAT spec.
11197
11198 2001-10-22  Geert Bosch  <bosch@gnat.com>
11199
11200         * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
11201
11202 2001-10-19  Geert Bosch  <bosch@gnat.com>
11203
11204         * Makefile.in (tools, gnattools): Remove gnatmem.
11205
11206 2001-10-17  Richard Henderson  <rth@redhat.com>
11207
11208         * Makefile.in (misc.o): Depend on langhooks.h.
11209         * misc.c: Include it.
11210         (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
11211         (LANG_HOOKS_DECODE_OPTION): New.
11212         (lang_hooks): Use LANG_HOOKS_INITIALIZER.
11213
11214 2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
11215
11216         * trans.c (tree_transform): Adjust to recent change in
11217         expand_asm_operands to implement named asm operands.
11218
11219 2001-10-11  Ed Schonberg  <schonber@gnat.com>
11220
11221         * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
11222         renaming of discriminant for mutable record type.
11223
11224 2001-10-11  Robert Dewar  <dewar@gnat.com>
11225
11226         * validsw.adb: Properly save -gnatVn status.
11227
11228 2001-10-11  Robert Dewar <dewar@gnat.com>
11229
11230         * usage.adb: Add lines for V switch.
11231
11232         * gnatcmd.adb (COMPILE): Revise translations for -gnatV
11233         (/VALIDITY_CHECKING).
11234
11235 2001-10-11  Ed Schonberg <schonber@gnat.com>
11236
11237         * sem_type.adb (Add_One_Interp): an operator for a type declared in
11238         an extension of System is known to be visible.
11239
11240 2001-10-11  Ed Schonberg <schonber@gnat.com>
11241
11242         * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
11243         properly. Fixes regression on ACATS C34005G.
11244
11245 2001-10-11  Robert Dewar <dewar@gnat.com>
11246
11247         * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
11248         loop in generic instance, since this is likely not very useful.
11249
11250 2001-10-11  Robert Dewar <dewar@gnat.com>
11251
11252         * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
11253         the error message for high integrity mode.
11254
11255         * rtsfind.adb (RTE): Give message if we try to find an entity that
11256         is not available in high integrity mode.
11257
11258         * rtsfind.ads:
11259         (OK_To_Use_In_HIE_Mode): New array.
11260         (RTE): May return Empty in high integrity mode.
11261
11262         * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
11263         OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
11264
11265         * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
11266         unit if not inlined always and in no runtime mode. Fixes problem
11267         caused by new Rtsfind changes.
11268
11269         * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
11270         body is deleted.
11271
11272         * rtsfind.adb (RTE): Make sure we do not try to load unit after
11273         giving message for entity not available in high integrity mode.
11274
11275 2001-10-11  Pascal Obry <obry@gnat.com>
11276
11277         * impunit.adb: Add GNAT.CRC32.
11278
11279 2001-10-11  Ed Schonberg <schonber@gnat.com>
11280
11281         * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
11282         properly the case where one universal operand in a non-static
11283         exponentiation of a real literal.
11284
11285 2001-10-11  Ed Schonberg <schonber@gnat.com>
11286
11287         * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
11288         clause, return the gobal finalization list, for lack of anthing else.
11289
11290 2001-10-11  Ed Schonberg <schonber@gnat.com>
11291
11292         * exp_ch7.adb (Make_Transient_Block): if statement is within
11293         exception handler, always use new transient scope to place Clean
11294         procedure.
11295
11296 2001-10-11  Pascal Obry <obry@gnat.com>
11297
11298         * Makefile.in:
11299         (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
11300         (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
11301         (GNATLS_RTL_OBJS): add g-crc32.o
11302         (GNATMAKE_RTL_OBJS): add g-crc32.o
11303
11304         * ali-util.adb:
11305         (CRC_Match): new function.
11306         (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
11307         instead of the previous simple checksum algorithm.
11308         (Time_Stamp_Mismatch): use CRC_Match for comparison.
11309         (Set_Source_Table): idem.
11310
11311         * ali-util.ads:
11312         (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
11313         instead of simple checksum.
11314         (CRC_Match): new function.
11315         (CRC_Error): new constant.
11316
11317         * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
11318         a CRC now and not a simple checksum. A CRC uses lower-case hex
11319         letters, fixes ambiguity in parsing.
11320
11321         * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
11322         is what this variable will store.
11323
11324         * bcheck.adb: Change reference to chechsum in comments by CRC.
11325         (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
11326         rename All_Checksum_Match to All_CRC_Match. Change due to API
11327         renaming since now GNAT does not use a simple checksum but a
11328         CRC using GNAT.CRC32.
11329
11330         * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
11331         now and not anymore a simple checksum.
11332
11333         * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
11334         places.
11335
11336         * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
11337
11338         * scans.adb:
11339         (Restore_Scan_State): rename Checksum to CRC.
11340         (Save_Scan_State): idem.
11341
11342         * scans.ads:
11343         With GNAT.CRC32.
11344         (Checksum): rename to CRC.
11345         (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
11346
11347         * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
11348         GNAT.CRC32).  Update copyright notice.
11349
11350         * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
11351         GNAT.CRC32).  Update copyright notice.
11352
11353         * scn.adb:
11354         (Accumulate_Checksum): removed.
11355         (Update): new procedure. Add a wide-character into the CRC.
11356
11357         * sinput-l.adb:
11358         (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
11359         (Load_File): fix initialization of S (change Source_Checksum to
11360         Source_CRC)
11361
11362         * sinput-p.adb (Load_Project_File): rename Source_Checksum to
11363         Source_CRC in S initialization.
11364
11365         * sinput.adb (Source_Checksum): renamed to Source_CRC.
11366
11367         * sinput.ads (Source_Checksum): renamed to Source_CRC.
11368         Update comments for the CRC.
11369
11370         * types.adb (Hex): Use lowercase for the letter part.
11371
11372         * types.ads (Get_Hex_String): Returns the hexadecimal representation
11373         for a word. This is currently used only for CRC. In previous version,
11374         the checksum was using a representation with all letter being
11375         upper-case. With the new implementation (using CRC) we do not remove
11376         the 32th bit of the CRC, so we can have an upper-case starting letter
11377         in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
11378         It is ambigous since the CRC was optional and could be followed by
11379         options like EB, EE. So now this routines uses lower-case letter for
11380         the hexadecimal representation. Strange enough only lower case letters
11381         where checked in Scan_ALI (even if this was not a possible case).
11382
11383         * gnatvsn.ads (Library_Version): changed to 3.15a.
11384
11385         * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
11386         for the compiler.
11387
11388         * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
11389         for the compiler.
11390
11391         * ali-util.adb: Redo previous change to avoid using word CRC everywhere
11392         Add 2001 to copyright notice
11393         (Accumulate_Checksum): Modify to use System.CRC32.
11394
11395         * ali-util.ads: Redo changes of previous revision to continue to use
11396         the word Checksum. Add 2001 to copyright notice.
11397
11398         * ali.adb: Undo some of previous changes, not needed.
11399         Keep the change for lower case letters in the checksum.
11400
11401         * ali.ads: Undo previous change not needed.
11402
11403         * bcheck.adb: Undo most of previous change, not needed.
11404         But do use Checksums_Match for checksum comparison.
11405
11406         * gnatls.adb: Undo most of previous change, not needed.
11407         But do use Checksums_Match for comparing checksums.
11408
11409         * lib-load.adb: Undo previous change, not needed.
11410
11411         * lib-writ.adb: Undo previous change, not needed.
11412
11413         * lib-writ.ads: Document that checksums use lower case,
11414         not upper case letters.
11415
11416         * scans.adb: Undo previous change, not needed
11417
11418         * scans.ads: Undo previous change, not needed.
11419
11420         * scn-nlit.adb: Undo previous changes, not needed.
11421
11422         * scn-slit.adb: Undo previous change, not needed.  Fix header format.
11423
11424         * scn.adb:
11425         (Accumulate_Checksum): Use System.CRC32.
11426         (Initialize_Checksum): New procedure.
11427         Remove other changes of previous revision.
11428
11429         * sinput-p.adb: Undo previous change, not needed.
11430
11431         * sinput.adb: Undo previous change, not needed.
11432
11433         * sinput-l.adb: Undo previous change, not needed.
11434
11435         * sinput.ads: Undo previous change, not needed.  Keep only comment
11436         on new checksum algorithm
11437
11438         * Makefile.in: Add s-crc32 as needed, remove g-crc32.
11439         Also remove a-tags and a-stream from GNAT sources.
11440
11441         * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
11442
11443         * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
11444
11445 2001-10-11  Geert Bosch  <bosch@gnat.com>
11446
11447         * einfo.h: Regenerate.
11448
11449         * nmake.ads: Regenerate.
11450
11451         * nmake.adb: Regenerate.
11452
11453         * sinfo.h: Regenerate.
11454
11455         * treeprs.adb: Regenerate.
11456
11457 2001-10-10  Geert Bosch  <bosch@gnat.com>
11458
11459         * gnat-style.texi: New file describing coding guidelines for Ada.
11460
11461 2001-10-10  Ed Schonberg <schonber@gnat.com>
11462
11463         * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
11464         is Flag174.
11465
11466 2001-10-10  Geert Bosch  <bosch@gnat.com>
11467
11468         * snames.ads: Add new names for project facility.
11469
11470         * snames.adb: Update to reflect snames.ads changes.
11471
11472         * snames.h: Update to reflect snames.ads changes.
11473
11474 2001-10-10  Vincent Celier <celier@gnat.com>
11475
11476         * make.adb:
11477         (Add_Switches): reflect the changes for the switches attributes
11478         Default_Switches indexed by the programming language,
11479         Switches indexed by the file name.
11480         (Collect_Arguments_And_Compile): Idem.
11481         Reflect the attribute name changes.
11482
11483         * prj-attr.adb:
11484         (Initialisation_Data): Change the names of some packages and
11485         attributes.
11486         (Initialize): process case insensitive associative arrays.
11487
11488         * prj-attr.ads:
11489         (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
11490
11491         * prj-dect.adb:
11492         (Parse_Attribute_Declaration): For case insensitive associative
11493          arrays, set the index string to lower case.
11494
11495         * prj-env.adb:
11496         Reflect the changes of the project attributes.
11497
11498         * prj-nmsc.adb:
11499         Replace Check_Naming_Scheme by Ada_Check and
11500         Language_Independent_Check.
11501
11502         * prj-nmsc.ads:
11503         Replaced Check_Naming_Scheme by 2 procedures:
11504         Ada_Check and Language_Independent_Check.
11505
11506         * prj-proc.adb:
11507         (Process_Declarative_Items): For case-insensitive associative
11508         arrays, set the index string to lower case.
11509         (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
11510         Prj.Nmsc.Check_Naming_Scheme.
11511
11512         * prj-tree.adb:
11513         (Case_Insensitive): New function
11514         (Set_Case_Insensitive): New procedure
11515
11516         * prj-tree.ads:
11517         (Case_Insensitive): New function
11518         (Set_Case_Insensitive): New procedure
11519         (Project_Node_Record): New flag Case_Insensitive.
11520
11521         * prj-util.adb:
11522         (Value_Of): new function to get the string value of a single
11523         string variable or attribute.
11524
11525         * prj-util.ads:
11526         (Value_Of): new function to get the string value of a single
11527         string variable or attribute.
11528
11529         * prj.adb:
11530         (Ada_Default_Spec_Suffix): New function
11531         (Ada_Default_Impl_Suffix): New function
11532         Change definitions of several constants to reflect
11533         new components of record types.
11534
11535         * prj.ads:
11536         (Naming_Data): Change several components to reflect new
11537         elements of naming schemes.
11538         (Project_Data): New flags Sources_Present and
11539         Language_Independent_Checked.
11540         (Ada_Default_Spec_Suffix): New function.
11541         (Ada_Default_Impl_Suffix): New function.
11542
11543         * snames.ads:
11544         Modification of predefined names for project manager: added
11545         Implementation, Specification_Exceptions, Implementation_Exceptions,
11546         Specification_Suffix, Implementation_Suffix, Separate_Suffix,
11547         Default_Switches, _Languages, Builder, Cross_Reference,
11548         Finder. Removed Body_Part, Specification_Append, Body_Append,
11549         Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
11550         Gnatlink.
11551
11552         * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
11553         Add comments.
11554
11555         * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
11556         not that it is Nil_Variable_Value.
11557
11558         * prj.ads: Add ??? for uncommented declarations
11559
11560 2001-10-10  Ed Schonberg <schonber@gnat.com>
11561
11562         * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
11563         constant, do not indicate possible modification, so that gigi can
11564         treat it as a bona fide constant.
11565
11566 2001-10-10  Robert Dewar <dewar@gnat.com>
11567
11568         * sem_prag.adb: Add processing for pragma External.
11569
11570         * snames.ads: Add entry for pragma External.
11571
11572         * par-prag.adb: Add pragma External.
11573
11574         * snames.adb: Updated to match snames.ads.
11575
11576 2001-10-10  Ed Schonberg <schonber@gnat.com>
11577
11578         * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
11579         a dynamic task if the allocator appears in an indexed assignment
11580         or selected component assignment.
11581
11582         * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
11583         For a dynamic task in an assignment statement, use target of
11584         assignment to generate meaningful name.
11585
11586 2001-10-10  Ed Schonberg <schonber@gnat.com>
11587
11588         * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
11589         a generic package.
11590
11591         * einfo.ads: Body_Entity is also defined for generic package.
11592         Documentation change only
11593
11594         * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
11595         others_choice for a discriminated component initialization,
11596         convert discriminant references into the corresponding discriminals.
11597
11598         * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
11599         only if original type is private and expression has to be wrapped
11600         in a conversion.
11601
11602         * checks.adb:
11603         (Apply_Constraint_Check): Do not perform length check
11604         if expression is an aggregate with only an others_choice.
11605         (Length_N_Cond): two references to the same in_parameter
11606         (typically the discriminal in an init_proc) denote the same value.
11607         Two useful optimization uncovered by bugfixes above.
11608
11609 2001-10-10  Robert Dewar <dewar@gnat.com>
11610
11611         * xeinfo.adb: Change int to char in translation of enumeration types.
11612         This fixes a problem in the C representation of component alignment.
11613         Add 2001 to copyright notice
11614
11615 2001-10-10  Richard Kenner <kenner@gnat.com>
11616
11617         * decl.c: (validate_size): Do check size of object of integral type
11618         if it is a packed array type.
11619
11620 2001-10-10  Richard Kenner <kenner@gnat.com>
11621
11622         * decl.c: (gnat_to_gnu_entity, case object): Also materialize
11623         VAR_DECL for constant if not Is_Public but -O0.
11624
11625 2001-10-10  Richard Kenner  <kenner@gnat.com>
11626
11627         * misc.c (struct lang_hooks): Add new initializer to match GCC change.
11628
11629 2001-10-10  Geert Bosch  <bosch@gnat.com>
11630
11631         * xnmake.adb (XNmake): Fix handling of -s/-b options.  No longer
11632         use '/' as switch character, allowing for absolute file names.
11633
11634 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
11635
11636         * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
11637         FSF address.
11638
11639 2001-10-08  Geert Bosch  <bosch@gnat.com>
11640
11641         * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
11642         Automatically build utilities when files need to be regenerated.
11643
11644 2001-10-08  Geert Bosch  <bosch@gnat.com>
11645
11646         * xsnames.adb: New utility for updating snames.ads and snames.adb
11647
11648 2001-10-08  Zack Weinberg  <zack@codesourcery.com>
11649
11650         * Make-lang.in (ADAFLAGS): Add -W -Wall.
11651         (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
11652         (gnat1): Also depend on attribs.o.
11653         (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
11654         * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
11655         (ADAC): Set to @ADAC@ in stage1, $(CC) later.
11656         (ADAFLAGS): Add -W -Wall.
11657         (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
11658         take out CFLAGS.
11659
11660         (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
11661         s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
11662         s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
11663         Use $(ADAC), not $(CC), as compilation command.
11664
11665         (gnattools): Depend directly on tools to build, don't use
11666         recursive make.
11667         (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
11668
11669         * einfo.h, sinfo.h: New files (autogenerated).
11670
11671 2001-10-08  Richard Henderson  <rth@redhat.com>
11672
11673         * comperr.adb (Abort_In_Progress): New.
11674         (Compiler_Abort): Use it to prevent recursion.
11675
11676 2001-10-08  Robert Dewar <dewar@gnat.com>
11677
11678         * atree.adb: Set Error_Posted in Error node, helps error recovery.
11679
11680         * par-endh.adb (Output_End_Expected): We should also not test
11681         Error_Posted on the Error node, since now it is always set.
11682
11683         * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
11684         to help error recovery. Part of general work on 9407-004.
11685
11686         * par.adb: Add ??? for misuse of error
11687
11688         * sem_res.adb:
11689         (Resolve): Defend against Error, fixes 9407-003.
11690         (Resolve_Discrete_Subtype_Indication): Defend against Error.
11691
11692         * sinfo.ads (N_Error): Now has Etype field (which will be set
11693         to Any_Type to help error recovery).
11694
11695 2001-10-08  Richard Kenner (kenner@gnat.com)
11696
11697         * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
11698         Consistently set MEM attributes from expression; fixes
11699         bootstrap failure on x86.
11700
11701 2001-10-08  Geert Bosch  (bosch@gnat.com)
11702
11703         * 5oosinte.adb: Add 2001 to copyright notice.
11704
11705 2001-10-08  Geert Bosch  (bosch@gnat.com)
11706
11707         * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
11708
11709         * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
11710
11711 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
11712
11713         * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
11714
11715 2001-10-05  Geert Bosch  (bosch@gnat.com)
11716
11717         * adaint.h: Small formatting fix.
11718
11719 2001-10-04  Geert Bosch  <bosch@gnat.com>
11720
11721         * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
11722         Arg is int, not FILE *, in dummy version of functions.
11723
11724         * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
11725         Arg is int, not FILE *.
11726
11727 2001-10-04  Geert Bosch  <bosch@gnat.com>
11728
11729         * 3lsoccon.ads: Added file, missed with initial check ins.
11730
11731         * 4lintnam.ads: Fix header format.
11732         Change Linux to GNU/Linux.
11733
11734         * 5iosinte.adb: Change Linux to GNU/Linux.
11735
11736         * 5iosinte.ads: Change Linux to GNU/Linux.
11737
11738         * 5itaprop.adb: Change Linux to GNU/Linux.
11739
11740         * 5itaspri.ads: Change Linux to GNU/Linux.
11741         Update copyright notice.
11742
11743         * 5lintman.adb: Change Linux to GNU/Linux.
11744
11745         * 5lml-tgt.adb: Change Linux to GNU/Linux.
11746
11747         * 5losinte.ads: Change Linux to GNU/Linux.
11748
11749         * 5lsystem.ads: Change Linux to GNU/Linux.
11750
11751         * 5qosinte.adb: Change Linux to GNU/Linux.
11752
11753         * 5qosinte.ads: Change Linux to GNU/Linux.
11754
11755         * 5qparame.ads: Change Linux to GNU/Linux.
11756
11757         * 5qtaprop.adb: Change Linux to GNU/Linux.
11758
11759         * 5qtaspri.ads: Change Linux to GNU/Linux.
11760         Add 2001 to copyright notice.
11761
11762         * 5vintman.ads: Change Linux to GNU/Linux.
11763         Fix header format.  Add 2001 to copyright notice.
11764
11765         * g-soccon.ads: Change Linux to GNU/Linux.
11766
11767         * g-trasym.ads: Change Linux to GNU/Linux.
11768         Add 2001 to copyright notice.
11769
11770         * memtrack.adb: Change Linux to GNU/Linux.
11771
11772         * s-intman.ads: Change Linux to GNU/Linux.
11773         Add 2001 to copyright notice.  Fix header format.
11774
11775         * s-stache.adb: Change Linux to GNU/Linux.
11776
11777         * adaint.c: Change Linux to GNU/Linux.
11778
11779         * cio.c: Change Linux to GNU/Linux.
11780
11781         * cstreams.c: Change Linux to GNU/Linux.
11782
11783         * init.c: Change Linux to GNU/Linux.
11784
11785         * gmem.c: Change Linux to GNU/Linux.
11786
11787         * tracebak.c: Change Linux to GNU/Linux.
11788
11789
11790 2001-10-02  Geert Bosch  <bosch@gnat.com>
11791
11792         * misc.c (insert_default_attributes): Add dummy version.