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