OSDN Git Service

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