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