OSDN Git Service

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