OSDN Git Service

* alias.c (get_alias_set): Add support for TYPE_REF_CAN_ALIAS_ALL.
[pf3gnuchains/gcc-fork.git] / gcc / ada / ChangeLog
1 2004-03-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2
3         * decl.c (gnat_to_gnu_entity, case E_Access_Type): Pass value
4         of No_Strict_Aliasing to build_pointer_type_for_mode.
5         * utils.c (update_pointer_to): Walk pointer and ref chains.
6
7 2004-03-22  Cyrille Comar  <comar@act-europe.fr>
8
9         * ali.ads: Fix Comment about Dynamic_Elab.
10
11         * gnatls.adb (Output_Unit): Add output of many flags (Dynamic_Elab,
12         Has_RACW, Is_Generic, etc.)
13         (Output_Object, Gnatls): Take into account ALI files not attached to
14         an object.
15
16 2004-03-22  Vincent Celier  <celier@gnat.com>
17
18         * gprep.adb: Change all String_Access to Name_Id
19         (Is_ASCII_Letter): new function
20         (Double_File_Name_Buffer): New procedure
21         (Preprocess_Infile_Name): New procedure
22         (Process_Files): New procedure
23         (Gnatprep): Check if output and input are existing directories.
24         Call Process_Files to do the real job.
25
26 2004-03-22  Robert Dewar  <dewar@gnat.com>
27
28         * prj-env.adb, prj-nmsc.ads, prj-proc.ads,
29         s-stache.ads, s-stache.adb: Comment updates. Minor reformatting.
30
31 2004-03-22  Sergey Rybin  <rybin@act-europe.fr>
32
33         * scn.adb (Contains): Add check for EOF, is needed for a degenerated
34         case when the source contains only comments.
35
36 2004-03-22  Ed Schonberg  <schonberg@gnat.com>
37
38         * sem_ch10.adb (Analyze_Compilation_Unit): When generating a
39         declaration for a child subprogram body that acts as a spec, indicate
40         that the entity in the declaration needs debugging information.
41
42         * sem_ch3.adb (Complete_Private_Subtype): Do not build an underlying
43         full view if the subtype is created for a constrained record component;
44         gigi has enough information to construct the record, and there is no
45         place in the tree for the declaration.
46
47         * sem_ch6.adb (Build_Body_To_Inline): Use an internal name without
48         serial number for the dummy body that is built for analysis, to avoid
49         inconsistencies in the generation of internal names when compiling
50         with -gnatN.
51
52 2004-03-22  Thomas Quinot  <quinot@act-europe.fr>
53
54         * sem_util.adb (Is_Object_Reference): A view conversion denotes an
55         object.
56
57 2004-03-22  GNAT Script  <nobody@gnat.com>
58
59         * Make-lang.in: Makefile automatically updated
60
61 2004-03-21  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
62
63         * decl.c (gnat_to_gnu_entity): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
64         * trans.c (tree_transform, emit_index_check): Likewise.
65         * utils.c (build_template): Likewise.
66         (max_size, convert): Remove handling of WITH_RECORD_EXPR.
67         (maybe_unconstrained_array, unchecked_convert): Likewise.
68         * utils2.c (gnat_truthvalue_conversion, build_binary_op): Likewise.
69         (build_unary_op): Likewise.
70         (compare_arrays, build_allocator): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
71         (fill_vms_descriptor): Likewise.
72         (build_call_alloc_dealloc): Likewise.
73         ALIGN is unsigned.
74         * gigi.h (build_call_alloc_dealloc): Alignment is unsigned.
75
76 2004-03-20  Joseph S. Myers  <jsm@polyomino.org.uk>
77
78         PR other/14630
79         * gnat_ug.texi: Add info directory category and entry.
80         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
81         gnat_ug_wnt.texi: Regenerate.
82
83 2004-03-19  Arnaud Charlet  <charlet@act-europe.fr>
84
85         * ada-tree.h: Update copyright notice.
86         Minor reformatting.
87
88 2004-03-19  Olivier Hainque  <hainque@act-europe.fr>
89
90         * decl.c (gnat_to_gnu_entity, case E_Exception): Handle VMS exceptions
91         as regular exception objects and not as mere integers representing the
92         condition code.  The latter approach required some dynamics to mask off
93         severity bits, which did not fit well into the GCC table based model.
94         (gnat_to_gnu_entity, objects): Don't supply an external name for VMS
95         exception data objects. We don't it and it would conflict with the other
96         external symbol we have to generate for such exceptions.
97
98         * trans.c (tree_transform, case N_Exception_Handler): Remove part of
99         the special code for VMS exceptions, since these are now represented
100         as regular exceptions objects.
101
102 2004-03-19 Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
103
104         * decl.c (debug_no_type_hash): Remove.
105         (gnat_to_gnu_entity, case E_Array_Type): Don't set and clear it.
106         * misc.c (LANG_HOOK_HASH_TYPE): Redefine.
107
108 2004-03-19  Laurent GUERBY <laurent@guerby.net>
109
110         * sem_prag.adb (Suppress_Unsuppress_Echeck): use loop instead of 
111         aggregate, allows bootstrap from 3.3 on powerpc-darwin.
112         
113 2004-03-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
114
115         * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Add checking.
116         (TYPE_CONTAINS_TEMPLATE_P, TYPE_OBJECT_RECORD_TYPE): Likewise.
117         (TYPE_RM_SIZE_INT): Directly use type.values.
118         (TREE_LOOP_ID): Clean up check.
119         * decl.c (gnat_to_gnu_entity, case E_Enumeration_Type): Use
120         TYPE_VALUES, not TYPE_FIELDS.
121         * trans.c (convert_with_check): Delay access of bounds of basetype
122         until sure is numeric.
123
124 2004-03-18  Arnaud Charlet  <charlet@act-europe.fr>
125
126         * 5atpopsp.adb: Remove RTEMS from list of platforms using this file.
127
128         Code clean up:
129         * 5ataprop.adb, 5ftaprop.adb, 5htaprop.adb, 5itaprop.adb, 5staprop.adb,
130         5vtaprop.adb, 5wtaprop.adb, 7staprop.adb (Finalize_TCB): Use
131         Specific.Set instead of direct call to e.g pthread_setspecific.
132
133 2004-03-18  Thomas Quinot  <quinot@act-europe.fr>
134
135         * adaint.c: Update comments.
136
137         * Makefile.in: set PREFIX_OBJS, SYMLIB, THREADSLIB, and
138         GNATLIB_SHARED for FreeBSD.
139
140 2004-03-18  Jose Ruiz  <ruiz@act-europe.fr>
141
142         * init.c [VxWorks]: Do not fix the stack size for the environment task.
143         When needed (stack checking) the stack size is retrieved
144         from the VxWorks kernel.
145
146         * Makefile.in: Flag -nostdinc is required when building the run time
147         for avoiding looking for files in the base compiler.
148         Add the VxWorks specific version of the package body for
149         System.Stack_checking.Operations (5zstchop.adb).
150
151         * Make-lang.in: Add the object file for
152         System.Stack_Checking.Operations.
153
154         * Makefile.rtl: Add object file for the package
155         System.Stack_Checking.Operations.
156
157         * s-stchop.ads, s-stchop.adb, 5zstchop.adb: New files.
158
159         * s-stache.ads, s-stache.adb: Move the operations related to stack
160         checking from this package to package System.Stack_Checking.Operations.
161         This way, stack checking operations are only linked in the final
162         executable when using the -fstack-check flag.
163
164 2004-03-18  Doug Rupp  <rupp@gnat.com>
165
166         * Makefile.in [VMS]: Handle 64 bit specs (5qsystem.ads, 5xcrtl.ads).
167         Reorganize ifeq's.
168
169         * 5qsystem.ads, 5xcrtl.ads: New files.
170
171 2004-03-18  Vincent Celier  <celier@gnat.com>
172
173         * prj.adb (Reset): Reset hash table Files_Htable
174
175         * prj-env.adb (Source_Paths, Object_Paths): New tables.
176         (Add_To_Source_Path, Add_To_Object_Path): New procedures, to replace
177         the procedures Add_To_Path_File.
178         (Set_Ada_Paths): Accumulate source and object dirs in the tables,
179         making sure that each directory is present only once and, for object
180         dirs, when a directory already present is added, the duplicate is
181         removed and the directory is always put as the last in the table.
182         Write the path files at the end of these accumulations.
183
184         * prj-nmsc.adb (Record_Source): Add source file name in hash table
185         Files_Htable for all sources.
186
187         * prj-proc.adb (Process): Remove restrictions between not directly
188         related extending projects.
189
190 2004-03-18  Emmanuel Briot  <briot@act-europe.fr>
191
192         * prj-nmsc.ads, prj-nmsc.adb (Ada_Check): New parameter Trusted_Mode.
193         (Find_Sources): Minor speed optimization.
194
195         * prj-proc.ads, prj-proc.adb (Check, Recursive_Check, Process): New
196         parameter Trusted_Mode.
197
198 2004-03-18  Sergey Rybin  <rybin@act-europe.fr>
199
200         * scn.adb (Determine_License): Take into account a degenerated case
201         when the source contains only comments.
202
203 2004-03-18  Ed Schonberg  <schonberg@gnat.com>
204
205         * sem_warn.adb (Check_References): For a warning on a selected
206         component that does not come from source, locate an uninitialized
207         component of the record type to produce a more precise error message.
208
209 2004-03-15  Jerome Guitton  <guitton@act-europe.fr>
210
211         * 3zsoccon.ads: Fix multicast options.
212
213         * s-thread.ads: Move unchecked conversion from ATSD_Access to Address
214         in the spec.
215
216 2004-03-15  Robert Dewar  <dewar@gnat.com>
217
218         * sem_prag.adb: Make sure No_Strict_Aliasing flag is set right when
219         pragma used for a private type.
220
221         * lib-xref.adb (Generate_Reference): Do not generate warning if
222         reference is in a different unit from the pragma Unreferenced.
223
224         * 5vtpopde.adb: Minor reformatting
225         Fix casing of To_Task_ID
226
227         * sem_ch13.adb (Validate_Unchecked_Conversion): Set No_Strict_Aliasing
228         flag if we have an unchecked conversion to an access type in the same
229         unit.
230
231 2004-03-15  Geert Bosch  <bosch@gnat.com>
232
233         * a-ngcoty.adb (Modulus): In alternate formula for large real or
234         imaginary parts, use Double precision throughout.
235
236         * a-tifiio.adb (Put_Scaled): Remove remaining pragma Debug. Not only
237         we want to be able to compile run-time with -gnata for testing, but
238         this may also be instantiated in user code that is compiled with -gnata.
239
240 2004-03-15  Olivier Hainque  <hainque@act-europe.fr>
241
242         * s-stalib.ads (Exception_Code): New type, to represent Import/Export
243         codes. Having a separate type for this is useful to enforce consistency
244         throughout the various run-time units.
245         (Exception_Data): Use Exception_Code for Import_Code.
246
247         * s-vmextra.ads, s-vmexta.adb: Use Exception_Code instead of a mix of
248         Natural and Integer in various places.
249         (Register_VMS_Exception): Use Base_Code_In to compute the exception code
250         with the severity bits masked off.
251         (Register_VMS_Exception): Handle the additional exception data pointer
252         argument.
253
254         * raise.c (_GNAT_Exception structure): Remove the handled_by_others
255         component, now reflected by an exported accessor.
256         (is_handled_by): New routine to compute whether the propagated
257         occurrence matches some handler choice specification. Extracted out of
258         get_action_description_for, and expanded to take care of the VMS
259         specifities.
260         (get_action_description_for): Use is_handled_by instead of an explicit
261         complex condition to decide if the current choice at hand catches the
262         propagated occurrence.
263
264         * raise.h (Exception_Code): New type for C.
265
266         * rtsfind.ads (RE_Id, RE_Unit_Table): Add
267         System.Standard_Library.Exception_Code, to allow references from the
268         pragma import/export expander.
269
270         * a-exexpr.adb (Is_Handled_By_Others, Language_For, Import_Code_For):
271         New accessors to allow easy access to GNAT exception data
272         characteristics.
273         (GNAT_GCC_Exception record, Propagate_Exception): Get rid of the
274         redundant Handled_By_Others component, helper for the personality
275         routine which will now be able to call the appropriate exception data
276         accessor instead.
277
278         * cstand.adb (Create_Standard): Adjust the type of the Import_Code
279         component of Standard_Exception_Type to be the closest possible to
280         Exception_Code in System.Standard_Library, that we cannot get at this
281         point. Expand a ??? comment to notify that this type node should
282         probably be rewritten later on.
283
284         * exp_prag.adb (Expand_Pragma_Import_Export_Exception): Adjust the
285         registration call to include a pointer to the exception object in the
286         arguments.
287
288         * init.c (__gnat_error_handler): Use Exception_Code and Base_Code_In
289         instead of int and explicit bitmasks.
290
291 2004-03-15  Vincent Celier  <celier@gnat.com>
292
293         * vms_data.ads: Add new GNAT BIND qualifier /STATIC. Makes /NOSHARED
294         equivalent to /STATIC and /NOSTATIC equivalent to /SHARED.
295
296         * a-tasatt.adb (To_Access_Code): Remove this UC instantiation, no
297         longer needed now that it is in the spec of
298         System.Tasking.Task_Attributes.
299
300         * adaint.h, adaint.c: (__gnat_create_output_file): New function
301
302         * gnatcmd.adb: Fix bug introduced in previous rev: /= instead of =
303
304         * g-os_lib.ads, g-os_lib.adb (Create_Output_Text_File): New function.
305
306         * make.adb (Gnatmake): Do not check the executable suffix; it is being
307         taken care of in Scan_Make_Arg.
308         (Scan_Make_Arg): Add the executable suffix only if the argument
309         following -o, in canonical case, does not end with the executable
310         suffix.  When in verbose mode and executable file name does not end
311         with executable suffix, output the executable name, in canonical case.
312
313         * s-tataat.ads (Access_Dummy_Wrapper): Add pragma No_Strict_Aliasing
314         to avoid warnings when instantiating Ada.Task_Attributes.
315         Minor reformating.
316
317         * mlib-prj.adb (Process_Imported_Libraries): Get the imported libraries
318         in the correct order.
319
320         * prj-makr.adb (Process_Directory): No longer use GNAT.Expect, but
321         redirect standard output and error to a file for the invocation of the
322         compiler, then read the file.
323
324         * prj-nmsc.adb (Find_Sources): Use the Display_Value for each
325         directory, instead of the Value.
326         (Find_Source_Dirs): Remove useless code & comments.
327
328 2004-03-15  Ed Schonberg  <schonberg@gnat.com>
329
330         * exp_ch3.adb (Freeze_Record_Type): If a primitive operation of a
331         tagged type is inherited, and the parent operation is not frozen yet,
332         force generation of a freeze node for the inherited operation, so the
333         corresponding dispatch entry is properly initialized.
334         (Make_Predefined_Primitive_Specs): Check that return type is Boolean
335         when looking for user-defined equality operation.
336
337         * exp_ch4.adb (Expand_Composite_Equality): Check that return type is
338         boolean when locating primitive equality of tagged component.
339
340         * exp_ch5.adb (Expand_Assign_Array): If the left-hand side is a
341         bit-aligned field and the right-hand side a string literal, introduce
342         a temporary before expanding assignment into a loop.
343
344         * exp_ch9.adb (Expand_N_Task_Type_Declaration): Copy expression for
345         priority in full, to ensure that any expanded subepxressions of it are
346         elaborated in the scope of the init_proc.
347
348         * exp_prag.adb (Expand_Pragma_Import): Search for initialization call
349         after object declaration, skipping over code that may have been
350         generated for validity checks.
351
352         * sem_ch12.adb (Validate_Private_Type_Instance): If type has unknown
353         discriminants, ignore the known discriminants of its full view, if
354         any, to check legality.
355
356         * sem_ch3.adb (Complete_Private_Subtype): Do not create constrained
357         component if type has unknown discriminants.
358         (Analyze_Private_Extension_Declaration): Discriminant constraint is
359         null if type has unknown discriminants.
360
361         * sem_ch6.adb (Analyze_Generic_Subprogram_Body): Generate reference
362         for end label when present.
363
364         * s-fileio.adb (Open): When called with a C_Stream, use given name for
365         temporary file, rather than an empty string.
366
367 2004-03-15  Ed Falis  <falis@gnat.com>
368
369         * s-thread.adb: Removed, no longer used.
370
371 2004-03-15  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
372
373         * decl.c (target.h): Now include.
374         (gnat_to_gnu_entity, case E_Access_Type): Use mode derived from ESIZE
375         in new build_pointer_from_mode calls for non-fat/non-thin pointer.
376         (validate_size): For POINTER_TYPE, get smallest size permitted on
377         machine.
378
379         * fe.h: Sort Einfo decls and add Set_Mechanism.
380
381         * Makefile.in: (LIBGNAT_SRCS): Remove types.h.
382         (ada/decl.o): Depends on target.h.
383
384         * trans.c (tree_transform, N_Unchecked_Type_Conversion): Do not use
385         FUNCTION_BOUNDARY; always use TYPE_ALIGN.
386
387 2004-03-15  Thomas Quinot  <quinot@act-europe.fr>
388
389         * 5ztpopsp.adb, 56tpopsp.adb: Fix spelling of Task_ID.
390
391         * exp_ch4.adb (Expand_N_Indexed_Component): Do not call
392         Insert_Dereference_Action when rewriting an implicit dereference into
393         an explicit one, this will be taken care of during expansion of the
394         explicit dereference.
395         (Expand_N_Slice): Same. Always do the rewriting, even for the case
396         of non-packed slices, since the dereference action generated by
397         expansion of the explicit dereference is needed in any case.
398         (Expand_N_Selected_Component): When rewriting an implicit dereference,
399         analyze and resolve the rewritten explicit dereference so it is seen
400         by the expander.
401         (Insert_Dereference_Action): This procedure is now called only for the
402         expansion of an N_Explcit_Dereference_Node. Do insert a check even for
403         dereferences that do not come from source (including explicit
404         dereferences resulting from rewriting implicit ones), but do not
405         recursively insert a check for the dereference nodes contained within
406         the check.
407         (Insert_Dereference_Action): Clarify and correct comment.
408
409 2004-03-08  Paolo Bonzini  <bonzini@gnu.org>
410
411         PR ada/14131
412         Move language detection to the top level.
413         * config-lang.in: Build by default.
414
415 2004-03-05  Robert Dewar  <dewar@gnat.com>
416
417         * 56taprop.adb, 5ataprop.adb: Remove unneeded unchecked conversions
418
419         * a-tags.adb, a-tags.ads, s-finimp.adb, s-finroo.ads,
420         i-cpoint.ads, i-cpoint.adb, i-cstrin.adb, i-cstrin.ads,
421         5iosinte.ads, 5sosinte.ads, 5staspri.ads, 5itaprop.adb, 
422         5staprop.adb, 5wtaprop.adb, s-tataat.ads, s-tataat.adb: Move
423         unchecked conversion to spec to avoid warnings.
424
425         * s-tasini.adb, s-taskin.ads, 5atpopsp.adb: Correct spelling Task_Id
426         to Task_ID
427
428         * 7stpopsp.adb: Correct casing in To_Task_ID call
429
430         * a-strsea.ads, a-strsea.adb: Minor reformatting
431
432         * einfo.ads, einfo.adb: Define new flag No_Strict_Aliasing
433
434         * errout.ads: Switch for VMS is now NO_STRICT_ALIASING.
435         Adjust Max_Msg_Length to be clearly large enough.
436
437         * fe.h: Define In_Same_Source_Unit
438
439         * osint.adb: Add pragma Warnings Off to suppress warnings
440         * g-dyntab.adb, g-table.adb, g-thread.adb: Add Warnings (Off) to kill
441         aliasing warnings.
442
443         * opt.ads: Put entries in alpha order. Add entry for No_Strict_Aliasing
444
445         * par-prag.adb: Add dummy entry for No_Strict_Aliasing pragma
446
447         * sem_ch13.adb: Generate validate unchecked conversion nodes for gcc.
448
449         * sem_ch3.adb: Set No_Strict_Aliasing flag if config pragma set.
450
451         * sem_prag.adb: Implement pragma No_Strict_Aliasing.
452
453         * sinfo.ads: Remove obsolete comment on validate unchecked conversion
454         node. We now do generate them for gcc back end.
455
456         * table.adb, sinput.adb: Add pragma Warnings Off to suppress aliasing
457         warning.
458
459         * sinput-c.adb: Fix bad name in header.
460         Add pragma Warnings Off to suppress aliasing warning.
461
462         * sinput-l.adb: Add pragma Warnings Off to suppress aliasing warning.
463
464         * snames.h, snames.ads, snames.adb: Add entry for pragma
465         No_Strict_Aliasing.
466
467 2004-03-05  Vincent Celier  <celier@gnat.com>
468
469         * prj-com.ads: Add hash table Files_Htable to check when a file name
470         is already a source of another project.
471
472         * prj-nmsc.adb (Record_Source): Before recording a new source, check
473         if its file name is not already a source of another project. Report an
474         error if it is.
475
476         * gnatcmd.adb: When GNAT PRETTY is invoked with a project file and no
477         source file name, call gnatpp with all the sources of the main project.
478
479         * vms_conv.adb (Initialize): GNAT PRETTY may be called with any number
480         of file names.
481
482         * vms_data.ads: Correct documentation of new /OPTIMIZE keyword
483         NO_STRICT_ALIASING. Add new qualifier for GNAT PRETTY:
484         /RUNTIME_SYSTEM=, converted to --RTS=
485         /NOTABS, converted to -notabs
486
487 2004-03-05  Pascal Obry  <obry@gnat.com>
488
489         * make.adb: Minor reformatting.
490
491 2004-03-05  Ed Schonberg  <schonberg@gnat.com>
492
493         Part of implemention of AI-262.
494         * par-ch10.adb (P_Context_Clause): Recognize private with_clauses.
495
496         * sem_ch10.ads, sem_ch10.adb: (Install_Private_With_Clauses): New
497         procedure.
498
499         * sem_ch3.adb (Analyze_Component_Declaration): Improve error message
500         when component type is a partially constrained class-wide subtype.
501         (Constrain_Discriminated_Type): If parent type has unknown
502         discriminants, a constraint is illegal, even if full view has
503         discriminants.
504         (Build_Derived_Record_Type): Inherit discriminants when deriving a type
505         with unknown discriminants whose full view is a discriminated record.
506
507         * sem_ch7.adb (Preserve_Full_Attributes): Preserve Has_Discriminants
508         flag, to handle properly derivations of tagged types with unknown
509         discriminants.
510         (Analyze_Package_Spec, Analyze_Package_Body): Install
511         Private_With_Clauses before analyzing private part or body.
512
513         * einfo.ads: Indicate that both Has_Unknown_Discriminants and
514         Has_Discriminants can be true for a given type (documentation).
515
516 2004-03-05  Arnaud Charlet  <charlet@act-europe.fr>
517
518         * s-restri.ads: Fix license (GPL->GMGPL).
519
520         * s-tassta.adb: Minor reformatting.
521
522         * s-tasren.adb: Replace manual handling of Self_Id.ATC_Nesting_Level
523         by calls to Exit_One_ATC_Level, since additional clean up is performed
524         by this function.
525
526         * s-tpobop.adb: Replace manual handling of Self_Id.ATC_Nesting_Level
527         by calls to Exit_One_ATC_Level, since additional clean up is performed
528         by this function.
529
530 2004-03-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
531
532         * trans.c: Reflect GCC changes to fix bootstrap problem.
533         Add warning for suspicious aliasing unchecked conversion.
534
535 2004-03-05  GNAT Script  <nobody@gnat.com>
536
537         * Make-lang.in: Makefile automatically updated
538
539 2004-03-02  Emmanuel Briot  <briot@act-europe.fr>
540
541         * ali.adb (Read_Instantiation_Instance): Do not modify the
542         current_file_num when reading information about instantiations, since
543         this corrupts files in later references.
544
545 2004-03-02  Vincent Celier  <celier@gnat.com>
546
547         * bcheck.adb (Check_Consistency): Get the full path of an ALI file
548         before checking if it is read-only.
549
550         * bld.adb (Recursive_Process): Concatenate <PROJECT>.src_dirs in front
551         of SRC_DIRS and eliminate duplicates.
552
553         * gprcmd.adb: Replace command "path" with command "path_sep" to return
554         the path separator.
555         (Usage): Document path_sep
556
557         * Makefile.generic: For Ada and GNU C++ cases, link directly with the
558         C++ compiler. No need for a script.
559         Replace use of C*_INCLUDE_PATH env var for GCC compilers with CPATH.
560         Do not call gprcmd to build the C*_INCLUDE_PATHs, do it with function
561         subst.
562
563         * prj-env.adb (For_All_Source_Dirs): Only add source dirs in project
564         where there are Ada sources.
565         (Set_Ada_Paths): Only add to the include path the source dirs of project
566         with Ada sources.
567         (Add_To_Path): Add the Display_Values of the directories, not their
568         Values.
569
570         * prj-nmsc.adb (Find_Sources): Set flag Sources_Present in the project
571         data.
572
573         * prj-nmsc.adb (Add_ALI_For): Make sure that the element Display_Value
574         is not No_Name.
575         (Find_Source_Dirs): Set Display_Value to a non canonicalized value, only
576         Value is canonicalized.
577         (Language_Independent_Check): Do not copy Value to Display_Value when
578         canonicalizing Value.
579
580         * prj-part.adb (Post_Parse_Context_Clause): Compare canonical cased
581         path to find limited with cycles.
582         (Parse_Single_Project): Use canonical cased path to find the end of a
583         with cycle.
584
585 2004-03-02  Ed Schonberg  <schonberg@gnat.com>
586
587         * sem_ch10.adb (Optional_Subunit): Verify that unit contains a subunit
588         and not a child unit.
589
590         * sinfo.ads, sinfo.adb: Rearrange flags so that Private_Present can
591         appear in a with_clause.
592
593         * decl.c (gnat_to_gnu_type): If entity is a generic type, which can
594         only happen in type_annotate mode, do not try to elaborate it.
595
596         * exp_util.adb (Force_Evaluation): If expression is a selected
597         component on the left of an assignment, use a renaming rather than a
598         temporary to remove side effects.
599
600         * freeze.adb (Freeze_Entity): Do not freeze a global entity within an
601         inlined instance body, which is analyzed before the end of the
602         enclosing scope.
603
604 2004-03-02  Robert Dewar  <dewar@gnat.com>
605
606         * par-ch10.adb, par-ch3.adb, par-ch4.adb, scng.adb,
607         sem_ch4.adb: Use new feature for substitution of keywords in VMS
608
609         * errout.ads, errout.adb: Implement new circuit for substitution of
610         keywords in VMS.
611
612         * sem_case.adb (Analyze_Choices): Place message properly when case is
613         a subtype reference rather than an explicit range.
614
615         * sem_elim.adb, s-tpobop.ads, exp_ch2.adb: Minor reformatting
616
617 2004-03-02  Doug Rupp  <rupp@gnat.com>
618
619         * init.c (__gnat_initialize)[VMS]: Resignal RDB-E-STREAM_EOF.
620
621 2004-03-02  Thomas Quinot  <quinot@act-europe.fr>
622
623         * s-tporft.adb: Add missing locking around call to Initialize_ATCB.
624
625 2004-03-02  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
626
627         * utils.c (finish_record_type): Do not set DECL_NONADDRESSABLE for a
628         BLKmode bitfield.
629
630 2004-02-25  Robert Dewar  <dewar@gnat.com>
631
632         * 51osinte.ads, 52osinte.ads, 53osinte.ads, 54osinte.ads,
633         55osinte.ads, 56osinte.ads, 5aosinte.ads, 5bosinte.ads,
634         5cosinte.ads, 5fosinte.ads, 5gosinte.ads, 5hosinte.ads,
635         5iosinte.ads, 5losinte.ads, 5nosinte.ads, 5oosinte.ads,
636         5posinte.ads, 5sosinte.ads, 5tosinte.ads, 5vosinte.ads,
637         5wosinte.ads, 5zosinte.ads: Move instances of Unchecked_Conversion to
638         the defining instance of the type to avoid aliasing problems.
639         Fix copyright header.  Fix bad comments in package header.
640
641         * exp_util.adb, prj-part.adb, prj-part.adb: Minor reformatting
642
643 2004-02-25  Ed Schonberg  <schonberg@gnat.com>
644
645         * exp_ch2.adb (Param_Entity): Handle properly formals that have been
646         rewritten as references when aliased through an address clause.
647
648         * sem_ch4.adb (Try_Indirect_Call): Normalize actuals before checking
649         whether call can be interpreted as an indirect call to the result of a
650         parameterless function call returning an access subprogram.
651
652 2004-02-25  Arnaud Charlet  <charlet@act-europe.fr>
653
654         Code clean up:
655         * exp_ch7.adb (Make_Clean): Remove generation of calls to
656         Unlock[_Entries], since this is now done by Service_Entries directly.
657
658         * exp_ch9.adb (Build_Protected_Subprogram_Body): ditto.
659
660         * s-tpobop.ads, s-tpobop.adb (PO_Service_Entries): New nested procedure
661         Requeue_Call for better code readability. Change spec and update calls:
662         PO_Service_Entries now unlock the PO on exit.
663         (Protected_Entry_Call, Timed_Protected_Entry_Call): Update calls to
664         PO_Service_Entries.
665
666         * s-tposen.ads, s-tposen.adb (Service_Entry): Now unlock the PO on exit.
667
668         * s-taenca.adb, s-tasren.adb: Update calls to PO_Service_Entries.
669
670 2004-02-25  Sergey Rybin  <rybin@act-europe.fr>
671
672         * exp_ch9.adb (Build_Simple_Entry_Call): Prevent expanding the
673         protected subprogram call and analyzing the result of such expanding
674         in case when the called protected subprogram is eliminated.
675
676         * sem_elim.adb (Check_Eliminated): Skip blocks when comparing scope
677         names.
678
679 2004-02-25  Jerome Guitton  <guitton@act-europe.fr>
680
681         * Makefile.in: Clean ups.
682
683 2004-02-23  Ed Schonberg  <schonberg@gnat.com>
684
685         * exp_ch6.adb (Expand_N_Subprogram_Declaration): Do not create
686         protected operations if original subprogram is flagged as eliminated.
687         (Expand_N_Subprogram_Body): For a protected operation, create
688         discriminals for next operation before checking whether the operation
689         is eliminated.
690
691         * exp_ch9.adb (Expand_N_Protected_Body,
692         Expand_N_Protected_Type_Declaration): Do not generate specs and bodies
693         for internal protected operations if the original subprogram is
694         eliminated.
695
696         * sem_elim.adb (Check_Eliminated): Handle properly protected operations
697         declared in a single protected object.
698
699 2004-02-23  Vincent Celier  <celier@gnat.com>
700
701         * prj-attr.adb: Make attribute Builder'Executable an associative array,
702         case insensitive if file names are case insensitive, instead of a
703         standard associative array.
704
705         * prj-attr.adb (Initialize): For 'b' associative arrays, do not set
706         them as case insensitive on platforms where the file names are case
707         sensitive.
708
709         * prj-part.adb (Parse_Single_Project): Make sure, when checking if
710         project file has already been parsed that canonical path are compared.
711
712 2004-02-23  Robert Dewar  <dewar@gnat.com>
713
714         * sinput-c.ads: Correct bad unit title in header
715
716         * freeze.adb: Minor reformatting
717
718 2004-02-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
719
720         * trans.c (tree_transform, case N_Procedure_Call_Statement): For
721         nonaddressable COMPONENT_REF that is removing padding that we are
722         taking the address of, take the address of the padded record instead
723         if item is variable size.
724
725 2004-02-20  Robert Dewar  <dewar@gnat.com>
726
727         * bld.adb, exp_util.adb, gprcmd.adb: Minor reformatting
728
729 2004-02-20  Ed Schonberg  <schonberg@gnat.com>
730
731         * freeze.adb (Freeze_Record_Type): Generalize mechanism that generates
732         itype references for the constrained designated type of a component
733         whose base type is already frozen.
734
735 2004-02-20  Arnaud Charlet  <charlet@act-europe.fr>
736
737         * init.c (__gnat_error_handler [tru64]): Rewrite previous change to
738         avoid GCC warnings.
739
740 2004-02-20  Sergey Rybin  <rybin@act-europe.fr>
741
742         * sem_ch12.adb (Analyze_Formal_Package): Create a new defining
743         identifier for a phantom package that rewrites the formal package
744         declaration with a box. The Add semantic decorations for the defining
745         identifier from the original node (that represents the formal package).
746
747 2004-02-19  Matt Kraai  <kraai@alumni.cmu.edu>
748
749         * Make-lang.in (ada/stamp-sdefault): Use the top level
750         move-if-change.
751
752 2004-02-19  Richard Henderson  <rth@redhat.com>
753
754         * misc.c (record_code_position): Add third build arg for RTL_EXPR.
755
756 2004-02-18  Emmanuel Briot  <briot@act-europe.fr>
757
758         * ali.ads, ali.adb (First_Sdep_Entry): No longer a constant, so that
759         Scan_ALI can be used for multiple ALI files without reinitializing
760         between calls.
761
762 2004-02-18  Robert Dewar  <dewar@gnat.com>
763
764         * debug.adb: Minor reformatting.
765
766 2004-02-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
767
768         * decl.c (gnat_to_gnu_entity, case object): Set DECL_POINTER_ALIAS_SET
769         to zero if there is an address clause.
770
771 2004-02-18  Thomas Quinot  <quinot@act-europe.fr>
772
773         * exp_util.adb (Side_Effect_Free): Any literal is side effects free.
774
775 2004-02-18  Gary Dismukes  <dismukes@gnat.com>
776
777         * layout.adb (Layout_Component_List): Revise generation of call to
778         discriminant-checking function to pass selections of all of the type's
779         discriminants rather than just the variant-controlling discriminant.
780
781 2004-02-18  Olivier Hainque  <hainque@act-europe.fr>
782
783         * 5gmastop.adb (Pop_Frame): Do not call exc_unwind, which is bound to
784         fail in the current setup and triggers spurious system error messages.
785         Pretend it occurred and failed instead.
786
787 2004-02-18  Vincent Celier  <celier@gnat.com>
788
789         * bld.adb: Mark FLDFLAGS as saved
790         (Process_Declarative_Items): Add Linker'Linker_Options to FLDFLAGS when
791         it is not the root project.  Put each directory to be
792         extended between double quotes to prevent it to be expanded on Windows.
793         (Recursive_Process): Reset CFLAGS/CXXFLAGS to nothing before processing
794         the project file. Set them back to their initial values if they have not
795         been set in the project file.
796
797         * gprcmd.adb: (Gprdebug, Debug): New global variables
798         (Display_Command): New procedure
799         (Usage): Document new command "linkopts"
800         Call Display_Command when env var GPRDEBUG has the value "TRUE"
801         Implement new command "linkopts"
802         Remove quotes that may be around arguments for "extend"
803         Always call Normalize_Pathname with arguments formatted for the platform
804
805         * Makefile.generic: Link C/C++ mains with $(FLDFLAGS)
806         Change @echo to @$(display) in target clean to be able to clean silently
807
808         * Makefile.prolog: Save FLDFLAGS and give it an initial empty value
809
810         * prj-part.adb (Project_Path_Name_Of): Do not put final result in
811         canonical case.
812
813         * prj-part.adb (Parse_Single_Project): Always call with From_Extended
814         = Extending_All when current project is an extending all project.
815
816         * vms_conv.adb (Output_File_Expected): New Boolean global variable,
817         set to True only for LINK command, after Unix switch -o.
818         (Process_Arguments): Set Output_File_Expected to True for LINK command
819         after Unix switch -o. When Output_File_Expected is True, never add an
820         extension to a file name.
821
822         * 5vml-tgt.adb (Build_Dynamic_Library): Do not append "/OPTIONS" to the
823         option file name, only to the --for-linker= switch.
824         (Option_File_Name): If option file name do not end with ".opt", append
825         "/OPTIONS".
826
827 2004-02-18  GNAT Script  <nobody@gnat.com>
828
829         * Make-lang.in: Makefile automatically updated
830
831 2004-02-17  Matt Kraai  <kraai@alumni.cmu.edu>
832
833         * Make-lang.in (stamp-sdefault): Do not depend on
834         move-if-change.
835
836 2004-02-12  Zack Weinberg  <zack@codesourcery.com>
837
838         * config-lang.in: Disable Ada by default until probe logic for
839         a bootstrap Ada compiler can be moved to the top level configure
840         script.
841
842 2004-02-12  Olivier Hainque  <hainque@act-europe.fr>
843
844         * decl.c (components_to_record): Don't claim that the internal fields
845         we make to hold the variant parts are semantically addressable, because
846         they are not.
847
848         * exp_pakd.adb (Create_Packed_Array_Type): Rename Esiz into PASize and
849         adjust the comment describing the modular type form when we can use it.
850         (Install_PAT): Account for the Esiz renaming.
851
852         * init.c (__gnat_error_handler for alpha-tru64): Arrange to clear the
853         sc_onstack context indication before raising the exception to which
854         the signal is mapped. Allows better handling of later signals possibly
855         triggered by the resumed user code if the exception is handled.
856
857 2004-02-12  Arnaud Charlet  <charlet@act-europe.fr>
858
859         * 5zinit.adb: Removed, no longer used.
860
861 2004-02-12  Robert Dewar  <dewar@gnat.com>
862
863         * ali.adb: Remove separating space between parameters on R line. Makes
864         format consistent with format used by the binder for Set_Globals call.
865
866         * atree.ads, atree.adb: Minor reformatting (new function header format)
867
868         * bindgen.adb: Add Run-Time Globals documentation section containing
869         detailed documentation of the globals passed from the binder file to
870         the run time.
871
872         * gnatls.adb: Minor reformatting
873
874         * init.c (__gnat_set_globals): Add note pointing to documentation in
875         bindgen.
876
877         * lib-writ.ads, lib-writ.adb: Remove separating space between
878         parameters on R line.
879         Makes format consistent with format used by the binder for Set_Globals
880         call.
881
882         * osint.ads: Add 2004 to copyright notice
883         Minor reformatting
884
885         * snames.ads: Correct capitalization of FIFO_Within_Priorities
886         Noticed during code reading, documentation issue only
887
888         * usage.adb: Remove junk line for obsolete C switch
889         Noticed during code reading
890
891 2004-02-12  Vincent Celier  <celier@gnat.com>
892
893         * bld.adb (Process_Declarative_Items): For Source_Dirs call gprcmd
894         extend for each directory, so that multiple /** directories are
895         extended individually.
896         (Recursive_Process): Set the default for LANGUAGES to ada
897
898         * gprcmd.adb: Define new command "ignore", to do nothing.
899         Implement new comment "path".
900
901         * Makefile.generic: Suppress output when SILENT is set
902         Make sure that when compiler for C/C++ is gcc, the correct -x switch is
903         used, so that the correct compiler is invoked.
904         When compiler is gcc/g++, put search path in env vars C_INCLUDE_PATH/
905         CXX_INCLUDE_PATH, to avoid failure with too long command lines.
906
907 2004-02-12  Jerome Guitton  <guitton@act-europe.fr>
908
909         * Makefile.in: Clean ups and remove obsolete targets.
910
911 2004-02-12  Ed Schonberg  <schonberg@gnat.com>
912
913         * exp_ch5.adb: Remove Possible_Unligned_Slice, in favor of the similar
914         predicate declared in exp_util.
915
916         * exp_util.adb: Add comments.
917
918         * sem_ch10.adb (Analyze_Subunit): Remove ultimate parent unit from
919         visibility before compiling context of the subunit.
920
921         * sem_res.adb (Check_Parameterless_Call): If the context expects a
922         value but the name is a procedure, do not attempt to analyze as a call,
923         in order to obtain more telling diagnostics.
924
925         * sem_util.adb (Wrong_Type): Further enhancement to diagnose missing
926         'Access on parameterless function calls.
927         (Normalize_Actuals): For a parameterless function call with missing
928         actuals, defer diagnostic until resolution of enclosing call.
929
930         * sem_util.adb (Wrong_Type): If the context type is an access to
931         subprogram and the expression is a procedure name, suggest a missing
932         'attribute.
933
934 2004-02-10  Arnaud Charlet  <charlet@act-europe.fr>,
935             Nathanael Nerode  <neroden@gcc.gnu.org>
936
937         PR ada/6637, PR ada/5911
938         Merge with libada-branch:
939         * config-lang.in: Build libada only when ada is built.
940
941 2004-02-09  Ed Schonberg  <schonberg@gnat.com>
942
943         * exp_ch4.adb (Expand_N_Op_Eq): When looking for the primitive equality
944         for a tagged type, verify that both formals have the same type.
945
946         * exp_ch6.adb (Add_Call_By_Copy_Code): Initialize properly the
947         temporary when the formal is an in-parameter and the actual a possibly
948         unaligned slice.
949
950         * exp_ch9.adb (Expand_Entry_Barrier): Resolve barrier expression even
951         when expansion is disabled, to ensure proper name capture with
952         overloaded literals.  Condition can be of any boolean type, resolve
953         accordingly.
954
955         * sem_ch8.adb (Analyze_Subprogram_Renaming): Emit warning if the
956         renaming is for a formal subprogram with a default operator name, and
957         there is a usable operator that is visible at the point of
958         instantiation.
959
960 2004-02-09  Robert Dewar  <dewar@gnat.com>
961
962         * ali.adb (Scan_Ali) Add Ignore_Errors argument. This is a major
963         rewrite to ignore errors in ali files, intended to allow tools downward
964         compatibility with new versions of ali files.
965
966         * ali.ads: Add new parameter Ignore_Errors
967
968         * bcheck.adb (Check_Consistent_Restrictions): Fix error of sometimes
969         duplicating the error message giving the file with restrictions.
970
971         * debug.adb: Add debug flag I for gnatbind
972
973         * errout.adb (Set_Msg_Insertion_Node): Suppress extra quotes around
974         operators for the case where the operator is a defining operator.
975
976         * exp_ch3.adb: Minor reformatting (new function spec format).
977
978         * exp_ch4.adb: Add comment for previous change, and make minor
979         adjustment to loop to always check for improper loop termination.
980         Minor reformatting throughout (new function spec format).
981
982         * gnatbind.adb: Implement -di debug flag for gnatbind
983
984         * gnatlink.adb: Call Scan_ALI with Ignore_Errors set to True
985
986         * gnatls.adb: Call Scan_ALI with Ignore_Errors set to True
987
988         * lib-load.adb: Fix bad assertion.
989         Found by testing and code reading.
990         Minor reformatting.
991
992         * lib-load.ads: Minor reformatting.
993
994         * lib-writ.adb: There is only one R line now.
995
996         * lib-writ.ads: Add documentation on making downward compatible changes
997         to ali files so old tools work with new ali files.
998         There is only one R line now.
999         Add documentation on format incompatibilities (with special GPS note)
1000
1001         * namet.ads, namet.adb: (Is_Operator_Name): New procedure
1002
1003         * par-load.adb: Minor reformatting
1004
1005         * sem_ch8.adb: Fix to error message from last update
1006         Minor reformatting and restructuring of code from last update
1007
1008         * par-prag.adb, snames.adb, snames.ads, snames.h,
1009         sem_prag.adb: Implement pragma Profile.
1010
1011         * stylesw.adb: Implement -gnatyN switch to turn off all style check
1012         options.
1013
1014         * usage.adb: Add line for -gnatyN switch
1015
1016         * vms_data.ads: Add entry STYLE_CHECKS=NONE for -gnatyN
1017
1018 2004-02-09  Albert Lee  <lee@gnat.com>
1019
1020         * errno.c: define _SGI_MP_SOURCE for task-safe errno on IRIX
1021
1022 2004-02-09  Ed Schonberg  <schonberg@gnat.com>
1023
1024         * exp_ch3.adb (Build_Slice_Assignment): Handle properly case of null
1025         slices.
1026
1027         * exp_ch6.adb (Expand_Call): Do not inline a call when the subprogram
1028         is nested in an instance that is not frozen yet, to avoid
1029         order-of-elaboration problems in gigi.
1030
1031         * sem_attr.adb (Analyze_Attribute, case 'Access): Within an inlined
1032         body the attribute is legal.
1033
1034 2004-02-09  Robert Dewar  <dewar@gnat.com>
1035
1036         * s-rident.ads: Minor comment correction
1037
1038         * targparm.adb: Remove dependence on uintp completely. There was
1039         always a bug in Make in that it called Targparm before initializing
1040         the Uint package. The old code appeared to get away with this, but
1041         the new code did not! This caused an assertion error in gnatmake.
1042
1043         * targparm.ads: Fix bad comment, restriction pragmas with parameters
1044         are indeed fully supported.
1045
1046 2004-02-06  Alan Modra  <amodra@bigpond.net.au>
1047
1048         * misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call.
1049
1050 2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
1051
1052         * ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES
1053         with targetm.calls.promote_prototypes.
1054
1055 2004-02-04  Robert Dewar  <dewar@gnat.com>
1056
1057         * 5gtasinf.adb, 5gtasinf.ads, 5gtaprop.adb, ali.adb,
1058         ali.ads, gprcmd.adb: Minor reformatting
1059
1060         * bindgen.adb: Output restrictions string for new style restrictions
1061         handling
1062
1063         * impunit.adb: Add s-rident.ads (System.Rident) and
1064         s-restri (System.Restrictions)
1065
1066         * lib-writ.adb: Fix bug in writing restrictions string (last few
1067         entries wrong)
1068
1069         * s-restri.ads, s-restri.adb: Change name Restrictions to
1070         Run_Time_Restrictions to avoid conflict with package name.
1071         Add circuit to read and acquire run time restrictions.
1072
1073 2004-02-04  Jose Ruiz  <ruiz@act-europe.fr>
1074
1075         * restrict.ads, restrict.adb: Use the new restriction
1076         No_Task_Attributes_Package instead of the old No_Task_Attributes.
1077
1078         * sem_prag.adb: No_Task_Attributes is a synonym of
1079         No_Task_Attributes_Package.
1080
1081         * snames.ads, snames.adb: New entry for proper handling of
1082         No_Task_Attributes.
1083
1084         * s-rident.ads: Adding restriction No_Task_Attributes_Package
1085         (AI-00249) that supersedes the GNAT specific restriction
1086         No_Task_Attributes.
1087
1088 2004-02-04  Ed Schonberg  <schonberg@gnat.com>
1089
1090         * sem_prag.adb: 
1091         (Analyze_Pragma, case Warnings): In an inlined body, as in an instance
1092          body, an identifier may be wrapped in an unchecked conversion.
1093
1094 2004-02-04  Vincent Celier  <celier@gnat.com>
1095
1096         * lib-writ.ads: Comment update for the W lines
1097
1098         * bld.adb: (Expression): An empty string list is static
1099
1100         * fname-uf.adb: Minor comment update
1101
1102         * fname-uf.ads: (Get_File_Name): Document new parameter May_Fail
1103
1104         * gnatbind.adb: Initialize Cumulative_Restrictions with the
1105         restrictions on the target.
1106
1107 2004-02-03  Kazu Hirata  <kazu@cs.umass.edu>
1108
1109         * ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of
1110         gen_rtx.
1111
1112 2004-02-02  Arnaud Charlet  <charlet@gnat.com>
1113
1114         * Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded.
1115
1116 2004-02-02  Vincent Celier  <celier@gnat.com>
1117
1118         * gprcmd.adb (Check_Args): If condition is false, print the invoked
1119         comment before the usage.
1120         Gprcmd: Fail when command is not recognized.
1121         (Usage): Document command "prefix"
1122
1123         * g-md5.adb (Digest): Process last block.
1124         (Update): Do not process last block. Store remaining characters and
1125         length in Context.
1126
1127         * g-md5.ads (Update): Document that several call to update are
1128         equivalent to one call with the concatenated string.
1129         (Context): Add fields to allow new Update behaviour.
1130
1131         * fname-uf.ads/adb (Get_File_Name): New Boolean parameter May_Fail,
1132         defaulted to False.
1133         When May_Fail is True and no existing file can be found, return No_File.
1134
1135         * 6vcstrea.adb: Inlined functions are now wrappers to implementation
1136         functions.
1137
1138         * lib-writ.adb (Write_With_Lines): When body file does not exist, use
1139         spec file name instead on the W line.
1140
1141 2004-02-02  Robert Dewar  <dewar@gnat.com>
1142
1143         * ali.adb: Read and acquire info from new format restrictions lines
1144
1145         * bcheck.adb: Add circuits for checking restrictions with parameters
1146
1147         * bindgen.adb: Output dummy restrictions data
1148         To be changed later
1149
1150         * ali.ads, checks.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
1151         exp_ch3.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_util.adb,
1152         freeze.adb, gnat1drv.adb, sem_attr.adb, sem_ch10.adb, sem_ch11.adb,
1153         sem_ch12.adb, targparm.adb, targparm.ads, tbuild.adb, sem_ch2.adb,
1154         sem_elab.adb, sem_res.adb: Minor changes for new restrictions handling.
1155
1156         * exp_ch9.adb (Build_Master_Entity): Cleanup the code (also suppresses
1157         the warning message on access to possibly uninitialized variable S)
1158         Minor changes for new restrictions handling.
1159
1160         * gnatbind.adb: Minor reformatting
1161         Minor changes for new restrictions handling
1162         Move circuit for -r processing here from bcheck (cleaner)
1163
1164         * gnatcmd.adb, gnatlink.adb: Minor reformatting
1165
1166         * lib-writ.adb: Output new format restrictions lines
1167
1168         * lib-writ.ads: Document new R format lines for new restrictions
1169         handling.
1170
1171         * s-restri.ads/adb: New files
1172
1173         * Makefile.rtl: Add entry for s-restri.ads/adb
1174
1175         * par-ch3.adb: Fix bad error messages starting with upper case letter
1176         Minor reformatting
1177
1178         * restrict.adb: Major rewrite throughout for new restrictions handling
1179         Major point is to handle restrictions with parameters
1180
1181         * restrict.ads: Major changes in interface to handle restrictions with
1182         parameters. Also generally simplifies setting of restrictions.
1183
1184         * snames.ads/adb: New entry for proper handling of No_Requeue
1185
1186         * sem_ch3.adb (Count_Tasks): New circuitry for implementing Max_Tasks
1187         restriction counting.
1188         Other minor changes for new restrictions handling
1189
1190         * sem_prag.adb: No_Requeue is a synonym for No_Requeue_Statements.
1191         Restriction_Warnings now allows full parameter notation
1192         Major rewrite of Restrictions for new restrictions handling
1193
1194 2004-02-02  Javier Miranda  <miranda@gnat.com>
1195
1196         * par-ch3.adb (P_Identifier_Declarations): Give support to the Ada 0Y
1197         syntax rule for object renaming declarations.
1198         (P_Array_Type_Definition): Give support for the Ada 0Y syntax rule for
1199         component definitions.
1200
1201         * sem_ch3.adb (Analyze_Component_Declaration): Give support to access
1202         components.
1203         (Array_Type_Declaration): Give support to access components. In addition
1204         it was also modified to reflect the name of the object in anonymous
1205         array types. The old code did not take into account that it is possible
1206         to have an unconstrained anonymous array with an initial value.
1207         (Check_Or_Process_Discriminants): Allow access discriminant in
1208         non-limited types.
1209         (Process_Discriminants): Allow access discriminant in non-limited types
1210         Initialize the new Access_Definition field in N_Object_Renaming_Decl
1211         node.  Change Ada0Y to Ada 0Y in comments
1212
1213         * sem_ch4.adb (Find_Equality_Types): Allow anonymous access types in
1214         equality operators.
1215         Change Ada0Y to Ada 0Y in comments
1216
1217         * sem_ch8.adb (Analyze_Object_Renaming): Give support to access
1218         renamings Change Ada0Y to Ada 0Y in comments
1219
1220         * sem_type.adb (Find_Unique_Type): Give support to the equality
1221         operators for universal access types
1222         Change Ada0Y to Ada 0Y in comments
1223
1224         * sinfo.adb (Access_Definition, Set_Access_Definition): New subprograms
1225
1226         * sinfo.ads (N_Component_Definition): Addition of Access_Definition
1227         field.
1228         (N_Object_Renaming_Declaration): Addition of Access_Definition field
1229         Change Ada0Y to Ada 0Y in comments
1230
1231         * sprint.adb (Sprint_Node_Actual): Give support to the new syntax for
1232         component definition and object renaming nodes
1233         Change Ada0Y to Ada 0Y in comments
1234
1235 2004-02-02  Jose Ruiz  <ruiz@act-europe.fr>
1236
1237         * restrict.adb: Use the new restriction identifier
1238         No_Requeue_Statements instead of the old No_Requeue for defining the
1239         restricted profile.
1240
1241         * sem_ch9.adb (Analyze_Requeue): Check the new restriction
1242         No_Requeue_Statements.
1243
1244         * s-rident.ads: Adding restriction No_Requeue_Statements (AI-00249)
1245         that supersedes the GNAT specific restriction No_Requeue. The later is
1246         kept for backward compatibility.
1247
1248 2004-02-02  Ed Schonberg  <schonberg@gnat.com>
1249
1250         * lib.ads, i-cobol.ads, * s-stoele.ads, s-thread.ads, style.ads,
1251         5staprop.adb, atree.adb, atree.ads, g-crc32.ads: Remove redundant
1252         pragma and fix incorrect ones.
1253
1254         * sem_prag.adb For pragma Inline and pragma Pure_Function, emit a
1255         warning if the pragma is redundant.
1256
1257 2004-02-02  Thomas Quinot  <quinot@act-europe.fr>
1258
1259         * 5staprop.adb: Add missing 'constant' keywords.
1260
1261         * Makefile.in: use consistent value for SYMLIB on
1262         platforms where libaddr2line is supported.
1263
1264 2004-02-02  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1265
1266         * utils.c (end_subprog_body): Do not call rest_of_compilation if just
1267         annotating types.
1268
1269 2004-02-02  Olivier Hainque  <hainque@act-europe.fr>
1270
1271         * init.c (__gnat_install_handler): Setup an alternate stack for signal
1272         handlers in the environment thread. This allows proper propagation of
1273         an exception on stack overflows in this thread even when the builtin
1274         ABI stack-checking scheme is used without support for a stack reserve
1275         region.
1276
1277         * utils.c (create_field_decl): Augment the head comment about bitfield
1278         creation, and don't account for DECL_BIT_FIELD in DECL_NONADDRESSABLE_P
1279         here, because the former is not accurate enough at this point.
1280         Let finish_record_type decide instead.
1281         Don't make a bitfield if the field is to be addressable.
1282         Always set a size for the field if the record is packed, to ensure the
1283         checks for bitfield creation are triggered.
1284         (finish_record_type): During last pass over the fields, clear
1285         DECL_BIT_FIELD when possible in the !STRICT_ALIGNMENT case, as this is
1286         not covered by the calls to layout_decl.  Adjust DECL_NONADDRESSABLE_P
1287         from DECL_BIT_FIELD.
1288
1289 2004-01-30  Kelley Cook  <kcook@gcc.gnu.org>
1290
1291         * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir). 
1292         (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise.
1293         (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise.
1294
1295 2004-01-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1296
1297         * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB.
1298
1299         * 5fsystem.ads (Functions_Return_By_DSP): Set to False.
1300         (ZCX_By_Default): Likewise.
1301         (Front_End_ZCX_Support): Likewise.
1302
1303         * 5gtaprop.adb (Stack_Guard): Mark T, On unreferenced.
1304         (Initialize_Lock): Mark Level unreferenced.
1305         (Sleep): Mark Reason unreferenced.
1306         (Timed_Sleep): Likewise.
1307         (Wakeup): Likewise.
1308         (Exit_Task): Use Result.
1309         (Check_No_Locks): Mark Self_ID unreferenced.
1310         
1311         * 5gtasinf.adb (New_Sproc): Make Attr constant.
1312         (Bound_Thread_Attributes): Make Sproc constant.
1313         (New_Bound_Thread_Attributes): Likewise.
1314
1315 2004-01-26  Ed Schonberg  <schonberg@gnat.com>
1316
1317         * exp_ch3.adb (Build_Slice_Assignment): New TSS procedure for
1318         one-dimensional array an slice assignments, when component type is
1319         controlled.
1320
1321         * exp_ch5.adb (Expand_Assign_Array): If array is one-dimensional,
1322         component type is controlled, and control_actions are in effect, use
1323         TSS procedure rather than generating inline code.
1324
1325         * exp_tss.ads (TSS_Slice_Assign): New TSS procedure for one-dimensional
1326         arrays with controlled components.
1327
1328 2004-01-26  Vincent Celier  <celier@gnat.com>
1329
1330         * gnatcmd.adb (GNATCmd): Add specification of argument file on the
1331         command line for the non VMS case.
1332
1333         * gnatlink.adb (Process_Binder_File): When building object file, if
1334         GNU linker is used, put all object paths between quotes, to prevent ld
1335         error when there are unusual characters (such as '!') in the paths.
1336
1337         * Makefile.generic: When there are sources in Ada and the main is in
1338         C/C++, invoke gnatmake with -B, instead of -z.
1339
1340         * vms_conv.adb (Preprocess_Command_Data): New procedure, extracted
1341         from VMS_Conversion.
1342         (Process_Argument): New procedure, extracted from VMS_Conversion. Add
1343         specification of argument file on the command line.
1344
1345 2004-01-26  Bernard Banner  <banner@gnat.com>
1346
1347         * Makefile.in: Enable GMEM_LIB and SYMLIB for x86_64
1348
1349 2004-01-26  Ed Schonberg  <schonberg@gnat.com>
1350
1351         * snames.adb: Update copyright notice.
1352         Add info on slice assignment for controlled arrays.
1353
1354 2004-01-23  Robert Dewar  <dewar@gnat.com>
1355
1356         * exp_aggr.adb: Minor reformatting
1357
1358         * exp_ch9.adb: Minor code clean up
1359         Minor reformatting
1360         Fix bad character in comment
1361
1362         PR ada/13471
1363         * targparm.adb (Get_Target_Parameters): Give clean abort error on
1364         unexpected end of file, along with more detailed message.
1365
1366 2004-01-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1367
1368         * exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of
1369         PAT.
1370
1371         * decl.c (copy_alias_set): New function.
1372         (gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it.
1373
1374 2004-01-23  Doug Rupp  <rupp@gnat.com>
1375
1376         * Makefile.in (install-gnatlib): Change occurrences of lib$$file to
1377         lib$${file} in case subsequent character is not a separator.
1378
1379 2004-01-23  Vincent Celier  <celier@gnat.com>
1380
1381         * 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc
1382         when the GCC version is at least 3.
1383
1384         * make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches
1385         Remove all "Opt.", to prepare for opt split
1386
1387         * prj-part.adb (Parse_Single_Project): New Boolean out parameter
1388         Extends_All. Set to True when the project parsed is an extending all
1389         project. Fails for importing an extending all project only when the
1390         imported project is an extending all project.
1391         (Post_Parse_Context_Clause): Set Is_Extending_All to the with clause,
1392         depending on the value of Extends_All returned.
1393
1394         * prj-proc.adb (Process): Check that no project shares its object
1395         directory with a project that extends it, directly or indirectly,
1396         including a virtual project.
1397         Check that no project extended by another project shares its object
1398         directory with another also extended project.
1399
1400         * prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for
1401         Kind = N_With_Clause
1402
1403         * prj-tree.ads: Minor reformatting
1404         Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All).
1405
1406 2004-01-23  Ed Schonberg  <schonberg@gnat.com>
1407
1408         * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute
1409         applies to a type with an incomplete view, use full view in Name of
1410         clause, for consistency with uses of Get_Attribute_Definition_Clause.
1411
1412 2004-01-23  Arnaud Charlet  <charlet@act-europe.fr>
1413
1414         * 5itaprop.adb (Set_Priority): Reset the priority to 0 when using
1415         SCHED_RR, since other values are not supported by this policy.
1416         (Initialize): Move initialization of mutex attribute to package
1417         elaboration, to prevent early access to this variable.
1418
1419         * Makefile.in: Remove mention of Makefile.adalib, unused.
1420
1421         * Makefile.adalib, 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
1422         1ssecsta.ads: Removed, unused.
1423
1424 2004-01-21  Javier Miranda  <miranda@gnat.com>
1425
1426         * exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master
1427         entity if already built in the current scope.
1428
1429         * exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity
1430         reminder in internal scopes. Required for nested limited aggregates.
1431
1432 2004-01-21  Doug Rupp  <rupp@gnat.com>
1433
1434         * Makefile.in (hyphen): New variable, default value '-'. Set to '_' on
1435         VMS. Replace all occurences of libgnat- and libgnarl- with
1436         libgnat$(hyphen) and libgnarl$(hyphen).
1437         Fixed shared library build problem on VMS.
1438
1439 2004-01-21  Robert Dewar  <dewar@gnat.com>
1440
1441         * mlib-prj.adb: Minor reformatting
1442
1443 2004-01-21  Thomas Quinot  <quinot@act-europe.fr>
1444
1445         * prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing
1446         'constant' keywords for declaration of pointers that are not modified.
1447
1448         * exp_pakd.adb: Fix English in comment.
1449
1450 2004-01-21  Ed Schonberg  <schonberg@gnat.com>
1451
1452         PR ada/10889
1453         * sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype,
1454         copy all attributes of the parent, including the foreign language
1455         convention.
1456
1457 2004-01-21  Sergey Rybin  <rybin@act-europe.fr>
1458
1459         PR ada/10565
1460         * sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check
1461         for 'delay until' statement.
1462
1463 2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>
1464
1465         * Make-lang.in: Replace $(docdir) with doc.
1466         (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
1467         doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
1468         to use consistent MAKEINFO rule.
1469         (ada.man, ada.srcman): Dummy entry.
1470         (ADA_INFOFILES): Define.
1471         (ada.info, ada.srcinfo): New rules.
1472
1473 2004-01-19  Arnaud Charlet  <charlet@act-europe.fr>
1474
1475         * utils.c: Update copyright notice, missed in previous change.
1476
1477 2004-01-19  Vincent Celier  <celier@gnat.com>
1478
1479         * mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the
1480         args if Bind is True. Set First_ALI, if not already done.
1481         (Build_Library): For Stand Alone Libraries, extract from one ALI file
1482         an eventual --RTS switch, for gnatbind, and all backend switches +
1483         --RTS, for linking.
1484
1485 2004-01-19  Robert Dewar  <dewar@gnat.com>
1486
1487         * sem_attr.adb, memtrack.adb: Minor reformatting
1488
1489 2004-01-19  Ed Schonberg  <schonberg@gnat.com>
1490
1491         * exp_ch6.adb (Expand_Call): Remove code to fold calls to functions
1492         that rename enumeration literals. This is properly done in sem_eval.
1493
1494         * sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls
1495         to functions that rename enumeration literals.
1496
1497         * sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to
1498         functions that rename enumeration literals.
1499
1500 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
1501
1502         * Make-lang.in (utils.o): Depend on target.h.
1503         * utils.c: Include target.h.
1504         (process_attributes): Use targetm.have_named_sections instead
1505         of ASM_OUTPUT_SECTION_NAME.
1506
1507 2004-01-16  Andreas Jaeger  <aj@suse.de>
1508
1509         * Makefile.in: Add $(DESTDIR).
1510
1511 2004-01-15  Olivier Hainque  <hainque@act-europe.fr>
1512
1513         * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
1514         also when not defining if a Size clause applies. That information is
1515         not to be ignored.
1516
1517 2004-01-15  Arnaud Charlet  <charlet@act-europe.fr>
1518
1519         * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
1520         symbolic links for the shared gnat run time when needed.
1521
1522 2004-01-15  Vasiliy Fofanov  <fofanov@act-europe.fr>
1523
1524         * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
1525         for writing, and terminate with an error message if not.
1526
1527 2004-01-15  Ed Schonberg  <schonberg@gnat.com>
1528
1529         * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
1530         warning on an access to subprogram in an instance, when the target
1531         type is declared in the same generic unit.
1532         (Eval_Attribute): If 'access is known to fail accessibility check,
1533         rewrite as a raise statement.
1534
1535 2004-01-15  GNAT Script  <nobody@gnat.com>
1536
1537         * Make-lang.in: Makefile automatically updated
1538
1539 2004-01-15  Kelley Cook  <kcook@gcc.gnu.org>
1540
1541         * Make-lang.in (ada.srcextra): Dummy entry.
1542
1543 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
1544
1545         * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.
1546
1547 2004-01-13  Ed Schonberg  <schonberg@gnat.com>
1548
1549         * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
1550         components that are initialized with aggregates.
1551
1552 2004-01-13  Vincent Celier  <celier@gnat.com>
1553
1554         * gnatlink.adb (Process_Binder_File): To find directory of shared
1555         libgcc, if "gcc-lib" is not a subdirectory, look for the last
1556         subdirectory "lib" in the path of the shared libgnat or libgnarl.
1557
1558         * make.adb (Gnatmake): If GCC version is at least 3, link with
1559         -shared-libgcc, when there is at least one shared library project.
1560
1561         * opt.ads (GCC_Version): New integer constant.
1562
1563         * adaint.c (get_gcc_version): New function.
1564
1565 2004-01-13  Robert Dewar  <dewar@gnat.com>
1566
1567         * sem_dist.adb, sem_res.adb, sem_util.adb,
1568         sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
1569         exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
1570
1571 2004-01-13  Thomas Quinot  <quinot@act-europe.fr>
1572
1573         * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
1574         g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
1575         declarations.
1576
1577 2004-01-12  Arnaud Charlet  <charlet@act-europe.fr>
1578
1579         * misc.c: Remove trailing spaces.
1580         Update copyright notice missed in previous change.
1581
1582         PR ada/13572
1583         * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
1584         prefix/share/make
1585
1586         * Makefile.generic: Update copyright.
1587         Add license notice.
1588
1589         * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
1590         of prefix/share/make.
1591
1592         * Makefile.prolog: Update copyright.
1593         Add license notice.
1594
1595 2004-01-12  Laurent Pautet  <pautet@act-europe.fr>
1596
1597         * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
1598         3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
1599         g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
1600         instead of String.
1601
1602         * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
1603         signature.
1604
1605 2004-01-12  Javier Miranda  <miranda@gnat.com>
1606
1607         * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
1608         exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
1609         sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
1610         sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
1611         Component_Definition node.
1612
1613 2004-01-12  Ed Falis  <falis@gnat.com>
1614
1615         * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit
1616
1617 2004-01-12  Thomas Quinot  <quinot@act-europe.fr>
1618
1619         * link.c: Change default libgnat kind to STATIC for FreeBSD.
1620
1621 2004-01-12  Bernard Banner  <banner@gnat.com>
1622
1623         * Makefile.in: map 86numaux to a-numaux for x86_64
1624
1625 2004-01-12  Ed Schonberg  <schonberg@gnat.com>
1626
1627         * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
1628         generated to rename a generic actual, go to the actual itself, the
1629         subtype is not a user-visible entity.
1630
1631         * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
1632         part is a private subtype, reset the visibility of its full view, if
1633         any, to be consistent.
1634
1635         PR ada/13417
1636         * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
1637         to use a generic package G as a formal package for another generic
1638         declared within G.
1639
1640 2004-01-12  Robert Dewar  <dewar@gnat.com>
1641
1642         * trans.c (Eliminate_Error_Msg): New procedure called to generate msg
1643
1644         * usage.adb: Remove mention of obsolete -gnatwb switch
1645         Noticed during code reading
1646
1647 2004-01-12  Jerome Guitton  <guitton@act-europe.fr>
1648
1649         * 1ssecsta.adb: Minor changes for -gnatwa warnings
1650
1651 2004-01-12  GNAT Script  <nobody@gnat.com>
1652
1653         * Make-lang.in: Makefile automatically updated
1654
1655 2004-01-09  Mark Mitchell  <mark@codesourcery.com>
1656
1657         * misc.c (gnat_expand_expr): Add alt_rtl parameter.
1658
1659 2004-01-07  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1660
1661         * link.c [sgi] (shared_libgnat_default): Change to STATIC.
1662
1663 2004-01-05  Kelley Cook  <kcook@gcc.gnu.org>
1664
1665         * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
1666         Update comment and copyright date.
1667         * stamp-xgnatug: Delete.
1668
1669 2004-01-05  Robert Dewar  <dewar@gnat.com>
1670
1671         * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
1672         be modified by the binder generated main program if the -D switch is
1673         used.
1674
1675         * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
1676         imported functions (since now we expect this to be done for imported
1677         functions)
1678
1679         * 5vtaprop.adb: Add several ??? for sections requiring more comments
1680         Minor reformatting throughout
1681
1682         * 5zinit.adb: Minor reformatting
1683         Add 2004 to copyright date
1684         Minor changes to avoid -gnatwa warnings
1685         Correct some instances of using OR instead of OR ELSE (noted while
1686         doing reformatting)
1687
1688         * sprint.adb: Minor updates to avoid -gnatwa warnings
1689
1690         * s-secsta.ads, s-secsta.adb:
1691         (SS_Get_Max): New function to obtain high water mark for ss stack
1692         Default_Secondary_Stack is not a constant since it may be modified by
1693         the binder generated main program if the -D switch is used.
1694
1695         * switch-b.adb: New -Dnnn switch for binder
1696
1697         * switch-c.adb:
1698         Make -gnatg imply all warnings currently in -gnatwa
1699
1700         * vms_conv.adb: Minor reformatting
1701         Add 2004 to copyright notice
1702         Add 2004 to printed copyright notice
1703
1704         * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
1705         3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
1706         5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
1707         5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
1708         5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
1709         5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
1710         5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
1711         5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
1712         5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
1713         5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
1714         6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
1715         vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
1716         xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
1717         sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
1718         checks.adb, clean.adb, cstand.adb, einfo.ads,
1719         einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
1720         exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
1721         prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
1722         sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
1723         g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
1724         lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
1725         Minor reformatting and code clean ups.
1726         Minor changes to prevent -gnatwa warnings
1727
1728         * ali.adb: Minor reformatting and cleanup of code
1729         Acquire new SS indication of secondary stack use from ali files
1730
1731         * a-numaux.ads: Add Pure_Function pragmas for all imported functions
1732         (since now we expect this to be done for imported functions)
1733
1734         * bindgen.adb: Generate call to modify default secondary stack size if
1735         -Dnnn switch given
1736
1737         * bindusg.adb: Add line for new -D switch
1738
1739         * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
1740         replacement name for Type_May_Have_Non_Bit_Aligned_Components!
1741         Add circuitry for both records and arrays to avoid gigi
1742         processing if the type involved has non-bit-aligned components
1743
1744         * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
1745         N_String_Literal node always references an E_String_Literal_Subtype
1746         entity. This may not be true in the future.
1747         (Possible_Bit_Aligned_Component): Move processing of
1748         Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
1749
1750         * exp_ch6.adb (Expand_Thread_Body): Pick up
1751         Default_Secondary_Stack_Size as variable so that we get value modified
1752         by possible -Dnnn binder parameter.
1753
1754         * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
1755         (Type_May_Have_Bit_Aligned_Components): New function.
1756
1757         * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
1758         (Type_May_Have_Bit_Aligned_Components): New function.
1759
1760         * fe.h: (Set_Identifier_Casing): Fix prototype.
1761         Add declaration for Sem_Elim.Eliminate_Error_Msg.
1762         Minor reformatting.
1763
1764         * freeze.adb (Freeze_Entity): Add RM reference to error message about
1765         importing constant atomic/volatile objects.
1766         (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
1767         unless explicit Pure_Function pragma given, to avoid insidious bug of
1768         call to non-pure imported function getting eliminated.
1769
1770         * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
1771         gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
1772         gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
1773         Add 2004 to printed copyright notice
1774
1775         * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
1776         stack used.
1777
1778         * Makefile.rtl: Add entry for g-sestin.o
1779         g-sestin.ads: New file.
1780
1781         * mdll.adb: Minor changes to avoid -gnatwa warnings
1782
1783         * mlib-tgt.adb: Minor reformatting
1784
1785         * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
1786         New switch Sec_Stack_Used (GNAT, GNATBIND)
1787         Make Default_Secondary_Stack_Size a variable instead of a constant,
1788         so that it can be modified by the new -Dnnn bind switch.
1789
1790         * rtsfind.adb (Load_Fail): Give full error message in configurable
1791         run-time mode if all_errors mode is set. This was not done in the case
1792         of a file not found, which was an oversight.
1793         Note if secondary stack unit is used by compiler.
1794
1795         * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
1796         ineffective elaborate all pragmas on non-visible packages (this
1797         happened when a renamed subprogram was called). Now the elaborate all
1798         always goes on the package containing the renaming rather than the one
1799         containing the renamed subprogram.
1800
1801         * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
1802         (Process_Eliminate_Pragma): Add parameter to capture pragma location.
1803
1804         * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
1805         has an Etype that references an E_String_Literal.
1806         (Eval_String_Literal): Avoid assumption that N_String_Literal node
1807         always references an E_String_Literal_Subtype entity. This may not
1808         be true in the future.
1809
1810         * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
1811         pragma location.
1812
1813         * sem_res.adb (Resolve): Specialize msg for function name used in proc
1814         call.
1815
1816 2004-01-05  Ed Falis  <falis@gnat.com>
1817
1818         * g-debuti.adb: Replaced direct boolean operator with short-circuit
1819         form.
1820
1821 2004-01-05  Vincent Celier  <celier@gnat.com>
1822
1823         * bld.adb: Minor comment updates
1824         (Process_Declarative_Items): Correct incorrect name (Index_Name instead
1825         of Item_Name).
1826
1827         * make.adb (Gnatmake): Special process for files to compile/check when
1828         -B is specified. Fail when there are only foreign mains in attribute
1829         Main of the project file and -B is not specified. Do not skip bind/link
1830         steps when -B is specified.
1831
1832         * makeusg.adb: Document new switch -B
1833
1834         * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
1835
1836         * switch-m.adb: (Scan_Make_Switches): Process -B switch
1837
1838         * vms_data.ads: Add new GNAT PRETTY qualifier
1839         /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
1840
1841 2004-01-05  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
1842
1843         * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
1844         case.
1845
1846         * misc.c (gnat_printable_name): If VERBOSITY is 2, call
1847         Set_Identifier_Casing.
1848
1849         * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
1850         has size that overflows.
1851
1852 2004-01-05  Gary Dismukes  <dismukes@gnat.com>
1853
1854         * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
1855         -gnatwa warning on static condition.
1856
1857 2004-01-05  Doug Rupp  <rupp@gnat.com>
1858
1859         * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
1860
1861 2004-01-05  Arnaud Charlet  <charlet@act-europe.fr>
1862
1863         * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
1864         all attributes, including read-only attribute.
1865
1866 2004-01-05  Pascal Obry  <obry@gnat.com>
1867
1868         * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
1869         library naming scheme.
1870
1871         * mlib-prj.adb (Build_Library): Generate different names for the static
1872         or dynamic version of the GNAT runtime. This is needed to support the
1873         new shared library naming scheme.
1874         (Process_Binder_File): Add detection of shared library in binder file
1875         based on the new naming scheme.
1876
1877         * gnatlink.adb (Process_Binder_File): Properly detect the new naming
1878         scheme for the shared runtime libraries.
1879
1880         * Makefile.in:
1881         (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
1882         scheme.
1883         (install-gnatlib): Do not create symlinks for shared libraries.
1884         (gnatlib-shared-default): Idem.
1885         (gnatlib-shared-dual-win32): New target. Not used for now as the
1886         auto-import feature does not support arrays/records.
1887         (gnatlib-shared-win32): Do not create copy for the shared libraries.
1888         (gnatlib-shared-vms): Fix shared runtime libraries names.
1889
1890         * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
1891         dependent runtime shared library name.
1892
1893 2004-01-05  Vasiliy Fofanov  <fofanov@act-europe.fr>
1894
1895         * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
1896         than the object.
1897
1898 2004-01-05  Ed Schonberg  <schonberg@gnat.com>
1899
1900         * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
1901         protected objects when allocator has a subtype indication, not a
1902         qualified expression. Note that qualified expressions may have to be
1903         checked when limited aggregates are implemented.
1904
1905         * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
1906         pure, emit warning.
1907         (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
1908         subprogram is imported, remove warning.
1909
1910 2004-01-05  Geert Bosch  <bosch@gnat.com>
1911
1912         * s-poosiz.adb: Update copyright notice.
1913         (Allocate): Use Task_Lock to protect against concurrent access.
1914         (Deallocate): Likewise.
1915
1916 2004-01-05  Joel Brobecker  <brobecker@gnat.com>
1917
1918         * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
1919         comment.
1920
1921 2003-12-23  Kelley Cook  <kcook@gcc.gnu.org>
1922
1923         * gnat_ug.texi: Force a CVS commit by updating copyright.
1924         * gnat_ug_vxw.texi: Regenerate.
1925         * gnat_ug_wnt.texi: Regenerate.
1926         * gnat_ug_vms.texi: Regenerate.
1927         * gnat_ug_unx.texi: Regenerate.
1928
1929 2003-12-20  Kazu Hirata  <kazu@cs.umass.edu>
1930
1931         * trans.c: Remove uses of "register" specifier in
1932         declarations of local variables.
1933
1934 2003-12-18  Kelley Cook  <kcook@gcc.gnu.org>
1935
1936         * stamp-xgnatug: New stamp file.
1937         * Make-lang.in (stamp-xgnatug):  New stamp file and comment.
1938         (ada/doctools/xgnatug): Add $(build_exeext).
1939         (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
1940         ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
1941
1942 2003-12-17  Ed Falis  <falis@gnat.com>
1943
1944         * a-elchha.adb (Tailored_Exception_Information): made Info constant to
1945         eliminate warning.
1946
1947         * a-exextr.adb: Add context clause for
1948         Ada.Exceptions.Last_Chance_Handler.
1949
1950 2003-12-17  Sergey Rybin  <rybin@act-europe.fr>
1951
1952         * cstand.adb (Create_Standard): Change the way how the declaration of
1953         the Duration type is created (making it the same way as it is for all
1954         the other standard types).
1955
1956 2003-12-17  Robert Dewar  <dewar@gnat.com>
1957
1958         * s-crtl.ads: Fix header format
1959         Change Pure to Preelaborate
1960
1961 2003-12-17  Ed Schonberg  <schonberg@gnat.com>
1962
1963         * checks.adb (Selected_Length_Checks): Generate an Itype reference for
1964         the expression type only if it is declared in the current unit.
1965
1966         * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
1967         are universal and already analyzed, as can occur in constrained
1968         subcomponents that depend on discriminants, when one constraint is a
1969         subtype mark.
1970
1971         * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
1972         type Any_Fixed is legal as the argument of a conversion, if only one
1973         fixed-point type is in context.
1974
1975 2003-12-17  GNAT Script  <nobody@gnat.com>
1976
1977         * Make-lang.in: Makefile automatically updated
1978
1979 2003-12-15  Robert Dewar  <dewar@gnat.com>
1980
1981         * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
1982         sec stack size.
1983
1984 2003-12-15  Vincent Celier  <celier@gnat.com>
1985
1986         * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
1987         (Gnatchop): Do not set failure status when reporting the number of
1988         warnings.
1989
1990 2003-12-15  Doug Rupp  <rupp@gnat.com>
1991
1992         * s-ctrl.ads: New file.
1993
1994         * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
1995
1996         * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
1997         (GNATBIND_OBJS): Add ada/s-crtl.o.
1998
1999         * Makefile.in [VMS]: Clean up ifeq rules.
2000
2001         * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
2002         a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
2003         g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
2004         s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
2005         s-tasdeb.adb: Update copyright.
2006         Import System.CRTL.
2007         Make minor modifications to use System.CRTL declared functions instead
2008         of importing locally.
2009
2010 2003-12-15  GNAT Script  <nobody@gnat.com>
2011
2012         * Make-lang.in: Makefile automatically updated
2013
2014 2003-12-11  Ed Falis  <falis@gnat.com>
2015
2016         * 5zinit.adb: Clean up.
2017
2018         * 5zintman.adb (Notify_Exception): replaced case statement with a call
2019         to __gnat_map_signal, imported from init.c to support
2020         signal -> exception mappings that depend on the vxWorks version.
2021
2022         * init.c:
2023         Created and exported __gnat_map_signal to support signal -> exception
2024         mapping that is dependent on the VxWorks version.
2025         Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
2026
2027 2003-12-11  Vasiliy Fofanv  <fofanov@act-europe.fr>
2028
2029         * 5wosinte.ads: Link with -mthreads switch.
2030
2031 2003-12-11  Arnaud Charlet  <charlet@act-europe.fr>
2032
2033         * init.c (__gnat_install_handler [NetBSD]): Set
2034         __gnat_handler_installed, as done on all other platforms.
2035         Remove duplicated code.
2036
2037 2003-12-11  Jerome Guitton  <guitton@act-europe.fr>
2038
2039         * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
2040
2041 2003-12-11  Thomas Quinot  <quinot@act-europe.fr>
2042
2043         * sinfo.ads: Fix inconsistent example code in comment.
2044
2045 2003-12-11  Robert Dewar  <dewar@gnat.com>
2046
2047         * a-tiinau.adb: Add a couple of comments
2048
2049         * sem_ch3.adb: Minor reformatting
2050
2051         * sem_prag.adb:
2052         Fix bad prototype of Same_Base_Type in body (code reading cleanup)
2053         Minor reformatting throughout
2054
2055 2003-12-11  Ed Schonberg  <schonberg@gnat.com>
2056
2057         * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
2058         bounds of a loop, create a separate block in order to generate proper
2059         cleanup actions to prevent memory leaks.
2060
2061         * sem_res.adb (Resolve_Call): After a call to
2062         Establish_Transient_Scope, the call may be rewritten and relocated, in
2063         which case no further processing is needed.
2064
2065         * sem_util.adb: (Wrong_Type): Refine previous fix.
2066          Fixes ACATS regressions.
2067
2068         PR ada/13353
2069
2070         * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
2071         be inlined.
2072
2073 2003-12-08  Jerome Guitton  <guitton@act-europe.fr>
2074
2075         * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
2076         i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
2077         obsolete files.
2078
2079         * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
2080         (rts-zfp): Ditto.
2081
2082 2003-12-08  Robert Dewar  <dewar@gnat.com>
2083
2084         * 7sintman.adb: Minor reformatting
2085
2086         * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
2087         standard linker options to get standard libraries linked. We now plan
2088         to provide dummy versions of these libraries to match the appropriate
2089         configurable run-time (e.g. if a library is not needed at all, provide
2090         a dummy empty library).
2091
2092         * targparm.ads: Configurable_Run_Time mode no longer affects linker
2093         options (-L parameters and standard libraries). What we plan to do is
2094         to provide dummy libraries where the libraries are not required.
2095
2096         * gnatbind.adb: Minor comment improvement
2097
2098 2003-12-08  Javier Miranda  <miranda@gnat.com>
2099
2100         * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
2101         aggregate in the parent. Otherwise constants with limited aggregates
2102         are not supported. Add new formal to pass the component type (Ctype).
2103         It is required to call the corresponding IP subprogram in case of
2104         default initialized components.
2105         (Gen_Assign): In case of default-initialized component, generate a
2106         call to the IP subprogram associated with the component.
2107         (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
2108         of aggregate with default initialized components.
2109         (Has_Default_Init_Comps): Improve implementation to recursively check
2110         all the present expressions.
2111
2112         * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
2113         to indicate that the initialization call corresponds to a
2114         default-initialized component of an aggregate.
2115         In case of default initialized aggregate with tasks this parameter is
2116         used to generate a null string (this is just a workaround that must be
2117         improved later). In case of discriminants, this parameter is used to
2118         generate a selected component node that gives access to the discriminant
2119         value.
2120
2121         * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
2122         subprogram, based on Build_Task_Allocate_Block, but adapted to expand
2123         allocated aggregates with default-initialized components.
2124
2125         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
2126         the box notation is used in positional aggregates.
2127
2128 2003-12-08  Samuel Tardieu  <tardieu@act-europe.fr>
2129
2130         * lib.ads: Fix typo in comment
2131
2132 2003-12-08  Vincent Celier  <celier@gnat.com>
2133
2134         * prj.adb (Project_Empty): New component Unkept_Comments
2135         (Scan): Remove procedure; moved to Prj.Err.
2136
2137         * prj.ads (Project_Data): New Boolean component Unkept_Comments
2138         (Scan): Remove procedure; moved to Prj.Err.
2139
2140         * prj-dect.adb: Manage comments for the different declarations.
2141
2142         * prj-part.adb (With_Record): New component Node
2143         (Parse): New Boolean parameter Store_Comments, defaulted to False.
2144         Set the scanner to return ends of line and comments as tokens, if
2145         Store_Comments is True.
2146         (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
2147         comments are associated with these nodes. Store the node IDs in the
2148         With_Records.
2149         (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
2150         With_Records.
2151         (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
2152         the N_Project node. Call Tree.Save and Tree.Reset before scanning the
2153         current project. Call Tree.Restore afterwards. Set the various nodes
2154         for comment storage (Next_End, End_Of_Line, Previous_Line,
2155         Previous_End).
2156
2157         * prj-part.ads (Parse): New Boolean parameter Store_Comments,
2158         defaulted to False.
2159
2160         * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
2161         to False. When Truncated is True, truncate the string, never go to the
2162         next line.
2163         (Write_End_Of_Line_Comment): New procedure
2164         (Print): Process comments for nodes N_With_Clause,
2165         N_Package_Declaration, N_String_Type_Declaration,
2166         N_Attribute_Declaration, N_Typed_Variable_Declaration,
2167         N_Variable_Declaration, N_Case_Construction, N_Case_Item.
2168         Process nodes N_Comment.
2169
2170         * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
2171         without comments and there are some comments, set the flag
2172         Unkept_Comments to True.
2173         (Scan): If there are comments, set the flag Unkept_Comments to True and
2174         clear the comments.
2175         (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
2176         (Next_End_Nodes: New table
2177         (Comment_Zones_Of): New function
2178         (Scan): New procedure; moved from Prj. Accumulate comments in the
2179         Comments table and set end of line comments, comments after, after end
2180         and before end.
2181         (Add_Comments): New procedure
2182         (Save, Restore, Seset_State): New procedures
2183         (There_Are_Unkept_Comments): New function
2184         (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
2185         (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
2186         procedures.
2187         (First_Comment_After, First_Comment_After_End): New functions
2188         (First_Comment_Before, First_Comment_Before_End): New functions
2189         (Next_Comment): New function
2190         (End_Of_Line_Comment, Follows_Empty_Line,
2191         Is_Followed_By_Empty_Line): New functions
2192         (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
2193         (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
2194         (Set_Next_Comment): New procedure
2195         (Default_Project_Node): Associate comment before if the node can store
2196         comments.
2197
2198         * scans.ads (Token_Type): New enumeration value Tok_Comment
2199         (Comment_Id): New global variable
2200
2201         * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
2202         defaulted to False.
2203         (Scan): Store position of start of comment. If comments are tokens, set
2204         Comment_Id and set Token to Tok_Comment when scanning a comment.
2205         (Set_Comment_As_Token): New procedure
2206
2207         * sinput-p.adb: Update Copyright notice
2208         (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
2209         that no longer exists.
2210
2211 2003-12-08  Javier Miranda  <miranda@gnat.com>
2212
2213         * sem_aggr.adb: Add dependence on Exp_Tss package
2214         Correct typo in comment
2215         (Resolve_Aggregate): In case of array aggregates set the estimated
2216         type of the aggregate before calling resolve. This is needed to know
2217         the name of the corresponding IP in case of limited array aggregates.
2218         (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
2219         in case of default initialized array components.
2220
2221         * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
2222         types. Required to give support to limited aggregates in generic
2223         formals.
2224
2225 2003-12-08  Ed Schonberg  <schonberg@gnat.com>
2226
2227         * sem_ch3.adb (Check_Initialization): For legality purposes, an
2228         inlined body functions like an instantiation.
2229         (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
2230         until bounds are analyzed, to diagnose premature use of type.
2231
2232         * sem_util.adb (Wrong_Type): Improve error message when the type of
2233         the expression is used prematurely.
2234
2235 2003-12-08  GNAT Script  <nobody@gnat.com>
2236
2237         * Make-lang.in: Makefile automatically updated
2238
2239 2003-12-08  Arnaud Charlet  <charlet@act-europe.fr>
2240
2241         * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
2242         they are automatically generated by Make-lang.in and cause nothing but
2243         maintenance troubles.
2244
2245 2003-12-05  Thomas Quinot  <quinot@act-europe.fr>
2246
2247         * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
2248         version of this unit).
2249
2250 2003-12-05  Olivier Hainque  <hainque@act-europe.fr>
2251
2252         * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
2253         5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
2254         5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
2255         the body of System.Interrupt_Management common to several targets.
2256         Update copyright notice when appropriate.
2257
2258         * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
2259         constant.
2260
2261         * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
2262         to ensure that the kernel fills in the interrupted context structure
2263         before calling a signal handler, which is necessary to be able to
2264         unwind past it. Update the copyright notice.
2265
2266 2003-12-05  Jerome Guitton  <guitton@act-europe.fr>
2267
2268         * a-elchha.ads: New file.
2269
2270         * a-elchha.adb: New default last chance handler. Contents taken from
2271         Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
2272
2273         * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
2274         is moved to a-elchha.adb to provide a target-independent default last
2275         chance handler.
2276
2277         * Makefile.rtl: Add a-elchha.o
2278
2279         * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
2280
2281 2003-12-05  Ed Schonberg  <schonberg@gnat.com>
2282
2283         * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
2284         declared in an instance, do not inline the call if the instance is not
2285         frozen yet, to prevent order of elaboration problems.
2286
2287         * sem_prag.adb: Add comments for previous fix.
2288
2289 2003-12-05  Samuel Tardieu  <tardieu@act-europe.fr>
2290
2291         * g-table.adb: Use the right variable in Set_Item.
2292         Update copyright notice.
2293
2294 2003-12-05  Arnaud Charlet  <charlet@act-europe.fr>
2295
2296         * Makefile.in: Remove unused rules.
2297
2298 2003-12-05  Vincent Celier  <celier@gnat.com>
2299
2300         * switch-c.adb (Scan_Front_End_Switches): Remove processing of
2301         -nostdlib. Not needed here after all.
2302
2303 2003-12-03  Thomas Quinot  <quinot@act-europe.fr>
2304
2305         PR ada/11724
2306
2307         * adaint.h, adaint.c, g-os_lib.ads:
2308         Do not assume that the offset argument to lseek(2) is a 32 bit integer,
2309         on some platforms (including FreeBSD), it is a 64 bit value.
2310         Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
2311
2312 2003-12-03  Arnaud Charlet  <charlet@act-europe.fr>
2313
2314         * gnatvsn.ads (Library_Version): Now contain only the relevant
2315         version info.
2316         (Verbose_Library_Version): New constant.
2317
2318         * g-spipat.adb, g-awk.adb, g-debpoo.adb,
2319         g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
2320         s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
2321
2322         * gnatlbr.adb: Clean up: replace Library_Version by
2323         Verbose_Library_Version.
2324
2325         * make.adb, lib-writ.adb, exp_attr.adb:
2326         Clean up: replace Library_Version by Verbose_Library_Version.
2327
2328         * 5lintman.adb: Removed.
2329
2330         * Makefile.in:
2331         Update and simplify computation of LIBRARY_VERSION.
2332         Fix computation of GSMATCH_VERSION.
2333         5lintman.adb is no longer used: replaced by 7sintman.adb.
2334
2335 2003-12-03  Robert Dewar  <dewar@gnat.com>
2336
2337         * exp_ch5.adb:
2338         (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
2339         name. Modified to consider small non-bit-packed arrays as troublesome
2340         and in need of component-by-component assigment expansion.
2341
2342 2003-12-03  Vincent Celier  <celier@gnat.com>
2343
2344         * lang-specs.h: Process nostdlib as nostdinc
2345
2346         * back_end.adb: Update Copyright notice
2347         (Scan_Compiler_Arguments): Process -nostdlib directly.
2348
2349 2003-12-03  Jose Ruiz  <ruiz@act-europe.fr>
2350
2351         * Makefile.in:
2352         When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
2353         redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
2354         included in HIE_NONE_TARGET_PAIRS.
2355
2356 2003-12-03  Ed Schonberg  <schonberg@gnat.com>
2357
2358         * sem_attr.adb:
2359         (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
2360         is legal in an instance, because legality is cheched in the template.
2361
2362         * sem_prag.adb:
2363         (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
2364         appplied to an unchecked conversion of a formal parameter.
2365
2366         * sem_warn.adb:
2367         (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
2368         variables.
2369
2370 2003-12-03  Olivier Hainque  <hainque@act-europe.fr>
2371
2372         * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
2373         routines. The second one is new functionality to deal with backtracing
2374         through signal handlers.
2375         (unwind): Split into the two separate subroutines above.
2376         Update the documentation, and deal properly with sizeof (REG) different
2377         from sizeof (void*).
2378
2379 2003-12-01  Nicolas Setton  <setton@act-europe.fr>
2380
2381         * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
2382         so that the debugger can reliably access the value of the parameter,
2383         and therefore is able to display the exception name when an exception
2384         breakpoint is reached.
2385
2386 2003-12-01  Thomas Quinot  <quinot@act-europe.fr>
2387
2388         * fmap.adb: Fix typo in warning message.
2389
2390         * g-socket.ads, g-socket.adb: Make Free a visible instance of
2391         Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
2392
2393 2003-12-01  Vincent Celier  <celier@gnat.com>
2394
2395         * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
2396         ther is no Afile.
2397         (Build_Library): Get the switches only if Default_Switches is declared
2398         in package Binder.
2399
2400 2003-12-01  Ed Schonberg  <schonberg@gnat.com>
2401
2402         * exp_ch6.adb (Expand_Actuals): When applying validity checks to
2403         actuals that are indexed components, reanalyze actual to ensure that
2404         packed array references are properly expanded.
2405
2406         * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
2407         attempted assignment to a discriminant.
2408
2409 2003-12-01  Robert Dewar  <dewar@gnat.com>
2410
2411         * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
2412         reformatting.
2413
2414         * switch-c.adb: Minor reformatting of comments
2415
2416 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
2417
2418         * Makefile.in: Clean ups.
2419
2420 2003-12-01  GNAT Script  <nobody@gnat.com>
2421
2422         * Make-lang.in: Makefile automatically updated
2423
2424 2003-12-01  Arnaud Charlet  <charlet@act-europe.fr>
2425
2426         * 5wsystem.ads: Disable zero cost exception, not ready yet.
2427
2428 2003-11-29  Ulrich Weigand  <uweigand@de.ibm.com>
2429
2430         * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
2431         to force serialization.
2432
2433 2003-11-26  Thomas Quinot  <quinot@act-europe.fr>
2434
2435         * g-socket.ads, g-socket.adb:
2436         Clarify documentation of function Stream. Introduce a Free procedure
2437         to release the returned Stream once it becomes unused.
2438
2439         * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
2440
2441 2003-11-26  Arnaud Charlet  <charlet@act-europe.fr>
2442
2443         (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
2444         since NT 4 cannot handle timeout values that are too large,
2445         e.g. DWORD'Last - 1.
2446
2447 2003-11-26  Ed Schonberg  <schonberg@gnat.com>
2448
2449         * exp_ch4.adb:
2450         (Expand_N_Slice): Recognize all cases of slices that appear as actuals
2451         in procedure calls and whose expansion must be deferred.
2452
2453         * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
2454         is in exp_ch4.
2455
2456         * sem_ch3.adb:
2457         (Build_Derived_Array_Type): Create operator for unconstrained type
2458         if ancestor is unconstrained.
2459
2460 2003-11-26  Vincent Celier  <celier@gnat.com>
2461
2462         * make.adb (Project_Object_Directory): New global variable
2463         (Change_To_Object_Directory): New procedure
2464         (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
2465         of Change_Dir directly. Do not change working directory to object
2466         directory of main project after each compilation.
2467         (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
2468         directly.
2469         Change to object directory of main project before binding step.
2470         (Initialize): Initialize Project_Object_Directory to No_Project
2471
2472         * mlib-prj.adb:
2473         (Build_Library): Take into account Builder'Default_Switches ("Ada") when
2474         binding a Stand-Alone Library.
2475
2476         * output.adb: Update Copyright notice
2477         (Write_Char): Output buffer when full
2478
2479 2003-11-26  Robert Dewar  <dewar@gnat.com>
2480
2481         * sem_ch13.adb: (Check_Size): Reset size if size is too small
2482
2483         * sem_ch13.ads:
2484         (Check_Size): Fix documentation to include bit-packed array case
2485
2486         * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
2487
2488         * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
2489
2490         * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
2491
2492 2003-11-24  Arnaud Charlet <charlet@act-europe.fr>
2493
2494         PR ada/13142
2495         * utils.c (init_gigi_decls): Change name of built-in setjmp to
2496         __builtin_setjmp, since this is apparently needed by recent
2497         non Ada changes.
2498
2499 2003-11-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2500
2501         * adadecode.c: Only include ctype.h if not IN_GCC.
2502         (__gnat_decode): Use ISDIGIT from safe-ctype.h.
2503
2504 2003-11-24  Jose Ruiz  <ruiz@act-europe.fr>
2505
2506         * Makefile.in:
2507         Use 5zintman.ads for VxWorks targets. This file avoid confusion between
2508         signals and interrupts.
2509
2510         * 5zintman.ads: New File.
2511
2512         * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
2513         add exception signals to the set of unmasked signals.
2514
2515         * 5ztaprop.adb:
2516         Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
2517         between signals and interrupts.
2518         Add to Unblocked_Signal_Mask the set of signals that are in
2519         Keep_Unmasked.
2520
2521         * 7sinmaop.adb:
2522         Adding a check to see whether the Interrupt_ID we want to unmask is in
2523         the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
2524         reason is that the index type of the Keep_Unmasked array is not always
2525         Interrupt_ID; it may be a subtype of Interrupt_ID.
2526
2527 2003-11-24  Gary Dismukes  <dismukes@gnat.com>
2528
2529         * exp_util.adb:
2530         (Remove_Side_Effects): Condition constantness of object created for a
2531          an unchecked type conversion on the constantness of the expression
2532          to ensure the correct value for 'Constrained when passing components
2533          of view-converted class-wide objects.
2534
2535 2003-11-24  Robert Dewar  <dewar@gnat.com>
2536
2537         * par-load.adb (Load): Improve handling of misspelled and missing units
2538         Removes several cases of compilation abandoned messages
2539
2540         * lib.adb: (Remove_Unit): New procedure
2541
2542         * lib.ads: (Remove_Unit): New procedure
2543
2544         * lib-load.adb: Minor reformatting
2545
2546 2003-11-24  Vincent Celier  <celier@gnat.com>
2547
2548         * make.adb:
2549         (Gnatmake, Initialize): Call Usage instead of Makeusg directly
2550         (Marking_Label): Label to mark processed source files. Incremented for
2551         each executable.
2552         (Gnatmake): Increase Marking_Labet for each executable
2553         (Is_Marked): Compare against marking label
2554         (Mark): Mark with marking label
2555
2556 2003-11-24  Jerome Guitton  <guitton@act-europe.fr>
2557
2558         * s-thread.ads:
2559         Move the declaration of the TSD for System.Threads to System.Soft_Links.
2560         Add some comments.
2561
2562         * Makefile.in: Added target pair for s-thread.adb for cert runtime.
2563         (rts-cert): build a single relocatable object for the run-time lib.
2564         Fix perms.
2565
2566 2003-11-24  Vasiliy Fofanov  <fofanov@act-europe.fr>
2567
2568         * Make-lang.in:
2569         Use gnatls rather than gcc to obtain the location of GNAT RTL for
2570         crosstools build.
2571
2572 2003-11-24  Sergey Rybin  <rybin@act-europe.fr>
2573
2574         * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
2575         can not use it as before (that is, as a variable) when dumping it into
2576         the tree file. Add a local variable to store the result of this
2577         function and to be used as the string to be written into the tree.
2578
2579         * scn.adb (Initialize_Scanner): Add comments explaining the recent
2580         changes.
2581
2582         * sinput.adb (Source_First, Source_Last): In case of
2583         Internal_Source_File, replace returning attributes of
2584         Internal_Source_Ptr (which is wrong) with returning attributes of
2585         Internal_Source.
2586
2587 2003-11-24  Ed Schonberg  <schonberg@gnat.com>
2588
2589         * sem_ch3.adb:
2590         (New_Concatenation_Op): Proper name for New_Binary_Operator, only
2591         used for implicit concatenation operators.
2592         Code cleanup.
2593
2594         * sem_elab.adb:
2595         (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
2596         task bodies that are in the scope of a Suppress pragma.
2597         (Check_A Call): Use the flag to prevent spurious elaboration checks.
2598
2599         * sinfo.ads, sinfo.adb:
2600         New flag No_Elaboration_Check on function/procedure calls, to properly
2601         suppress checks on calls in task bodies that are within a local suppress
2602         pragma.
2603
2604         * exp_ch4.adb:
2605         (Expand_Concatenate_Other): Use the proper integer type for the
2606         expression for the upper bound, to avoid universal_integer computations
2607         when possible.
2608
2609 2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
2610
2611         * .cvsignore: Delete.
2612
2613 2003-11-21  Andreas Schwab  <schwab@suse.de>
2614
2615         * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
2616
2617 2003-11-21  Vasiliy Fofanov  <fofanov@act-europe.fr>
2618
2619         * 5wsystem.ads: Enable zero cost exception.
2620
2621 2003-11-21  Jerome Guitton  <guitton@act-europe.fr>
2622
2623         * 5ztiitho.adb: Remove an unreferenced variable.
2624
2625 2003-11-21  Thomas Quinot  <quinot@act-europe.fr>
2626
2627         * adaint.c: For FreeBSD, use mkstemp.
2628
2629 2003-11-21  Arnaud Charlet  <charlet@act-europe.fr>
2630
2631         * gnatlbr.adb: Now reference Gnat_Static_Version_String.
2632
2633 2003-11-21  Robert Dewar  <dewar@gnat.com>
2634
2635         * bld.adb: Remove useless USE of gnatvsn
2636
2637         * gnatchop.adb: Minor reformatting
2638         Clean up version handling to be more consistent
2639
2640         * gnatxref.adb: Minor reformatting
2641
2642         * gprcmd.adb: Minor reformatting
2643         Fix output of copyright to be more consistent with other tools
2644
2645 2003-11-21  Vincent Celier  <celier@gnat.com>
2646
2647         * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
2648
2649 2003-11-21  Sergey Rybin  <rybin@act-europe.fr>
2650
2651         * atree.adb (Initialize): Add initializations for global variables
2652         used in New_Copy_Tree.
2653
2654         * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
2655         Internal_Source_File as the actual).
2656         Put the set of statements creating Any_Character before the set of
2657         statements creating Any_Array to have Any_Character fully initialized
2658         when it is used in creating Any_Array.
2659
2660         * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
2661         not call Scan in case if the actual is Internal_Source_File
2662         Add 2003 to copyright note.
2663
2664         * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
2665         processing Internal_Source_File.
2666
2667         * types.ads: Add the constant Internal_Source_File representing the
2668         source buffer for artificial source-code-like strings created within
2669         the compiler (the definition of Source_File_Index is changed).
2670
2671 2003-11-20  Arnaud Charlet  <charlet@act-europe.fr>
2672
2673         * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
2674         56system.ads: New file, FreeBSD version.
2675
2676 2003-11-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2677
2678         * Make-lang.in (ada.extraclean): Delete.
2679
2680 2003-11-19  Arnaud Charlet  <charlet@act-europe.fr>
2681
2682         * gnatmem.adb: Clean up verbose output.
2683
2684         * gprcmd.adb: Change copyright to FSF.
2685
2686 2003-11-19  Vincent Celier  <celier@gnat.com>
2687
2688         * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
2689         and Version (ignored).
2690
2691         * symbols.ads: (Policy): New type
2692         (Initialize): New parameter Reference, Symbol_Policy and
2693         Library_Version.
2694         Remove parameter Force.
2695         Minor reformatting.
2696
2697         * snames.ads, snames.adbadb: New standard names
2698         Library_Reference_Symbol_File and Library_Symbol_Policy
2699
2700         * mlib-prj.adb:
2701         (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
2702         project.
2703
2704         * mlib-tgt.adb:
2705         (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
2706
2707         * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
2708
2709         * prj.adb: (Project_Empty): New component Symbol_Data
2710
2711         * prj.ads: (Policy, Symbol_Record): New types
2712         (Project_Data): New component Symbol_Data
2713
2714         * prj-attr.adb:
2715         New attributes Library_Symbol_File, Library_Symbol_Policy and
2716         Library_Reference_Symbol_File.
2717
2718         * prj-nmsc.adb:
2719         (Ada_Check): When project is a Stand-Alone library project, process
2720         attribute Library_Symbol_File, Library_Symbol_Policy and
2721         Library_Reference_Symbol_File.
2722
2723         * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
2724         5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
2725         5sml-tgt.adb (Build_Dynamic_Library): New parameter
2726         Symbol_Data (ignored).
2727
2728         * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
2729         (Build_Dynamic_Library): New parameter Symbol_Data. New internal
2730         functions Option_File_Name and Version_String. Set new options of
2731         gnatsym related to symbol file, symbol policy and reference symbol
2732         file.
2733
2734         * 5vsymbol.adb:
2735         Extensive modifications to take into account the reference symbol file,
2736         the symbol policy, the library version and to put in the symbol file the
2737         minor and major IDs.
2738
2739         * bld.adb (Process_Declarative_Items): Put second argument of
2740         gprcmd to_absolute between single quotes, to avoid problems with
2741         Windows.
2742
2743         * bld-io.adb: Update Copyright notice.
2744         (Flush): Remove last character of a line, if it is a back slash, to
2745         avoid make problems.
2746
2747         * gnatsym.adb:
2748         Implement new scheme with reference symbol file and symbol policy.
2749
2750         * g-os_lib.ads: (Is_Directory): Clarify comment
2751
2752 2003-11-19  Robert Dewar  <dewar@gnat.com>
2753
2754         * atree.adb: Move New_Copy_Tree global variables to head of package
2755
2756         * errout.adb: Minor reformatting
2757
2758 2003-11-19  Javier Miranda  <miranda@gnat.com>
2759
2760         * sem_ch4.adb: (Diagnose_Call): Improve error message.
2761         Add reference to Ada0Y (AI-50217)
2762
2763         * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
2764         sem_util.adb: Add reference to AI-50217
2765
2766         * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
2767
2768         * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
2769
2770         * sem_aggr.adb: Complete documentation of AI-287 changes
2771
2772         * par-ch4.adb: Document previous changes.
2773
2774         * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
2775         sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
2776         Ada0Y (AI-50217)
2777
2778         * exp_aggr.adb: Add references to AI-287 in previous changes
2779
2780 2003-11-19  Ed Schonberg  <schonberg@gnat.com>
2781
2782         * exp_ch6.adb:
2783         (Add_Call_By_Copy_Node): Do not original node of rewritten expression
2784         in the rewriting is the result of an inlined call.
2785
2786         * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
2787         parameter is a type conversion, use original node to construct the
2788         post-call assignment, because expression may have been rewritten, e.g.
2789         if it is a packed array.
2790
2791         * sem_attr.adb:
2792         (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
2793         body, just as it is in an instance.
2794         Categorization routines
2795
2796         * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
2797         Instantiate_Object): Set proper sloc reference for message on missing
2798         actual.
2799
2800 2003-11-19  Thomas Quinot  <quinot@act-europe.fr>
2801
2802         * Makefile.in: Add FreeBSD libgnat pairs.
2803
2804         * usage.adb: Fix typo in usage message.
2805
2806 2003-11-19  Jerome Guitton  <guitton@act-europe.fr>
2807
2808         * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
2809         s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
2810         pragma Thread_Body.
2811         Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
2812
2813         * s-thread.adb: This file is now a dummy implementation of
2814         System.Thread.
2815
2816 2003-11-19  Sergey Rybin  <rybin@act-europe.fr>
2817
2818         * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
2819
2820 2003-11-19  Emmanuel Briot  <briot@act-europe.fr>
2821
2822         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
2823         instanciation references in the parent type description.
2824
2825 2003-11-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2826
2827         * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
2828
2829         * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
2830         TYPE_PRECISION directly from esize.
2831
2832 2003-11-18  Thomas Quinot  <quinot@act-europe.fr>
2833
2834         * cstreams.c:
2835         Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
2836
2837         * init.c: Initialization routines for FreeBSD
2838
2839         * link.c: Link info for FreeBSD
2840
2841         * sysdep.c: Add the case of FreeBSD
2842
2843 2003-11-17  Jerome Guitton  <guitton@act-europe.fr>
2844
2845         * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
2846         already called in System.Threads.
2847
2848         * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
2849         environment task, as it has been moved to System.Threads.Initialization.
2850
2851 2003-11-17  Arnaud Charlet  <charlet@act-europe.fr>
2852
2853         * adaint.c (__gnatlib_install_locks): Only reference
2854         __gnat_install_locks on VMS, since other platforms can avoid using
2855         --enable-threads=gnat
2856
2857 2003-11-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
2858
2859         * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
2860
2861         * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
2862         TYPE_PACKED_ARRAY_TYPE_P.
2863         (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
2864
2865         Part of PR ada/12806
2866         * utils.c (float_type_for_precision): Renamed from float_type_for_size.
2867         Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
2868
2869 2003-11-17  Vincent Celier  <celier@gnat.com>
2870
2871         * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
2872         to False.
2873         Do not set exit status to Failure when Warning is True.
2874         (Gnatchop): Make errors "no compilation units found" and
2875         "no source files written" warnings only.
2876
2877         * make.adb (Gnatmake): When using a project file, set
2878         Look_In_Primary_Dir to False.
2879         (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
2880         and Local_Configuration_Pragmas in the project where they are declared
2881         not an extending project which might have inherited them.
2882
2883         * osint.adb (Locate_File): If Name is already an absolute path, do not
2884         look for a directory.
2885
2886         * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
2887         -gnats (Check_Syntax) is used, issue only a warning, not an error.
2888
2889         * prj.adb (Register_Default_Naming_Scheme): Add new component Project
2890         in objects of type Variable_Value.
2891
2892         * prj.ads: (Variable_Value): New component Project
2893
2894         * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
2895         is in a project extended by Project.
2896
2897         * prj-proc.adb (Add_Attributes): New parameter Project. Set component
2898         Project of Variable_Values to this new parameter value.
2899         (Expression): Set component Project of Variable_Values.
2900         (Process_Declarative_Items): Call Add_Attributes with parameter Project.
2901         Set the component Project in array elements.
2902
2903 2003-11-17  Sergey Rybin  <rybin@act-europe.fr>
2904
2905         * errout.adb: (Initialize): Add initialization for error nodes.
2906
2907         * sem_ch12.adb (Initialize): Add missing initializations for
2908         Exchanged_Views and Hidden_Entities.
2909
2910 2003-11-17  Ed Schonberg  <schonberg@gnat.com>
2911
2912         * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
2913         already instantiated tree for use in subsequent inlining.
2914         (Analyze_Associations, Instantiate_Formal_Subprogram,
2915         Instantiate_Object): improve error message for mismatch in
2916         instantiations.
2917
2918         * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
2919         instantiations of subprograms declared in instances.
2920
2921 2003-11-17  Javier Miranda  <miranda@gnat.com>
2922
2923         * sem_ch4.adb (Analyze_Allocator): Previous modification must be
2924         executed only under the Extensions_Allowed flag.
2925
2926 2003-11-17  Robert Dewar  <dewar@gnat.com>
2927
2928         * a-exexda.adb (Address_Image): Fix documentation to indicate leading
2929         zeroes suppressed.
2930         (Address_Image): Fix bug of returning 0x instead of 0x0
2931         Minor reformatting (function specs).
2932
2933         * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
2934         (missed case of 33-63)
2935
2936         * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
2937
2938         * s-thread.adb: Add comments for pragma Restriction
2939
2940         * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
2941         sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
2942
2943 2003-11-17  Ed Falis  <falis@gnat.com>
2944
2945         * s-thread.adb: Added No_Tasking restriction for this implementation.
2946
2947 2003-11-17  Emmanuel Briot  <briot@act-europe.fr>
2948
2949         * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
2950         instanciation references in the parent type description.
2951
2952 2003-11-17  GNAT Script  <nobody@gnat.com>
2953
2954         * Make-lang.in: Makefile automatically updated
2955
2956 2003-11-16  Jason Merrill  <jason@redhat.com>
2957
2958         * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
2959         and TAGS files that include them for each front end.
2960
2961 2003-11-14  Andreas Jaeger  <aj@suse.de>
2962
2963         * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
2964         is the canonical version.
2965         * misc.c (gnat_handle_option): Likewise.
2966
2967         * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
2968
2969         * 5nsystem.ads: New file for x86_64-linux-gnu.
2970
2971 2003-11-14  Arnaud Charlet  <charlet@act-europe.fr>
2972
2973         * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
2974
2975         * comperr.adb: Fix logic in previous change.
2976
2977 2003-11-13  Vincent Celier  <celier@gnat.com>
2978
2979         * 5bml-tgt.adb (Build_Dynamic_Library): Use
2980         Osint.Include_Dir_Default_Prefix instead of
2981         Sdefault.Include_Dir_Default_Name.
2982
2983         * gnatlbr.adb: Update Copyright notice
2984         (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
2985         Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
2986         instead of Sdefault.Object_Dir_Default_Name
2987
2988         * gnatlink.adb:
2989         (Process_Binder_File): Never suppress the option following -Xlinker
2990
2991         * mdll-utl.adb:
2992         (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
2993         Sdefault.Object_Dir_Default_Name.
2994
2995         * osint.ads, osint.adb:
2996         (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
2997         Minor reformatting.
2998
2999         * vms_conv.ads: Minor reformating
3000         Remove GNAT STANDARD and GNAT PSTA
3001
3002         * vms_conv.adb:
3003         Allow GNAT MAKE to have several files on the command line.
3004         (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
3005         Sdefault.Object_Dir_Default_Name.
3006         Minor Reformating
3007         Remove data for GNAT STANDARD
3008
3009         * vms_data.ads:
3010         Add new compiler qualifier /PRINT_STANDARD (-gnatS)
3011         Remove data for GNAT STANDARD
3012         Remove options and documentation for -gnatwb/-gnatwB: these warning
3013         options no longer exist.
3014
3015 2003-11-13  Ed Falis  <falis@gnat.com>
3016
3017         * 5zthrini.adb: (Init_RTS): Made visible
3018
3019         * 5zthrini.adb:
3020         (Register): Removed unnecessary call to taskVarGet that checked whether
3021          an ATSD was already set as a task var for the argument thread.
3022
3023         * s-thread.adb:
3024         Updated comment to reflect that this is a VxWorks version
3025         Added context clause for System.Threads.Initialization
3026         Added call to System.Threads.Initialization.Init_RTS
3027
3028 2003-11-13  Jerome Guitton  <guitton@act-europe.fr>
3029
3030         * 5zthrini.adb:
3031         (Init_RTS): New procedure, for the initialization of the run-time lib.
3032
3033         * s-thread.adb:
3034         Remove dependancy on System.Init, so that this file can be used in the
3035         AE653 sequential run-time lib.
3036
3037 2003-11-13  Robert Dewar  <dewar@gnat.com>
3038
3039         * bindgen.adb: Minor reformatting
3040
3041 2003-11-13  Ed Schonberg  <schonberg@gnat.com>
3042
3043         * checks.adb:
3044         (Apply_Discriminant_Check): Do no apply check if target type is derived
3045         from source type with no applicable constraint.
3046
3047         * lib-writ.adb:
3048         (Ensure_System_Dependency): Do not apply the style checks that may have
3049         been specified for the main unit.
3050
3051         * sem_ch8.adb:
3052         (Find_Selected_Component): Further improvement in error message, with
3053         RM reference.
3054
3055         * sem_res.adb:
3056         (Resolve): Handle properly the case of an illegal overloaded protected
3057         procedure.
3058
3059 2003-11-13  Javier Miranda  <miranda@gnat.com>
3060
3061         * exp_aggr.adb:
3062         (Has_Default_Init_Comps): New function to check the presence of
3063         default initialization in an aggregate.
3064         (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
3065         extension aggregate of a limited record. In addition, a new formal
3066         was added to do not initialize the record controller (if any) during
3067         this recursive expansion of ancestors.
3068         (Init_Controller): Add support for limited record components.
3069         (Expand_Record_Aggregate): In case of default initialized components
3070         convert the aggregate into a set of assignments.
3071
3072         * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
3073         describing the new syntax.
3074         Nothing else needed to be done because this subprogram delegates part of
3075         its work to P_Precord_Or_Array_Component_Association.
3076         (P_Record_Or_Array_Component_Association): Give support to the new
3077         syntax for default initialization of components.
3078
3079         * sem_aggr.adb:
3080         (Resolve_Aggregate): Relax the strictness of the frontend in case of
3081         limited aggregates.
3082         (Resolve_Record_Aggregate): Give support to default initialized
3083         components.
3084         (Get_Value): In case of default initialized components, duplicate
3085         the corresponding default expression (from the record type
3086         declaration). In case of default initialization in the *others*
3087         choice, do not check that all components have the same type.
3088         (Resolve_Extension_Aggregate): Give support to limited extension
3089         aggregates.
3090
3091         * sem_ch3.adb:
3092         (Check_Initialization): Relax the strictness of the front-end in case
3093         of aggregate and extension aggregates. This test is now done in
3094         Get_Value in a per-component manner.
3095
3096         * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
3097         expression corresponds to a limited aggregate. This test is now done
3098         in Get_Value.
3099
3100         * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
3101         Box_Present flag.
3102
3103         * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
3104         present in an N_Component_Association node
3105
3106 2003-11-13  Thomas Quinot  <quinot@act-europe.fr>
3107
3108         * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
3109         type-conformant entry only if they are homographs.
3110
3111 2003-11-13  GNAT Script  <nobody@gnat.com>
3112
3113         * Make-lang.in: Makefile automatically updated
3114
3115 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3116
3117         * adadecode.c: Use <> form of include for ctype.h.
3118         * sysdep.c [IN_RTS]: Use <> form of include for time.h.
3119
3120 2003-11-12  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3121
3122         * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
3123         Works around PR middle-end/6552.
3124
3125 2003-11-10  Ed Falis  <falis@gnat.com>
3126
3127         * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
3128
3129         * 5zinit.adb: (Install_Handler): Moved back to spec
3130         (Install_Signal_Handlers): Deleted
3131
3132         * 5zthrini.adb: Added context clause for System.Storage_Elements
3133         (Register): Only handles creation of taskVar; initialization moved to
3134         Thread_Body_Enter.
3135         (Reset_TSD): Deleted; replaced by Thread_Body_Enter
3136         Added declaration of environment task secondary stack and
3137         initialization.
3138
3139         * s-thread.adb: Implement bodies for thread body processing
3140
3141         * s-thread.ads:
3142         Added comment identifying supported targets for pragma Thread_Body.
3143
3144 2003-11-10  Pascal Obry  <obry@gnat.com>
3145
3146         * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
3147         GNAT_MAX_PATH_LEN.
3148
3149         * s-fileio.adb:
3150         (Open): Properly check for string length before copying into the buffer.
3151         Raises Name_Error if buffer is too small. Note that this was a potential
3152         buffer overflow.
3153
3154 2003-11-10  Romain Berrendonner  <berrendo@act-europe.fr>
3155
3156         * bindgen.adb, comperr.adb: Code clean ups.
3157         * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
3158
3159 2003-11-10  Sergey Rybin  <rybin@act-europe.fr>
3160
3161         * gnat1drv.adb: Add call to Sem_Elim.Initialize.
3162
3163 2003-11-10  Vincent Celier  <celier@gnat.com>
3164
3165         * gprcmd.adb:
3166         (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
3167         installation.
3168
3169         * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
3170
3171         * prj.adb: (Project_Empty): Add new boolean component Virtual
3172
3173         * prj.ads: (Virtual_Prefix): New constant string
3174         (Project_Data): New boolean component Virtual
3175
3176         * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
3177         a library project is extended by a virtual extending project.
3178
3179         * prj-part.adb:
3180         Modifications throughout to implement extending-all project, including:
3181         (Virtual_Hash, Processed_Hash): New hash tables
3182         (Create_Virtual_Extending_Project): New procedure
3183         (Look_For_Virtual_Projects_For): New procedure
3184
3185         * prj-proc.adb:
3186         (Process): After checking the projects, if main project is an
3187         extending-all project, set the object directory of all virtual extending
3188         project to the object directory of the main project.
3189         Adjust error message when a virtual extending project has the same
3190         object directory as an project being extended.
3191         (Recursive_Process): If name starts with the virtual prefix, set Virtual
3192         to True in the project data.
3193
3194         * prj-tree.adb:
3195         (Default_Project_Node): Add new boolean component Extending_All
3196         (Is_Extending_All): New function
3197         (Set_Is_Extending_All): New procedure
3198
3199         * prj-tree.ads: (Is_Extending_All): New function
3200         (Set_Is_Extending_All): New procedure
3201         (Project_Node_Record): New boolean component Extending_All
3202
3203         * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
3204
3205         * vms_data.ads:
3206         Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
3207
3208         * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
3209         "gprcmd prefix" to define it.
3210
3211 2003-11-10  Thomas Quinot  <quinot@act-europe.fr>
3212
3213         * einfo.ads: Fix a typo and remove an extraneous word in comments.
3214
3215         * lib-load.adb:
3216         (Create_Dummy_Package_Unit): Set the scope of the entity for the
3217         created dummy package to Standard_Standard, not to itself, to
3218         defend other parts of the front-end against encoutering a cycle in
3219         the scope chain.
3220
3221         * sem_ch10.adb:
3222         (Analyze_With_Clause): When setting the entities for the successive
3223         N_Expanded_Names that constitute the name of a child unit, do not
3224         attempt to go further than Standard_Standard in the chain of scopes.
3225         This case arises from the placeholder units created by
3226         Create_Dummy_Package_Unit in the case of a with_clause for a
3227         nonexistent child unit.
3228
3229 2003-11-10  Ed Schonberg  <schonberg@gnat.com>
3230
3231         * exp_ch6.adb:
3232         (Expand_Thread_Body): Place subprogram on scope stack, so that new
3233         declarations are given the proper scope.
3234
3235         * sem_ch13.adb:
3236         (Check_Expr_Constants): Reject an expression that contains a constant
3237         created during expansion, and that appears after the object to which
3238         the address clause applies.
3239
3240         * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
3241         Analyze_Iteration_Scheme, to rewrite a loop parameter specification
3242         that uses 'Range of a function call with controlled components, so
3243         that the function result can be finalized before starting the loop.
3244
3245         * sem_ch8.adb:
3246         (Find_Selected_Component): Improve error message when prefix is
3247         an implicit dereference of an incomplete type.
3248
3249 2003-11-10  Robert Dewar  <dewar@gnat.com>
3250
3251         * opt.ads: New Print_Standard flag for -gnatS switch
3252
3253         * sem_ch13.adb: Remove some additional checks for unaligned arrays
3254
3255         * cstand.adb (Create_Standard): Print out package standard if -gnatS
3256         switch set
3257
3258         * debug.adb: Update doc for -gnatds to discuss relationship with new
3259         -gnatS flag
3260
3261         * sinfo.adb: Add new field Entity_Or_Associated_Node
3262
3263         * sinfo.ads: Add new field Entity_Or_Associated_Node
3264         Update documentation for Associated_Node and Entity fields to clarify
3265         relationship and usage.
3266
3267         * sprint.adb:
3268         (Write_Id): Properly process Associated_Node field in generic template
3269
3270         * switch-c.adb:
3271         Recognize new -gnatS switch for printing package Standard
3272         This replaces gnatpsta
3273
3274         * usage.adb:
3275         Add line for  new -gnatS switch for printing package Standard
3276         This replaces gnatpsta
3277
3278 2003-11-10  Andreas Jaeger  <aj@suse.de>
3279
3280         * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
3281         integer.
3282
3283 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
3284
3285         * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
3286         by gnat1.
3287
3288 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
3289
3290         * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
3291         no longer needed.
3292
3293         * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
3294
3295         * sysdep.c: Add handling of cygwin.
3296
3297 2003-11-10  GNAT Script  <nobody@gnat.com>
3298
3299         * Make-lang.in: Makefile automatically updated
3300
3301 2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>
3302
3303         PR 12950
3304         * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
3305         functions. Used to handle dynamic prefix relocation, via set_std_prefix.
3306         Replace GNAT_ROOT by GCC_ROOT.
3307
3308         * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
3309
3310 2003-11-06  Zack Weinberg  <zack@codesourcery.com>
3311
3312         * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
3313         and update for changed meaning of GET_MODE_BITSIZE.
3314
3315 2003-11-04  Doug Rupp  <rupp@gnat.com>
3316
3317         * sysdep.c: Problem discovered during IA64 VMS port.
3318         [VMS] #include <unixio.h> to get proper prototypes.
3319
3320         * adaint.c:
3321         Issues discovered/problems fixed during IA64 VMS port.
3322         [VMS] #define _POSIX_EXIT for proper semantics.
3323         [VMS] #include <unixio.h> for proper prototypes.
3324         [VMS] (fork): #define IA64 version.
3325         (__gnat_os_exit): Remove unnecessary VMS specific code.
3326
3327 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3328
3329         Part of PR ada/12806
3330
3331         * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
3332         tree, not integer.
3333
3334         * decl.c:
3335         (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
3336         not integer.
3337
3338         * targtyps.c, decl.c, misc.c,
3339         gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
3340         routines to work around change in FP sizing semantics in GCC.
3341
3342         * utils.c:
3343         (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
3344
3345         * gigi.h: (enumerate_modes): New function.
3346
3347         * Make-lang.in: (ada/misc.o): Add real.h.
3348
3349         * misc.c: (enumerate_modes): New function.
3350
3351 2003-11-04  Robert Dewar  <dewar@gnat.com>
3352
3353         * 3vtrasym.adb: Minor reformatting
3354         Use terminology encoded/decoded name, rather than C++ specific notion
3355         of mangling (this is the terminology used throughout GNAT).
3356
3357         * einfo.h: Regenerated
3358
3359         * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
3360
3361         * exp_ch6.adb:
3362         (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
3363
3364         * par-prag.adb: Add dummy entry for Thread_Body pragma
3365
3366         * rtsfind.ads:
3367         Add entries for System.Threads entities for thread body processing
3368
3369         * sem_attr.adb:
3370         (Analyze_Pragma, Access attributes): Check these are not applied to a
3371         thread body, since this is not permitted
3372
3373         * sem_prag.adb: Add processing for Thread_Body pragma.
3374         Minor comment fix.
3375
3376         * sem_res.adb:
3377         (Resolve_Call): Check for incorrect attempt to call a thread body
3378          procedure with a direct call.
3379
3380         * snames.ads, snames.adb: Add entry for Thread_Body pragma
3381         Add names associated with thread body expansion
3382
3383         * snames.h: Add entry for Thread_Body pragma
3384
3385         * s-thread.adb: Add entries for thread body processing
3386         These are dummy bodies so far
3387
3388         * s-thread.ads: Add documentation on thread body handling.
3389         Add entries for thread body processing.
3390
3391 2003-11-04  Javier Miranda  <miranda@gnat.com>
3392
3393         * sem_ch10.adb:
3394         (Build_Limited_Views): Return after posting an error in case of limited
3395         with_clause on subprograms, generics, instances or generic renamings
3396         (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
3397         on subprograms, generics, instances or generic renamings
3398
3399 2003-11-04  Arnaud Charlet  <charlet@act-europe.fr>
3400
3401         * raise.c (setup_to_install): Correct mistake in last revision; two
3402         arguments out of order.
3403
3404         * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
3405         gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
3406         notice, missed in previous change.
3407         Remove trailing blanks and other style errors introduced in previous
3408         change.
3409
3410 2003-11-04  Olivier Hainque  <hainque@act-europe.fr>
3411
3412         * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
3413         rid of the wrapper for a LJM type, ensuring we don't do that if the
3414         field is addressable.  This avoids potential low level type view
3415         mismatches later on, for instance in a by-reference argument passing
3416         process.
3417
3418 2003-11-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3419
3420         * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
3421         aligned at byte boundary.
3422
3423 2003-11-04  Joel Brobecker  <brobecker@gnat.com>
3424
3425         * decl.c (components_to_record): Do not delete the empty variants from
3426         the end of the union type.
3427
3428 2003-11-04  Ed Schonberg  <schonberg@gnat.com>
3429
3430         * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
3431         operation for a derived type, an explicit declaration may use a local
3432         subtype of Boolean.
3433
3434 2003-11-04  Vincent Celier  <celier@gnat.com>
3435
3436         * make.adb (Gnatmake): Allow main sources on the command line with a
3437         library project when it is only for compilation (no binding or
3438         linking).
3439
3440 2003-11-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3441
3442         * Makefile.in: Remove many duplicate variables.
3443
3444 2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
3445
3446         * Make-lang.in (dvi): Move targets to $(docobjdir).
3447         (gnat_ug_vms.dvi): Simplify rule and adjust target.
3448         (gnat_ug_wnt.dvi): Likewise.
3449         (gnat_ug_unx.dvi): Likewise.
3450         (gnat_ug_vxw.dvi): Likewise.
3451         (gnat_rm.dvi): Likewise.
3452         (gnat-style.dvi): Likewise.
3453
3454 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
3455
3456         * gigi.h: Missed commit from update for C90.
3457
3458 2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
3459
3460         * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
3461
3462 2003-10-31  Andreas Schwab  <schwab@suse.de>
3463
3464         * raise.c (get_action_description_for): Fix typo in last change.
3465
3466 2003-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
3467
3468         PR ada/12761
3469         * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
3470         T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
3471
3472 2003-10-30  Kelley Cook  <kcook@gcc.gnu.org>
3473
3474         * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
3475         ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
3476         gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
3477         sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
3478         trans.c, utils.c, utils2.c: Convert function prototypes to C90.
3479
3480 2003-10-30  Vasiliy Fofanov  <fofanov@act-europe.fr>
3481
3482         * 3vtrasym.adb:
3483         Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
3484         numbers when symbol name is too long.
3485
3486 2003-10-30  Ed Falis  <falis@gnat.com>
3487
3488         * g-signal.ads, g-signal.adb: New files
3489
3490         * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
3491
3492         * Makefile.rtl: Introduce GNAT.Signals
3493
3494 2003-10-30  Robert Dewar  <dewar@gnat.com>
3495
3496         * freeze.adb: Minor reformatting
3497
3498         * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
3499
3500         * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
3501         par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
3502         New handling of Id_Check parameter to improve recognition of keywords
3503         used as identifiers.
3504         Update copyright notice to include 2003
3505
3506 2003-10-29  Robert Dewar  <dewar@gnat.com>
3507
3508         * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
3509         sem_ch10.adb: Minor reformatting
3510
3511         * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
3512         (Expand_Assign_Record): Test right hand side for bit unaligned as well
3513
3514 2003-10-29  Vasiliy Fofanov  <fofanov@act-europe.fr>
3515
3516         * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
3517         Support for TBK$SYMBOLIZE-based symbolic traceback.
3518
3519 2003-10-29  Jose Ruiz  <ruiz@act-europe.fr>
3520
3521         * exp_disp.adb:
3522         Revert previous change, that did not work well when pragma No_Run_Time
3523         was used in conjunction with a run-time other than ZFP.
3524
3525 2003-10-29  Vincent Celier  <celier@gnat.com>
3526
3527         * make.adb:
3528         (Gnatmake): When there are no Ada mains in attribute Main, disable the
3529          bind and link steps only is switch -z is not used.
3530
3531 2003-10-29  Arnaud Charlet  <charlet@act-europe.fr>
3532
3533         * Makefile.generic: Remove duplicated setting of CC.
3534
3535         * Makefile.prolog: Set CC to gcc by default, to override make's
3536         default (cc).
3537
3538         * einfo.h: Regenerated.
3539
3540 2003-10-29  Ed Schonberg  <schonberg@gnat.com>
3541
3542         * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
3543         current body, after compiling subunit.
3544
3545         * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
3546         when in deleted code, because gigi needs properly ordered freeze
3547         actions to annotate types.
3548
3549         * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
3550         prevent the premature freezing of record type that contains
3551         subcomponents with a private type that does not yet have a completion.
3552
3553 2003-10-29  Javier Miranda  <miranda@gnat.com>
3554
3555         * sem_ch12.adb:
3556         (Analyze_Package_Instantiation): Check that instances can not be used in
3557         limited with_clauses.
3558
3559         * sem_ch8.adb:
3560         (Analyze_Package_Renaming): Check that limited withed packages cannot
3561         be renamed. Improve text on error messages related to limited
3562         with_clauses.
3563
3564         * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
3565
3566         * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
3567         Update copyright notice.
3568
3569         * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
3570         (Install_Limited_Context_Clauses): New subprogram that isolates all the
3571         checks required for limited context_clauses and installs the limited
3572         view.
3573         (Install_Limited_Withed_Unit): Complete its documentation.
3574         (Analyze_Context): Check that limited with_clauses are only allowed in
3575         package specs.
3576         (Install_Context): Call Install_Limited_Context_Clauses after the
3577         parents have been installed.
3578         (Install_Limited_Withed_Unit): Add documentation. Mark the installed
3579         package as 'From_With_Type'; this mark indicates that the limited view
3580         is installed. Used to check bad usages of limited with_clauses.
3581         (Build_Limited_Views): Do not add shadow entities to the scope's list
3582         of entities. Do not add real entities to the Non_Limited_Views chain.
3583         Improve error notification.
3584         (Remove_Context_Clauses): Remove context clauses in two phases:
3585         limited views first and regular views later (to maintain the
3586         stack model).
3587         (Remove_Limited_With_Clause): If the package is analyzed then reinstall
3588         its visible entities.
3589
3590 2003-10-29  Thomas Quinot  <quinot@act-europe.fr>
3591
3592         * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
3593         with any type that Is_Fixed_Point_Type.
3594
3595         * sinfo.ads: Fix documentation for Associated_Node attribute.
3596
3597 2003-10-29  Sergey Rybin  <rybin@act-europe.fr>
3598
3599         * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
3600         both '-gnatc' and '-gnatt' are specified.
3601
3602         * atree.adb (Initialize): Add initialization for Node_Count (set to
3603         zero).
3604
3605 2003-10-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3606
3607         * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
3608         do not consider as Pure.
3609
3610         Part of implementation of function-at-a-time:
3611
3612         * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
3613         (tree_transform): Add new argument to build_component_ref.
3614         (tree_transform, case N_Assignment_Statement): Make and return an
3615         EXPR_STMT.
3616         (tree_transform): If result IS_STMT, set flags and return it.
3617         (gnat_expand_stmt, set_lineno_from_sloc): New functions.
3618
3619         * utils2.c (build_simple_component_ref, build_component_ref): Add new
3620         arg, NO_FOLD_P.
3621         (build_binary_op, case EQ_EXPR): Pass additional arg to it.
3622         (build_allocator): Likewise.
3623
3624         * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
3625         Add new arg to build_component_ref.
3626         (maybe_unconstrained_array, unchecked_convert): Likewise.
3627
3628         * ada-tree.def (EXPR_STMT): New code.
3629
3630         * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
3631
3632         * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
3633         build_component_ref calls.
3634
3635         * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
3636
3637         * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
3638         (build_component_ref): Add new argument, NO_FOLD_P.
3639
3640 2003-10-27  Arnaud Charlet  <charlet@act-europe.fr>
3641
3642         * Makefile.generic: Add missing substitution on object_deps handling.
3643
3644         PR ada/5909:
3645         * Make-lang.in (check-ada): Enable ACATS test suite.
3646
3647 2003-10-27  Robert Dewar  <dewar@gnat.com>
3648
3649         * exp_ch3.adb:
3650         (Freeze_Array_Type): We do not need an initialization routine for types
3651         derived from String or Wide_String. They should be treated the same
3652         as String and Wide_String themselves. This caused problems with the
3653         use of Initialize_Scalars.
3654
3655         * exp_ch5.adb:
3656         (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
3657         composites. This allows use of component clauses that are not byte
3658         aligned.
3659
3660         * sem_prag.adb:
3661         (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
3662         is an attempt to pack an array of atomic objects.
3663
3664         * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
3665
3666 2003-10-27  Pascal Obry  <obry@gnat.com>
3667
3668         * g-dirope.adb:
3669         (Basename): Check for drive letters in a pathname only on DOS based OS.
3670
3671 2003-10-27  Vincent Celier  <celier@gnat.com>
3672
3673         * make.adb:
3674         (Gnatmake): When unable to change dir to the object dir, display the
3675         content of the parent dir of the obj dir, to try to understand why this
3676         happens.
3677
3678 2003-10-27  GNAT Script  <nobody@gnat.com>
3679
3680         * Make-lang.in: Makefile automatically updated
3681
3682 2003-10-27  Ed Schonberg  <schonberg@gnat.com>
3683
3684         * sem_ch12.adb:
3685         (Inline_Instance_Body): Indicate that the save/restore of use_clauses
3686         should not be done in Save/Restore_Scope_Stack, because it is performed
3687         locally.
3688
3689         * sem_ch8.adb:
3690         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
3691         whether use clauses should be removed/restored.
3692
3693         * sem_ch8.ads:
3694         (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
3695         whether use clauses should be removed/restored.
3696
3697 2003-10-26  Andreas Jaeger  <aj@suse.de>
3698
3699         * Makefile.in: Remove duplicated lines.
3700
3701 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
3702
3703         * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
3704         minimize the differences with ACT tree.
3705
3706         * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
3707         gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
3708         Gnatvsn.Gnat_Static_Version_String to reduce differences between
3709         ACT and FSF trees.
3710
3711 2003-10-24  Pascal Obry  <obry@gnat.com>
3712
3713         * adadecode.c (ostrcpy): New function.
3714         (__gnat_decode): Use ostrcpy of strcpy.
3715         (has_prefix): Set first parameter a const.
3716         (has_suffix): Set first parameter a const.
3717         Update copyright notice. Fix source name in header.
3718         Removes a trailing space.
3719         PR ada/12014.
3720
3721 2003-10-24  Jose Ruiz  <ruiz@act-europe.fr>
3722
3723         * exp_disp.adb:
3724         Remove the test against being in No_Run_Time_Mode before generating a
3725         call to Register_Tag. It is redundant with the test against the
3726         availability of the function Register_Tag.
3727
3728 2003-10-24  Vincent Celier  <celier@gnat.com>
3729
3730         * g-catiio.adb: (Month_Name): Correct spelling of February
3731
3732         * make.adb: (Mains): New package
3733         (Initialize): Call Mains.Delete
3734         (Gnatmake): Check that each main on the command line is a source of a
3735         project file and, if there are several mains, each of them is a source
3736         of the same project file.
3737         (Gnatmake): When a foreign language is specified in attribute Languages,
3738         no main is specified on the command line and attribute Mains is not
3739         empty, only build the Ada main. If there is no Ada main, just compile
3740         the Ada sources and their closure.
3741         (Gnatmake): If a main is specified on the command line with directory
3742         information, check that the source exists and, if it does, that the path
3743         is the actual path of a source of a project.
3744
3745         * prj-env.adb:
3746         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
3747         Full_Path is True, return the full path instead of the simple file name.
3748         (Project_Of): New function
3749
3750         * prj-env.ads:
3751         (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
3752         defaulted to False.
3753         (Project_Of): New function
3754
3755 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
3756
3757         * Makefile.generic:
3758         Ensure objects of main project are always checked and rebuilt if needed.
3759         Set CC to gcc by default.
3760         Prepare new handling of link by creating a global archive (not activated
3761         yet).
3762
3763         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
3764         stringt.h: Update copyright notice. Remove trailing blanks.
3765         Fix source name in header.
3766
3767 2003-10-24  Robert Dewar  <dewar@gnat.com>
3768
3769         * sem_ch12.adb: Minor reformatting
3770
3771         * sem_ch3.adb:
3772         Minor reformatting (including new function return style throughout)
3773
3774         * sem_ch3.ads:
3775         Minor reformatting (including new function return style throughout)
3776
3777 2003-10-24  Arnaud Charlet  <charlet@act-europe.fr>
3778
3779         * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
3780         stringt.h: Update copyright notice. Remove trailing blanks.
3781         Fix source name in header.
3782
3783 2003-10-24  GNAT Script  <nobody@gnat.com>
3784
3785         * Make-lang.in: Makefile automatically updated
3786
3787 2003-10-23  Nathanael Nerode  <neroden@gcc.gnu.org>
3788
3789         * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
3790         stringt.h: Convert to ISO C90 declarations and definitions.
3791
3792 2003-10-23  Thomas Quinot  <quinot@act-europe.fr>
3793
3794         PR ada/11978:
3795         * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
3796         External_Tag attribute definition clauses.
3797
3798 2003-10-23  Ed Schonberg  <schonberg@gnat.com>
3799
3800         PR ada/7613:
3801         * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
3802         child unit, generate a fully qualified name to avoid spurious errors
3803         when the context contains renamings of different child units with
3804         the same simple name.
3805
3806         * exp_dbug.ads: Add documentation on name qualification for renamings
3807         of child units.
3808
3809 2003-10-23  Robert Dewar  <dewar@gnat.com>
3810
3811         * g-regpat.ads, g-regpat.adb: Minor reformatting
3812
3813 2003-10-23  Jose Ruiz  <ruiz@act-europe.fr>
3814
3815         * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
3816
3817 2003-10-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3818
3819         * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
3820         Machine call.
3821
3822         * urealp.h: (Machine): Update to proper definition.
3823
3824 2003-10-23  Arnaud Charlet  <charlet@act-europe.fr>
3825
3826         * init.c, adaint.c: Minor reformatting.
3827
3828 2003-10-23  Danny Smith  <dannysmith@users.sourceforge.net>
3829
3830         * adaint.c (w32_epoch_offset): Define static const at file level.
3831         (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
3832         rather than t_create, t_access in call to GetFileTime. Use union
3833         to convert between FILETIME and  unsigned long long.
3834         (__gnat_file_time_name): Test for invalid file handle.
3835         (__gnat_set_filetime_name): Support win32 targets using
3836         w32api SetFileTime.
3837
3838 2003-10-22  Danny Smith  <dannysmith@users.sourceforge.net>
3839
3840         * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
3841
3842         * ctrl_c.c (__gnat_int_handler): Remove declaration.
3843
3844         * decl.c (creat_concat_name):  Const-ify prefix.
3845
3846         * adaint.c: Include ctype.h if __MINGW32__.
3847         (__gnat_readlink): Mark arguments as possibly unused.
3848         (__gnat_symlink): Likewise.
3849         (__gnat_is_symbolic_link): Likewise.
3850         (__gnat_portable_spawn): Likewise.  Cast last arg of spawnvp to match
3851         declaration
3852         (__gnat_file_time_name): Don't declare struct stat statbuf when
3853         not needed.
3854         (__gnat_is_absolute_path): Add parenthesis around condition of
3855         'if' statement to avoid warning.
3856         (__gnat_plist_init): Specify void as parameter.
3857         (plist_enter): Likewise.
3858         (plist_leave): Likewise.
3859         (remove_handle): Make static. Initialize prev.
3860
3861 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
3862
3863         * Makefile.in: Disable build of gnatpsta. PR ada/10110.
3864         * cstreams.c (__gnat_full_name): Minor improvements and clean up
3865         of previous change.
3866
3867 2003-10-22  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3868
3869         * tracebak.c (MAX): Avoid redefinition warning.
3870
3871         * init.c [sgi] (__gnat_error_handler): Remove i, unused.
3872         Change msg to const char *.
3873         (__gnat_install_handler): Remove ss, unused.
3874         [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
3875         to const char *.
3876         * cstreams.c (__gnat_full_name): Declare p only when used.
3877         (__gnat_full_name) [sgi] Return buffer.
3878
3879 2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>
3880
3881         * mingw32.h: New file.
3882         * gnat_wrapper.adb: New file.
3883
3884 2003-10-22  Jerome Roussel  <roussel@act-europe.fr>
3885
3886         * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
3887         string match a pre compiled regular expression (the corresponding
3888         version of the function working on a raw regular expression)
3889         Fix typos in various comments
3890         Update copyright notice in spec
3891
3892 2003-10-21  Gary Dismukes  <dismukes@gnat.com>
3893
3894         * exp_ch3.adb:
3895         (Component_Needs_Simple_Initialization): Return False when the type is a
3896         packed bit array. Revise spec comments to document this case.
3897
3898         * exp_prag.adb:
3899         (Expand_Pragma_Import): Set any expression on the imported object to
3900         empty to avoid initializing imported objects (in particular this
3901         covers the case of zero-initialization of bit arrays).
3902         Update copyright notice.
3903
3904 2003-10-21  Ed Schonberg  <schonberg@gnat.com>
3905
3906         * sem_ch12.adb:
3907         (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
3908         a subunit is missing.
3909         (Instantiate_Subprogram_Body): If body of function is missing, set type
3910         of return expression explicitly in dummy body, to prevent cascaded
3911         errors when a subunit is missing.
3912         Fixes PR 5677.
3913
3914         * sem_ch3.adb:
3915         (Access_Subprogram_Declaration): Verify that return type is valid.
3916         Fixes PR 8693.
3917
3918         * sem_elab.adb:
3919         (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
3920         generic.
3921         Fixes PR 12318.
3922
3923         * sem_util.adb:
3924         (Corresponding_Discriminant): If the scope of the discriminant is a
3925         private type without discriminant, use its full view.
3926         Fixes PR 8247.
3927
3928 2003-10-21  Arnaud Charlet  <charlet@act-europe.fr>
3929
3930         * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
3931         3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
3932         3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
3933         55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
3934         56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
3935         59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
3936         5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
3937         5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
3938         5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
3939         5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
3940         5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
3941         5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
3942         5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
3943         5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
3944         7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
3945         a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
3946         a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
3947         a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
3948         bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
3949         erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
3950         err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
3951         g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
3952         g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
3953         g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
3954         g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
3955         g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
3956         g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
3957         gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
3958         g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
3959         g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
3960         i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
3961         prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
3962         prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
3963         s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
3964         s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
3965         s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
3966         s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
3967         s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
3968         s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
3969         s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
3970         s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
3971         socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
3972         s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
3973         s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
3974         s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
3975         styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
3976         s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
3977         tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
3978         vms_conv.ads, vms_conv.adb, vms_data.ads,
3979         vxaddr2line.adb: Files added. Merge with ACT tree.
3980
3981         * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
3982         5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
3983         5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
3984         5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
3985         g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
3986         s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
3987         s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
3988         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
3989         s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
3990         s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
3991
3992         * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
3993         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
3994         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
3995         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
3996         4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
3997         4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
3998         4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
3999         4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
4000         51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
4001         53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
4002         5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
4003         5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
4004         5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
4005         5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
4006         5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
4007         5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
4008         5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
4009         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
4010         5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
4011         5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
4012         5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
4013         5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
4014         5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
4015         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
4016         5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
4017         5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
4018         5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
4019         5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
4020         5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
4021         5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
4022         5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
4023         5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
4024         5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
4025         5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
4026         6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
4027         7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
4028         7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
4029         a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
4030         a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
4031         a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
4032         a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
4033         a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
4034         ali.adb, ali.ads, ali-util.adb, ali-util.ads,
4035         a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
4036         a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
4037         a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
4038         a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
4039         a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
4040         a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
4041         a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
4042         a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
4043         a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
4044         a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
4045         a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
4046         a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
4047         atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
4048         a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
4049         a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
4050         bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
4051         checks.adb, checks.ads, cio.c, comperr.adb,
4052         comperr.ads, csets.adb, cstand.adb, cstreams.c,
4053         debug_a.adb, debug_a.ads, debug.adb, decl.c,
4054         einfo.adb, einfo.ads, errout.adb, errout.ads,
4055         eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
4056         expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
4057         exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
4058         exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
4059         exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
4060         exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
4061         exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
4062         exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
4063         exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
4064         fe.h, fmap.adb, fmap.ads, fname.adb,
4065         fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
4066         freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
4067         g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
4068         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
4069         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
4070         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
4071         g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
4072         g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
4073         g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
4074         g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
4075         g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
4076         g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
4077         g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
4078         g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
4079         gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
4080         gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
4081         gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
4082         gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
4083         gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
4084         g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
4085         g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
4086         g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
4087         g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
4088         g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
4089         g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
4090         g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
4091         g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
4092         i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
4093         i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
4094         inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
4095         itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
4096         layout.adb, lib.adb, lib.ads, lib-list.adb,
4097         lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
4098         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
4099         link.c, live.adb, make.adb, make.ads,
4100         Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
4101         mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
4102         mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
4103         misc.c, mkdir.c, mlib.adb, mlib.ads,
4104         mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
4105         mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
4106         namet.adb, namet.ads, namet.h, nlists.ads,
4107         nlists.h, nmake.adt, opt.adb, opt.ads,
4108         osint.adb, osint.ads, osint-b.adb, osint-c.adb,
4109         par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
4110         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
4111         par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
4112         par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
4113         prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
4114         prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
4115         prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
4116         prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
4117         prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
4118         prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
4119         prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
4120         prj-util.adb, prj-util.ads, raise.c, raise.h,
4121         repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
4122         rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
4123         s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
4124         s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
4125         scans.ads, scn.adb, scn.ads, s-crc32.adb,
4126         s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
4127         sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
4128         sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
4129         sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
4130         sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
4131         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
4132         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
4133         sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
4134         sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
4135         sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
4136         sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
4137         sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
4138         s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
4139         s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
4140         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
4141         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
4142         s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
4143         s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
4144         s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
4145         sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
4146         sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
4147         sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
4148         s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
4149         s-memory.adb, s-memory.ads, snames.adb, snames.ads,
4150         snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
4151         s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
4152         s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
4153         s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
4154         s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
4155         s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
4156         s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
4157         s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
4158         s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
4159         s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
4160         s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
4161         s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
4162         s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
4163         s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
4164         s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
4165         s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
4166         s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
4167         stringt.adb, stringt.ads, stringt.h, style.ads,
4168         stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
4169         s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
4170         s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
4171         switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
4172         s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
4173         table.adb, table.ads, targparm.adb, targparm.ads,
4174         targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
4175         trans.c, tree_io.adb, treepr.adb, treeprs.adt,
4176         ttypes.ads, types.ads, types.h, uintp.adb,
4177         uintp.ads, uintp.h, uname.adb, urealp.adb,
4178         urealp.ads, urealp.h, usage.adb, utils2.c,
4179         utils.c, validsw.adb, validsw.ads, widechar.adb,
4180         xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
4181         xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
4182         einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
4183         gnatvsn.ads: Merge with ACT tree.
4184
4185         * gnatvsn.adb: Rewritten in a simpler and more efficient way.
4186
4187 2003-10-20  Mark Mitchell  <mark@codesourcery.com>
4188
4189         * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
4190         (gnat_ug_vmx.info): Likewise.
4191         (gnat_ug_vxw.info): Likewise.
4192         (gnat_ug_wnt.info): Likewise.
4193         (gnat_rm.info): Likewise.
4194         (gnat-style.info): Likewise.
4195
4196         * Make-lang.in (ada.install-info): Remove target.
4197         (info): New target.
4198         (install-info): Likewise.
4199         (gnat_ug_unx.info): Simplify rule.
4200         (gnat_ug_vmx.info): Likewise.
4201         (gnat_ug_vxw.info): Likewise.
4202         (gnat_ug_wnt.info): Likewise.
4203         (gnat_rm.info): Likewise.
4204         (gnat-style.info): Likewise.
4205
4206 2003-10-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4207
4208         * Make-lang.in: Replace uses of $(target_alias) with
4209         $(target_noncanonical).
4210         * ada/Makefile.in: Remove unused mention of $(target_alias).
4211
4212 2003-10-06  Mark Mitchell  <mark@codesourcery.com>
4213
4214         * Make-lang.in (ada.info): Replace with ...
4215         (info): ... this.
4216         (ada.dvi): Replace with ...
4217         (dvi): ... this.
4218
4219 2003-09-29  Zack Weinberg  <zack@codesourcery.com>
4220
4221         * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
4222         initialize dconstp5 and dconstmp5.
4223
4224 2003-09-28  Richard Henderson  <rth@redhat.com>
4225
4226         * trans.c (tree_transform): Update call to expand_asm_operands.
4227
4228 2003-09-21  Richard Henderson  <rth@redhat.com>
4229
4230         * trans.c, utils.c: Revert.
4231
4232 2003-09-21  Richard Henderson  <rth@redhat.com>
4233
4234         * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
4235         change to const.
4236
4237 2003-09-04  Michael Matz  <matz@suse.de>
4238
4239         * misc.c: Include "target.h".
4240         * Make-lang.in (misc.o): Add dependency on target.h.
4241
4242 2003-09-03  DJ Delorie  <dj@redhat.com>
4243
4244         * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
4245         hook.
4246
4247 2003-08-30  Zack Weinberg  <zack@codesourcery.com>
4248
4249         * Makefile.in: Update substitutions to match changes to
4250         configure.  Use include directives instead of @-insertions
4251         to read in host and target fragments.  Add a rule to
4252         regenerate ada/Makefile.
4253
4254 2003-07-18  Neil Booth  <neil@daikokuya.co.uk>
4255
4256         * lang-options.h: Remove.
4257         * lang.opt: Add help text.
4258
4259 2003-07-07  Nathan Sidwell  <nathan@codesourcery.com>
4260
4261         * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
4262         calls.
4263
4264 2003-07-06  Neil Booth  <neil@daikokuya.co.uk>
4265
4266         * misc.c (gnat_handle_option): Don't handle filenames.
4267
4268 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
4269
4270         * Make-lang.in: Replace PWD with PWD_COMMAND.
4271         * Makefile.adalib: Likewise.
4272         * Makefile.in: Likewise.
4273
4274 2003-07-04  Matt Kraai  <kraai@alumni.cmu.edu>
4275
4276         * misc.c (gnat_argv): Revert last change.
4277         (gnat_handle_option, gnat_init_options): Copy arguments.
4278
4279 2003-07-03  Neil Booth  <neil@daikokuya.co.uk>
4280
4281         * misc.c (gnat_argv): Make const.
4282
4283 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
4284
4285         * misc.c (save_argc, save_argv): Keep non-static!
4286
4287 2003-07-02  Neil Booth  <neil@daikokuya.co.uk>
4288
4289         * misc.c (save_argc, save_argv): Make static.
4290         (gnat_init_options): New prototype.
4291         (gnat_init_options): Update.
4292
4293 2003-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
4294
4295         * gnat_ug.texi: Remove unlikely characters from @vars.
4296         * gnat_ug_vms.texi: Regenerate.
4297
4298 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
4299
4300         * misc.c (record_code_position): Adjust emit_note call.
4301
4302 2003-06-26  Neil Booth  <neil@daikokuya.co.uk>
4303
4304         * misc.c (gnat_handle_option): Don't check for missing arguments.
4305
4306 2003-06-20  Nathan Sidwell  <nathan@codesourcery.com>
4307
4308         * utils.c (end_subprog_body): Adjust expand_function_end call.
4309
4310 2003-06-16  Matt Kraai  <kraai@alumni.cmu.edu>
4311
4312         * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
4313         Bind_Main_Program.
4314
4315 2003-06-15  Neil Booth  <neil@daikokuya.co.uk>
4316
4317         * lang.opt: Declare Ada.
4318         * misc.c (gnat_init_options): Update.
4319
4320 2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
4321
4322         * utils.c (begin_subprog_body): Adjust init_function_start call.
4323
4324 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
4325
4326         * Make-lang.in: Update to use options.c and options.h.
4327         * misc.c: Include options.h not aoptions.h.
4328         (gnat_handle_option): Abort on unrecognized switch.
4329         (gnat_init_options): Request Ada switches.
4330
4331 2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
4332
4333         * lang.opt: Add -Wall.
4334         * misc.c (gnat_handle_option): Handle it.
4335
4336 2003-06-12  Neil Booth  <neil@daikokuya.co.uk>
4337
4338         * misc.c (gnat_handle_option): Fix warnings.
4339
4340 2003-06-11  Matt Kraai  <kraai@alumni.cmu.edu>
4341
4342         * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
4343
4344 2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
4345
4346         * Make-lang.in: Update to handle command-line options.
4347         * lang.opt: New file.
4348         * misc.c: Include aoptions.h.
4349         (cl_options_count, cl_options): Remove.
4350         (gnat_handle_option): New.
4351         (gnat_decode_option): Remove.
4352         (LANG_HOOKS_DECODE_OPTION): Remove.
4353         (LANG_HOOKS_HANDLE_OPTION): Override.
4354
4355 2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>
4356
4357         * init.c, misc.c, trans.c, utils.c: Remove dead code.
4358
4359 2003-06-09  Nathanael Nerode  <neroden@gcc.gnu.org>
4360
4361         * Makefile.in: Replace "host_canonical" with "host" for autoconf
4362         substitution.
4363
4364 2003-06-08  Neil Booth  <neil@daikokuya.co.uk>
4365
4366         * Make-lang.in: Update.
4367         * misc.c: Include opts.h. Define cl_options_count and cl_options.
4368
4369 2003-06-07  Neil Booth  <neil@daikokuya.co.uk>
4370
4371         * misc.c (gnat_init_options): Update.
4372
4373 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
4374
4375         * Make-lang.in (ada/b_gnatb.o-warn): Remove.
4376         * bindgen.adb (Gen_Main_C): Mark ensure_reference with
4377         __attribute__ ((__unused__)).
4378
4379 2003-06-05  Jan Hubicka  <jh@suse.cz>
4380
4381         * Make-lang.in:  Add support for stageprofile and stagefeedback
4382
4383 2003-06-05  Matt Kraai  <kraai@alumni.cmu.edu>
4384
4385         * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
4386         (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
4387
4388 2003-06-04  Matt Kraai  <kraai@alumni.cmu.edu>
4389
4390         * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
4391         Remove non-VMS directive.
4392         (Switches for gnatlbr, Optimization Levels): Remove non-VMS
4393         alternatives.
4394         (Examples of gnatls Usage): Remove VMS alternative.
4395
4396 2003-06-04  Olivier Hainque  <hainque@act-europe.fr>
4397
4398         PR ada/9953:
4399         * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
4400         and turn ZCX_By_Default back to False since the underlying support
4401         is not quite there yet.
4402
4403 2003-06-01  Andreas Jaeger  <aj@suse.de>
4404
4405         * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
4406         and ROUND_TYPE_SIZE_UNIT.
4407
4408 2003-05-22   Geert Bosch <bosch@gnat.com>
4409
4410         * gnat_rm.texi : Remove reference to Ada Core Technologies.
4411
4412 2003-05-03  Nathan Sidwell  <nathan@codesourcery.com>
4413
4414         * trans.c (tree_transform): Use location_t and input_location
4415         directly.
4416         (build_unit_elab): Likewise.
4417         * utils.c (create_label_decl): Likewise.
4418
4419 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
4420
4421         * trans.c (tree_transform, build_unit_elab,
4422         set_lineno): Rename lineno to input_line.
4423         * utils.c (pushdecl, create_label_decl, begin_subprog_body,
4424         end_subprog_body): Likewise.
4425         * utils2.c (build_call_raise): Likewise.
4426
4427 2003-05-01  Laurent Guerby <guerby@acm.org>
4428
4429         PR ada/10546
4430         * 5iosinte.ads: Increase pthread_cond_t size to match recent
4431         LinuxThread and NPTL version, merge from ACT.
4432
4433 2003-04-28  Zack Weinberg  <zack@codesourcery.com>
4434
4435         * utils.c (convert): No need to clear TREE_CST_RTL.
4436
4437 2003-04-23   Geert Bosch <bosch@gnat.com>
4438
4439         * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
4440         1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
4441         3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
4442         3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
4443         3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
4444         4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
4445         4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
4446         4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
4447         4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
4448         4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
4449         4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
4450         4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
4451         52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
4452         5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
4453         5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
4454         5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
4455         5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
4456         5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
4457         5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
4458         5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
4459         5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
4460         5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
4461         5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
4462         5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
4463         5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
4464         5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
4465         5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
4466         5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
4467         5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
4468         5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
4469         5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
4470         5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
4471         5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
4472         5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
4473         5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
4474         5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
4475         5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
4476         5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
4477         5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
4478         5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
4479         5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
4480         5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
4481         5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
4482         5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
4483         6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
4484         7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
4485         7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
4486         9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
4487         a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
4488         a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
4489         a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
4490         a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
4491         a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
4492         a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
4493         a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
4494         a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
4495         a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
4496         a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
4497         a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
4498         a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
4499         a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
4500         a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
4501         a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
4502         a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
4503         a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
4504         a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
4505         a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
4506         a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
4507         a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
4508         a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
4509         a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
4510         a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
4511         a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
4512         a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
4513         a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
4514         a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
4515         a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
4516         a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
4517         a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
4518         a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
4519         a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
4520         a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
4521         a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
4522         a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
4523         a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
4524         a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
4525         a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
4526         a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
4527         a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
4528         a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
4529         a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
4530         a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
4531         a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
4532         a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
4533         a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
4534         a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
4535         a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
4536         a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
4537         a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
4538         a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
4539         a-wttest.ads, ada-tree.h, ada.ads, ada.h,
4540         adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
4541         ali.adb, ali.ads, alloc.ads, argv.c,
4542         atree.adb, atree.ads, atree.h, aux-io.c,
4543         back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
4544         binde.adb, binde.ads, binderr.adb, binderr.ads,
4545         bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
4546         butil.adb, butil.ads, cal.c, calendar.ads,
4547         casing.adb, casing.ads, ceinfo.adb, checks.adb,
4548         checks.ads, cio.c, comperr.adb, comperr.ads,
4549         config-lang.in, csets.adb, csets.ads, csinfo.adb,
4550         cstand.adb, cstand.ads, cuintp.c, debug.adb,
4551         debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
4552         dec-io.ads, dec.ads, deftarg.c, directio.ads,
4553         einfo.adb, einfo.ads, elists.adb, elists.ads,
4554         elists.h, errno.c, errout.adb, errout.ads,
4555         eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
4556         exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
4557         exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
4558         exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
4559         exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
4560         exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
4561         exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
4562         exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
4563         exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
4564         exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
4565         exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
4566         exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
4567         exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
4568         exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
4569         exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
4570         fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
4571         fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
4572         freeze.adb, freeze.ads, frontend.adb, frontend.ads,
4573         g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
4574         g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
4575         g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
4576         g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
4577         g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
4578         g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
4579         g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
4580         g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
4581         g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
4582         g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
4583         g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
4584         g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
4585         g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
4586         g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
4587         g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
4588         g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
4589         g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
4590         g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
4591         g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
4592         g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
4593         g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
4594         g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
4595         get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
4596         gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
4597         gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
4598         gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
4599         gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
4600         gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
4601         gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
4602         gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
4603         hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
4604         i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
4605         i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
4606         i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
4607         i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
4608         i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
4609         i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
4610         inline.adb, inline.ads, interfac.ads, ioexcept.ads,
4611         itypes.adb, itypes.ads, krunch.adb, krunch.ads,
4612         layout.adb, layout.ads, lib-list.adb, lib-load.adb,
4613         lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
4614         lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
4615         lib.adb, lib.ads, live.adb, live.ads,
4616         machcode.ads, make.adb, make.ads, makeusg.adb,
4617         makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
4618         mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
4619         memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
4620         mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
4621         mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
4622         mlib.ads, namet.adb, namet.ads, nlists.adb,
4623         nlists.ads, opt.adb, opt.ads, osint-b.adb,
4624         osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
4625         osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
4626         osint.ads, output.adb, output.ads, par-ch10.adb,
4627         par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
4628         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
4629         par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
4630         par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
4631         par-tchk.adb, par-util.adb, par.adb, par.ads,
4632         prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
4633         prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
4634         prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
4635         prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
4636         prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
4637         prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
4638         prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
4639         prj.adb, prj.ads, repinfo.adb, repinfo.ads,
4640         restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
4641         rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
4642         s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
4643         s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
4644         s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
4645         s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
4646         s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
4647         s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
4648         s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
4649         s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
4650         s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
4651         s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
4652         s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
4653         s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
4654         s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
4655         s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
4656         s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
4657         s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
4658         s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
4659         s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
4660         s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
4661         s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
4662         s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
4663         s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
4664         s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
4665         s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
4666         s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
4667         s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
4668         s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
4669         s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
4670         s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
4671         s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
4672         s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
4673         s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
4674         s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
4675         s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
4676         s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
4677         s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
4678         s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
4679         s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
4680         s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
4681         s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
4682         s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
4683         s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
4684         s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
4685         s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
4686         s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
4687         s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
4688         s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
4689         s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
4690         s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
4691         s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
4692         s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
4693         s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
4694         s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
4695         s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
4696         s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
4697         s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
4698         s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
4699         s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
4700         s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
4701         s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
4702         s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
4703         s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
4704         s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
4705         s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
4706         s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
4707         s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
4708         s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
4709         s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
4710         s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
4711         s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
4712         s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
4713         s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
4714         s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
4715         s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
4716         s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
4717         s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
4718         s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
4719         s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
4720         s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
4721         s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
4722         s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
4723         s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
4724         s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
4725         s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
4726         s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
4727         s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
4728         s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
4729         s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
4730         s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
4731         s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
4732         s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
4733         s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
4734         s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
4735         scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
4736         sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
4737         sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
4738         sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
4739         sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
4740         sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
4741         sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
4742         sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
4743         sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
4744         sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
4745         sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
4746         sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
4747         sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
4748         sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
4749         sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
4750         sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
4751         sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
4752         sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
4753         sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
4754         sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
4755         sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
4756         snames.ads, sprint.adb, sprint.ads, stand.adb,
4757         stand.ads, stringt.adb, stringt.ads, style.adb,
4758         style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
4759         switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
4760         switch-m.ads, switch.adb, switch.ads, system.ads,
4761         table.adb, table.ads, targparm.adb, targparm.ads,
4762         tbuild.adb, tbuild.ads, text_io.ads, trans.c,
4763         tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
4764         tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
4765         ttypef.ads, ttypes.ads, types.adb, types.ads,
4766         uintp.adb, uintp.ads, uname.adb, uname.ads,
4767         unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
4768         usage.adb, usage.ads, validsw.adb, validsw.ads,
4769         widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
4770         xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
4771         xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
4772         formatting and other trivial changes from ACT.
4773
4774 2003-04-12  Zack Weinberg  <zack@codesourcery.com>
4775
4776         * gigi.h, utils2.c (build_constructor):
4777         Rename gnat_build_constructor. Use build_constructor.
4778         * decl.c (gnat_to_gnu_entity)
4779         * trans.c (tree_transform, pos_to_constructor, extract_values)
4780         * ada/utils.c (build_template, convert_to_fat_pointer, convert)
4781         (unchecked_convert)
4782         * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
4783         (fill_vms_descriptor):
4784         Update to match.
4785
4786 2003-04-06  Zack Weinberg  <zack@codesourcery.com>
4787
4788         * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
4789         * misc.c (gnat_tree_size): New function.
4790         (LANG_HOOKS_TREE_SIZE): Override.
4791
4792 2003-04-03  Jason Merrill  <jason@redhat.com>
4793
4794         * misc.c (gnat_adjust_rli): #if 0.
4795
4796 2003-03-31   Geert Bosch <bosch@gnat.com>
4797
4798         PR ada/10020
4799         * link.c : Fix misspelled "const" keyword
4800
4801 2003-03-23  Mark Mitchell  <mark@codesourcery.com>
4802
4803         PR c++/7086
4804         * utils2.c: Adjust calls to put_var_into_stack.
4805
4806 2003-03-12  Nathanael Nerode  <neroden@gcc.gnu.org>
4807
4808         * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
4809
4810 2003-03-08  Neil Booth  <neil@daikokuya.co.uk>
4811
4812         * misc.c (gnat_init): Update for new prototype.
4813
4814 2003-03-05  Olivier Hainque  <hainque@gnat.com>
4815
4816         ada/9961
4817         * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
4818         warning, and fix return type for the IN_RTS && !SJLJ case.
4819
4820 2003-03-04  Tom Tromey  <tromey@redhat.com>
4821
4822         * Make-lang.in (ada.tags): New target.
4823
4824 2003-03-04  Olivier Hainque  <hainque@act-europe.fr>
4825
4826         ada/9911
4827         * a-except.adb (Unwind_RaiseException): Import a GNAT specific
4828         wrapper, which name remains constant whatever underlying GCC
4829         scheme.
4830
4831         * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
4832         the stable interface needed for a-except.
4833
4834 2003-03-02  Andreas Jaeger  <aj@suse.de>
4835
4836         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
4837         gnat_ug_wnt.texi: Regenerate.
4838
4839 2003-03-02  Laurent Guerby <guerby@acm.org>
4840
4841         * Makefile.in (install-gnatlib): Match previous change there
4842         so it works.
4843
4844 2003-02-28  Andreas Schwab  <schwab@suse.de>
4845
4846         * Make-lang.in (install-gnatlib): Change to ada directory before
4847         running make instead of using ada/Makefile directly.
4848
4849 2003-02-18  Ben Elliston  <bje@redhat.com>
4850
4851         Part of fix for PR ada/9406
4852         * gnat_ug.texi (Binder output file): Grammar fix.
4853
4854 2003-02-18  Ben Elliston  <bje@redhat.com>
4855
4856         PR other/7350
4857         * 5qtaprop.adb (Sleep): Fix typo in comment.
4858
4859 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
4860
4861         * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
4862         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
4863         gnat_ug_wnt.texi: Regenerate.
4864
4865 2003-02-03  Christian Cornelssen <ccorn@cs.tu-berlin.de>
4866
4867         * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
4868         be created if necessary.
4869         (ada.install-common): Let $(DESTDIR)$(bindir) be created
4870         if necessary.  Remove erroneous and redundant gnatchop
4871         installation commands.  Test for gnatdll before attempting
4872         to install it.
4873         (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
4874         and gnatdll from all plausible locations.
4875
4876 2003-02-01  Richard Sandiford  <rsandifo@redhat.com>
4877
4878         * utils2.c (build_unary_op): Don't check flag_volatile.
4879         * gnat_ug.texi: Remove -fvolatile from example.
4880         * gnat_ug_vxw.texi: Likewise.
4881
4882 2003-01-29  Laurent Guerby <guerby@acm.org>
4883
4884         PR ada/8344
4885         * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
4886         * Makefile.in: match previous change.
4887         * Make-lang.in: match previous change.
4888
4889 2003-01-29      Joel Sherrill <joel@OARcorp.com>
4890
4891         * 5rosinte.ads: Add SIGXCPU.
4892         * 5rtpopsp.adb: New file.
4893         * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
4894         * Makefile.in: Recognize more RTEMS targets and add the RTEMS
4895         specific file 5rtpopsp.adb.
4896         * adaint.h: Add include of <stdio.h> when target is RTEMS.  This
4897         is likely needed for all newlib targets.
4898         * init.c: Add RTEMS specific version of __gnat_initialize().
4899
4900 2003-01-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4901
4902         * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
4903
4904 2003-01-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4905
4906         * init.c (__gnat_error_handler): Make msg const.
4907
4908         * gmem.c (convert_addresses): Move declaration ...
4909         * adaint.h: ... here.
4910         * adaint.c (convert_addresses): Adapt addrs type to match
4911         prototype.
4912
4913         * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
4914
4915 2003-01-24  Andreas Schwab  <schwab@suse.de>
4916
4917         * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
4918         size_t to avoid warning.
4919
4920 2003-01-21  Zack Weinberg  <zack@codesourcery.com>
4921
4922         * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
4923
4924 2003-01-09  Geoffrey Keating  <geoffk@apple.com>
4925
4926         * gnat_rm.texi: Remove RCS version number.
4927
4928         * ada-tree.h (union lang_tree_node): Add chain_next option.
4929
4930 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
4931
4932         * Make-lang.in (ada.install-info, ada.install-common,
4933         ada.uninstall): Prepend $(DESTDIR) to the destination
4934         directory in all (un)installation commands.
4935         * Makefile.in (install-gnatlib, install-rts): Ditto.
4936
4937 2002-12-28  Joseph S. Myers  <jsm@polyomino.org.uk>
4938
4939         * gnat_rm.texi, gnat_ug.texi: Use @copying.
4940         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
4941         gnat_ug_wnt.texi: Regenerate.
4942
4943 2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
4944
4945         * gnat_rm.texi: Include gcc-common.texi.  Use GCC version number
4946         only.
4947         * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
4948         $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
4949         $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
4950         ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
4951         ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
4952         $(srcdir)/doc/include/gcc-common.texi.
4953
4954 2002-12-15   Geert Bosch <bosch@gnat.com>
4955
4956         * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
4957
4958 2002-12-14   Geert Bosch <bosch@gnat.com>
4959
4960         * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
4961         case of a body created for a Renaming_As_Body, on which
4962         conformance checks are not performed. Fixes PR ada/5690.
4963
4964 2002-11-30  Zack Weinberg  <zack@codesourcery.com>
4965
4966         * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
4967         utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
4968         not already included.
4969         * Make-lang.in: Update dependencies.
4970
4971 2002-11-18  Nathanael Nerode  <neroden@gcc.gnu.org>
4972         * adaint.c (__gnat_tmp_name): Better, but good enough for now,
4973         solution to buffer overflow bug on GNU/Linux.
4974
4975 2002-11-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4976         Closes PR ada/5856 and PR ada/6919 !
4977         * bindgen.adb: Remove all references to Public_Version.
4978         * comperr.adb: Remove all references to Public_Version and
4979         GNATPRO_Version; correct bug reporting instructions.
4980         * comperr.ads: Change to match bug box.
4981         * gnatvsn.ads: Remove all references to Public version and
4982         GNATPRO version.
4983
4984 2002-11-13  Nathanael Nerode  <neroden@gcc.gnu.org>
4985         PR ada/6919
4986         * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
4987         GNU/Linux.
4988
4989         PR ada/6558
4990         * config-lang.in: Remove diff_excludes.
4991
4992 2002-11-05  Graham Stott  <graham.stott@btinternet.com>
4993         PR ada/8358
4994         * trans.c (gnu_pending_elaboration_lists): New GC root.
4995         (build_unit_elab): Use..
4996
4997 2002-10-30   Geert Bosch <bosch@gnat.com>
4998         PR ada/6558
4999         * misc.c : Include optabs.h
5000
5001         * Make-lang.in (misc.o): Add dependency on optabs.h
5002
5003 2002-10-29   Geert Bosch <bosch@gnat.com>
5004         PR ada/6558
5005         * Make-lang.in (gnatbind): Depend on CONFIG_H
5006
5007 2002-10-29  Geert bosch  <bosch@gnat.com>
5008         PR ada/6558
5009         * misc.c: Unrevert misc.c (1.13)
5010
5011 2002-10-28  Nathanael Nerode  <neroden@gcc.gnu.org>
5012
5013         * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
5014         maintainership comments.
5015
5016 2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
5017         PR ada/5904
5018         * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
5019         5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
5020         5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
5021         7staprop.adb: Correct statements in comments about
5022         maintainership of GNAT.
5023
5024         PR ada/5904
5025         * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
5026         gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
5027         osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
5028         osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
5029         s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
5030         s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
5031         sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
5032         switch-c.ads switch-m.adb switch-m.ads: Correct statements in
5033         comments about maintainership of GNAT.
5034
5035         PR ada/6919 (forward port of patch for PR ada/5904)
5036         * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
5037         4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
5038         4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
5039         4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
5040         4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
5041         4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
5042         4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
5043         52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
5044         5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
5045         5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
5046         5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
5047         5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
5048         5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
5049         5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
5050         5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
5051         5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
5052         5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
5053         5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
5054         5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
5055         5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
5056         5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
5057         5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
5058         5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
5059         5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
5060         5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
5061         5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
5062         5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
5063         5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
5064         7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
5065         a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
5066         a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
5067         a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
5068         a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
5069         a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
5070         a-except.adb a-except.ads a-excpol.adb a-exctra.adb
5071         a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
5072         a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
5073         a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
5074         a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
5075         a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
5076         a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
5077         a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
5078         a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
5079         a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
5080         a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
5081         a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
5082         a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
5083         a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
5084         a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
5085         a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
5086         a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
5087         a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
5088         a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
5089         a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
5090         a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
5091         a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
5092         a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
5093         a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
5094         a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
5095         a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
5096         a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
5097         a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
5098         a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
5099         a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
5100         a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
5101         a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
5102         a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
5103         a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
5104         adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
5105         alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
5106         back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
5107         binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
5108         bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
5109         ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
5110         csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
5111         cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
5112         debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
5113         einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
5114         errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
5115         exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
5116         exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
5117         exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
5118         exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
5119         exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
5120         exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
5121         exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
5122         exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
5123         exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
5124         exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
5125         exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
5126         exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
5127         exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
5128         final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
5129         fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
5130         freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
5131         g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
5132         g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
5133         gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
5134         gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
5135         gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
5136         gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
5137         gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
5138         gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
5139         i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
5140         i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
5141         i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
5142         i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
5143         impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
5144         itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
5145         lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
5146         lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
5147         lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
5148         lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
5149         makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
5150         namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
5151         nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
5152         osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
5153         par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
5154         par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
5155         par-endh.adb par-labl.adb par-load.adb par-prag.adb
5156         par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
5157         prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
5158         prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
5159         prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
5160         prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
5161         prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
5162         prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
5163         repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
5164         rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
5165         s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
5166         s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
5167         s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
5168         s-direio.adb s-direio.ads s-except.ads s-exctab.adb
5169         s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
5170         s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
5171         s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
5172         s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
5173         s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
5174         s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
5175         s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
5176         s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
5177         s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
5178         s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
5179         s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
5180         s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
5181         s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
5182         s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
5183         s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
5184         s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
5185         s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
5186         s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
5187         s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
5188         s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
5189         s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
5190         s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
5191         s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
5192         s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
5193         s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
5194         s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
5195         s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
5196         s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
5197         s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
5198         s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
5199         s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
5200         s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
5201         s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
5202         s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
5203         s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
5204         s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
5205         s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
5206         s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
5207         s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
5208         s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
5209         s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
5210         s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
5211         s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
5212         s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
5213         s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
5214         s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
5215         s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
5216         s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
5217         s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
5218         s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
5219         s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
5220         s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
5221         s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
5222         s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
5223         s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
5224         s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
5225         s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
5226         s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
5227         s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
5228         s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
5229         s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
5230         s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
5231         s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
5232         s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
5233         s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
5234         s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
5235         s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
5236         s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
5237         s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
5238         s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
5239         s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
5240         s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
5241         s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
5242         s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
5243         s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
5244         s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
5245         s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
5246         s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
5247         scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
5248         sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
5249         sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
5250         sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
5251         sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
5252         sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
5253         sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
5254         sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
5255         sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
5256         sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
5257         sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
5258         sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
5259         sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
5260         sem_type.adb sem_type.ads sem_util.adb sem_util.ads
5261         sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
5262         sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
5263         sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
5264         sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
5265         snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
5266         stringt.ads stringt.h style.adb style.ads stylesw.adb
5267         stylesw.ads switch.adb switch.ads sysdep.c system.ads
5268         table.adb table.ads targparm.adb targparm.ads targtyps.c
5269         tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
5270         tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
5271         treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
5272         types.adb types.ads types.h uintp.adb uintp.ads uintp.h
5273         uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
5274         usage.ads utils.c utils2.c validsw.adb validsw.ads
5275         widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
5276         xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
5277         xtreeprs.adb: Correct statements in comments about maintainership
5278         of GNAT.
5279
5280 2002-09-23  Zack Weinberg  <zack@codesourcery.com>
5281
5282         * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
5283         * Makefile.in (TOOLS_LIBS): Add ../../version.o.
5284         * gnatvsn.ads: Gnat_Version_String is now a function.
5285         * gnatvsn.adb: New file.  When asked for Gnat_Version_String,
5286         copy the C version_string into a String and return it.
5287         * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
5288         gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
5289         Remove pragma Ident (Gnat_Version_String).  If this was the
5290         sole use of package Gnatvsn, remove the with statement too.
5291         * gnat1drv.adb: Tweak -gnatv output.
5292
5293 2002-09-17  Richard Henderson  <rth@redhat.com>
5294
5295         * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
5296         * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
5297         * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
5298         (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
5299         * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
5300         and real_2expN instead of a loop.
5301         * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
5302         (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
5303
5304 2002-08-25  Andre Leis <a.leis@gmx.net>
5305             David Billinghurst (David.Billinghurst@riotinto.com>
5306
5307         * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
5308
5309 2002-08-13  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5310
5311         * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
5312         Remove $(CONFIG_H) dependency.
5313
5314 2002-08-08  Nathan Sidwell  <nathan@codesourcery.com>
5315
5316         * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
5317
5318 2002-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5319
5320         * adadecode.c (ada_demangle): Use xstrdup in lieu of
5321         xmalloc/strcpy.
5322         * misc.c (gnat_decode_option): Likewise.
5323
5324 2002-07-15  Florian Weimer  <fw@deneb.enyo.de>
5325
5326         * make.adb (Add_Switch): Make Generic_Position a procedure.  The
5327         function approach did not work well because of a side effect (the
5328         function call could reallocate the table which was being indexed
5329         using its result). Fixes ada/4851. [RESURRECTED]
5330
5331 2002-07-01  Roger Sayle  <roger@eyesopen.com>
5332
5333         * ada/utils.c (builtin_function): Accept an additional parameter.
5334
5335 2002-06-28  Andreas Jaeger  <aj@suse.de>
5336
5337         PR ada/7144
5338         * Makefile.in: Fix typo in comment, patch by Adrian Knoth
5339         <adi@thur.de>.
5340
5341 2002-06-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5342
5343         * Makefile.in (SHELL): Set to @SHELL@.
5344
5345 2002-06-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5346
5347         * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
5348         array size calculation.
5349
5350 2002-06-04  Andreas Jaeger  <aj@suse.de>
5351
5352         * Make-lang.in (gnatbind): Readd rule that has been lost in last
5353         patch.
5354
5355 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
5356
5357         Merge from pch-branch:
5358
5359         * config-lang.in (gtfiles): Add ada-tree.h.
5360         * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
5361         (SET_TYPE_MODULUS): New.
5362         (SET_TYPE_INDEX): New.
5363         (SET_TYPE_DIGITS_VALUE): New.
5364         (SET_TYPE_RM_SIZE): New.
5365         (SET_TYPE_UNCONSTRAINED_ARRAY): New.
5366         (SET_TYPE_ADA_SIZE): New.
5367         (SET_TYPE_ACTUAL_BOUNDS): New.
5368         (SET_DECL_CONST_CORRESPONDING_VAR): New.
5369         (SET_DECL_ORIGINAL_FIELD): New.
5370         (TREE_LOOP_ID): Correct typo.
5371         * decl.c: Use new macros.
5372         * utils.c: Include debug.h, use new macros.
5373         * utils2.c: Use new macros.
5374
5375         * ada-tree.h: Update all macros for new tree description.
5376         (struct tree_loop_id): New.
5377         (union lang_tree_node): New.
5378         (struct lang_decl): New.
5379         (struct lang_type): New.
5380         * misc.c (gnat_mark_tree): Delete.
5381         (LANG_HOOKS_MARK_TREE): Delete.
5382         * trans.c (tree_transform): No longer any need to cast
5383         for TREE_LOOP_ID.
5384
5385         * utils.c (struct language_function): New dummy structure.
5386
5387         * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
5388         (misc.o): Likewise.
5389         (utils.o): Likewise; also gtype-ada.h.
5390         * Make-lang.in (gnat1): Add dependency on s-gtype.
5391         (gnatbind): Add dependency on $(CONFIG_H).
5392         * utils.c: Correct last #include.
5393         (stuct e_stack): Remove unnecessary 'static'.
5394         (mark_e_stack): Remove unused prototype.
5395
5396         * scn-nlit.adb: Remove whitespace after version number to
5397         keep lines under 80 chars.
5398         * snames.adb: Likewise.
5399         * treepr.ads: Likewise.
5400
5401         * Makefile.in (decl.o): Include gt-ada-<filename>.h.
5402         (misc.o): Likewise.
5403         (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
5404         * config-lang.in (gtfiles): New.
5405         * decl.c: Use gengtype for roots.
5406         * gigi.h: Use gengtype for roots.
5407         * trans.c: Use gengtype for roots.
5408         * utils.c: Use gengtype for roots, marking.  Include gtype-ada.h.
5409
5410 2002-06-02  Gabriel Dos Reis  <gdr@codesourcery.com>
5411
5412         * misc.c (gnat_init): Adjust setting of internal_error_function.
5413
5414 2002-06-01  Joseph S. Myers  <jsm28@cam.ac.uk>
5415
5416         * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
5417         * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
5418         gnat_ug_wnt.texi: Regenerate.
5419
5420 2002-05-31  Florian Weimer  <fw@deneb.enyo.de>
5421
5422         * 5ntaprop.adb (with System.OS_Primitives): Remove.
5423
5424         * cstreams.c (max_path_len): Move from here ...
5425         * adaint.c (__gnat_max_path_len): ... to here.
5426         * adaint.c (__gnat_max_path_len): Declare.
5427         * g-dirope.adb (Max_Path): Adjust.
5428         * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
5429         * i-cstrea.ads (max_path_len): Adjust.
5430         * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
5431         * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
5432
5433         * Makefile.in, Make-lang.in: Documentation is now built in
5434         Make-lang.in.  Store Info and generated Texinfo files in the
5435         source directory.
5436         * gnat_ug.texi: Remove CVS keywords, correct version number.
5437         Set file name correctly.
5438
5439         * gnat_ug_*.texi: Add.
5440         * .cvsignore: Ignore generated Texinfo files.
5441
5442 2002-05-30  Zack Weinberg  <zack@codesourcery.com>
5443
5444         * ada.h: Add MI guard macro.
5445         (SUBTYPE): Define constants with an anonymous enum, not static
5446         const variables.
5447         (IN): Cast constants to appropriate type before use.
5448
5449 2002-05-26  Joseph S. Myers  <jsm28@cam.ac.uk>
5450
5451         * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
5452         (experimental)".
5453
5454 2002-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5455
5456         * Make-lang.in (CP, ECHO): Copy from Makefile.in.
5457         (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
5458         (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
5459         (ALL_ADA_CFLAGS): Likewise.
5460         (ADA_INCLUDES): Likewise.
5461         Adapt for new working dir.
5462         (GNATBIND): Use Makefile.in version.
5463         (.SUFFIXES): Copy from Makefile.in.
5464         (ada-warn): Define.
5465         (.adb.o, .ads.o): Copy from Makefile.in.
5466         Added $(OUTPUT_OPTION).
5467         (GNAT1_C_OBJS): Moved from Makefile.in.
5468         Prefix with ada subdir.
5469         (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
5470         (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
5471         Adapt for new working dir.
5472         (EXTRA_GNATBIND_OBJS): Likewise.
5473         (ADA_BACKEND): Moved from Makefile.in.
5474         Renamed to avoid conflict with global BACKEND.
5475         Use that one.
5476         (TARGET_ADA_SRCS): Moved from Makefile.in.
5477         (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
5478         Use ADA_BACKEND.
5479         (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
5480         (ada_extra_files): Moved from Makefile.in.
5481         Prefix with ada subdir.
5482         (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
5483         (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
5484         (ada/nmake.ads): Likewise.
5485         (update-sources): Moved from Makefile.in.
5486         Prefix with ada subdir.
5487         (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
5488         (ADA_TREE_H): Likewise.
5489         (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
5490         (ada/memtrack.o): Likewise.
5491         (ada/adadecode.o): Likewise.
5492         Update dependencies.
5493         (ada/adaint.o): New.
5494         (ada/argv.o): Moved from Makefile.in.
5495         Prefix with ada subdir.
5496         Update dependencies.
5497         (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
5498         (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
5499         (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
5500         Prefix with ada subdir.
5501         (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
5502         (GNAT DEPENDENCIES): Regenerate.
5503         * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
5504         toplevel Makefile.in.
5505         (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
5506         (TARGET_ADA_SRCS): Removed.
5507         (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
5508         (GNATBIND_OBJS): Likewise.
5509         (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
5510         (BACKEND): Removed.
5511         (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
5512         (TREE_H): Likewise.
5513         (ada_extra_files): Likewise.
5514         (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
5515         (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
5516         (update-sources): Likewise.
5517         (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
5518         (ADA_TREE_H): Likewise.
5519         (adadecoce.o): Likewise.
5520         (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
5521         (GNAT DEPENDENCIES): Likewise.
5522
5523 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5524
5525         * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
5526         * Makefile.in: Likewise.
5527
5528 2002-05-14  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5529
5530         * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
5531         Restore $(CONFIG_H) and prefix.o dependencies.
5532         (ada.stage[1-4]): Depend on stage?-start.
5533
5534         * Makefile.in (b_gnatb.c): Depend on interfac.o.
5535
5536 2002-05-02  Jim Wilson  <wilson@redhat.com>
5537
5538         * utils.c (finish_record_type): Change record_size to record_type.
5539
5540 2001-05-02  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5541
5542         * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
5543         (ALL_ADA_CFLAGS): Define.  Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
5544         ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
5545
5546 2002-04-25  Neil Booth  <neil@daikokuya.demon.co.uk>
5547
5548         * misc.c (gnat_parse_file): Update.
5549
5550 2002-04-24  Neil Booth  <neil@daikokuya.demon.co.uk>
5551
5552         * misc.c (gnat_init): Don't set lang_attribute_common.
5553
5554 2002-04-21  Joseph S. Myers  <jsm28@cam.ac.uk>
5555
5556         * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
5557
5558 2002-04-21  Florian Weimer  <fw@deneb.enyo.de>
5559
5560         * gnat_ug.texi: New file.
5561
5562         * gnat_rm.texi: Do not include texiplus.texi.  Include fdl.texi
5563         instead of gfdl.texi
5564
5565         * xgnatug.adb, ug_words: New files.
5566
5567         * Makefile.in (doc, dvi): New targets.  Build gnat_ug_*,
5568         gnat_rm and gnat-style manuals.
5569
5570 2002-04-18  Neil Booth  <neil@daikokuya.demon.co.uk>
5571
5572         * gigi.h (incomplete_type_error): Remove.
5573         * utils.c (incomplete_type_error): Remove.
5574
5575 2002-04-16  Mark Mitchell  <mark@codesourcery.com>
5576
5577         * trans.c (tree_transform): Add has_scope argument to
5578         expand_start_stmt_expr.
5579
5580 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
5581
5582         * gigi.h (truthvalue_conversion): Rename.
5583         * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
5584         * trans.c (tree_transform): Update.
5585         * utils2.c (truthvalue_conversion): Rename, update.
5586         (build_binary_op, build_unary_op): Update.
5587
5588 2002-04-04  Laurent Guerby  <guerby@acm.org>
5589
5590         * make.adb: Implement -margs, remove restriction about file name placement.
5591         * makeusg.adb: Documentation update.
5592         * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
5593         * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
5594
5595 2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>
5596
5597         * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
5598         (builtin_function): Similarly.
5599
5600 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
5601
5602         * decl.c (gnat_to_gnu_entity): Update.
5603         * gigi.h (mark_addressable): Rename.
5604         * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
5605         * trans.c (tree_transform): Update.
5606         * utils.c (create_var_decl): Update.
5607         * util2.c (build_binary_op, build_unary_op,
5608         fill_vms_descriptor): Update.
5609         (mark_addressable): Rename, update.
5610
5611 2002-04-01  Neil Booth  <neil@daikokuya.demon.co.uk>
5612
5613         * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
5614         Rename.
5615         * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
5616         LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
5617         * trans.c (tree_transform, convert_with_check): Update.
5618         * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
5619         Rename.
5620
5621 2002-03-31  Neil Booth  <neil@daikokuya.demon.co.uk>
5622
5623         * gigi.h (finish_incomplete_decl): Rename.
5624         * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
5625         * utils.c (gnat_init_decl_processing): Don't set hook.
5626         (finish_incomplete_decl): Rename.
5627
5628 2002-03-29  Andreas Schwab  <schwab@suse.de>
5629
5630         * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
5631         directory.
5632
5633 2001-03-28  Robert Dewar <dewar@gnat.com>
5634
5635         * checks.ads:
5636         (Remove_Checks): New procedure
5637
5638         * checks.adb:
5639         (Remove_Checks): New procedure
5640
5641         * exp_util.adb:
5642         Use new Duplicate_Subexpr functions
5643         (Duplicate_Subexpr_No_Checks): New procedure
5644         (Duplicate_Subexpr_No_Checks_Orig): New procedure
5645         (Duplicate_Subexpr): Restore original form (checks duplicated)
5646         (Duplicate_Subexpr): Call Remove_Checks
5647
5648         * exp_util.ads:
5649         (Duplicate_Subexpr_No_Checks): New procedure
5650         (Duplicate_Subexpr_No_Checks_Orig): New procedure
5651         Add 2002 to copyright notice
5652
5653         * sem_util.adb: Use new Duplicate_Subexpr functions
5654
5655         * sem_eval.adb:
5656         (Eval_Indexed_Component): This is the place to call
5657         Constant_Array_Ref and to replace the value. We simply merge
5658         the code of this function in here, since it is now no longer
5659         used elsewhere. This fixes the problem of the back end not
5660         realizing we were clever enough to see that this was
5661         constant.
5662         (Expr_Val): Remove call to Constant_Array_Ref
5663         (Expr_Rep_Val): Remove call to Constant_Array_Ref
5664         Minor reformatting
5665         (Constant_Array_Ref): Deal with string literals (patch
5666         suggested by Zack Weinberg on the gcc list)
5667
5668 2001-03-28  Ed Schonberg <schonber@gnat.com>
5669
5670         * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
5671         Duplicate_Subexpr_Move_Checks.
5672
5673         * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
5674         Duplicate_Subexpr_Move_Checks.
5675
5676         * sem_eval.adb: (Constant_Array_Ref): Verify that constant
5677         value of array exists before retrieving it (it may a private
5678         protected component in a function).
5679
5680 2002-03-28   Geert Bosch <bosch@gnat.com>
5681
5682         * prj-pp.adb : New file.
5683
5684         * prj-pp.ads : New file.
5685
5686 2002-03-28  Andreas Jaeger  <aj@suse.de>
5687
5688         * Makefile.in (stamp-sdefault): Fix path for Makefile.
5689
5690 2002-03-28  Neil Booth  <neil@daikokuya.demon.co.uk>
5691
5692         * misc.c (gnat_expand_expr): Move prototype.
5693
5694 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
5695
5696         * misc.c (insert_default_attributes): Remove.
5697
5698 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
5699
5700         * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
5701         (gnat_init): Don't set hook.
5702         (gnat_expand_expr): Fix prototype.
5703
5704 2002-03-27  Neil Booth  <neil@daikokuya.demon.co.uk>
5705
5706         * misc.c (ggc_p): Remove.
5707
5708 2002-03-27  Geert Bosch  <bosch@gnat.com>
5709
5710         * prj-makr.ads, prj-makr.adb : New files.
5711
5712 2002-03-26  Neil Booth  <neil@daikokuya.demon.co.uk>
5713
5714         * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
5715         (lang_mark_tree): Make static, rename.
5716
5717 2002-03-25  Neil Booth  <neil@daikokuya.demon.co.uk>
5718
5719         * misc.c (maybe_build_cleanup): Remove.
5720
5721 2002-03-24  Neil Booth  <neil@daikokuya.demon.co.uk>
5722
5723         * gigi.h (yyparse): Remove.
5724
5725 2002-03-23  Florian Weimer  <fw@deneb.enyo.de>
5726
5727         * gnat_rm.texi: Sync with ACT version.
5728           (From Ben Brosgol <brosgol@gnat.com>)
5729
5730 2002-03-20  Neil Booth  <neil@daikokuya.demon.co.uk>
5731
5732         * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
5733         (gnat_init): Remove old hook.
5734
5735 2002-03-17  Neil Booth  <neil@daikokuya.demon.co.uk>
5736
5737         * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
5738         (yyparse): Rename gnat_parse_file.
5739
5740 2002-03-14  Geoffrey Keating  <geoffk@redhat.com>
5741
5742         Delete all lines containing "$Revision:".
5743         * xeinfo.adb: Don't look for revision numbers.
5744         * xnmake.adb: Likewise.
5745         * xsinfo.adb: Likewise.
5746         * xsnames.adb: Likewise.
5747         * xtreeprs.adb: Likewise.
5748
5749 2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5750
5751         * misc.c (gnat_tree_code_type, gnat_tree_code_length,
5752         gnat_tree_code_name): Delete.
5753         (tree_code_type, tree_code_length, tree_code_name): Define.
5754         (gnat_init): Don't try to copy into the various tree_code
5755         arrays.
5756
5757 2002-03-11  Richard Henderson  <rth@redhat.com>
5758
5759         * Makefile.in (.NOTPARALLEL): Add fake tag.
5760
5761 2002-03-07  Geert Bosch  <bosch@gnat.com>
5762
5763         * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
5764         s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
5765         switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
5766         switch-m.adb, switch-m.ads : New files.
5767
5768 2002-03-07  Geert Bosch  <bosch@gnat.com>
5769
5770         * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
5771         4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
5772         4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
5773         4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
5774         5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
5775         5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
5776         5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
5777         5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
5778         5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
5779         5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
5780         5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
5781         5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
5782         5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
5783         5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
5784         5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
5785         5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
5786         5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
5787         5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
5788         5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
5789         5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
5790         7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
5791         Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
5792         a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
5793         a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
5794         a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
5795         a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
5796         a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
5797         a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
5798         a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
5799         adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
5800         atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
5801         bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
5802         csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
5803         einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
5804         eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
5805         exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
5806         exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
5807         exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
5808         exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
5809         exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
5810         expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
5811         freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
5812         g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
5813         g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
5814         g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
5815         g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
5816         g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
5817         g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
5818         gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
5819         gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
5820         gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
5821         i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
5822         impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
5823         lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
5824         lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
5825         memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
5826         mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
5827         nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
5828         output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
5829         par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
5830         prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
5831         prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
5832         prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
5833         rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
5834         s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
5835         s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
5836         s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
5837         s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
5838         s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
5839         s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
5840         s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
5841         s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
5842         s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
5843         s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
5844         s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
5845         s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
5846         s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
5847         s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
5848         s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
5849         sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
5850         sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
5851         sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
5852         sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
5853         sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
5854         sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
5855         sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
5856         sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
5857         sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
5858         sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
5859         snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
5860         stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
5861         table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
5862         tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
5863         treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
5864         types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
5865         utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
5866         xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
5867
5868         * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
5869         g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
5870         mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
5871         osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
5872
5873         * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
5874         5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
5875
5876         * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
5877         to mdll-fil.ad[bs] and mdll-util.ad[bs]
5878
5879         * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
5880         from mdllfile.ad[bs] and mdlltool.ad[bs]
5881
5882 2002-03-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5883
5884         * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
5885         lieu of explicit sizeof/sizeof.
5886
5887 2002-02-28  Neil Booth  <neil@daikokuya.demon.co.uk>
5888
5889         * misc.c (copy_lang_decl): Remove.
5890
5891 2002-02-27  Zack Weinberg  <zack@codesourcery.com>
5892
5893         * misc.c: Delete traditional-mode-related code copied from the
5894         C front end but not used, or used only to permit the compiler
5895         to link.
5896
5897 2002-02-07  Richard Henderson  <rth@redhat.com>
5898
5899         * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
5900         * adaint.h (__gnat_to_gm_time): Update prototype.
5901
5902 2002-01-30  Richard Henderson  <rth@redhat.com>
5903
5904         * trans.c (tree_transform) [N_Loop_Statement]: Use
5905         expand_exit_loop_top_cond.
5906
5907 2001-12-23  Richard Henderson  <rth@redhat.com>
5908
5909         * utils.c (end_subprog_body): Push GC context around
5910         rest_of_compilation for nested functions.
5911
5912 2001-12-23  Richard Henderson  <rth@redhat.com>
5913
5914         * 5nosinte.ads: Get definition of "int" from Interfaces.C.
5915
5916 2001-12-23  Florian Weimer  <fw@deneb.enyo.de>
5917
5918         * gnat-style.texi (Declarations and Types): Remove ancient style
5919         rule which was mandated by code generation issues.
5920
5921         * gnat-style.texi (header): Add @dircategory, @direntry.
5922         (title page): Remove date.
5923         (general) Add @./@: where approriate, and two spaces after the
5924         full stop at the end of a sentence.  Use @samp markup when
5925         referring concrete lexical entities (keywords, attribute names
5926         etc.), and @syntax for ARM grammar elements. Use @r for English
5927         text in comments.  Use @emph for emphasis.  Change "if-statements"
5928         etc. to "if statements" (without @samp). Break long lines.  Make
5929         casing of section names consistent.
5930         (Identifiers): Use @samp markup for variable names.
5931         (Comments): Use @samp markup for comment characters. Line-end
5932         comments may follow any Ada code, not just statements.  Fix
5933         misspelling of "Integer" as "integer".
5934         (Loop statements): Do not use variable name "I", use "J".
5935         (Subprogram Declarations): Document alignment.
5936         (Subprogram Bodies, Block statements): Document empty line before
5937         "begin".
5938
5939 2001-12-22  Florian Weimer  <fw@deneb.enyo.de>
5940
5941         * make.adb (Add_Switch): Make Generic_Position a procedure.  The
5942         function approach did not work well because of a side effect (the
5943         function call could reallocate the table which was being indexed
5944         using its result). Fixes ada/4851.
5945
5946 2001-12-19  Robert Dewar <dewar@gnat.com>
5947
5948         * bindgen.adb: Minor reformatting
5949
5950         * cstand.adb: Minor reformatting
5951
5952         * fmap.adb: Minor reformatting
5953         Change name from Add for Add_To_File_Map (Add is much too generic)
5954         Change Path_Name_Of to Mapped_Path_Name
5955         Change File_Name_Of to Mapped_File_Name
5956         Fix copyright dates in header
5957
5958         * fmap.ads:
5959         Change name from Add for Add_To_File_Map (Add is much too generic)
5960         Change Path_Name_Of to Mapped_Path_Name
5961         Change File_Name_Of to Mapped_File_Name
5962         Fix copyright dates in header
5963
5964         * fname-uf.adb: Minor reformatting.  New names of stuff in Fmap.
5965         Add use clause for Fmap.
5966
5967         * make.adb: Minor reformatting
5968
5969         * osint.adb: Minor reformatting.  Change of names in Fmap.
5970         Add use clause for Fmap.
5971
5972         * prj-env.adb: Minor reformatting
5973
5974         * prj-env.ads: Minor reformatting
5975
5976         * switch.adb: Minor reformatting.  Do proper raise of Bad_Switch if
5977         error found (there were odd exceptions to this general rule in
5978         -gnatec/-gnatem processing)
5979
5980 2001-12-19  Olivier Hainque <hainque@gnat.com>
5981
5982         * raise.c (__gnat_eh_personality): Exception handling personality
5983         routine for Ada.  Still in rough state, inspired from the C++ version
5984         and still containing a bunch of debugging artifacts.
5985         (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
5986         inspired from the C++ library.
5987
5988         * raise.c (eh_personality): Add comments. Part of work for the GCC 3
5989         exception handling integration.
5990
5991 2001-12-19  Arnaud Charlet <charlet@gnat.com>
5992
5993         * Makefile.in: Remove use of 5smastop.adb which is obsolete.
5994         (HIE_SOURCES): Add s-secsta.ad{s,b}.
5995         (HIE_OBJS): Add s-fat*.o
5996         (RAVEN_SOURCES): Remove files that are no longer required. Add
5997         interrupt handling files.
5998         (RAVEN_MOD): Removed, no longer needed.
5999
6000 2001-12-19  Robert Dewar <dewar@gnat.com>
6001
6002         * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
6003         Add 2001 to copyright date
6004
6005         * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
6006         need to force universal inlining for these cases.
6007
6008 2001-12-19  Arnaud Charlet <charlet@gnat.com>
6009
6010         * s-taprob.adb: Minor clean ups so that this unit can be used in
6011         Ravenscar HI.
6012
6013         * exp_ch7.adb: Allow use of secondary stack in HI mode.
6014         Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
6015
6016 2001-12-19  Vincent Celier <celier@gnat.com>
6017
6018         * prj-tree.ads (Project_Node_Record): Add comments for components
6019         Pkg_Id and Case_Insensitive.
6020
6021 2001-12-19  Pascal Obry <obry@gnat.com>
6022
6023         * g-socket.adb: Minor reformatting. Found while reading code.
6024
6025 2001-12-19  Robert Dewar <dewar@gnat.com>
6026
6027         * prj-tree.ads: Minor reformatting
6028
6029 2001-12-20  Joseph S. Myers  <jsm28@cam.ac.uk>
6030
6031         * config-lang.in (diff_excludes): Remove.
6032
6033 2001-12-17  Ed Schonberg <schonber@gnat.com>
6034
6035         * sem_res.adb (Resolve_Selected_Component): do not generate a
6036         discriminant check if the selected component is a component of
6037         the argument of an initialization procedure.
6038
6039         * trans.c (tree_transform, case of arithmetic operators): If result
6040         type is private, the gnu_type is the base type of the full view,
6041         given that the full view itself may be a subtype.
6042
6043 2001-12-17  Robert Dewar <dewar@gnat.com>
6044
6045         * sem_res.adb: Minor reformatting
6046
6047         * trans.c (tree_transform, case N_Real_Literal): Add missing third
6048         parameter in call to Machine (unknown horrible effects from this
6049         omission).
6050
6051         * urealp.h: Add definition of Round_Even for call to Machine
6052         Add third parameter for Machine
6053
6054 2001-12-17  Ed Schonberg <schonber@gnat.com>
6055
6056         * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
6057         predefined units in No_Run_Time mode.
6058
6059 2001-12-17  Richard Kenner <kenner@gnat.com>
6060
6061         * misc.c (insn-codes.h): Now include.
6062
6063 2001-12-17  Olivier Hainque <hainque@gnat.com>
6064
6065         * a-except.adb: Preparation work for future integration of the GCC 3
6066         exception handling mechanism
6067         (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
6068         to factorize previous code sequences and make them externally callable,
6069         e.g. for the Ada personality routine when the GCC 3 mechanism is used.
6070         (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
6071         Use the new notification routines.
6072
6073 2001-12-17  Emmanuel Briot <briot@gnat.com>
6074
6075         * prj-tree.ads (First_Choice_Of): Document the when others case
6076
6077 2001-12-17  Arnaud Charlet <charlet@gnat.com>
6078
6079         * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
6080         HI-E mode, in order to support Ravenscar profile properly.
6081
6082         * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
6083         mode on 32 bits targets.
6084
6085 2001-12-17  Vincent Celier <celier@gnat.com>
6086
6087         * fmap.adb: Initial version.
6088
6089         * fmap.ads: Initial version.
6090
6091         * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
6092         If search is successfully done, add to mapping.
6093
6094         * frontend.adb: Initialize the mapping if a -gnatem switch was used.
6095
6096         * make.adb:
6097         (Gnatmake): Add new local variable Mapping_File_Name.
6098          Create mapping file when using project file(s).
6099          Delete mapping file before exiting.
6100
6101         * opt.ads (Mapping_File_Name): New variable
6102
6103         * osint.adb (Find_File): Use path name found in mapping, if any.
6104
6105         * prj-env.adb (Create_Mapping_File): New procedure
6106
6107         * prj-env.ads (Create_Mapping_File): New procedure.
6108
6109         * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
6110         (Mapping_File)
6111
6112         * usage.adb: Add entry for new switch -gnatem.
6113
6114         * Makefile.in: Add dependencies for fmap.o.
6115
6116 2001-12-17  Ed Schonberg <schonber@gnat.com>
6117
6118         * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
6119         is a package instantiation rewritten as a package body.
6120         (Install_Withed_Unit): Undo previous change, now redundant.
6121
6122 2001-12-17  Gary Dismukes <dismukes@gnat.com>
6123
6124         * layout.adb:
6125         (Compute_Length): Move conversion to Unsigned to callers.
6126         (Get_Max_Size): Convert Len expression to Unsigned after calls to
6127         Compute_Length and Determine_Range.
6128         (Layout_Array_Type): Convert Len expression to Unsigned after calls to
6129         Compute_Length and Determine_Range.
6130         Above changes fix problem with length computation for supernull arrays
6131         where Max (Len, 0) wasn't getting applied due to the Unsigned
6132         conversion used by Compute_Length.
6133
6134 2001-12-17  Arnaud Charlet <charlet@gnat.com>
6135
6136         * rtsfind.ads:
6137         (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
6138          System.Secondary_Stack.
6139         (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
6140          in HI-E mode.
6141         Remove unused entity RE_Exception_Data.
6142
6143         * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
6144
6145         * rident.ads (No_Secondary_Stack): New restriction.
6146
6147 2001-12-17  Joel Brobecker <brobecke@gnat.com>
6148
6149         * gnat_rm.texi: Fix minor typos. Found while reading the section
6150         regarding "Bit_Order Clauses" that was sent to a customer.
6151         Very interesting documentation!
6152
6153 2001-12-17  Robert Dewar <dewar@gnat.com>
6154
6155         * sem_case.adb (Choice_Image): Avoid creating improper character
6156         literal names by using the routine Set_Character_Literal_Name. This
6157         fixes bombs in certain error message cases.
6158
6159 2001-12-17  Arnaud Charlet <charlet@gnat.com>
6160
6161         * a-reatim.adb: Minor reformatting.
6162
6163 2001-12-17  Ed Schonberg <schonber@gnat.com>
6164
6165         * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
6166         case where the formal is an extension of another formal in the current
6167         unit or in a parent generic unit.
6168
6169 2001-12-17  Arnaud Charlet <charlet@gnat.com>
6170
6171         * s-tposen.adb: Update comments.  Minor reformatting.
6172         Minor code clean up.
6173
6174         * s-tarest.adb: Update comments.  Minor code reorganization.
6175
6176 2001-12-17  Gary Dismukes <dismukes@gnat.com>
6177
6178         * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
6179         when Java_VM.
6180
6181 2001-12-17  Robert Dewar <dewar@gnat.com>
6182
6183         * exp_attr.adb: Minor reformatting
6184
6185 2001-12-17  Ed Schonberg <schonber@gnat.com>
6186
6187         * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
6188         derivations nested within a child unit: verify that the parent
6189         type is declared in an outer scope.
6190
6191 2001-12-17  Robert Dewar <dewar@gnat.com>
6192
6193         * sem_ch12.adb: Minor reformatting
6194
6195 2001-12-17  Ed Schonberg <schonber@gnat.com>
6196
6197         * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
6198         warning if current unit is a predefined one, from which bodies may
6199         have been deleted.
6200
6201 2001-12-17  Robert Dewar <dewar@gnat.com>
6202
6203         * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
6204         Fix header format. Add 2001 to copyright date.
6205
6206         * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
6207         which caused CE during compilation if checks were enabled.
6208
6209 2001-12-17  Vincent Celier <celier@gnat.com>
6210
6211         * make.adb:
6212         (Switches_Of): New function
6213         (Test_If_Relative_Path): New procedure
6214         (Add_Switches): Use new function Switches_Of
6215         (Collect_Arguments_And_Compile): Use new function Switches_Of.
6216         When using a project file, test if there are any relative
6217         search path. Fail if there are any.
6218         (Gnatmake): Only add switches for the primary directory when not using
6219         a project file. When using a project file, change directory to the
6220         object directory of the main project file. When using a project file,
6221         test if there are any relative search path. Fail if there are any.
6222         When using a project file, fail if specified executable is relative
6223         path with directory information, and prepend executable, if not
6224         specified as an absolute path, with the exec directory.  Make sure
6225         that only one -o switch is transmitted to the linker.
6226
6227         * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
6228
6229         * prj-nmsc.adb:
6230         (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
6231         when using a non standard naming scheme.
6232         (Check_Ada_Naming_Scheme): Make sure that error messages
6233         do not raise exceptions.
6234         (Is_Illegal_Append): Return True if there is no dot in the suffix.
6235         (Language_Independent_Check): Check the exec directory.
6236
6237         * prj.adb (Project_Empty): Add new component Exec_Directory
6238
6239         * prj.ads:
6240         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
6241         (Project_Data): Add component Exec_Directory
6242
6243         * snames.adb: Updated to match snames.ads revision 1.215
6244
6245         * snames.ads: Added Exec_Dir
6246
6247 2001-12-17  Robert Dewar <dewar@gnat.com>
6248
6249         * make.adb: Minor reformatting
6250
6251         * prj-nmsc.adb: Minor reformatting
6252
6253         * snames.adb: Updated to match snames.ads
6254
6255         * snames.ads: Alphebetize entries for project file
6256
6257 2001-12-17  Ed Schonberg <schonber@gnat.com>
6258
6259         * trans.c (process_freeze_entity): Do nothing if the entity is a
6260         subprogram that was already elaborated.
6261
6262 2001-12-17  Richard Kenner <kenner@gnat.com>
6263
6264         * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
6265         and Esize if object is referenced via pointer.
6266
6267 2001-12-17  Ed Schonberg <schonber@gnat.com>
6268
6269         * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
6270         is discrete before analyzing choices.
6271
6272 2001-12-17  Joel Brobecker <brobecke@gnat.com>
6273
6274         * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
6275         containing the name of the Ada Main Program. This string is mainly
6276         intended for the debugger.
6277         (Gen_Output_File_C): Do the equivalent change when generating a C file.
6278
6279 2001-12-17  Robert Dewar <dewar@gnat.com>
6280
6281         * ali.adb: Set new Dummy_Entry field in dependency entry
6282
6283         * ali.ads: Add Dummy_Entry field to source dependency table
6284
6285         * bcheck.adb (Check_Consistency): Ignore dummy D lines
6286
6287         * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
6288
6289         * lib-writ.ads: Document dummy D lines for missing files.
6290
6291         * types.ads: (Dummy_Time_Stamp): New value for non-existant files
6292
6293 2001-12-17  Robert Dewar <dewar@gnat.com>
6294
6295         * ali.adb: Type reference does not reset current file.
6296
6297         * ali.adb: Recognize and scan renaming reference
6298
6299         * ali.ads: Add spec for storing renaming references.
6300
6301         * lib-xref.ads: Add documentation for handling of renaming references
6302
6303         * lib-xref.adb: Implement output of renaming reference.
6304
6305         * checks.adb:
6306         (Determine_Range): Document local variables
6307         (Determine_Range): Make sure Hbound is initialized. It looks as though
6308          there could be a real problem here with an uninitialized reference
6309          to Hbound, but no actual example of failure has been found.
6310
6311 2001-12-17  Laurent Pautet <pautet@gnat.com>
6312
6313         * g-socket.ads:
6314         Fix comment of Shutdown_Socket and Close_Socket. These functions
6315         should not fail silently because if they are called twice, this
6316         probably means that there is a race condition in the user program.
6317         Anyway, this behaviour is consistent with the rest of this unit.
6318         When an error occurs, an exception is raised with the error message
6319         as exception message.
6320
6321 2001-12-17  Robert Dewar <dewar@gnat.com>
6322
6323         * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
6324         that it happens before modification of Sloc values for -gnatD.
6325
6326         * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
6327         so that it happens before modification of Sloc values for -gnatD.
6328
6329         * switch.adb: Minor reformatting
6330
6331 2001-12-15  Richard Henderson  <rth@redhat.com>
6332
6333         * sem_ch7.adb: Wrap comment.
6334
6335 2001-12-16  Joseph S. Myers  <jsm28@cam.ac.uk>
6336
6337         * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
6338         5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
6339         5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
6340         5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
6341         5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
6342         7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
6343         a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
6344         a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
6345         cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
6346         exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
6347         exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
6348         g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
6349         gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
6350         make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
6351         par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
6352         repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
6353         s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
6354         s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
6355         s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
6356         s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
6357         sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
6358         sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
6359         sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
6360         sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
6361         spelling errors.
6362
6363 2001-12-14  Vincent Celier <celier@gnat.com>
6364
6365         * osint.adb(Create_Debug_File): When an object file is specified,
6366         put the .dg file in the same directory as the object file.
6367
6368 2001-12-14  Robert Dewar <dewar@gnat.com>
6369
6370         * osint.adb: Minor reformatting
6371
6372         * lib-xref.adb (Output_Instantiation): New procedure to generate
6373         instantiation references.
6374
6375         * lib-xref.ads: Add documentation of handling of generic references.
6376
6377         * ali.adb (Read_Instantiation_Ref): New procedure to read
6378         instantiation references
6379
6380         * ali.ads: Add spec for storing instantiation references
6381
6382         * bindusg.adb: Minor reformatting
6383
6384         * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
6385
6386         * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
6387
6388         * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
6389
6390         * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
6391
6392         * csets.ads:
6393         Fix header format
6394         Add 2001 to copyright date
6395         Add entry for Latin-5 (Cyrillic ISO-8859-5)
6396
6397 2001-12-14  Matt Gingell <gingell@gnat.com>
6398
6399         * adaint.c: mktemp is a macro on Lynx and can not be used as an
6400         expression.
6401
6402 2001-12-14  Richard Kenner <kenner@gnat.com>
6403
6404         * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
6405         if operand is CONSTRUCTOR.
6406
6407 2001-12-14  Ed Schonberg <schonber@gnat.com>
6408
6409         * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
6410         before emiting check on right-hand side, so that exception information
6411         is correct.
6412
6413 2001-12-14  Richard Kenner <kenner@gnat.com>
6414
6415         * utils.c (create_var_decl): Throw away initializing expression
6416         if just annotating types and non-constant.
6417
6418 2001-12-14  Vincent Celier <celier@gnat.com>
6419
6420         * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
6421         Default_Ada_...
6422
6423         * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
6424         Remove functions.
6425         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
6426
6427         * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
6428         Remove functions.
6429         (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
6430
6431 2001-12-16  Joseph S. Myers  <jsm28@cam.ac.uk>
6432
6433         * ChangeLog: Remove piece of diff output.
6434
6435 2001-12-14  Geert Bosch <bosch@gnat.com>
6436
6437         * config-lang.in: Update copyright notice
6438
6439         * layout.adb: Remove commented out code.
6440
6441         * mdllfile.ads: Update copyright notice. Fix header format.
6442
6443         * sem_case.ads: Likewise.
6444
6445         * sem_ch3.adb: Minor reformatting.
6446
6447 2001-12-12  Geert Bosch <bosch@gnat.com>
6448
6449         * freeze.ads: Update copyright date.
6450
6451         * g-comlin.ads: Minor reformatting.
6452
6453         * gnat-style.texi: Fix typo.
6454
6455 2001-12-12  Geert Bosch <bosch@gnat.com>
6456
6457         *  einfo.h: Regenerate.
6458
6459 2001-12-12  Ed Schonberg <schonber@gnat.com>
6460
6461         * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
6462         on known node types, rather than untyped fields. Further cleanups.
6463
6464 2001-12-12  Robert Dewar <dewar@gnat.com>
6465
6466         * sem_ch12.adb:
6467         (Save_Entity_Descendant): Minor comment update.
6468         (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
6469          of an N_Attribute_Reference node. As per note below, this does not
6470         eliminate need for Associated_Node in attribute ref nodes.
6471         (Associated_Node): Documentation explicitly mentions attribute
6472         reference nodes, since this field is used in such nodes.
6473
6474         * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
6475
6476 2001-12-12  Robert Dewar <dewar@gnat.com>
6477
6478         * s-stalib.adb: Add more comments on with statements being needed
6479
6480         * par-ch12.adb: Minor reformatting
6481
6482         * prj-dect.ads: Fix copyright header
6483
6484         * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
6485         inputs fit in 32 bits, but the result still overflows.
6486
6487         * s-fatgen.ads: Minor comment improvement
6488
6489 2001-12-12  Ed Schonberg <schonber@gnat.com>
6490
6491         * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
6492         formal derived type, look for an inherited component from the full
6493         view of the parent, if any.
6494
6495 2001-12-12  Robert Dewar <dewar@gnat.com>
6496
6497         * checks.ads (Apply_Alignment_Check): New procedure.
6498
6499         * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
6500         ensure that the alignment of objects with address clauses is
6501         appropriate, and raise PE if not.
6502
6503         * exp_util.ads (Must_Be_Aligned): Removed, replaced by
6504         Exp_Pakd.Known_Aligned_Enough
6505
6506         * mdllfile.ads: Minor reformatting
6507
6508         * mlib-fil.ads: Minor reformatting
6509
6510 2001-12-12  Ed Schonberg <schonber@gnat.com>
6511
6512         * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
6513         fix to any component reference if enclosing record has non-standard
6514         representation.
6515
6516 2001-12-12  Vincent Celier <celier@gnat.com>
6517
6518         * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
6519         Iteration
6520
6521 2001-12-12  Ed Schonberg <schonber@gnat.com>
6522
6523         * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
6524         sem_attr.
6525
6526 2001-12-12  Robert Dewar <dewar@gnat.com>
6527
6528         * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
6529
6530 2001-12-12  Emmanuel Briot <briot@gnat.com>
6531
6532         * g-regexp.adb: Remove all debug code, since it isn't required anymore,
6533         and it adds dependencies to system.io.
6534
6535 2001-12-12  Pascal Obry <obry@gnat.com>
6536
6537         * g-dirope.adb (Expand_Path.Var): Correctly detect end of
6538         variable name.
6539
6540 2001-12-11  Ed Schonberg <schonber@gnat.com>
6541
6542         * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
6543         that is the parent of other generics, the instance body replaces the
6544         instance node.  Retrieve the instance of the spec, which is the one
6545         that is visible in clients and within the body.
6546
6547 2001-12-11  Vincent Celier <celier@gnat.com>
6548
6549         * gnatmain.adb: Initial version.
6550
6551         * gnatmain.ads: Initial version.
6552
6553         * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
6554
6555         * snames.adb: Updated to match snames.ads.
6556
6557         * snames.ads: Added Gnatstub.
6558
6559 2001-12-11  Vincent Celier <celier@gnat.com>
6560
6561         * prj-attr.adb (Initialization_Data): Change name from
6562         Initialisation_Data.
6563
6564 2001-12-11  Emmanuel Briot <briot@gnat.com>
6565
6566         * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
6567         + and * applied to backslashed expressions like \r.
6568
6569 2001-12-11  Vasiliy Fofanov <fofanov@gnat.com>
6570
6571         * g-os_lib.ads: String_List type added, Argument_List type is now
6572         subtype of String_List.
6573
6574 2001-12-11  Robert Dewar <dewar@gnat.com>
6575
6576         * g-os_lib.ads: Change copyright to FSF
6577         Add comments for String_List type
6578
6579 2001-12-11  Vincent Celier <celier@gnat.com>
6580
6581         * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
6582         string to the buffer).
6583
6584 2001-12-11  Ed Schonberg <schonber@gnat.com>
6585
6586         * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
6587         sem_attr.
6588
6589         * sem_attr.adb: Simplify previous fix for Address.
6590         (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
6591         to avoid anomalies where the bound of the type appears to raise
6592         constraint error.
6593
6594 2001-12-11  Robert Dewar <dewar@gnat.com>
6595
6596         * lib-xref.adb (Output_Refs): Make sure pointers are always properly
6597         handled.
6598
6599 2001-12-11  Ed Schonberg <schonber@gnat.com>
6600
6601         * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
6602         renamed unit before checking for recursive instantiations.
6603
6604 2001-12-11  Emmanuel Briot <briot@gnat.com>
6605
6606         * prj.ads: Add comments for some of the fields.
6607
6608 2001-12-11  Robert Dewar <dewar@gnat.com>
6609
6610         * lib-xref.adb (Output_Refs): Don't output type references outside
6611         the main unit if they are not otherwise referenced.
6612
6613 2001-12-11  Ed Schonberg <schonber@gnat.com>
6614
6615         * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
6616         code and diagnose additional illegal uses
6617
6618         * sem_util.adb (Is_Object_Reference): An indexed component is an
6619         object only if the prefix is.
6620
6621 2001-12-11  Vincent Celier <celier@gnat.com>
6622
6623         * g-diopit.adb: Initial version.
6624
6625         * g-diopit.ads: Initial version.
6626
6627         * g-dirope.adb:
6628         (Expand_Path): Avoid use of Unbounded_String
6629         (Find, Wildcard_Iterator): Moved to child package Iteration
6630
6631         * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
6632
6633 2001-12-11  Robert Dewar <dewar@gnat.com>
6634
6635         * sem_attr.adb: Minor reformatting
6636
6637 2001-12-11  Ed Schonberg <schonber@gnat.com>
6638
6639         * sem_ch3.adb: Clarify some ???.
6640
6641 2001-12-11  Robert Dewar <dewar@gnat.com>
6642
6643         * exp_util.adb (Must_Be_Aligned): Removed, replaced by
6644         Exp_Pakd.Known_Aligned_Enough
6645
6646         * sem_ch13.adb (Check_Address_Alignment): Removed, extended
6647         version is moved to Exp_Ch13.
6648
6649 2001-12-11  Robert Dewar <dewar@gnat.com>
6650
6651         * einfo.ads: Minor reformatting
6652
6653         * exp_ch5.adb: Add comment for previous.change
6654
6655         * ali.adb: New interface for extended typeref stuff.
6656
6657         * ali.ads: New interface for typeref stuff.
6658
6659         * checks.adb (Apply_Alignment_Check): New procedure.
6660
6661         * debug.adb: Add -gnatdM for modified ALI output
6662
6663         * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
6664
6665         * lib-xref.adb: Extend generation of <..> notation to cover
6666         subtype/object types. Note that this is a complete rewrite,
6667         getting rid of the very nasty quadratic algorithm previously
6668         used for derived type output.
6669
6670         * lib-xref.ads: Extend description of <..> notation to cover
6671         subtype/object types. Uses {..} for these other cases.
6672         Also use (..) for pointer types.
6673
6674         * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
6675
6676         * exp_pakd.adb: Minor reformatting.  Note that prevous RH should say:
6677         (Known_Aligned_Enough): Replaces Must_Be_Aligned.
6678
6679 2001-12-11  Vincent Celier <celier@gnat.com>
6680
6681         * gnatcmd.adb:
6682         Changed /COMPILE_ONLY to /ACTIONS=COMPILE
6683         Changed /BIND_ONLY to /ACTIONS=BIND
6684         Changed /LINK_ONLY to /ACTIONS=LINK
6685
6686 2001-12-11  Ed Schonberg  <schonber@gnat.com>
6687
6688         * sem_ch8.adb (Find_Selected_Component): improved search for a
6689         candidate package in case of error.
6690
6691         * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
6692         chain back on scope stack before reinstalling use clauses.
6693
6694         * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
6695         is enabled, do not kill the code for the condition, to preserve
6696         warning.
6697
6698 2001-12-11  Robert Dewar <dewar@gnat.com>
6699
6700         * checks.adb (Insert_Valid_Check): Apply validity check to expression
6701         of conversion, not to result of conversion.
6702
6703 2001-12-11  Ed Schonberg <schonber@gnat.com>
6704
6705         * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
6706         before freezing parent. If the declarations are mutually recursive,
6707         an access to the current record type may be frozen before the
6708         derivation is complete.
6709
6710 2001-12-05  Vincent Celier <celier@gnat.com>
6711
6712         * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
6713         -c /COMPILE_ONLY, -l /LINK_ONLY
6714
6715         * opt.ads:
6716         (Bind_Only): New Flag
6717         (Link_Only): New flag
6718
6719         * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
6720         and -l (Link_Only)
6721
6722         * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
6723
6724         * make.adb:
6725         (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
6726         (Gnatmake): Set the step flags. Only perform a step if the
6727         corresponding step flag is True.
6728         (Scan_Make_Arg): Reset the bind and link step flags when -u
6729         or -gnatc has been specified.
6730
6731 2001-12-05  Ed Schonberg <schonber@gnat.com>
6732
6733         * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
6734         get bounds from right operand.
6735
6736         * sem_eval.adb: Minor reformatting
6737
6738         * exp_util.adb (Make_Literal_Range): use bound of literal rather
6739         than Index'First, its lower bound may be different from 1.
6740
6741         * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
6742         and C48009J
6743
6744 2001-12-05  Vincent Celier <celier@gnat.com>
6745
6746         * prj-nmsc.adb Minor reformatting
6747
6748         * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
6749         set and libraries are not supported.
6750
6751 2001-12-05  Ed Schonberg <schonber@gnat.com>
6752
6753         * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
6754         private view explicitly, so the back-end can treat as a global
6755         when appropriate.
6756
6757 2001-12-05  Ed Schonberg <schonber@gnat.com>
6758
6759         * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
6760          unit, always replace instance node with new body, for ASIS use.
6761
6762 2001-12-05  Vincent Celier <celier@gnat.com>
6763
6764         * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
6765         libraries are not supported and both attributes Library_Name and
6766         Library_Dir are specified.
6767
6768         * prj-proc.adb (Expression): Set location of Result to location of
6769         first term.
6770
6771         * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
6772         (prj-nmsc is now importing MLib.Tgt)
6773
6774         * prj-proc.adb: Put the change indicated above that was forgotten.
6775
6776 2001-12-05  Robert Dewar <dewar@gnat.com>
6777
6778         * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
6779
6780 2001-12-05  Ed Schonberg <schonber@gnat.com>
6781
6782         * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
6783         constraint, introduce explicit subtype declaration and derive from it.
6784
6785         * sem_ch3.adb: Minor reformatting
6786
6787 2001-12-05  Robert Dewar <dewar@gnat.com>
6788
6789         * checks.adb (Determine_Range): Increase cache size for checks.
6790         Minor reformatting
6791
6792         * exp_ch6.adb: Minor reformatting
6793         (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
6794         a parameter whose root type is System.Address, since treating such
6795         subprograms as pure in the code generator is almost surely a mistake
6796         that will lead to unexpected results.
6797
6798         * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
6799         change handling of conversions.
6800
6801         * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
6802
6803 2001-12-05  Ed Schonberg <schonber@gnat.com>
6804
6805         * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
6806         aggregate with static wrong size, attach generated Raise node to
6807         declaration.
6808
6809 2001-12-05  Robert Dewar <dewar@gnat.com>
6810
6811         * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
6812         Fixes compilation abandoned bomb in B24009B.
6813
6814 2001-12-05  Ed Schonberg <schonber@gnat.com>
6815
6816         * sem_ch12.adb:
6817         Document use of Associated_Node on Selected_Components.
6818         (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
6819         to clarify use of untyped descendant fields.
6820
6821 2001-12-05  Robert Dewar <dewar@gnat.com>
6822
6823         * prj-dect.ads: Add ??? comment
6824         Add 2001 to copyright notice (was not done in after all)
6825
6826         * prj-part.adb: Minor reformatting. Reword one awkward error message.
6827
6828         * prj.ads: Minor reformatting throughout, and add some ??? comments
6829
6830         * snames.ads: Minor reformatting
6831
6832 2001-12-05  Geert Bosch <bosch@gnat.com>
6833
6834         * snames.adb: Autoupdate
6835
6836 2001-12-05  Vincent Celier <celier@gnat.com>
6837
6838         * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
6839
6840         * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
6841
6842         * prj-env.adb: Minor comment changes (modifying -> extends).
6843
6844         * prj-nmsc.adb: Minor comment changes (modifying -> extends).
6845
6846         * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
6847         Tok_Extends.
6848
6849         * prj.adb (Initialize): Change Modifying to Extends.
6850
6851         * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
6852
6853         * prj.ads: Minor comment change (Modifying -> extending).
6854
6855         * snames.ads: Change modifying to extends.
6856
6857 2001-12-05  Robert Dewar <dewar@gnat.com>
6858
6859         * sem_warn.adb: Remove stuff for conditionals, we are not going to
6860         do this after all.
6861
6862         * sem_warn.ads: Remove stuff for conditionals, we are not going to
6863         do this after all.  Add 2001 to copyright notice
6864
6865 2001-12-04  Geert Bosch <bosch@gnat.com>
6866
6867         *  einfo.h, sinfo.h, treeprs.ads: Regenerate.
6868
6869 2001-12-04  Robert Dewar <dewar@gnat.com>
6870
6871         * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
6872         location if we already have errors. Stops some cases of cascaded
6873         errors.
6874
6875         * errout.adb: Improve comment.
6876
6877 2001-12-04  Robert Dewar <dewar@gnat.com>
6878
6879         * sem_ch12.adb:
6880         (Analyze_Formal_Type_Definition): Defend against Error.
6881         (Analyze_Formal_Subprogram): Defend against Error.
6882
6883         * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
6884         remove following semicolon if present. Removes cascaded error.
6885
6886 2001-12-04  Douglas B. Rupp <rupp@gnat.com>
6887
6888         * bindgen.adb:
6889         (Gen_Exception_Table_Ada): Write "begin" and then return if Num
6890          exceptions equals 0.
6891         (Gen_Exception_Table_C): Return if Num exceptions equals 0.
6892         Fixes PIWG E tests (which have to be run with -gnatL).
6893
6894 2001-12-04  Robert Dewar <dewar@gnat.com>
6895
6896         * einfo.ads: Minor reformatting
6897
6898 2001-12-04  Ed Schonberg <schonber@gnat.com>
6899
6900         * einfo.ads: Block_Node points to the identifier of the block, not to
6901         the block node itself, to preserve the link when the block is
6902         rewritten, e.g. within an if-statement with a static condition.
6903
6904         * inline.adb (Cleanup_Scopes): recover block statement from block
6905         entity using new meaning of Block_Node.
6906
6907         * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
6908         identifier of block node, rather than to node itself.
6909
6910 2001-12-04  Gary Dismukes <dismukes@gnat.com>
6911
6912         * layout.adb:
6913         (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
6914         (Discrimify): Go back to setting the Etypes of the selected component
6915         because the Vname component does not exist at this point and will
6916         fail name resolution. Also set Analyzed.
6917         Remove with and use of Sem_Res.
6918
6919 2001-12-04  Arnaud Charlet <charlet@gnat.com>
6920
6921         * Makefile.in: (HIE_SOURCES): add s-fat*.
6922
6923 2001-12-04  Robert Dewar <dewar@gnat.com>
6924
6925         * sem_attr.adb:
6926         (Compile_Time_Known_Attribute): New procedure.
6927         (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
6928          proper range check.
6929
6930 2001-12-04  Ed Schonberg <schonber@gnat.com>
6931
6932         * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
6933         processing discriminants to diagnose illegal default values.
6934
6935 2001-12-04  Ed Schonberg <schonber@gnat.com>
6936
6937         * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
6938         access discriminant within a type extension that constrains its
6939         parent discriminants.
6940
6941 2001-12-04  Ed Schonberg <schonber@gnat.com>
6942
6943         * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
6944         is malformed, use instance of Any_Id to allow analysis to proceed.
6945
6946         * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
6947         type definition is illegal.
6948         (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
6949         misplaced.
6950
6951 2001-12-04  Ed Schonberg <schonber@gnat.com>
6952
6953         * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
6954         constants.
6955
6956 2001-12-04  Robert Dewar <dewar@gnat.com>
6957
6958         * errout.adb: Minor reformatting
6959
6960 2001-12-04  Robert Dewar <dewar@gnat.com>
6961
6962         * exp_util.adb: Minor reformatting from last change
6963
6964         * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
6965         which is a rewriting of an expression, traverse the original
6966         expression to remove warnings that may have been posted on it.
6967
6968 2001-12-04  Ed Schonberg <schonber@gnat.com>
6969
6970         * exp_util.adb (Must_Be_Aligned): Return false for a component of a
6971         record that has other packed components.
6972
6973 2001-12-04  Douglass B. Rupp <rupp@gnat.com>
6974
6975         * adaint.c: Minor cleanups.
6976
6977 2001-12-04  Douglass B. Rupp <rupp@gnat.com>
6978
6979         * adaint.c: Do not use utime.h on vxworks.
6980
6981 2001-12-04  Arnaud Charlet <charlet@gnat.com>
6982
6983         * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
6984         more confusion than it solves.
6985
6986 2001-12-04  Geert bosch <bosch@gnat.com>
6987
6988         * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
6989
6990 2001-12-04  Geert Bosch  <bosch@gnat.com>
6991
6992         * Makefile.in (update-sources): New target.
6993         For use by gcc_release script.
6994
6995 2001-12-04  Ed Schonberg <schonber@gnat.com>
6996
6997         * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
6998         a configuration pragma, it is now legal wherever a pragma can appear.
6999
7000 2001-12-04  Zack Weinberg  <zack@codesourcery.com>
7001
7002         * Makefile.in: Don't set ALL.  Delete @cross_defines@,
7003         @cross_overrides@, @build_overrides@ stanzas.  INTERNAL_CFLAGS
7004         is now @CROSS@ -DIN_GCC; update comment.
7005
7006 2001-12-04  Robert Dewar <dewar@gnat.com>
7007
7008         * einfo.adb (Has_Pragma_Pure_Function): New flag.
7009         Fix problem that stopped ceinfo from working
7010
7011         * einfo.ads (Has_Pragma_Pure_Function): New flag.
7012
7013         * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
7014
7015 2001-12-04  Douglas B. Rupp <rupp@gnat.com>
7016
7017         * gnatchop.adb:
7018         (File_Time_Stamp): New procedure.
7019         (Preserve_Mode): New boolean.
7020         (Write_Unit): Pass time stamp.
7021         Implement -p switch (preserve time stamps).
7022
7023         * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
7024
7025         * gnatchop.adb: Do usage info for -p switch
7026
7027         * adaint.h (__gnat_set_file_time_name): New function
7028
7029         * adaint.c (__gnat_set_file_time_name): Implement
7030
7031         * adaint.h: Fix typo
7032
7033 2001-12-03  Robert Dewar <dewar@gnat.com>
7034
7035         * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
7036         have Associated_Node.
7037
7038 2001-12-03  Robert Dewar <dewar@gnat.com>
7039
7040         * prj-proc.adb: Minor reformatting
7041
7042         * make.adb: Minor reformatting
7043
7044 2001-12-03  Geert Bosch <bosch@gnat.com>
7045
7046         * make.adb: Minor reformatting.
7047
7048 2001-12-03 Robert Dewar  <dewar@gnat.com>
7049
7050         * sem_ch12.adb: Minor reformatting
7051
7052 2001-12-03  Ed Schonberg <schonber@gnat.com>
7053
7054         * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
7055         push Standard on the stack before analyzing the instance body,
7056         in order to have a clean visibility environment.
7057
7058         * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
7059
7060 2001-12-03  Ed Schonberg <schonber@gnat.com>
7061
7062         * sem_ch12.adb (Instantiate_Package_Body): Protect against double
7063         instantiation of a body that contains an inlined body.
7064
7065 2001-12-03  Ed Schonberg <schonber@gnat.com>
7066
7067         * sem_ch12.adb:
7068         (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
7069         to prevent freezing within formal packages.
7070         (Freeze_Subprogram_Body): If body comes from another instance that
7071         appeared before its own body, place freeze node at end of current
7072         declarative part, to prevent a back-end crash.
7073         (Inline_Instance_Body): Handle properly a package instance within
7074         a subprogram instance that is a child unit.
7075
7076 2001-12-01  Graham Stott  <grahams@redhat.com>
7077
7078         * Makefile.in (misc.o): Add missing $(srcdir) prefix
7079         and add optabs.h dependency.
7080
7081         * misc.c: Include optabs.h
7082         (gnat_tree_code_type): Make static and const.
7083         (gnat_tree_code_length): Likewise.
7084         (gnat_tree_code_name): Likewise.
7085         (update_setjmp_buf): Obtain operands mode from insn_data.
7086
7087 2001-11-29  Richard Henderson  <rth@redhat.com>
7088
7089         * init.c: Remove obsolete dwarf2 frame.h section.
7090
7091 2001-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
7092
7093         * Make-lang.in (ada.generated-manpages): New dummy target.
7094
7095 2001-11-29  Ed Schonberg <schonber@gnat.com>
7096
7097         * g-os_lib.adb (Add_To_Command): use explicit loop to move string
7098         into Command, an array conversion is illegal here. Uncovered by
7099         ACATS B460005.
7100
7101 2001/11/28  Geert Bosch <bosch@gnat.com>
7102
7103         * init.c: Minor whitespace changes.
7104
7105 2001-11-28  Doug Rupp <rupp@gnat.com>
7106
7107         * init.c: (__gnat_install_handler,VMS): Increase size of alternate
7108         signal stack.
7109
7110 2001-11-28  Zack Weinberg  <zack@codesourcery.com>
7111
7112         * misc.c (gnat_expand_constant): Move declaration above
7113         definition of lang_hooks.
7114         (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
7115         (gnat_init): lang_expand_constant no longer exists.
7116
7117         (internal_error_function): Remove #ifdef HAVE_VPRINTF.  We
7118         always have vprintf.
7119         (gnat_init): Always call set_internal_error_function.
7120
7121 2001-11-27  Andreas Jaeger  <aj@suse.de>
7122
7123         * Makefile.in (stamp-tool_src_dir): Use symbolic link.
7124
7125 2001-11-27  Laurent Guerby  <guerby@acm.org>
7126
7127         * Makefile.in: Regenerate Ada dependencies.
7128
7129 2001-11-26  Richard Henderson  <rth@redhat.com>
7130
7131         * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
7132         gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
7133         gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
7134
7135 2001-11-25  Laurent Guerby  <guerby@acm.org>
7136
7137         * sysdep.c (rts_get_*): Fix style.
7138
7139 2001-11-19  Laurent Guerby  <guerby@acm.org>
7140
7141         * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
7142         since it is of no apparent use and cause warnings.
7143
7144 2001-11-18  Neil Booth  <neil@daikokuya.demon.co.uk>
7145
7146         * misc.c (gnat_decode_option, gnat_init_options): Make definitions
7147         static too.
7148         (gnat_init): Don't return NULL.
7149         (finish_parse): Remove.
7150
7151 2001-11-17  Laurent Guerby  <guerby@acm.org>
7152
7153         * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
7154         * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
7155         * io-aux.c: Provide K&R prototypes to all functions, reformat code.
7156         * lang-spec.h: Add missing struct field to silence warnings.
7157         * sysdep.c (rts_get_*): Provide K&R prototype.
7158         * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
7159         * traceback.c (Unlock_Task, Lock_Task): Likewise.
7160         * tracebak.c (__gnat_backtrace): Remove unused variable.
7161         * utils.c (end_subprog_body): Move to K&R style.
7162
7163 Thu Nov 15 18:16:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7164
7165         * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
7166
7167 2001-11-15  Neil Booth  <neil@daikokuya.demon.co.uk>
7168
7169         * misc.c (gnat_init): Change prototype.  Include the
7170         functionality of the old init_parse and init_decl_processing.
7171         (gnat_init_decl_processing): New prototype.
7172         (init_parse): Remove.
7173         * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
7174
7175 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
7176
7177         * misc.c (gnat_print_decl, gnat_print_type): Renamed.
7178         (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
7179         (print_lang_statistics, lang_print_xnode, print_lang_identifier,
7180         set_yydebug): Remove.
7181
7182 2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
7183
7184         * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
7185         (struct lang_hooks): Constify.
7186         (language_string, lang_identify): Remove.
7187         * utils.c (init_decl_processing): Update.
7188
7189 2001-11-06  Neil Booth  <neil@cat.daikokuya.demon.co.uk>
7190
7191         * misc.c: Include langhooks-def.h.
7192         * Makefile.in: Update.
7193
7194 2001-10-30  Robert Dewar <dewar@gnat.com>
7195
7196         * style.adb:
7197         (Check_Identifier): Rewrite circuit to be compatible with use of letters
7198         in the upper half of ASCII.
7199         (Check_Identifier): Minor reformatting
7200
7201 2001-10-30  Geert Bosch <bosch@gnat.com>
7202
7203         * (Associated_Node, Set_Associated_Node): Do not check for
7204         Freeze_Entity.
7205
7206 2001-10-30  Robert Dewar <dewar@gnat.com>
7207
7208         * a-reatim.ads: Minor reformatting
7209
7210 2001-10-30  Robert Dewar <dewar@gnat.com>
7211
7212         * gnatdll.adb: Minor reformatting throughout. Many ??? added for
7213         undocumented declarations.
7214
7215 2001-10-30  Pascal Obry <obry@gnat.com>
7216
7217         * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
7218         to the binder and linker.
7219         Minor style fix.
7220
7221         * mdll.ads: Fix layout.  Update copyright notice.
7222
7223         * mdll.adb: Fix layout.  Update copyright notice.
7224
7225 2001-10-30  Robert Dewar <dewar@gnat.com>
7226
7227         * usage.adb: Minor fix to output for -gnaty.
7228
7229 2001-10-30  Ed Schonberg <schonber@gnat.com>
7230
7231         * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
7232         to accommodate all its possible values.
7233
7234         * a-reatim.adb (Split): Special-case handling of Time_Span_First
7235         and of small absolute values of T.
7236
7237 2001-10-30  Richard Kenner <kenner@gnat.com>
7238
7239         * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
7240         set_mem_attributes since not needed and wrong if RESULT if a REG;
7241         fixes ACATS failures.
7242
7243 2001-10-30  Geert Bosch <bosch@gnat.com>
7244
7245         * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
7246         s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
7247
7248 2001-10-30  Robert Dewar <dewar@gnat.com>
7249
7250         * bindusg.adb: Undocument -f switch.
7251
7252         * gnatcmd.adb: Remove /FULL_ELABORATION.
7253
7254         * opt.ads (Force_RM_Elaboration_Order): Document that this is
7255         obsolescent.
7256
7257         * gnatbind.adb: Output new warning for use of obsolescent -f switch.
7258
7259         * gnatbind.adb: Minor update of warning msg.
7260
7261 2001-10-30  Vincent Celier <celier@gnat.com>
7262
7263         * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
7264         for project file switches (-P (/PROJECT_FILE=),
7265          -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
7266         or MEDIUM or HIGH)
7267
7268 2001-10-30  Geert Bosch <bosch@gnat.com>
7269
7270         * decl.c: Minor whitespace fixes.
7271
7272 2001-10-30  Richard Kenner <kenner@gnat.com>
7273
7274         * utils2.c (build_allocator): Test for SIZE overflow in array case too
7275
7276 2001-10-30  Geert Bosch <bosch@gnat.com>
7277
7278         * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
7279         Found due to GCC 3.0 warning of using uninitialized value.
7280
7281         * layout.adb:
7282         (Get_Max_Size): Use variant record for tracking value/expression.
7283          Makes logic clearer and prevents warnings for uninitialized variables.
7284         (Layout_Array_Type): Use variant record for tracking value/expression.
7285          Makes logic clearer and prevents warnings for uninitialized variables.
7286
7287 2001-10-30  Robert Dewar <dewar@gnat.com>
7288
7289         * lib.adb: Minor reformatting
7290
7291         * s-taprop.ads: Minor reformatting
7292
7293 2001-10-29  Laurent Guerby  <guerby@acm.org>
7294
7295         * init.c:
7296         (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
7297         const.
7298         (_gnat_error_handler): Make MSG const.
7299
7300 2001-10-29  Richard Kenner <kenner@gnat.com>
7301
7302         * sysdep.c: Fix localtime_r problem on LynxOS.
7303         Also remove #elif to avoid warnings.
7304
7305         * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
7306         used by this.
7307
7308         * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
7309
7310 2001-10-28  Joseph S. Myers  <jsm28@cam.ac.uk>
7311
7312         * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
7313         exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
7314         g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
7315         g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
7316         layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
7317         s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
7318         sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
7319         sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
7320         sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
7321         types.ads, urealp.adb: Fix spelling errors.
7322
7323 2001-10-27  Laurent Guerby <guerby@acm.org>
7324
7325         * trans.c (gigi): Fix non determinism leading to bootstrap
7326         comparison failures for debugging information.
7327
7328 2001-10-26  Florian Weimer  <fw@deneb.enyo.de>
7329
7330         * gnat_rm.texi: Use @./@: where appropriate.
7331
7332 2001-10-26  Robert Dewar <dewar@gnat.com>
7333
7334         * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
7335
7336 2001-10-26  Richard Kenner <kenner@gnat.com>
7337
7338         * gmem.c (__gnat_gmem_read_next): Properly check for EOF
7339
7340 2001-10-26  Richard Kenner <kenner@gnat.com>
7341
7342         * decl.c (validate_size): Modify message for bad size to avoid
7343         implication that compiler is modifying the size.
7344
7345 2001-10-26  Robert Dewar <dewar@gnat.com>
7346
7347         * prj-util.adb: Minor reformatting. Fix bad header format.
7348
7349 2001-10-26  Robert Dewar <dewar@gnat.com>
7350
7351         * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
7352
7353         * sinfo.ads: Clarify use of Associated_Node (documentation only).
7354
7355         * sem_ch12.adb: Change Node4 to Associated_Node. Change
7356         Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
7357         much more narrowly in places where needed. These are cleanups.
7358
7359 2001-10-26  Joel Brobecker <brobecke@gnat.com>
7360
7361         * 5zosinte.ads (null_pthread): new constant.
7362
7363         * 5ztaprop.adb:
7364         (Initialize_TCB): Initialize thread ID to null, to be able to verify
7365          later that this field has been set.
7366         (Finalize_TCB): ditto.
7367         (Suspend_Task): Verify that the thread ID is not null before using it.
7368         (Resume_Task): ditto.
7369
7370         * s-tasdeb.adb:
7371         (Resume_All_Tasks): Lock the tasks list before using it.
7372         (Suspend_All_Tasks): ditto.
7373
7374 2001-10-26  Richard Kenner <kenner@gnat.com>
7375
7376         * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
7377         Make constant variant of designated type for Is_Access_Constant.
7378         Call update_pointer_to with main variant.
7379
7380         * trans.c (process_freeze_entity, process_type):
7381         Call update_pointer_to on main variant.
7382
7383         * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
7384         If main variant, update all other variants.
7385
7386         * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
7387         TREE_STATIC.
7388
7389 2001-10-26  Robert Dewar <dewar@gnat.com>
7390
7391         * prj-util.adb: Minor reformatting
7392
7393 2001-10-26  Robert Dewar <dewar@gnat.com>
7394
7395         * prj-util.adb: Minor reformatting
7396
7397 2001-10-26  Robert Dewar <dewar@gnat.com>
7398
7399         * prj-attr.adb: Minor reformatting throughout
7400
7401 2001-10-26  Robert Dewar <dewar@gnat.com>
7402
7403         * prj-attr.ads: Minor reformatting
7404         Add ??? comment (this whole spec has almost no comments)
7405
7406 2001-10-26  Vincent Celier <celier@gnat.com>
7407
7408         * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
7409         ("//") that precede the drive letter on Interix.
7410
7411 2001-10-26  Geert Bosch <bosch@gnat.com>
7412
7413         * gnat_rm.texi: Add GNAT Reference Manual.
7414
7415 2001-10-25  Robert Dewar <dewar@gnat.com>
7416
7417         * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
7418         is Error. Similar change for other renaming cases.
7419
7420 2001-10-25  Robert Dewar <dewar@gnat.com>
7421
7422         * s-atacco.ads: Add pragma Inline_Always for functions.
7423         Fix header format. Add copyright 2001
7424
7425 2001-10-25  Ed Schonberg <schonber@gnat.com>
7426
7427         * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
7428         return Error rather than Empty so that analysis can proceed.
7429
7430 2001-10-25  Ed Schonberg <schonber@gnat.com>
7431
7432         * sem_util.adb (Enter_Name): better handling of cascaded error
7433         messages when a unit appears in its own context.
7434
7435 2001-10-25  Ed Schonberg <schonber@gnat.com>
7436
7437         * sem_util.adb (Defining_Entity): in case of error, attach created
7438         entity to specification, so that semantic analysis can proceed.
7439
7440 2001-10-25  Robert Dewar <dewar@gnat.com>
7441
7442         * sem_util.adb
7443         (Defining_Entity): Deal with Error.
7444         (Process_End_Label): Deal with bad end label for.
7445
7446 2001-10-25  Ed Schonberg <schonber@gnat.com>
7447
7448         * sem_elab.adb (Check_A_Call): refine message when call is in an
7449         instance but callee is not declared in the generic unit.
7450
7451 2001-10-25  Ed Schonberg <schonber@gnat.com>
7452
7453         * sem_elab.adb (Check_A_Call): check for renaming before finding the
7454         enclosing unit, which may already be different from the calling unit.
7455
7456 2001-10-25  Geert Bosch <bosch@gnat.com>
7457
7458         * 4gintnam.ads: fix header format.
7459
7460 2001-10-25  Ed Schonberg <schonber@gnat.com>
7461
7462         * sem_res.adb (Resolve_Call): if the call is actually an indexing
7463         operation on the result of a parameterless call, perform elaboration
7464         check after the node has been properly rewritten.
7465
7466         * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
7467         inlined within the generic tree, the defining identifier is not a
7468         compilation_unit.
7469
7470 2001-10-25  Ed Schonberg <schonber@gnat.com>
7471
7472         * sem_res.adb (Resolve): special-case resolution of Null in an
7473          instance or an inlined body to avoid view conflicts.
7474
7475         * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
7476          compatibility by retrieving the access type of the generic copy.
7477
7478 2001-10-25  Robert Dewar <dewar@gnat.com>
7479
7480         * sem_ch3.adb:
7481         (Analyze_Number_Declaration): Handle error expression.
7482         (Signed_Integer_Type_Declaration): Handle error bound.
7483         (Analyze_Subtype_Indication): Handle error range.
7484
7485         * sem_util.adb (Get_Index_Bounds): Check for Error.
7486
7487 2001-10-25  Robert Dewar <dewar@gnat.com>
7488
7489         * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
7490         in no run time mode.
7491
7492 2001-10-25  Pascal Obry <obry@gnat.com>
7493
7494         * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
7495         mode case for ALLOC case.
7496
7497         * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
7498         all platforms. Improvement of last change.
7499
7500 2001-10-25  Robert Dewar <dewar@gnat.com>
7501
7502         * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
7503
7504 2001-10-25  Geert Bosch  <bosch@gnat.com>
7505
7506         * osint.adb (Is_Relative): Remove duplicate.
7507
7508 2001-10-25  Pascal Obry <obry@gnat.com>
7509
7510         * osint.adb (Read_Default_Search_Dirs): correctly detect relative
7511         pathnames in UNIX and DOS style with drive letter.
7512         (Is_Relative): new routine.
7513
7514         * osint.adb: Minor reformatting
7515
7516         * osint.adb (Is_Relative): implementation using
7517         GNAT.OS_Lib.Is_Absolute_Path. Better fix.
7518
7519 2001-10-25  Pascal Obry <obry@gnat.com>
7520
7521         * g-dirope.adb (Basename): correctly compute offset between the
7522         original Path and the translated one.
7523
7524         * g-dirope.adb: (Base_Name): add some comments.
7525
7526 2001-10-25  Robert Dewar <dewar@gnat.com>
7527
7528         * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
7529         in HIE mode, avoids compilation abandoned message
7530
7531         * exp_imgv.adb: Correct typo in previous change
7532
7533         * exp_imgv.adb: Correct typo in previous change (not my day!)
7534
7535 2001-10-25  Robert Dewar <dewar@gnat.com>
7536
7537         * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
7538
7539 2001-10-25  Pascal Obry <obry@gnat.com>
7540
7541         * g-awk.ads: Move all pragma inlines next to the routine
7542          declarations. This is more uniform with other GNAT spec.
7543
7544 2001-10-22  Geert Bosch  <bosch@gnat.com>
7545
7546         * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
7547
7548 2001-10-19  Geert Bosch  <bosch@gnat.com>
7549
7550         * Makefile.in (tools, gnattools): Remove gnatmem.
7551
7552 2001-10-17  Richard Henderson  <rth@redhat.com>
7553
7554         * Makefile.in (misc.o): Depend on langhooks.h.
7555         * misc.c: Include it.
7556         (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
7557         (LANG_HOOKS_DECODE_OPTION): New.
7558         (lang_hooks): Use LANG_HOOKS_INITIALIZER.
7559
7560 2001-10-16  Florian Weimer  <fw@deneb.enyo.de>
7561
7562         * trans.c (tree_transform): Adjust to recent change in
7563         expand_asm_operands to implement named asm operands.
7564
7565 2001-10-11  Ed Schonberg  <schonber@gnat.com>
7566
7567         * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
7568         renaming of discriminant for mutable record type.
7569
7570 2001-10-11  Robert Dewar  <dewar@gnat.com>
7571
7572         * validsw.adb: Properly save -gnatVn status.
7573
7574 2001-10-11  Robert Dewar <dewar@gnat.com>
7575
7576         * usage.adb: Add lines for V switch.
7577
7578         * gnatcmd.adb (COMPILE): Revise translations for -gnatV
7579         (/VALIDITY_CHECKING).
7580
7581 2001-10-11  Ed Schonberg <schonber@gnat.com>
7582
7583         * sem_type.adb (Add_One_Interp): an operator for a type declared in
7584         an extension of System is known to be visible.
7585
7586 2001-10-11  Ed Schonberg <schonber@gnat.com>
7587
7588         * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
7589         properly. Fixes regression on ACATS C34005G.
7590
7591 2001-10-11  Robert Dewar <dewar@gnat.com>
7592
7593         * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
7594         loop in generic instance, since this is likely not very useful.
7595
7596 2001-10-11  Robert Dewar <dewar@gnat.com>
7597
7598         * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
7599         the error message for high integrity mode.
7600
7601         * rtsfind.adb (RTE): Give message if we try to find an entity that
7602         is not available in high integrity mode.
7603
7604         * rtsfind.ads:
7605         (OK_To_Use_In_HIE_Mode): New array.
7606         (RTE): May return Empty in high integrity mode.
7607
7608         * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
7609         OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
7610
7611         * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
7612         unit if not inlined always and in no runtime mode. Fixes problem
7613         caused by new Rtsfind changes.
7614
7615         * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
7616         body is deleted.
7617
7618         * rtsfind.adb (RTE): Make sure we do not try to load unit after
7619         giving message for entity not available in high integrity mode.
7620
7621 2001-10-11  Pascal Obry <obry@gnat.com>
7622
7623         * impunit.adb: Add GNAT.CRC32.
7624
7625 2001-10-11  Ed Schonberg <schonber@gnat.com>
7626
7627         * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
7628         properly the case where one universal operand in a non-static
7629         exponentiation of a real literal.
7630
7631 2001-10-11  Ed Schonberg <schonber@gnat.com>
7632
7633         * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
7634         clause, return the gobal finalization list, for lack of anthing else.
7635
7636 2001-10-11  Ed Schonberg <schonber@gnat.com>
7637
7638         * exp_ch7.adb (Make_Transient_Block): if statement is within
7639         exception handler, always use new transient scope to place Clean
7640         procedure.
7641
7642 2001-10-11  Pascal Obry <obry@gnat.com>
7643
7644         * Makefile.in:
7645         (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
7646         (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
7647         (GNATLS_RTL_OBJS): add g-crc32.o
7648         (GNATMAKE_RTL_OBJS): add g-crc32.o
7649
7650         * ali-util.adb:
7651         (CRC_Match): new function.
7652         (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
7653         instead of the previous simple checksum algorithm.
7654         (Time_Stamp_Mismatch): use CRC_Match for comparison.
7655         (Set_Source_Table): idem.
7656
7657         * ali-util.ads:
7658         (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
7659         instead of simple checksum.
7660         (CRC_Match): new function.
7661         (CRC_Error): new constant.
7662
7663         * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
7664         a CRC now and not a simple checksum. A CRC uses lower-case hex
7665         letters, fixes ambiguity in parsing.
7666
7667         * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
7668         is what this variable will store.
7669
7670         * bcheck.adb: Change reference to chechsum in comments by CRC.
7671         (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
7672         rename All_Checksum_Match to All_CRC_Match. Change due to API
7673         renaming since now GNAT does not use a simple checksum but a
7674         CRC using GNAT.CRC32.
7675
7676         * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
7677         now and not anymore a simple checksum.
7678
7679         * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
7680         places.
7681
7682         * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
7683
7684         * scans.adb:
7685         (Restore_Scan_State): rename Checksum to CRC.
7686         (Save_Scan_State): idem.
7687
7688         * scans.ads:
7689         With GNAT.CRC32.
7690         (Checksum): rename to CRC.
7691         (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
7692
7693         * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
7694         GNAT.CRC32).  Update copyright notice.
7695
7696         * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
7697         GNAT.CRC32).  Update copyright notice.
7698
7699         * scn.adb:
7700         (Accumulate_Checksum): removed.
7701         (Update): new procedure. Add a wide-character into the CRC.
7702
7703         * sinput-l.adb:
7704         (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
7705         (Load_File): fix initialization of S (change Source_Checksum to
7706         Source_CRC)
7707
7708         * sinput-p.adb (Load_Project_File): rename Source_Checksum to
7709         Source_CRC in S initialization.
7710
7711         * sinput.adb (Source_Checksum): renamed to Source_CRC.
7712
7713         * sinput.ads (Source_Checksum): renamed to Source_CRC.
7714         Update comments for the CRC.
7715
7716         * types.adb (Hex): Use lowercase for the letter part.
7717
7718         * types.ads (Get_Hex_String): Returns the hexadecimal representation
7719         for a word. This is currently used only for CRC. In previous version,
7720         the checksum was using a representation with all letter being
7721         upper-case. With the new implementation (using CRC) we do not remove
7722         the 32th bit of the CRC, so we can have an upper-case starting letter
7723         in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
7724         It is ambigous since the CRC was optional and could be followed by
7725         options like EB, EE. So now this routines uses lower-case letter for
7726         the hexadecimal representation. Strange enough only lower case letters
7727         where checked in Scan_ALI (even if this was not a possible case).
7728
7729         * gnatvsn.ads (Library_Version): changed to 3.15a.
7730
7731         * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
7732         for the compiler.
7733
7734         * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
7735         for the compiler.
7736
7737         * ali-util.adb: Redo previous change to avoid using word CRC everywhere
7738         Add 2001 to copyright notice
7739         (Accumulate_Checksum): Modify to use System.CRC32.
7740
7741         * ali-util.ads: Redo changes of previous revision to continue to use
7742         the word Checksum. Add 2001 to copyright notice.
7743
7744         * ali.adb: Undo some of previous changes, not needed.
7745         Keep the change for lower case letters in the checksum.
7746
7747         * ali.ads: Undo previous change not needed.
7748
7749         * bcheck.adb: Undo most of previous change, not needed.
7750         But do use Checksums_Match for checksum comparison.
7751
7752         * gnatls.adb: Undo most of previous change, not needed.
7753         But do use Checksums_Match for comparing checksums.
7754
7755         * lib-load.adb: Undo previous change, not needed.
7756
7757         * lib-writ.adb: Undo previous change, not needed.
7758
7759         * lib-writ.ads: Document that checksums use lower case,
7760         not upper case letters.
7761
7762         * scans.adb: Undo previous change, not needed
7763
7764         * scans.ads: Undo previous change, not needed.
7765
7766         * scn-nlit.adb: Undo previous changes, not needed.
7767
7768         * scn-slit.adb: Undo previous change, not needed.  Fix header format.
7769
7770         * scn.adb:
7771         (Accumulate_Checksum): Use System.CRC32.
7772         (Initialize_Checksum): New procedure.
7773         Remove other changes of previous revision.
7774
7775         * sinput-p.adb: Undo previous change, not needed.
7776
7777         * sinput.adb: Undo previous change, not needed.
7778
7779         * sinput-l.adb: Undo previous change, not needed.
7780
7781         * sinput.ads: Undo previous change, not needed.  Keep only comment
7782         on new checksum algorithm
7783
7784         * Makefile.in: Add s-crc32 as needed, remove g-crc32.
7785         Also remove a-tags and a-stream from GNAT sources.
7786
7787         * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
7788
7789         * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
7790
7791 2001-10-11  Geert Bosch  <bosch@gnat.com>
7792
7793         * einfo.h: Regenerate.
7794
7795         * nmake.ads: Regenerate.
7796
7797         * nmake.adb: Regenerate.
7798
7799         * sinfo.h: Regenerate.
7800
7801         * treeprs.adb: Regenerate.
7802
7803 2001-10-10  Geert Bosch  <bosch@gnat.com>
7804
7805         * gnat-style.texi: New file describing coding guidelines for Ada.
7806
7807 2001-10-10  Ed Schonberg <schonber@gnat.com>
7808
7809         * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
7810         is Flag174.
7811
7812 2001-10-10  Geert Bosch  <bosch@gnat.com>
7813
7814         * snames.ads: Add new names for project facility.
7815
7816         * snames.adb: Update to reflect snames.ads changes.
7817
7818         * snames.h: Update to reflect snames.ads changes.
7819
7820 2001-10-10  Vincent Celier <celier@gnat.com>
7821
7822         * make.adb:
7823         (Add_Switches): reflect the changes for the switches attributes
7824         Default_Switches indexed by the programming language,
7825         Switches indexed by the file name.
7826         (Collect_Arguments_And_Compile): Idem.
7827         Reflect the attribute name changes.
7828
7829         * prj-attr.adb:
7830         (Initialisation_Data): Change the names of some packages and
7831         attributes.
7832         (Initialize): process case insensitive associative arrays.
7833
7834         * prj-attr.ads:
7835         (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
7836
7837         * prj-dect.adb:
7838         (Parse_Attribute_Declaration): For case insensitive associative
7839          arrays, set the index string to lower case.
7840
7841         * prj-env.adb:
7842         Reflect the changes of the project attributes.
7843
7844         * prj-nmsc.adb:
7845         Replace Check_Naming_Scheme by Ada_Check and
7846         Language_Independent_Check.
7847
7848         * prj-nmsc.ads:
7849         Replaced Check_Naming_Scheme by 2 procedures:
7850         Ada_Check and Language_Independent_Check.
7851
7852         * prj-proc.adb:
7853         (Process_Declarative_Items): For case-insensitive associative
7854         arrays, set the index string to lower case.
7855         (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
7856         Prj.Nmsc.Check_Naming_Scheme.
7857
7858         * prj-tree.adb:
7859         (Case_Insensitive): New function
7860         (Set_Case_Insensitive): New procedure
7861
7862         * prj-tree.ads:
7863         (Case_Insensitive): New function
7864         (Set_Case_Insensitive): New procedure
7865         (Project_Node_Record): New flag Case_Insensitive.
7866
7867         * prj-util.adb:
7868         (Value_Of): new function to get the string value of a single
7869         string variable or attribute.
7870
7871         * prj-util.ads:
7872         (Value_Of): new function to get the string value of a single
7873         string variable or attribute.
7874
7875         * prj.adb:
7876         (Ada_Default_Spec_Suffix): New function
7877         (Ada_Default_Impl_Suffix): New function
7878         Change definitions of several constants to reflect
7879         new components of record types.
7880
7881         * prj.ads:
7882         (Naming_Data): Change several components to reflect new
7883         elements of naming schemes.
7884         (Project_Data): New flags Sources_Present and
7885         Language_Independent_Checked.
7886         (Ada_Default_Spec_Suffix): New function.
7887         (Ada_Default_Impl_Suffix): New function.
7888
7889         * snames.ads:
7890         Modification of predefined names for project manager: added
7891         Implementation, Specification_Exceptions, Implementation_Exceptions,
7892         Specification_Suffix, Implementation_Suffix, Separate_Suffix,
7893         Default_Switches, _Languages, Builder, Cross_Reference,
7894         Finder. Removed Body_Part, Specification_Append, Body_Append,
7895         Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
7896         Gnatlink.
7897
7898         * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
7899         Add comments.
7900
7901         * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
7902         not that it is Nil_Variable_Value.
7903
7904         * prj.ads: Add ??? for uncommented declarations
7905
7906 2001-10-10  Ed Schonberg <schonber@gnat.com>
7907
7908         * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
7909         constant, do not indicate possible modification, so that gigi can
7910         treat it as a bona fide constant.
7911
7912 2001-10-10  Robert Dewar <dewar@gnat.com>
7913
7914         * sem_prag.adb: Add processing for pragma External.
7915
7916         * snames.ads: Add entry for pragma External.
7917
7918         * par-prag.adb: Add pragma External.
7919
7920         * snames.adb: Updated to match snames.ads.
7921
7922 2001-10-10  Ed Schonberg <schonber@gnat.com>
7923
7924         * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
7925         a dynamic task if the allocator appears in an indexed assignment
7926         or selected component assignment.
7927
7928         * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
7929         For a dynamic task in an assignment statement, use target of
7930         assignment to generate meaningful name.
7931
7932 2001-10-10  Ed Schonberg <schonber@gnat.com>
7933
7934         * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
7935         a generic package.
7936
7937         * einfo.ads: Body_Entity is also defined for generic package.
7938         Documentation change only
7939
7940         * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
7941         others_choice for a discriminated component initialization,
7942         convert discriminant references into the corresponding discriminals.
7943
7944         * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
7945         only if original type is private and expression has to be wrapped
7946         in a conversion.
7947
7948         * checks.adb:
7949         (Apply_Constraint_Check): Do not perform length check
7950         if expression is an aggregate with only an others_choice.
7951         (Length_N_Cond): two references to the same in_parameter
7952         (typically the discriminal in an init_proc) denote the same value.
7953         Two useful optimization uncovered by bugfixes above.
7954
7955 2001-10-10  Robert Dewar <dewar@gnat.com>
7956
7957         * xeinfo.adb: Change int to char in translation of enumeration types.
7958         This fixes a problem in the C representation of component alignment.
7959         Add 2001 to copyright notice
7960
7961 2001-10-10  Richard Kenner <kenner@gnat.com>
7962
7963         * decl.c: (validate_size): Do check size of object of integral type
7964         if it is a packed array type.
7965
7966 2001-10-10  Richard Kenner <kenner@gnat.com>
7967
7968         * decl.c: (gnat_to_gnu_entity, case object): Also materialize
7969         VAR_DECL for constant if not Is_Public but -O0.
7970
7971 2001-10-10  Richard Kenner  <kenner@gnat.com>
7972
7973         * misc.c (struct lang_hooks): Add new initializer to match GCC change.
7974
7975 2001-10-10  Geert Bosch  <bosch@gnat.com>
7976
7977         * xnmake.adb (XNmake): Fix handling of -s/-b options.  No longer
7978         use '/' as switch character, allowing for absolute file names.
7979
7980 2001-10-09  Joseph S. Myers  <jsm28@cam.ac.uk>
7981
7982         * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
7983         FSF address.
7984
7985 2001-10-08  Geert Bosch  <bosch@gnat.com>
7986
7987         * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
7988         Automatically build utilities when files need to be regenerated.
7989
7990 2001-10-08  Geert Bosch  <bosch@gnat.com>
7991
7992         * xsnames.adb: New utility for updating snames.ads and snames.adb
7993
7994 2001-10-08  Zack Weinberg  <zack@codesourcery.com>
7995
7996         * Make-lang.in (ADAFLAGS): Add -W -Wall.
7997         (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
7998         (gnat1): Also depend on attribs.o.
7999         (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
8000         * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
8001         (ADAC): Set to @ADAC@ in stage1, $(CC) later.
8002         (ADAFLAGS): Add -W -Wall.
8003         (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
8004         take out CFLAGS.
8005
8006         (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
8007         s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
8008         s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
8009         Use $(ADAC), not $(CC), as compilation command.
8010
8011         (gnattools): Depend directly on tools to build, don't use
8012         recursive make.
8013         (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
8014
8015         * einfo.h, sinfo.h: New files (autogenerated).
8016
8017 2001-10-08  Richard Henderson  <rth@redhat.com>
8018
8019         * comperr.adb (Abort_In_Progress): New.
8020         (Compiler_Abort): Use it to prevent recursion.
8021
8022 2001-10-08  Robert Dewar <dewar@gnat.com>
8023
8024         * atree.adb: Set Error_Posted in Error node, helps error recovery.
8025
8026         * par-endh.adb (Output_End_Expected): We should also not test
8027         Error_Posted on the Error node, since now it is always set.
8028
8029         * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
8030         to help error recovery. Part of general work on 9407-004.
8031
8032         * par.adb: Add ??? for misuse of error
8033
8034         * sem_res.adb:
8035         (Resolve): Defend against Error, fixes 9407-003.
8036         (Resolve_Discrete_Subtype_Indication): Defend against Error.
8037
8038         * sinfo.ads (N_Error): Now has Etype field (which will be set
8039         to Any_Type to help error recovery).
8040
8041 2001-10-08  Richard Kenner (kenner@gnat.com)
8042
8043         * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
8044         Consistently set MEM attributes from expression; fixes
8045         bootstrap failure on x86.
8046
8047 2001-10-08  Geert Bosch  (bosch@gnat.com)
8048
8049         * 5oosinte.adb: Add 2001 to copyright notice.
8050
8051 2001-10-08  Geert Bosch  (bosch@gnat.com)
8052
8053         * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
8054
8055         * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
8056
8057 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
8058
8059         * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
8060
8061 2001-10-05  Geert Bosch  (bosch@gnat.com)
8062
8063         * adaint.h: Small formatting fix.
8064
8065 2001-10-04  Geert Bosch  <bosch@gnat.com>
8066
8067         * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
8068         Arg is int, not FILE *, in dummy version of functions.
8069
8070         * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
8071         Arg is int, not FILE *.
8072
8073 2001-10-04  Geert Bosch  <bosch@gnat.com>
8074
8075         * 3lsoccon.ads: Added file, missed with initial check ins.
8076
8077         * 4lintnam.ads: Fix header format.
8078         Change Linux to GNU/Linux.
8079
8080         * 5iosinte.adb: Change Linux to GNU/Linux.
8081
8082         * 5iosinte.ads: Change Linux to GNU/Linux.
8083
8084         * 5itaprop.adb: Change Linux to GNU/Linux.
8085
8086         * 5itaspri.ads: Change Linux to GNU/Linux.
8087         Update copyright notice.
8088
8089         * 5lintman.adb: Change Linux to GNU/Linux.
8090
8091         * 5lml-tgt.adb: Change Linux to GNU/Linux.
8092
8093         * 5losinte.ads: Change Linux to GNU/Linux.
8094
8095         * 5lsystem.ads: Change Linux to GNU/Linux.
8096
8097         * 5qosinte.adb: Change Linux to GNU/Linux.
8098
8099         * 5qosinte.ads: Change Linux to GNU/Linux.
8100
8101         * 5qparame.ads: Change Linux to GNU/Linux.
8102
8103         * 5qtaprop.adb: Change Linux to GNU/Linux.
8104
8105         * 5qtaspri.ads: Change Linux to GNU/Linux.
8106         Add 2001 to copyright notice.
8107
8108         * 5vintman.ads: Change Linux to GNU/Linux.
8109         Fix header format.  Add 2001 to copyright notice.
8110
8111         * g-soccon.ads: Change Linux to GNU/Linux.
8112
8113         * g-trasym.ads: Change Linux to GNU/Linux.
8114         Add 2001 to copyright notice.
8115
8116         * memtrack.adb: Change Linux to GNU/Linux.
8117
8118         * s-intman.ads: Change Linux to GNU/Linux.
8119         Add 2001 to copyright notice.  Fix header format.
8120
8121         * s-stache.adb: Change Linux to GNU/Linux.
8122
8123         * adaint.c: Change Linux to GNU/Linux.
8124
8125         * cio.c: Change Linux to GNU/Linux.
8126
8127         * cstreams.c: Change Linux to GNU/Linux.
8128
8129         * init.c: Change Linux to GNU/Linux.
8130
8131         * gmem.c: Change Linux to GNU/Linux.
8132
8133         * tracebak.c: Change Linux to GNU/Linux.
8134
8135
8136 2001-10-02  Geert Bosch  <bosch@gnat.com>
8137
8138         * misc.c (insert_default_attributes): Add dummy version.