]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ada/ChangeLog
* Makefile.in: (HIE_SOURCES): add s-fat*.
[thirdparty/gcc.git] / gcc / ada / ChangeLog
CommitLineData
edc0f304
AC
12001-12-04 Arnaud Charlet <charlet@gnat.com>
2
3 * Makefile.in: (HIE_SOURCES): add s-fat*.
4
32213142
RD
52001-12-04 Robert Dewar <dewar@gnat.com>
6
7 * sem_attr.adb:
8 (Compile_Time_Known_Attribute): New procedure.
9 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
10 proper range check.
11
c0def2ad
ES
122001-12-04 Ed Schonberg <schonber@gnat.com>
13
14 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
15 processing discriminants to diagnose illegal default values.
16
ee0a48c5
ES
172001-12-04 Ed Schonberg <schonber@gnat.com>
18
19 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
20 access discriminant within a type extension that constrains its
21 parent discriminants.
22
dd5875a6
ES
232001-12-04 Ed Schonberg <schonber@gnat.com>
24
25 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
26 is malformed, use instance of Any_Id to allow analysis to proceed.
27
28 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
29 type definition is illegal.
30 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
31 misplaced.
32
c2a41e57
ES
332001-12-04 Ed Schonberg <schonber@gnat.com>
34
35 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
36 constants.
37
0ae84753
RD
382001-12-04 Robert Dewar <dewar@gnat.com>
39
40 * errout.adb: Minor reformatting
41
63db260e
RD
422001-12-04 Robert Dewar <dewar@gnat.com>
43
44 * exp_util.adb: Minor reformatting from last change
45
46 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
47 which is a rewriting of an expression, traverse the original
48 expression to remove warnings that may have been posted on it.
49
c6d289f4
ES
502001-12-04 Ed Schonberg <schonber@gnat.com>
51
52 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
53 record that has other packed components.
54
5917e80d
DR
552001-12-04 Douglass B. Rupp <rupp@gnat.com>
56
57 * adaint.c: Minor cleanups.
58
2c70f9dd
DR
592001-12-04 Douglass B. Rupp <rupp@gnat.com>
60
61 * adaint.c: Do not use utime.h on vxworks.
62
e59b3387
AC
632001-12-04 Arnaud Charlet <charlet@gnat.com>
64
65 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
66 more confusion than it solves.
67
e288604a
GB
682001-12-04 Geert bosch <bosch@gnat.com>
69
70 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
71
5ac21013
GB
722001-12-04 Geert Bosch <bosch@gnat.com>
73
74 * Makefile.in (update-sources): New target.
75 For use by gcc_release script.
76
7dd5bd5e
ES
772001-12-04 Ed Schonberg <schonber@gnat.com>
78
79 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
80 a configuration pragma, it is now legal wherever a pragma can appear.
81
a078a589
ZW
822001-12-04 Zack Weinberg <zack@codesourcery.com>
83
84 * Makefile.in: Don't set ALL. Delete @cross_defines@,
85 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
86 is now @CROSS@ -DIN_GCC; update comment.
87
0839863c
GB
882001-12-04 Robert Dewar <dewar@gnat.com>
89
90 * einfo.adb (Has_Pragma_Pure_Function): New flag.
91 Fix problem that stopped ceinfo from working
92
93 * einfo.ads (Has_Pragma_Pure_Function): New flag.
94
95 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
96
972001-12-04 Douglas B. Rupp <rupp@gnat.com>
9678de49
DR
98
99 * gnatchop.adb:
100 (File_Time_Stamp): New procedure.
101 (Preserve_Mode): New boolean.
102 (Write_Unit): Pass time stamp.
103 Implement -p switch (preserve time stamps).
104
105 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
106
107 * gnatchop.adb: Do usage info for -p switch
108
109 * adaint.h (__gnat_set_file_time_name): New function
110
111 * adaint.c (__gnat_set_file_time_name): Implement
112
113 * adaint.h: Fix typo
114
3b9a13c4
RD
1152001-12-03 Robert Dewar <dewar@gnat.com>
116
667e5c5d 117 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
3b9a13c4
RD
118 have Associated_Node.
119
767b404e
RD
1202001-12-03 Robert Dewar <dewar@gnat.com>
121
122 * prj-proc.adb: Minor reformatting
667e5c5d 123
767b404e
RD
124 * make.adb: Minor reformatting
125
11ac71ba
GB
1262001-12-03 Geert Bosch <bosch@gnat.com>
127
667e5c5d 128 * make.adb: Minor reformatting.
11ac71ba 129
b1446533
RD
1302001-12-03 <dewar@gnat.com>
131
132 * sem_ch12.adb: Minor reformatting
133
d6d32b24
ES
1342001-12-03 Ed Schonberg <schonber@gnat.com>
135
667e5c5d
AJ
136 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
137 push Standard on the stack before analyzing the instance body,
d6d32b24 138 in order to have a clean visibility environment.
667e5c5d
AJ
139
140 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
d6d32b24 141
13f08f03
ES
1422001-12-03 Ed Schonberg <schonber@gnat.com>
143
667e5c5d 144 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
13f08f03
ES
145 instantiation of a body that contains an inlined body.
146
3bd6c100
ES
1472001-12-03 Ed Schonberg <schonber@gnat.com>
148
149 * sem_ch12.adb:
150 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
151 to prevent freezing within formal packages.
152 (Freeze_Subprogram_Body): If body comes from another instance that
153 appeared before its own body, place freeze node at end of current
154 declarative part, to prevent a back-end crash.
155 (Inline_Instance_Body): Handle properly a package instance within
156 a subprogram instance that is a child unit.
157
58d07d8f
GS
1582001-12-01 Graham Stott <grahams@redhat.com>
159
160 * Makefile.in (misc.o): Add missing $(srcdir) prefix
161 and add optabs.h dependency.
162
163 * misc.c: Include optabs.h
164 (gnat_tree_code_type): Make static and const.
165 (gnat_tree_code_length): Likewise.
166 (gnat_tree_code_name): Likewise.
167 (update_setjmp_buf): Obtain operands mode from insn_data.
168
c87222f0
RH
1692001-11-29 Richard Henderson <rth@redhat.com>
170
171 * init.c: Remove obsolete dwarf2 frame.h section.
172
d3945f0a
JM
1732001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
174
175 * Make-lang.in (ada.generated-manpages): New dummy target.
176
9f639397
ES
1772001-11-29 Ed Schonberg <schonber@gnat.com>
178
667e5c5d
AJ
179 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
180 into Command, an array conversion is illegal here. Uncovered by
9f639397
ES
181 ACATS B460005.
182
c835e5c6
GB
1832001/11/28 Geert Bosch <bosch@gnat.com>
184
185 * init.c: Minor whitespace changes.
186
49bb4548
DR
1872001-11-28 Doug Rupp <rupp@gnat.com>
188
667e5c5d 189 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
49bb4548
DR
190 signal stack.
191
ea2417e5
ZW
1922001-11-28 Zack Weinberg <zack@codesourcery.com>
193
194 * misc.c (gnat_expand_constant): Move declaration above
195 definition of lang_hooks.
196 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
197 (gnat_init): lang_expand_constant no longer exists.
198
199 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
200 always have vprintf.
201 (gnat_init): Always call set_internal_error_function.
202
f8e0aa73
AJ
2032001-11-27 Andreas Jaeger <aj@suse.de>
204
205 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
206
d99b0e79
LG
2072001-11-27 Laurent Guerby <guerby@acm.org>
208
209 * Makefile.in: Regenerate Ada dependencies.
210
3f0496e5
RH
2112001-11-26 Richard Henderson <rth@redhat.com>
212
213 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
214 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
215 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
216
92fa4733
LG
2172001-11-25 Laurent Guerby <guerby@acm.org>
218
219 * sysdep.c (rts_get_*): Fix style.
220
07626501
LG
2212001-11-19 Laurent Guerby <guerby@acm.org>
222
223 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
224 since it is of no apparent use and cause warnings.
225
22703ccc
NB
2262001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
227
228 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
229 static too.
230 (gnat_init): Don't return NULL.
231 (finish_parse): Remove.
232
b0df4321
LG
2332001-11-17 Laurent Guerby <guerby@acm.org>
234
235 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
236 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
237 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
238 * lang-spec.h: Add missing struct field to silence warnings.
239 * sysdep.c (rts_get_*): Provide K&R prototype.
240 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
241 * traceback.c (Unlock_Task, Lock_Task): Likewise.
242 * tracebak.c (__gnat_backtrace): Remove unused variable.
243 * utils.c (end_subprog_body): Move to K&R style.
244
d215024f
RK
245Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
246
247 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
248
f5e99456
NB
2492001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
250
251 * misc.c (gnat_init): Change prototype. Include the
252 functionality of the old init_parse and init_decl_processing.
253 (gnat_init_decl_processing): New prototype.
254 (init_parse): Remove.
255 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
256
5d69f816
NB
2572001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
258
259 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
260 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
261 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
262 set_yydebug): Remove.
263
3ac88239
NB
2642001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
265
266 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
267 (struct lang_hooks): Constify.
268 (language_string, lang_identify): Remove.
269 * utils.c (init_decl_processing): Update.
270
d23c55c2
NB
2712001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
272
273 * misc.c: Include langhooks-def.h.
274 * Makefile.in: Update.
275
04a1b79c
RD
2762001-10-30 Robert Dewar <dewar@gnat.com>
277
278 * style.adb:
279 (Check_Identifier): Rewrite circuit to be compatible with use of letters
280 in the upper half of ASCII.
281 (Check_Identifier): Minor reformatting
282
81fa2d39
GB
2832001-10-30 Geert Bosch <bosch@gnat.com>
284
f8e0aa73 285 * (Associated_Node, Set_Associated_Node): Do not check for
81fa2d39
GB
286 Freeze_Entity.
287
ffc5527f
RD
2882001-10-30 Robert Dewar <dewar@gnat.com>
289
290 * a-reatim.ads: Minor reformatting
291
865335eb
RD
2922001-10-30 Robert Dewar <dewar@gnat.com>
293
f8e0aa73 294 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
865335eb
RD
295 undocumented declarations.
296
5e257178
PO
2972001-10-30 Pascal Obry <obry@gnat.com>
298
f8e0aa73 299 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
5e257178
PO
300 to the binder and linker.
301 Minor style fix.
f8e0aa73 302
5e257178
PO
303 * mdll.ads: Fix layout. Update copyright notice.
304
305 * mdll.adb: Fix layout. Update copyright notice.
306
1753e0ad
RD
3072001-10-30 Robert Dewar <dewar@gnat.com>
308
309 * usage.adb: Minor fix to output for -gnaty.
310
84bfdde0
ES
3112001-10-30 Ed Schonberg <schonber@gnat.com>
312
f8e0aa73
AJ
313 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
314 to accommodate all its possible values.
84bfdde0 315
f8e0aa73 316 * a-reatim.adb (Split): Special-case handling of Time_Span_First
84bfdde0
ES
317 and of small absolute values of T.
318
c296e5fc
RK
3192001-10-30 Richard Kenner <kenner@gnat.com>
320
f8e0aa73
AJ
321 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
322 set_mem_attributes since not needed and wrong if RESULT if a REG;
c296e5fc
RK
323 fixes ACATS failures.
324
07c809df
GB
3252001-10-30 Geert Bosch <bosch@gnat.com>
326
327 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
328 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
329
54d22416 3302001-10-30 Robert Dewar <dewar@gnat.com>
f8e0aa73 331
54d22416 332 * bindusg.adb: Undocument -f switch.
f8e0aa73 333
54d22416 334 * gnatcmd.adb: Remove /FULL_ELABORATION.
f8e0aa73
AJ
335
336 * opt.ads (Force_RM_Elaboration_Order): Document that this is
54d22416 337 obsolescent.
f8e0aa73 338
54d22416 339 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
f8e0aa73 340
54d22416
RD
341 * gnatbind.adb: Minor update of warning msg.
342
af5cf6f8
VC
3432001-10-30 Vincent Celier <celier@gnat.com>
344
f8e0aa73 345 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
af5cf6f8 346 for project file switches (-P (/PROJECT_FILE=),
f8e0aa73 347 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
af5cf6f8
VC
348 or MEDIUM or HIGH)
349
984bc4c3
GB
3502001-10-30 Geert Bosch <bosch@gnat.com>
351
352 * decl.c: Minor whitespace fixes.
353
5dece937
RK
3542001-10-30 Richard Kenner <kenner@gnat.com>
355
356 * utils2.c (build_allocator): Test for SIZE overflow in array case too
357
de4bf6cb
GB
3582001-10-30 Geert Bosch <bosch@gnat.com>
359
f8e0aa73 360 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
de4bf6cb 361 Found due to GCC 3.0 warning of using uninitialized value.
f8e0aa73 362
de4bf6cb
GB
363 * layout.adb:
364 (Get_Max_Size): Use variant record for tracking value/expression.
365 Makes logic clearer and prevents warnings for uninitialized variables.
366 (Layout_Array_Type): Use variant record for tracking value/expression.
367 Makes logic clearer and prevents warnings for uninitialized variables.
368
f5e44987
RD
3692001-10-30 Robert Dewar <dewar@gnat.com>
370
371 * lib.adb: Minor reformatting
372
373 * s-taprop.ads: Minor reformatting
374
45659035 3752001-10-29 Laurent Guerby <guerby@acm.org>
f8e0aa73 376
45659035
GB
377 * init.c:
378 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
379 const.
380 (_gnat_error_handler): Make MSG const.
381
3822001-10-29 Richard Kenner <kenner@gnat.com>
383
384 * sysdep.c: Fix localtime_r problem on LynxOS.
385 Also remove #elif to avoid warnings.
f8e0aa73
AJ
386
387 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
45659035 388 used by this.
f8e0aa73 389
45659035
GB
390 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
391
638e383e
JM
3922001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
393
394 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
395 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
396 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
397 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
398 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
399 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
400 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
401 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
402 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
403 types.ads, urealp.adb: Fix spelling errors.
404
97f6baa0
LG
4052001-10-27 Laurent Guerby <guerby@acm.org>
406
407 * trans.c (gigi): Fix non determinism leading to bootstrap
408 comparison failures for debugging information.
409
46b58b8c
FW
4102001-10-26 Florian Weimer <fw@deneb.enyo.de>
411
412 * gnat_rm.texi: Use @./@: where appropriate.
413
30151c7b
RD
4142001-10-26 Robert Dewar <dewar@gnat.com>
415
416 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
417
c0b1738d
RK
4182001-10-26 Richard Kenner <kenner@gnat.com>
419
420 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
421
5b09c153
RK
4222001-10-26 Richard Kenner <kenner@gnat.com>
423
f8e0aa73 424 * decl.c (validate_size): Modify message for bad size to avoid
5b09c153
RK
425 implication that compiler is modifying the size.
426
4d553668
RD
4272001-10-26 Robert Dewar <dewar@gnat.com>
428
429 * prj-util.adb: Minor reformatting. Fix bad header format.
430
3e542a58
RD
4312001-10-26 Robert Dewar <dewar@gnat.com>
432
433 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
f8e0aa73 434
3e542a58 435 * sinfo.ads: Clarify use of Associated_Node (documentation only).
f8e0aa73
AJ
436
437 * sem_ch12.adb: Change Node4 to Associated_Node. Change
438 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
3e542a58
RD
439 much more narrowly in places where needed. These are cleanups.
440
0bf08bfe
JB
4412001-10-26 Joel Brobecker <brobecke@gnat.com>
442
443 * 5zosinte.ads (null_pthread): new constant.
f8e0aa73 444
0bf08bfe
JB
445 * 5ztaprop.adb:
446 (Initialize_TCB): Initialize thread ID to null, to be able to verify
447 later that this field has been set.
448 (Finalize_TCB): ditto.
449 (Suspend_Task): Verify that the thread ID is not null before using it.
450 (Resume_Task): ditto.
f8e0aa73 451
0bf08bfe
JB
452 * s-tasdeb.adb:
453 (Resume_All_Tasks): Lock the tasks list before using it.
454 (Suspend_All_Tasks): ditto.
455
7a3a8c06
RK
4562001-10-26 Richard Kenner <kenner@gnat.com>
457
f8e0aa73 458 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
7a3a8c06
RK
459 Make constant variant of designated type for Is_Access_Constant.
460 Call update_pointer_to with main variant.
f8e0aa73
AJ
461
462 * trans.c (process_freeze_entity, process_type):
7a3a8c06 463 Call update_pointer_to on main variant.
f8e0aa73 464
7a3a8c06
RK
465 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
466 If main variant, update all other variants.
f8e0aa73
AJ
467
468 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
7a3a8c06
RK
469 TREE_STATIC.
470
a160babb
RD
4712001-10-26 Robert Dewar <dewar@gnat.com>
472
473 * prj-util.adb: Minor reformatting
474
b403bd17
RD
4752001-10-26 Robert Dewar <dewar@gnat.com>
476
477 * prj-util.adb: Minor reformatting
478
5fc3b4c7
RD
4792001-10-26 Robert Dewar <dewar@gnat.com>
480
481 * prj-attr.adb: Minor reformatting throughout
482
8c736034
RD
4832001-10-26 Robert Dewar <dewar@gnat.com>
484
485 * prj-attr.ads: Minor reformatting
486 Add ??? comment (this whole spec has almost no comments)
487
47d5b6ed
VC
4882001-10-26 Vincent Celier <celier@gnat.com>
489
f8e0aa73 490 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
47d5b6ed
VC
491 ("//") that precede the drive letter on Interix.
492
41af791f
GB
4932001-10-26 Geert Bosch <bosch@gnat.com>
494
495 * gnat_rm.texi: Add GNAT Reference Manual.
496
ed4a1468
RD
4972001-10-25 Robert Dewar <dewar@gnat.com>
498
f8e0aa73 499 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
ed4a1468
RD
500 is Error. Similar change for other renaming cases.
501
24377ae4
RD
5022001-10-25 Robert Dewar <dewar@gnat.com>
503
504 * s-atacco.ads: Add pragma Inline_Always for functions.
505 Fix header format. Add copyright 2001
506
fef3204e
ES
5072001-10-25 Ed Schonberg <schonber@gnat.com>
508
f8e0aa73 509 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
fef3204e
ES
510 return Error rather than Empty so that analysis can proceed.
511
dfc69d80
ES
5122001-10-25 Ed Schonberg <schonber@gnat.com>
513
f8e0aa73 514 * sem_util.adb (Enter_Name): better handling of cascaded error
dfc69d80
ES
515 messages when a unit appears in its own context.
516
5a15af62
ES
5172001-10-25 Ed Schonberg <schonber@gnat.com>
518
f8e0aa73 519 * sem_util.adb (Defining_Entity): in case of error, attach created
5a15af62
ES
520 entity to specification, so that semantic analysis can proceed.
521
2b881d53
RD
5222001-10-25 Robert Dewar <dewar@gnat.com>
523
f8e0aa73 524 * sem_util.adb
2b881d53
RD
525 (Defining_Entity): Deal with Error.
526 (Process_End_Label): Deal with bad end label for.
527
578053f2
ES
5282001-10-25 Ed Schonberg <schonber@gnat.com>
529
f8e0aa73 530 * sem_elab.adb (Check_A_Call): refine message when call is in an
578053f2
ES
531 instance but callee is not declared in the generic unit.
532
0597ce0b 5332001-10-25 Ed Schonberg <schonber@gnat.com>
f8e0aa73
AJ
534
535 * sem_elab.adb (Check_A_Call): check for renaming before finding the
0597ce0b
ES
536 enclosing unit, which may already be different from the calling unit.
537
3de6e6da
GB
5382001-10-25 Geert Bosch <bosch@gnat.com>
539
540 * 4gintnam.ads: fix header format.
541
6f311316
ES
5422001-10-25 Ed Schonberg <schonber@gnat.com>
543
f8e0aa73
AJ
544 * sem_res.adb (Resolve_Call): if the call is actually an indexing
545 operation on the result of a parameterless call, perform elaboration
6f311316 546 check after the node has been properly rewritten.
f8e0aa73
AJ
547
548 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
549 inlined within the generic tree, the defining identifier is not a
6f311316
ES
550 compilation_unit.
551
17be0cdf
ES
5522001-10-25 Ed Schonberg <schonber@gnat.com>
553
f8e0aa73 554 * sem_res.adb (Resolve): special-case resolution of Null in an
17be0cdf 555 instance or an inlined body to avoid view conflicts.
f8e0aa73
AJ
556
557 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
17be0cdf
ES
558 compatibility by retrieving the access type of the generic copy.
559
ce9e9122
RD
5602001-10-25 Robert Dewar <dewar@gnat.com>
561
562 * sem_ch3.adb:
563 (Analyze_Number_Declaration): Handle error expression.
564 (Signed_Integer_Type_Declaration): Handle error bound.
565 (Analyze_Subtype_Indication): Handle error range.
f8e0aa73 566
ce9e9122
RD
567 * sem_util.adb (Get_Index_Bounds): Check for Error.
568
e12fbc9e
RD
5692001-10-25 Robert Dewar <dewar@gnat.com>
570
f8e0aa73 571 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
e12fbc9e
RD
572 in no run time mode.
573
52b80488
PO
5742001-10-25 Pascal Obry <obry@gnat.com>
575
f8e0aa73 576 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
52b80488 577 mode case for ALLOC case.
f8e0aa73
AJ
578
579 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
52b80488
PO
580 all platforms. Improvement of last change.
581
316ad9c5
RD
5822001-10-25 Robert Dewar <dewar@gnat.com>
583
584 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
585
1a7e4df4
GB
5862001-10-25 Geert Bosch <bosch@gnat.com>
587
588 * osint.adb (Is_Relative): Remove duplicate.
589
90a9fff2
PO
5902001-10-25 Pascal Obry <obry@gnat.com>
591
f8e0aa73 592 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
90a9fff2
PO
593 pathnames in UNIX and DOS style with drive letter.
594 (Is_Relative): new routine.
f8e0aa73 595
90a9fff2 596 * osint.adb: Minor reformatting
f8e0aa73
AJ
597
598 * osint.adb (Is_Relative): implementation using
1a7e4df4 599 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
90a9fff2 600
5c1ba4cc
PO
6012001-10-25 Pascal Obry <obry@gnat.com>
602
f8e0aa73 603 * g-dirope.adb (Basename): correctly compute offset between the
5c1ba4cc 604 original Path and the translated one.
f8e0aa73 605
5c1ba4cc
PO
606 * g-dirope.adb: (Base_Name): add some comments.
607
a7fb206d
RD
6082001-10-25 Robert Dewar <dewar@gnat.com>
609
f8e0aa73 610 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
a7fb206d 611 in HIE mode, avoids compilation abandoned message
f8e0aa73 612
a7fb206d 613 * exp_imgv.adb: Correct typo in previous change
f8e0aa73 614
a7fb206d
RD
615 * exp_imgv.adb: Correct typo in previous change (not my day!)
616
e6a7e62e
RD
6172001-10-25 Robert Dewar <dewar@gnat.com>
618
619 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
620
0d2b8e0b 6212001-10-25 Pascal Obry <obry@gnat.com>
75c09e7d 622
f8e0aa73 623 * g-awk.ads: Move all pragma inlines next to the routine
0d2b8e0b 624 declarations. This is more uniform with other GNAT spec.
75c09e7d 625
0d2b8e0b 6262001-10-22 Geert Bosch <bosch@gnat.com>
d2740a69
GB
627
628 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
629
0d2b8e0b 6302001-10-19 Geert Bosch <bosch@gnat.com>
d7ac9bdd
GB
631
632 * Makefile.in (tools, gnattools): Remove gnatmem.
633
17ed6335
RH
6342001-10-17 Richard Henderson <rth@redhat.com>
635
636 * Makefile.in (misc.o): Depend on langhooks.h.
637 * misc.c: Include it.
638 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
639 (LANG_HOOKS_DECODE_OPTION): New.
640 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
641
f2436274
FW
6422001-10-16 Florian Weimer <fw@deneb.enyo.de>
643
644 * trans.c (tree_transform): Adjust to recent change in
645 expand_asm_operands to implement named asm operands.
646
b14127e6
ES
6472001-10-11 Ed Schonberg <schonber@gnat.com>
648
f8e0aa73 649 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
b14127e6
ES
650 renaming of discriminant for mutable record type.
651
e70ee92a
RD
6522001-10-11 Robert Dewar <dewar@gnat.com>
653
654 * validsw.adb: Properly save -gnatVn status.
655
9a5621d7 6562001-10-11 Robert Dewar <dewar@gnat.com>
f8e0aa73 657
9a5621d7
RD
658 * usage.adb: Add lines for V switch.
659
f8e0aa73 660 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
9a5621d7
RD
661 (/VALIDITY_CHECKING).
662
45667f04
ES
6632001-10-11 Ed Schonberg <schonber@gnat.com>
664
f8e0aa73 665 * sem_type.adb (Add_One_Interp): an operator for a type declared in
45667f04
ES
666 an extension of System is known to be visible.
667
c3de5c4c
ES
6682001-10-11 Ed Schonberg <schonber@gnat.com>
669
f8e0aa73 670 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
c3de5c4c
ES
671 properly. Fixes regression on ACATS C34005G.
672
4fa964a6
RD
6732001-10-11 Robert Dewar <dewar@gnat.com>
674
f8e0aa73 675 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
4fa964a6
RD
676 loop in generic instance, since this is likely not very useful.
677
0868e09c
RD
6782001-10-11 Robert Dewar <dewar@gnat.com>
679
f8e0aa73 680 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
0868e09c 681 the error message for high integrity mode.
f8e0aa73
AJ
682
683 * rtsfind.adb (RTE): Give message if we try to find an entity that
0868e09c 684 is not available in high integrity mode.
f8e0aa73 685
0868e09c
RD
686 * rtsfind.ads:
687 (OK_To_Use_In_HIE_Mode): New array.
688 (RTE): May return Empty in high integrity mode.
f8e0aa73
AJ
689
690 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
691 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
692
693 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
694 unit if not inlined always and in no runtime mode. Fixes problem
0868e09c 695 caused by new Rtsfind changes.
f8e0aa73
AJ
696
697 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
0868e09c 698 body is deleted.
f8e0aa73
AJ
699
700 * rtsfind.adb (RTE): Make sure we do not try to load unit after
0868e09c
RD
701 giving message for entity not available in high integrity mode.
702
934abf9c 7032001-10-11 Pascal Obry <obry@gnat.com>
f8e0aa73 704
934abf9c
PO
705 * impunit.adb: Add GNAT.CRC32.
706
3c72bea4
ES
7072001-10-11 Ed Schonberg <schonber@gnat.com>
708
f8e0aa73
AJ
709 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
710 properly the case where one universal operand in a non-static
3c72bea4
ES
711 exponentiation of a real literal.
712
44d8d2bb
ES
7132001-10-11 Ed Schonberg <schonber@gnat.com>
714
f8e0aa73
AJ
715 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
716 clause, return the gobal finalization list, for lack of anthing else.
44d8d2bb 717
9e2b9627
ES
7182001-10-11 Ed Schonberg <schonber@gnat.com>
719
f8e0aa73
AJ
720 * exp_ch7.adb (Make_Transient_Block): if statement is within
721 exception handler, always use new transient scope to place Clean
9e2b9627
ES
722 procedure.
723
cfac6e9f
PO
7242001-10-11 Pascal Obry <obry@gnat.com>
725
726 * Makefile.in:
727 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
728 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
729 (GNATLS_RTL_OBJS): add g-crc32.o
730 (GNATMAKE_RTL_OBJS): add g-crc32.o
f8e0aa73 731
cfac6e9f
PO
732 * ali-util.adb:
733 (CRC_Match): new function.
f8e0aa73 734 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
cfac6e9f
PO
735 instead of the previous simple checksum algorithm.
736 (Time_Stamp_Mismatch): use CRC_Match for comparison.
737 (Set_Source_Table): idem.
f8e0aa73 738
cfac6e9f 739 * ali-util.ads:
f8e0aa73 740 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
cfac6e9f
PO
741 instead of simple checksum.
742 (CRC_Match): new function.
743 (CRC_Error): new constant.
f8e0aa73
AJ
744
745 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
746 a CRC now and not a simple checksum. A CRC uses lower-case hex
cfac6e9f 747 letters, fixes ambiguity in parsing.
f8e0aa73
AJ
748
749 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
cfac6e9f 750 is what this variable will store.
f8e0aa73 751
cfac6e9f 752 * bcheck.adb: Change reference to chechsum in comments by CRC.
f8e0aa73
AJ
753 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
754 rename All_Checksum_Match to All_CRC_Match. Change due to API
755 renaming since now GNAT does not use a simple checksum but a
cfac6e9f 756 CRC using GNAT.CRC32.
f8e0aa73
AJ
757
758 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
cfac6e9f 759 now and not anymore a simple checksum.
f8e0aa73
AJ
760
761 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
cfac6e9f 762 places.
f8e0aa73 763
cfac6e9f 764 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
f8e0aa73 765
cfac6e9f
PO
766 * scans.adb:
767 (Restore_Scan_State): rename Checksum to CRC.
768 (Save_Scan_State): idem.
f8e0aa73 769
cfac6e9f
PO
770 * scans.ads:
771 With GNAT.CRC32.
772 (Checksum): rename to CRC.
773 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
f8e0aa73
AJ
774
775 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
cfac6e9f 776 GNAT.CRC32). Update copyright notice.
f8e0aa73
AJ
777
778 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
cfac6e9f 779 GNAT.CRC32). Update copyright notice.
f8e0aa73 780
cfac6e9f
PO
781 * scn.adb:
782 (Accumulate_Checksum): removed.
783 (Update): new procedure. Add a wide-character into the CRC.
f8e0aa73 784
cfac6e9f
PO
785 * sinput-l.adb:
786 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
f8e0aa73 787 (Load_File): fix initialization of S (change Source_Checksum to
cfac6e9f 788 Source_CRC)
f8e0aa73
AJ
789
790 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
cfac6e9f 791 Source_CRC in S initialization.
f8e0aa73 792
cfac6e9f 793 * sinput.adb (Source_Checksum): renamed to Source_CRC.
f8e0aa73 794
cfac6e9f
PO
795 * sinput.ads (Source_Checksum): renamed to Source_CRC.
796 Update comments for the CRC.
f8e0aa73 797
cfac6e9f 798 * types.adb (Hex): Use lowercase for the letter part.
f8e0aa73
AJ
799
800 * types.ads (Get_Hex_String): Returns the hexadecimal representation
801 for a word. This is currently used only for CRC. In previous version,
802 the checksum was using a representation with all letter being
803 upper-case. With the new implementation (using CRC) we do not remove
804 the 32th bit of the CRC, so we can have an upper-case starting letter
805 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
806 It is ambigous since the CRC was optional and could be followed by
807 options like EB, EE. So now this routines uses lower-case letter for
808 the hexadecimal representation. Strange enough only lower case letters
cfac6e9f 809 where checked in Scan_ALI (even if this was not a possible case).
f8e0aa73 810
cfac6e9f 811 * gnatvsn.ads (Library_Version): changed to 3.15a.
f8e0aa73
AJ
812
813 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
cfac6e9f 814 for the compiler.
f8e0aa73
AJ
815
816 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
cfac6e9f 817 for the compiler.
f8e0aa73 818
cfac6e9f
PO
819 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
820 Add 2001 to copyright notice
821 (Accumulate_Checksum): Modify to use System.CRC32.
f8e0aa73
AJ
822
823 * ali-util.ads: Redo changes of previous revision to continue to use
cfac6e9f 824 the word Checksum. Add 2001 to copyright notice.
f8e0aa73 825
cfac6e9f
PO
826 * ali.adb: Undo some of previous changes, not needed.
827 Keep the change for lower case letters in the checksum.
f8e0aa73 828
cfac6e9f
PO
829 * ali.ads: Undo previous change not needed.
830
831 * bcheck.adb: Undo most of previous change, not needed.
832 But do use Checksums_Match for checksum comparison.
f8e0aa73 833
cfac6e9f
PO
834 * gnatls.adb: Undo most of previous change, not needed.
835 But do use Checksums_Match for comparing checksums.
f8e0aa73 836
cfac6e9f 837 * lib-load.adb: Undo previous change, not needed.
f8e0aa73 838
cfac6e9f 839 * lib-writ.adb: Undo previous change, not needed.
f8e0aa73
AJ
840
841 * lib-writ.ads: Document that checksums use lower case,
cfac6e9f 842 not upper case letters.
f8e0aa73 843
cfac6e9f 844 * scans.adb: Undo previous change, not needed
f8e0aa73 845
cfac6e9f 846 * scans.ads: Undo previous change, not needed.
f8e0aa73 847
cfac6e9f 848 * scn-nlit.adb: Undo previous changes, not needed.
f8e0aa73 849
cfac6e9f 850 * scn-slit.adb: Undo previous change, not needed. Fix header format.
f8e0aa73 851
cfac6e9f
PO
852 * scn.adb:
853 (Accumulate_Checksum): Use System.CRC32.
854 (Initialize_Checksum): New procedure.
855 Remove other changes of previous revision.
f8e0aa73 856
cfac6e9f 857 * sinput-p.adb: Undo previous change, not needed.
f8e0aa73 858
cfac6e9f
PO
859 * sinput.adb: Undo previous change, not needed.
860
861 * sinput-l.adb: Undo previous change, not needed.
f8e0aa73
AJ
862
863 * sinput.ads: Undo previous change, not needed. Keep only comment
cfac6e9f 864 on new checksum algorithm
f8e0aa73 865
cfac6e9f
PO
866 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
867 Also remove a-tags and a-stream from GNAT sources.
f8e0aa73 868
cfac6e9f 869 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
f8e0aa73 870
cfac6e9f
PO
871 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
872
4d6d06a5
GB
8732001-10-11 Geert Bosch <bosch@gnat.com>
874
875 * einfo.h: Regenerate.
876
877 * nmake.ads: Regenerate.
878
879 * nmake.adb: Regenerate.
880
881 * sinfo.h: Regenerate.
882
883 * treeprs.adb: Regenerate.
884
c97412e2
GB
8852001-10-10 Geert Bosch <bosch@gnat.com>
886
887 * gnat-style.texi: New file describing coding guidelines for Ada.
f8e0aa73 888
b83018ca
ES
8892001-10-10 Ed Schonberg <schonber@gnat.com>
890
f8e0aa73 891 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
b83018ca
ES
892 is Flag174.
893
e834fe1f
GB
8942001-10-10 Geert Bosch <bosch@gnat.com>
895
896 * snames.ads: Add new names for project facility.
897
898 * snames.adb: Update to reflect snames.ads changes.
899
900 * snames.h: Update to reflect snames.ads changes.
901
b30668b7
VC
9022001-10-10 Vincent Celier <celier@gnat.com>
903
904 * make.adb:
905 (Add_Switches): reflect the changes for the switches attributes
906 Default_Switches indexed by the programming language,
907 Switches indexed by the file name.
908 (Collect_Arguments_And_Compile): Idem.
909 Reflect the attribute name changes.
f8e0aa73 910
b30668b7
VC
911 * prj-attr.adb:
912 (Initialisation_Data): Change the names of some packages and
913 attributes.
914 (Initialize): process case insensitive associative arrays.
f8e0aa73 915
b30668b7
VC
916 * prj-attr.ads:
917 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
f8e0aa73 918
b30668b7
VC
919 * prj-dect.adb:
920 (Parse_Attribute_Declaration): For case insensitive associative
921 arrays, set the index string to lower case.
f8e0aa73 922
b30668b7
VC
923 * prj-env.adb:
924 Reflect the changes of the project attributes.
f8e0aa73 925
b30668b7
VC
926 * prj-nmsc.adb:
927 Replace Check_Naming_Scheme by Ada_Check and
928 Language_Independent_Check.
f8e0aa73 929
b30668b7
VC
930 * prj-nmsc.ads:
931 Replaced Check_Naming_Scheme by 2 procedures:
932 Ada_Check and Language_Independent_Check.
f8e0aa73 933
b30668b7
VC
934 * prj-proc.adb:
935 (Process_Declarative_Items): For case-insensitive associative
936 arrays, set the index string to lower case.
937 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
938 Prj.Nmsc.Check_Naming_Scheme.
f8e0aa73 939
b30668b7
VC
940 * prj-tree.adb:
941 (Case_Insensitive): New function
942 (Set_Case_Insensitive): New procedure
f8e0aa73 943
b30668b7
VC
944 * prj-tree.ads:
945 (Case_Insensitive): New function
946 (Set_Case_Insensitive): New procedure
947 (Project_Node_Record): New flag Case_Insensitive.
f8e0aa73 948
b30668b7
VC
949 * prj-util.adb:
950 (Value_Of): new function to get the string value of a single
951 string variable or attribute.
f8e0aa73 952
b30668b7
VC
953 * prj-util.ads:
954 (Value_Of): new function to get the string value of a single
955 string variable or attribute.
f8e0aa73 956
b30668b7
VC
957 * prj.adb:
958 (Ada_Default_Spec_Suffix): New function
959 (Ada_Default_Impl_Suffix): New function
960 Change definitions of several constants to reflect
961 new components of record types.
f8e0aa73 962
b30668b7
VC
963 * prj.ads:
964 (Naming_Data): Change several components to reflect new
965 elements of naming schemes.
966 (Project_Data): New flags Sources_Present and
967 Language_Independent_Checked.
968 (Ada_Default_Spec_Suffix): New function.
969 (Ada_Default_Impl_Suffix): New function.
f8e0aa73 970
b30668b7
VC
971 * snames.ads:
972 Modification of predefined names for project manager: added
973 Implementation, Specification_Exceptions, Implementation_Exceptions,
974 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
975 Default_Switches, _Languages, Builder, Cross_Reference,
976 Finder. Removed Body_Part, Specification_Append, Body_Append,
977 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
978 Gnatlink.
f8e0aa73 979
b30668b7
VC
980 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
981 Add comments.
f8e0aa73 982
b30668b7
VC
983 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
984 not that it is Nil_Variable_Value.
f8e0aa73 985
b30668b7
VC
986 * prj.ads: Add ??? for uncommented declarations
987
662e57b4
ES
9882001-10-10 Ed Schonberg <schonber@gnat.com>
989
f8e0aa73
AJ
990 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
991 constant, do not indicate possible modification, so that gigi can
662e57b4
ES
992 treat it as a bona fide constant.
993
72e4357f
RD
9942001-10-10 Robert Dewar <dewar@gnat.com>
995
996 * sem_prag.adb: Add processing for pragma External.
f8e0aa73 997
72e4357f 998 * snames.ads: Add entry for pragma External.
f8e0aa73 999
72e4357f 1000 * par-prag.adb: Add pragma External.
f8e0aa73 1001
72e4357f
RD
1002 * snames.adb: Updated to match snames.ads.
1003
7bc1c7df
ES
10042001-10-10 Ed Schonberg <schonber@gnat.com>
1005
1006 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
1007 a dynamic task if the allocator appears in an indexed assignment
1008 or selected component assignment.
f8e0aa73
AJ
1009
1010 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
1011 For a dynamic task in an assignment statement, use target of
7bc1c7df
ES
1012 assignment to generate meaningful name.
1013
c84700e7
ES
10142001-10-10 Ed Schonberg <schonber@gnat.com>
1015
f8e0aa73 1016 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
c84700e7
ES
1017 a generic package.
1018
1019 * einfo.ads: Body_Entity is also defined for generic package.
1020 Documentation change only
f8e0aa73
AJ
1021
1022 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
1023 others_choice for a discriminated component initialization,
1024 convert discriminant references into the corresponding discriminals.
1025
1026 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
1027 only if original type is private and expression has to be wrapped
c84700e7 1028 in a conversion.
f8e0aa73
AJ
1029
1030 * checks.adb:
1031 (Apply_Constraint_Check): Do not perform length check
c84700e7 1032 if expression is an aggregate with only an others_choice.
f8e0aa73 1033 (Length_N_Cond): two references to the same in_parameter
c84700e7
ES
1034 (typically the discriminal in an init_proc) denote the same value.
1035 Two useful optimization uncovered by bugfixes above.
1036
d8d80dcd
RD
10372001-10-10 Robert Dewar <dewar@gnat.com>
1038
f8e0aa73 1039 * xeinfo.adb: Change int to char in translation of enumeration types.
d8d80dcd
RD
1040 This fixes a problem in the C representation of component alignment.
1041 Add 2001 to copyright notice
1042
a8fee948
RK
10432001-10-10 Richard Kenner <kenner@gnat.com>
1044
f8e0aa73 1045 * decl.c: (validate_size): Do check size of object of integral type
a8fee948
RK
1046 if it is a packed array type.
1047
c2d7fe59
RK
10482001-10-10 Richard Kenner <kenner@gnat.com>
1049
f8e0aa73 1050 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
c2d7fe59
RK
1051 VAR_DECL for constant if not Is_Public but -O0.
1052
fb75e100
RK
10532001-10-10 Richard Kenner <kenner@gnat.com>
1054
1055 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
1056
1724557a
GB
10572001-10-10 Geert Bosch <bosch@gnat.com>
1058
f8e0aa73 1059 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
1724557a
GB
1060 use '/' as switch character, allowing for absolute file names.
1061
9f2f9eb6
JM
10622001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
1063
1064 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
1065 FSF address.
1066
8fecf41d
GB
10672001-10-08 Geert Bosch <bosch@gnat.com>
1068
1069 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
1070 Automatically build utilities when files need to be regenerated.
1071
589f1edf
GB
10722001-10-08 Geert Bosch <bosch@gnat.com>
1073
1074 * xsnames.adb: New utility for updating snames.ads and snames.adb
1075
67f28219
ZW
10762001-10-08 Zack Weinberg <zack@codesourcery.com>
1077
1078 * Make-lang.in (ADAFLAGS): Add -W -Wall.
1079 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
1080 (gnat1): Also depend on attribs.o.
1081 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
1082 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
1083 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
1084 (ADAFLAGS): Add -W -Wall.
1085 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
1086 take out CFLAGS.
1087
1088 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
1089 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
1090 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
1091 Use $(ADAC), not $(CC), as compilation command.
1092
1093 (gnattools): Depend directly on tools to build, don't use
1094 recursive make.
1095 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
1096
1097 * einfo.h, sinfo.h: New files (autogenerated).
1098
295ef2bb
RH
10992001-10-08 Richard Henderson <rth@redhat.com>
1100
1101 * comperr.adb (Abort_In_Progress): New.
1102 (Compiler_Abort): Use it to prevent recursion.
1103
5c736541
RD
11042001-10-08 Robert Dewar <dewar@gnat.com>
1105
1106 * atree.adb: Set Error_Posted in Error node, helps error recovery.
67f28219
ZW
1107
1108 * par-endh.adb (Output_End_Expected): We should also not test
5c736541 1109 Error_Posted on the Error node, since now it is always set.
67f28219
ZW
1110
1111 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
5c736541 1112 to help error recovery. Part of general work on 9407-004.
67f28219 1113
5c736541 1114 * par.adb: Add ??? for misuse of error
67f28219 1115
5c736541
RD
1116 * sem_res.adb:
1117 (Resolve): Defend against Error, fixes 9407-003.
1118 (Resolve_Discrete_Subtype_Indication): Defend against Error.
67f28219
ZW
1119
1120 * sinfo.ads (N_Error): Now has Etype field (which will be set
5c736541
RD
1121 to Any_Type to help error recovery).
1122
a153ae15
RK
11232001-10-08 Richard Kenner (kenner@gnat.com)
1124
1125 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
1126 Consistently set MEM attributes from expression; fixes
1127 bootstrap failure on x86.
1128
743f3c7b
GB
11292001-10-08 Geert Bosch (bosch@gnat.com)
1130
1131 * 5oosinte.adb: Add 2001 to copyright notice.
1132
210c4ef4
GB
11332001-10-08 Geert Bosch (bosch@gnat.com)
1134
1135 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
1136
1137 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
1138
cc712abf
JM
11392001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1140
1141 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
1142
4c4abc0f
GB
11432001-10-05 Geert Bosch (bosch@gnat.com)
1144
1145 * adaint.h: Small formatting fix.
1146
7f50e2e3
GB
11472001-10-04 Geert Bosch <bosch@gnat.com>
1148
1149 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
1150 Arg is int, not FILE *, in dummy version of functions.
67f28219 1151
7f50e2e3
GB
1152 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
1153 Arg is int, not FILE *.
1154
5d1a9698
GB
11552001-10-04 Geert Bosch <bosch@gnat.com>
1156
1157 * 3lsoccon.ads: Added file, missed with initial check ins.
67f28219 1158
5d1a9698
GB
1159 * 4lintnam.ads: Fix header format.
1160 Change Linux to GNU/Linux.
67f28219 1161
5d1a9698
GB
1162 * 5iosinte.adb: Change Linux to GNU/Linux.
1163
1164 * 5iosinte.ads: Change Linux to GNU/Linux.
67f28219 1165
5d1a9698 1166 * 5itaprop.adb: Change Linux to GNU/Linux.
67f28219 1167
5d1a9698
GB
1168 * 5itaspri.ads: Change Linux to GNU/Linux.
1169 Update copyright notice.
67f28219 1170
5d1a9698 1171 * 5lintman.adb: Change Linux to GNU/Linux.
67f28219 1172
5d1a9698 1173 * 5lml-tgt.adb: Change Linux to GNU/Linux.
67f28219 1174
5d1a9698 1175 * 5losinte.ads: Change Linux to GNU/Linux.
67f28219 1176
5d1a9698 1177 * 5lsystem.ads: Change Linux to GNU/Linux.
67f28219 1178
5d1a9698 1179 * 5qosinte.adb: Change Linux to GNU/Linux.
67f28219 1180
5d1a9698 1181 * 5qosinte.ads: Change Linux to GNU/Linux.
67f28219 1182
5d1a9698 1183 * 5qparame.ads: Change Linux to GNU/Linux.
67f28219 1184
5d1a9698 1185 * 5qtaprop.adb: Change Linux to GNU/Linux.
67f28219 1186
5d1a9698
GB
1187 * 5qtaspri.ads: Change Linux to GNU/Linux.
1188 Add 2001 to copyright notice.
67f28219 1189
5d1a9698
GB
1190 * 5vintman.ads: Change Linux to GNU/Linux.
1191 Fix header format. Add 2001 to copyright notice.
67f28219 1192
5d1a9698 1193 * g-soccon.ads: Change Linux to GNU/Linux.
67f28219 1194
5d1a9698
GB
1195 * g-trasym.ads: Change Linux to GNU/Linux.
1196 Add 2001 to copyright notice.
67f28219 1197
5d1a9698 1198 * memtrack.adb: Change Linux to GNU/Linux.
67f28219 1199
5d1a9698
GB
1200 * s-intman.ads: Change Linux to GNU/Linux.
1201 Add 2001 to copyright notice. Fix header format.
67f28219 1202
5d1a9698 1203 * s-stache.adb: Change Linux to GNU/Linux.
67f28219 1204
5d1a9698 1205 * adaint.c: Change Linux to GNU/Linux.
67f28219 1206
5d1a9698 1207 * cio.c: Change Linux to GNU/Linux.
67f28219 1208
5d1a9698 1209 * cstreams.c: Change Linux to GNU/Linux.
67f28219 1210
5d1a9698 1211 * init.c: Change Linux to GNU/Linux.
67f28219 1212
5d1a9698 1213 * gmem.c: Change Linux to GNU/Linux.
67f28219 1214
5d1a9698
GB
1215 * tracebak.c: Change Linux to GNU/Linux.
1216
1217
c25ca2d7
GB
12182001-10-02 Geert Bosch <bosch@gnat.com>
1219
1220 * misc.c (insert_default_attributes): Add dummy version.