OSDN Git Service

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