]> gcc.gnu.org Git - gcc.git/blame - gcc/ada/ChangeLog
ChangeLog.0, [...]: Fix spelling errors.
[gcc.git] / gcc / ada / ChangeLog
CommitLineData
97f6baa0
LG
12001-10-27 Laurent Guerby <guerby@acm.org>
2
3 * trans.c (gigi): Fix non determinism leading to bootstrap
4 comparison failures for debugging information.
5
46b58b8c
FW
62001-10-26 Florian Weimer <fw@deneb.enyo.de>
7
8 * gnat_rm.texi: Use @./@: where appropriate.
9
30151c7b
RD
102001-10-26 Robert Dewar <dewar@gnat.com>
11
12 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
13
c0b1738d
RK
142001-10-26 Richard Kenner <kenner@gnat.com>
15
16 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
17
5b09c153
RK
182001-10-26 Richard Kenner <kenner@gnat.com>
19
20 * decl.c (validate_size): Modify message for bad size to avoid
21 implication that compiler is modifying the size.
22
4d553668
RD
232001-10-26 Robert Dewar <dewar@gnat.com>
24
25 * prj-util.adb: Minor reformatting. Fix bad header format.
26
3e542a58
RD
272001-10-26 Robert Dewar <dewar@gnat.com>
28
29 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
30
31 * sinfo.ads: Clarify use of Associated_Node (documentation only).
32
33 * sem_ch12.adb: Change Node4 to Associated_Node. Change
34 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
35 much more narrowly in places where needed. These are cleanups.
36
0bf08bfe
JB
372001-10-26 Joel Brobecker <brobecke@gnat.com>
38
39 * 5zosinte.ads (null_pthread): new constant.
40
41 * 5ztaprop.adb:
42 (Initialize_TCB): Initialize thread ID to null, to be able to verify
43 later that this field has been set.
44 (Finalize_TCB): ditto.
45 (Suspend_Task): Verify that the thread ID is not null before using it.
46 (Resume_Task): ditto.
47
48 * s-tasdeb.adb:
49 (Resume_All_Tasks): Lock the tasks list before using it.
50 (Suspend_All_Tasks): ditto.
51
7a3a8c06
RK
522001-10-26 Richard Kenner <kenner@gnat.com>
53
54 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
55 Make constant variant of designated type for Is_Access_Constant.
56 Call update_pointer_to with main variant.
57
58 * trans.c (process_freeze_entity, process_type):
59 Call update_pointer_to on main variant.
60
61 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
62 If main variant, update all other variants.
63
64 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
65 TREE_STATIC.
66
a160babb
RD
672001-10-26 Robert Dewar <dewar@gnat.com>
68
69 * prj-util.adb: Minor reformatting
70
b403bd17
RD
712001-10-26 Robert Dewar <dewar@gnat.com>
72
73 * prj-util.adb: Minor reformatting
74
5fc3b4c7
RD
752001-10-26 Robert Dewar <dewar@gnat.com>
76
77 * prj-attr.adb: Minor reformatting throughout
78
8c736034
RD
792001-10-26 Robert Dewar <dewar@gnat.com>
80
81 * prj-attr.ads: Minor reformatting
82 Add ??? comment (this whole spec has almost no comments)
83
47d5b6ed
VC
842001-10-26 Vincent Celier <celier@gnat.com>
85
86 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
87 ("//") that precede the drive letter on Interix.
88
41af791f
GB
892001-10-26 Geert Bosch <bosch@gnat.com>
90
91 * gnat_rm.texi: Add GNAT Reference Manual.
92
ed4a1468
RD
932001-10-25 Robert Dewar <dewar@gnat.com>
94
95 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
96 is Error. Similar change for other renaming cases.
97
24377ae4
RD
982001-10-25 Robert Dewar <dewar@gnat.com>
99
100 * s-atacco.ads: Add pragma Inline_Always for functions.
101 Fix header format. Add copyright 2001
102
fef3204e
ES
1032001-10-25 Ed Schonberg <schonber@gnat.com>
104
105 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
106 return Error rather than Empty so that analysis can proceed.
107
dfc69d80
ES
1082001-10-25 Ed Schonberg <schonber@gnat.com>
109
110 * sem_util.adb (Enter_Name): better handling of cascaded error
111 messages when a unit appears in its own context.
112
5a15af62
ES
1132001-10-25 Ed Schonberg <schonber@gnat.com>
114
115 * sem_util.adb (Defining_Entity): in case of error, attach created
116 entity to specification, so that semantic analysis can proceed.
117
2b881d53
RD
1182001-10-25 Robert Dewar <dewar@gnat.com>
119
120 * sem_util.adb
121 (Defining_Entity): Deal with Error.
122 (Process_End_Label): Deal with bad end label for.
123
578053f2
ES
1242001-10-25 Ed Schonberg <schonber@gnat.com>
125
126 * sem_elab.adb (Check_A_Call): refine message when call is in an
127 instance but callee is not declared in the generic unit.
128
0597ce0b
ES
1292001-10-25 Ed Schonberg <schonber@gnat.com>
130
131 * sem_elab.adb (Check_A_Call): check for renaming before finding the
132 enclosing unit, which may already be different from the calling unit.
133
3de6e6da
GB
1342001-10-25 Geert Bosch <bosch@gnat.com>
135
136 * 4gintnam.ads: fix header format.
137
6f311316
ES
1382001-10-25 Ed Schonberg <schonber@gnat.com>
139
140 * sem_res.adb (Resolve_Call): if the call is actually an indexing
141 operation on the result of a parameterless call, perform elaboration
142 check after the node has been properly rewritten.
143
144 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
145 inlined within the generic tree, the defining identifier is not a
146 compilation_unit.
147
17be0cdf
ES
1482001-10-25 Ed Schonberg <schonber@gnat.com>
149
150 * sem_res.adb (Resolve): special-case resolution of Null in an
151 instance or an inlined body to avoid view conflicts.
152
153 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
154 compatibility by retrieving the access type of the generic copy.
155
ce9e9122
RD
1562001-10-25 Robert Dewar <dewar@gnat.com>
157
158 * sem_ch3.adb:
159 (Analyze_Number_Declaration): Handle error expression.
160 (Signed_Integer_Type_Declaration): Handle error bound.
161 (Analyze_Subtype_Indication): Handle error range.
162
163 * sem_util.adb (Get_Index_Bounds): Check for Error.
164
e12fbc9e
RD
1652001-10-25 Robert Dewar <dewar@gnat.com>
166
167 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
168 in no run time mode.
169
52b80488
PO
1702001-10-25 Pascal Obry <obry@gnat.com>
171
172 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
173 mode case for ALLOC case.
174
175 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
176 all platforms. Improvement of last change.
177
316ad9c5
RD
1782001-10-25 Robert Dewar <dewar@gnat.com>
179
180 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
181
1a7e4df4
GB
1822001-10-25 Geert Bosch <bosch@gnat.com>
183
184 * osint.adb (Is_Relative): Remove duplicate.
185
90a9fff2
PO
1862001-10-25 Pascal Obry <obry@gnat.com>
187
188 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
189 pathnames in UNIX and DOS style with drive letter.
190 (Is_Relative): new routine.
191
192 * osint.adb: Minor reformatting
193
194 * osint.adb (Is_Relative): implementation using
1a7e4df4 195 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
90a9fff2 196
5c1ba4cc
PO
1972001-10-25 Pascal Obry <obry@gnat.com>
198
199 * g-dirope.adb (Basename): correctly compute offset between the
200 original Path and the translated one.
201
202 * g-dirope.adb: (Base_Name): add some comments.
203
a7fb206d
RD
2042001-10-25 Robert Dewar <dewar@gnat.com>
205
206 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
207 in HIE mode, avoids compilation abandoned message
208
209 * exp_imgv.adb: Correct typo in previous change
210
211 * exp_imgv.adb: Correct typo in previous change (not my day!)
212
e6a7e62e
RD
2132001-10-25 Robert Dewar <dewar@gnat.com>
214
215 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
216
0d2b8e0b 2172001-10-25 Pascal Obry <obry@gnat.com>
75c09e7d 218
0d2b8e0b
GB
219 * g-awk.ads: Move all pragma inlines next to the routine
220 declarations. This is more uniform with other GNAT spec.
75c09e7d 221
0d2b8e0b 2222001-10-22 Geert Bosch <bosch@gnat.com>
d2740a69
GB
223
224 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
225
0d2b8e0b 2262001-10-19 Geert Bosch <bosch@gnat.com>
d7ac9bdd
GB
227
228 * Makefile.in (tools, gnattools): Remove gnatmem.
229
17ed6335
RH
2302001-10-17 Richard Henderson <rth@redhat.com>
231
232 * Makefile.in (misc.o): Depend on langhooks.h.
233 * misc.c: Include it.
234 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
235 (LANG_HOOKS_DECODE_OPTION): New.
236 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
237
f2436274
FW
2382001-10-16 Florian Weimer <fw@deneb.enyo.de>
239
240 * trans.c (tree_transform): Adjust to recent change in
241 expand_asm_operands to implement named asm operands.
242
b14127e6
ES
2432001-10-11 Ed Schonberg <schonber@gnat.com>
244
245 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
246 renaming of discriminant for mutable record type.
247
e70ee92a
RD
2482001-10-11 Robert Dewar <dewar@gnat.com>
249
250 * validsw.adb: Properly save -gnatVn status.
251
9a5621d7
RD
2522001-10-11 Robert Dewar <dewar@gnat.com>
253
254 * usage.adb: Add lines for V switch.
255
256 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
257 (/VALIDITY_CHECKING).
258
45667f04
ES
2592001-10-11 Ed Schonberg <schonber@gnat.com>
260
261 * sem_type.adb (Add_One_Interp): an operator for a type declared in
262 an extension of System is known to be visible.
263
c3de5c4c
ES
2642001-10-11 Ed Schonberg <schonber@gnat.com>
265
266 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
267 properly. Fixes regression on ACATS C34005G.
268
4fa964a6
RD
2692001-10-11 Robert Dewar <dewar@gnat.com>
270
271 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
272 loop in generic instance, since this is likely not very useful.
273
0868e09c
RD
2742001-10-11 Robert Dewar <dewar@gnat.com>
275
276 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
277 the error message for high integrity mode.
278
279 * rtsfind.adb (RTE): Give message if we try to find an entity that
280 is not available in high integrity mode.
281
282 * rtsfind.ads:
283 (OK_To_Use_In_HIE_Mode): New array.
284 (RTE): May return Empty in high integrity mode.
285
286 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
287 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
288
289 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
290 unit if not inlined always and in no runtime mode. Fixes problem
291 caused by new Rtsfind changes.
292
293 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
294 body is deleted.
295
296 * rtsfind.adb (RTE): Make sure we do not try to load unit after
297 giving message for entity not available in high integrity mode.
298
934abf9c
PO
2992001-10-11 Pascal Obry <obry@gnat.com>
300
301 * impunit.adb: Add GNAT.CRC32.
302
3c72bea4
ES
3032001-10-11 Ed Schonberg <schonber@gnat.com>
304
305 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
306 properly the case where one universal operand in a non-static
307 exponentiation of a real literal.
308
44d8d2bb
ES
3092001-10-11 Ed Schonberg <schonber@gnat.com>
310
311 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
312 clause, return the gobal finalization list, for lack of anthing else.
313
9e2b9627
ES
3142001-10-11 Ed Schonberg <schonber@gnat.com>
315
316 * exp_ch7.adb (Make_Transient_Block): if statement is within
317 exception handler, always use new transient scope to place Clean
318 procedure.
319
cfac6e9f
PO
3202001-10-11 Pascal Obry <obry@gnat.com>
321
322 * Makefile.in:
323 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
324 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
325 (GNATLS_RTL_OBJS): add g-crc32.o
326 (GNATMAKE_RTL_OBJS): add g-crc32.o
327
328 * ali-util.adb:
329 (CRC_Match): new function.
330 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
331 instead of the previous simple checksum algorithm.
332 (Time_Stamp_Mismatch): use CRC_Match for comparison.
333 (Set_Source_Table): idem.
334
335 * ali-util.ads:
336 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
337 instead of simple checksum.
338 (CRC_Match): new function.
339 (CRC_Error): new constant.
340
341 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
342 a CRC now and not a simple checksum. A CRC uses lower-case hex
343 letters, fixes ambiguity in parsing.
344
345 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
346 is what this variable will store.
347
348 * bcheck.adb: Change reference to chechsum in comments by CRC.
349 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
350 rename All_Checksum_Match to All_CRC_Match. Change due to API
351 renaming since now GNAT does not use a simple checksum but a
352 CRC using GNAT.CRC32.
353
354 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
355 now and not anymore a simple checksum.
356
357 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
358 places.
359
360 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
361
362 * scans.adb:
363 (Restore_Scan_State): rename Checksum to CRC.
364 (Save_Scan_State): idem.
365
366 * scans.ads:
367 With GNAT.CRC32.
368 (Checksum): rename to CRC.
369 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
370
371 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
372 GNAT.CRC32). Update copyright notice.
373
374 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
375 GNAT.CRC32). Update copyright notice.
376
377 * scn.adb:
378 (Accumulate_Checksum): removed.
379 (Update): new procedure. Add a wide-character into the CRC.
380
381 * sinput-l.adb:
382 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
383 (Load_File): fix initialization of S (change Source_Checksum to
384 Source_CRC)
385
386 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
387 Source_CRC in S initialization.
388
389 * sinput.adb (Source_Checksum): renamed to Source_CRC.
390
391 * sinput.ads (Source_Checksum): renamed to Source_CRC.
392 Update comments for the CRC.
393
394 * types.adb (Hex): Use lowercase for the letter part.
395
396 * types.ads (Get_Hex_String): Returns the hexadecimal representation
397 for a word. This is currently used only for CRC. In previous version,
398 the checksum was using a representation with all letter being
399 upper-case. With the new implementation (using CRC) we do not remove
400 the 32th bit of the CRC, so we can have an upper-case starting letter
401 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
402 It is ambigous since the CRC was optional and could be followed by
403 options like EB, EE. So now this routines uses lower-case letter for
404 the hexadecimal representation. Strange enough only lower case letters
405 where checked in Scan_ALI (even if this was not a possible case).
406
407 * gnatvsn.ads (Library_Version): changed to 3.15a.
408
409 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
410 for the compiler.
411
412 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
413 for the compiler.
414
415 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
416 Add 2001 to copyright notice
417 (Accumulate_Checksum): Modify to use System.CRC32.
418
419 * ali-util.ads: Redo changes of previous revision to continue to use
420 the word Checksum. Add 2001 to copyright notice.
421
422 * ali.adb: Undo some of previous changes, not needed.
423 Keep the change for lower case letters in the checksum.
424
425 * ali.ads: Undo previous change not needed.
426
427 * bcheck.adb: Undo most of previous change, not needed.
428 But do use Checksums_Match for checksum comparison.
429
430 * gnatls.adb: Undo most of previous change, not needed.
431 But do use Checksums_Match for comparing checksums.
432
433 * lib-load.adb: Undo previous change, not needed.
434
435 * lib-writ.adb: Undo previous change, not needed.
436
437 * lib-writ.ads: Document that checksums use lower case,
438 not upper case letters.
439
440 * scans.adb: Undo previous change, not needed
441
442 * scans.ads: Undo previous change, not needed.
443
444 * scn-nlit.adb: Undo previous changes, not needed.
445
446 * scn-slit.adb: Undo previous change, not needed. Fix header format.
447
448 * scn.adb:
449 (Accumulate_Checksum): Use System.CRC32.
450 (Initialize_Checksum): New procedure.
451 Remove other changes of previous revision.
452
453 * sinput-p.adb: Undo previous change, not needed.
454
455 * sinput.adb: Undo previous change, not needed.
456
457 * sinput-l.adb: Undo previous change, not needed.
458
459 * sinput.ads: Undo previous change, not needed. Keep only comment
460 on new checksum algorithm
461
462 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
463 Also remove a-tags and a-stream from GNAT sources.
464
465 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
466
467 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
468
4d6d06a5
GB
4692001-10-11 Geert Bosch <bosch@gnat.com>
470
471 * einfo.h: Regenerate.
472
473 * nmake.ads: Regenerate.
474
475 * nmake.adb: Regenerate.
476
477 * sinfo.h: Regenerate.
478
479 * treeprs.adb: Regenerate.
480
c97412e2
GB
4812001-10-10 Geert Bosch <bosch@gnat.com>
482
483 * gnat-style.texi: New file describing coding guidelines for Ada.
484
b83018ca
ES
4852001-10-10 Ed Schonberg <schonber@gnat.com>
486
487 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
488 is Flag174.
489
e834fe1f
GB
4902001-10-10 Geert Bosch <bosch@gnat.com>
491
492 * snames.ads: Add new names for project facility.
493
494 * snames.adb: Update to reflect snames.ads changes.
495
496 * snames.h: Update to reflect snames.ads changes.
497
b30668b7
VC
4982001-10-10 Vincent Celier <celier@gnat.com>
499
500 * make.adb:
501 (Add_Switches): reflect the changes for the switches attributes
502 Default_Switches indexed by the programming language,
503 Switches indexed by the file name.
504 (Collect_Arguments_And_Compile): Idem.
505 Reflect the attribute name changes.
506
507 * prj-attr.adb:
508 (Initialisation_Data): Change the names of some packages and
509 attributes.
510 (Initialize): process case insensitive associative arrays.
511
512 * prj-attr.ads:
513 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
514
515 * prj-dect.adb:
516 (Parse_Attribute_Declaration): For case insensitive associative
517 arrays, set the index string to lower case.
518
519 * prj-env.adb:
520 Reflect the changes of the project attributes.
521
522 * prj-nmsc.adb:
523 Replace Check_Naming_Scheme by Ada_Check and
524 Language_Independent_Check.
525
526 * prj-nmsc.ads:
527 Replaced Check_Naming_Scheme by 2 procedures:
528 Ada_Check and Language_Independent_Check.
529
530 * prj-proc.adb:
531 (Process_Declarative_Items): For case-insensitive associative
532 arrays, set the index string to lower case.
533 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
534 Prj.Nmsc.Check_Naming_Scheme.
535
536 * prj-tree.adb:
537 (Case_Insensitive): New function
538 (Set_Case_Insensitive): New procedure
539
540 * prj-tree.ads:
541 (Case_Insensitive): New function
542 (Set_Case_Insensitive): New procedure
543 (Project_Node_Record): New flag Case_Insensitive.
544
545 * prj-util.adb:
546 (Value_Of): new function to get the string value of a single
547 string variable or attribute.
548
549 * prj-util.ads:
550 (Value_Of): new function to get the string value of a single
551 string variable or attribute.
552
553 * prj.adb:
554 (Ada_Default_Spec_Suffix): New function
555 (Ada_Default_Impl_Suffix): New function
556 Change definitions of several constants to reflect
557 new components of record types.
558
559 * prj.ads:
560 (Naming_Data): Change several components to reflect new
561 elements of naming schemes.
562 (Project_Data): New flags Sources_Present and
563 Language_Independent_Checked.
564 (Ada_Default_Spec_Suffix): New function.
565 (Ada_Default_Impl_Suffix): New function.
566
567 * snames.ads:
568 Modification of predefined names for project manager: added
569 Implementation, Specification_Exceptions, Implementation_Exceptions,
570 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
571 Default_Switches, _Languages, Builder, Cross_Reference,
572 Finder. Removed Body_Part, Specification_Append, Body_Append,
573 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
574 Gnatlink.
575
576 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
577 Add comments.
578
579 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
580 not that it is Nil_Variable_Value.
581
582 * prj.ads: Add ??? for uncommented declarations
583
662e57b4
ES
5842001-10-10 Ed Schonberg <schonber@gnat.com>
585
586 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
587 constant, do not indicate possible modification, so that gigi can
588 treat it as a bona fide constant.
589
72e4357f
RD
5902001-10-10 Robert Dewar <dewar@gnat.com>
591
592 * sem_prag.adb: Add processing for pragma External.
593
594 * snames.ads: Add entry for pragma External.
595
596 * par-prag.adb: Add pragma External.
597
598 * snames.adb: Updated to match snames.ads.
599
7bc1c7df
ES
6002001-10-10 Ed Schonberg <schonber@gnat.com>
601
602 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
603 a dynamic task if the allocator appears in an indexed assignment
604 or selected component assignment.
605
606 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
607 For a dynamic task in an assignment statement, use target of
608 assignment to generate meaningful name.
609
c84700e7
ES
6102001-10-10 Ed Schonberg <schonber@gnat.com>
611
612 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
613 a generic package.
614
615 * einfo.ads: Body_Entity is also defined for generic package.
616 Documentation change only
617
618 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
619 others_choice for a discriminated component initialization,
620 convert discriminant references into the corresponding discriminals.
621
622 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
623 only if original type is private and expression has to be wrapped
624 in a conversion.
625
626 * checks.adb:
627 (Apply_Constraint_Check): Do not perform length check
628 if expression is an aggregate with only an others_choice.
629 (Length_N_Cond): two references to the same in_parameter
630 (typically the discriminal in an init_proc) denote the same value.
631 Two useful optimization uncovered by bugfixes above.
632
d8d80dcd
RD
6332001-10-10 Robert Dewar <dewar@gnat.com>
634
635 * xeinfo.adb: Change int to char in translation of enumeration types.
636 This fixes a problem in the C representation of component alignment.
637 Add 2001 to copyright notice
638
a8fee948
RK
6392001-10-10 Richard Kenner <kenner@gnat.com>
640
641 * decl.c: (validate_size): Do check size of object of integral type
642 if it is a packed array type.
643
c2d7fe59
RK
6442001-10-10 Richard Kenner <kenner@gnat.com>
645
646 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
647 VAR_DECL for constant if not Is_Public but -O0.
648
fb75e100
RK
6492001-10-10 Richard Kenner <kenner@gnat.com>
650
651 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
652
1724557a
GB
6532001-10-10 Geert Bosch <bosch@gnat.com>
654
655 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
656 use '/' as switch character, allowing for absolute file names.
657
9f2f9eb6
JM
6582001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
659
660 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
661 FSF address.
662
8fecf41d
GB
6632001-10-08 Geert Bosch <bosch@gnat.com>
664
665 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
666 Automatically build utilities when files need to be regenerated.
667
589f1edf
GB
6682001-10-08 Geert Bosch <bosch@gnat.com>
669
670 * xsnames.adb: New utility for updating snames.ads and snames.adb
671
67f28219
ZW
6722001-10-08 Zack Weinberg <zack@codesourcery.com>
673
674 * Make-lang.in (ADAFLAGS): Add -W -Wall.
675 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
676 (gnat1): Also depend on attribs.o.
677 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
678 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
679 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
680 (ADAFLAGS): Add -W -Wall.
681 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
682 take out CFLAGS.
683
684 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
685 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
686 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
687 Use $(ADAC), not $(CC), as compilation command.
688
689 (gnattools): Depend directly on tools to build, don't use
690 recursive make.
691 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
692
693 * einfo.h, sinfo.h: New files (autogenerated).
694
295ef2bb
RH
6952001-10-08 Richard Henderson <rth@redhat.com>
696
697 * comperr.adb (Abort_In_Progress): New.
698 (Compiler_Abort): Use it to prevent recursion.
699
5c736541
RD
7002001-10-08 Robert Dewar <dewar@gnat.com>
701
702 * atree.adb: Set Error_Posted in Error node, helps error recovery.
67f28219
ZW
703
704 * par-endh.adb (Output_End_Expected): We should also not test
5c736541 705 Error_Posted on the Error node, since now it is always set.
67f28219
ZW
706
707 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
5c736541 708 to help error recovery. Part of general work on 9407-004.
67f28219 709
5c736541 710 * par.adb: Add ??? for misuse of error
67f28219 711
5c736541
RD
712 * sem_res.adb:
713 (Resolve): Defend against Error, fixes 9407-003.
714 (Resolve_Discrete_Subtype_Indication): Defend against Error.
67f28219
ZW
715
716 * sinfo.ads (N_Error): Now has Etype field (which will be set
5c736541
RD
717 to Any_Type to help error recovery).
718
a153ae15
RK
7192001-10-08 Richard Kenner (kenner@gnat.com)
720
721 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
722 Consistently set MEM attributes from expression; fixes
723 bootstrap failure on x86.
724
743f3c7b
GB
7252001-10-08 Geert Bosch (bosch@gnat.com)
726
727 * 5oosinte.adb: Add 2001 to copyright notice.
728
210c4ef4
GB
7292001-10-08 Geert Bosch (bosch@gnat.com)
730
731 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
732
733 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
734
cc712abf
JM
7352001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
736
737 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
738
4c4abc0f
GB
7392001-10-05 Geert Bosch (bosch@gnat.com)
740
741 * adaint.h: Small formatting fix.
742
7f50e2e3
GB
7432001-10-04 Geert Bosch <bosch@gnat.com>
744
745 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
746 Arg is int, not FILE *, in dummy version of functions.
67f28219 747
7f50e2e3
GB
748 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
749 Arg is int, not FILE *.
750
5d1a9698
GB
7512001-10-04 Geert Bosch <bosch@gnat.com>
752
753 * 3lsoccon.ads: Added file, missed with initial check ins.
67f28219 754
5d1a9698
GB
755 * 4lintnam.ads: Fix header format.
756 Change Linux to GNU/Linux.
67f28219 757
5d1a9698
GB
758 * 5iosinte.adb: Change Linux to GNU/Linux.
759
760 * 5iosinte.ads: Change Linux to GNU/Linux.
67f28219 761
5d1a9698 762 * 5itaprop.adb: Change Linux to GNU/Linux.
67f28219 763
5d1a9698
GB
764 * 5itaspri.ads: Change Linux to GNU/Linux.
765 Update copyright notice.
67f28219 766
5d1a9698 767 * 5lintman.adb: Change Linux to GNU/Linux.
67f28219 768
5d1a9698 769 * 5lml-tgt.adb: Change Linux to GNU/Linux.
67f28219 770
5d1a9698 771 * 5losinte.ads: Change Linux to GNU/Linux.
67f28219 772
5d1a9698 773 * 5lsystem.ads: Change Linux to GNU/Linux.
67f28219 774
5d1a9698 775 * 5qosinte.adb: Change Linux to GNU/Linux.
67f28219 776
5d1a9698 777 * 5qosinte.ads: Change Linux to GNU/Linux.
67f28219 778
5d1a9698 779 * 5qparame.ads: Change Linux to GNU/Linux.
67f28219 780
5d1a9698 781 * 5qtaprop.adb: Change Linux to GNU/Linux.
67f28219 782
5d1a9698
GB
783 * 5qtaspri.ads: Change Linux to GNU/Linux.
784 Add 2001 to copyright notice.
67f28219 785
5d1a9698
GB
786 * 5vintman.ads: Change Linux to GNU/Linux.
787 Fix header format. Add 2001 to copyright notice.
67f28219 788
5d1a9698 789 * g-soccon.ads: Change Linux to GNU/Linux.
67f28219 790
5d1a9698
GB
791 * g-trasym.ads: Change Linux to GNU/Linux.
792 Add 2001 to copyright notice.
67f28219 793
5d1a9698 794 * memtrack.adb: Change Linux to GNU/Linux.
67f28219 795
5d1a9698
GB
796 * s-intman.ads: Change Linux to GNU/Linux.
797 Add 2001 to copyright notice. Fix header format.
67f28219 798
5d1a9698 799 * s-stache.adb: Change Linux to GNU/Linux.
67f28219 800
5d1a9698 801 * adaint.c: Change Linux to GNU/Linux.
67f28219 802
5d1a9698 803 * cio.c: Change Linux to GNU/Linux.
67f28219 804
5d1a9698 805 * cstreams.c: Change Linux to GNU/Linux.
67f28219 806
5d1a9698 807 * init.c: Change Linux to GNU/Linux.
67f28219 808
5d1a9698 809 * gmem.c: Change Linux to GNU/Linux.
67f28219 810
5d1a9698
GB
811 * tracebak.c: Change Linux to GNU/Linux.
812
813
c25ca2d7
GB
8142001-10-02 Geert Bosch <bosch@gnat.com>
815
816 * misc.c (insert_default_attributes): Add dummy version.
This page took 0.137412 seconds and 5 git commands to generate.