OSDN Git Service

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