]> gcc.gnu.org Git - gcc.git/blob - gcc/ada/ChangeLog
* make.adb: Minor reformatting.
[gcc.git] / gcc / ada / ChangeLog
1 2001-12-03 Geert Bosch <bosch@gnat.com>
2
3 * make.adb: Minor reformatting.
4
5 2001-12-03 <dewar@gnat.com>
6
7 * sem_ch12.adb: Minor reformatting
8
9 2001-12-03 Ed Schonberg <schonber@gnat.com>
10
11 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
12 push Standard on the stack before analyzing the instance body,
13 in order to have a clean visibility environment.
14
15 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
16
17 2001-12-03 Ed Schonberg <schonber@gnat.com>
18
19 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
20 instantiation of a body that contains an inlined body.
21
22 2001-12-03 Ed Schonberg <schonber@gnat.com>
23
24 * sem_ch12.adb:
25 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
26 to prevent freezing within formal packages.
27 (Freeze_Subprogram_Body): If body comes from another instance that
28 appeared before its own body, place freeze node at end of current
29 declarative part, to prevent a back-end crash.
30 (Inline_Instance_Body): Handle properly a package instance within
31 a subprogram instance that is a child unit.
32
33 2001-12-01 Graham Stott <grahams@redhat.com>
34
35 * Makefile.in (misc.o): Add missing $(srcdir) prefix
36 and add optabs.h dependency.
37
38 * misc.c: Include optabs.h
39 (gnat_tree_code_type): Make static and const.
40 (gnat_tree_code_length): Likewise.
41 (gnat_tree_code_name): Likewise.
42 (update_setjmp_buf): Obtain operands mode from insn_data.
43
44 2001-11-29 Richard Henderson <rth@redhat.com>
45
46 * init.c: Remove obsolete dwarf2 frame.h section.
47
48 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
49
50 * Make-lang.in (ada.generated-manpages): New dummy target.
51
52 2001-11-29 Ed Schonberg <schonber@gnat.com>
53
54 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
55 into Command, an array conversion is illegal here. Uncovered by
56 ACATS B460005.
57
58 2001/11/28 Geert Bosch <bosch@gnat.com>
59
60 * init.c: Minor whitespace changes.
61
62 2001-11-28 Doug Rupp <rupp@gnat.com>
63
64 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
65 signal stack.
66
67 2001-11-28 Zack Weinberg <zack@codesourcery.com>
68
69 * misc.c (gnat_expand_constant): Move declaration above
70 definition of lang_hooks.
71 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
72 (gnat_init): lang_expand_constant no longer exists.
73
74 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
75 always have vprintf.
76 (gnat_init): Always call set_internal_error_function.
77
78 2001-11-27 Andreas Jaeger <aj@suse.de>
79
80 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
81
82 2001-11-27 Laurent Guerby <guerby@acm.org>
83
84 * Makefile.in: Regenerate Ada dependencies.
85
86 2001-11-26 Richard Henderson <rth@redhat.com>
87
88 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
89 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
90 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
91
92 2001-11-25 Laurent Guerby <guerby@acm.org>
93
94 * sysdep.c (rts_get_*): Fix style.
95
96 2001-11-19 Laurent Guerby <guerby@acm.org>
97
98 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
99 since it is of no apparent use and cause warnings.
100
101 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
102
103 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
104 static too.
105 (gnat_init): Don't return NULL.
106 (finish_parse): Remove.
107
108 2001-11-17 Laurent Guerby <guerby@acm.org>
109
110 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
111 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
112 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
113 * lang-spec.h: Add missing struct field to silence warnings.
114 * sysdep.c (rts_get_*): Provide K&R prototype.
115 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
116 * traceback.c (Unlock_Task, Lock_Task): Likewise.
117 * tracebak.c (__gnat_backtrace): Remove unused variable.
118 * utils.c (end_subprog_body): Move to K&R style.
119
120 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
121
122 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
123
124 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
125
126 * misc.c (gnat_init): Change prototype. Include the
127 functionality of the old init_parse and init_decl_processing.
128 (gnat_init_decl_processing): New prototype.
129 (init_parse): Remove.
130 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
131
132 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
133
134 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
135 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
136 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
137 set_yydebug): Remove.
138
139 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
140
141 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
142 (struct lang_hooks): Constify.
143 (language_string, lang_identify): Remove.
144 * utils.c (init_decl_processing): Update.
145
146 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
147
148 * misc.c: Include langhooks-def.h.
149 * Makefile.in: Update.
150
151 2001-10-30 Robert Dewar <dewar@gnat.com>
152
153 * style.adb:
154 (Check_Identifier): Rewrite circuit to be compatible with use of letters
155 in the upper half of ASCII.
156 (Check_Identifier): Minor reformatting
157
158 2001-10-30 Geert Bosch <bosch@gnat.com>
159
160 * (Associated_Node, Set_Associated_Node): Do not check for
161 Freeze_Entity.
162
163 2001-10-30 Robert Dewar <dewar@gnat.com>
164
165 * a-reatim.ads: Minor reformatting
166
167 2001-10-30 Robert Dewar <dewar@gnat.com>
168
169 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
170 undocumented declarations.
171
172 2001-10-30 Pascal Obry <obry@gnat.com>
173
174 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
175 to the binder and linker.
176 Minor style fix.
177
178 * mdll.ads: Fix layout. Update copyright notice.
179
180 * mdll.adb: Fix layout. Update copyright notice.
181
182 2001-10-30 Robert Dewar <dewar@gnat.com>
183
184 * usage.adb: Minor fix to output for -gnaty.
185
186 2001-10-30 Ed Schonberg <schonber@gnat.com>
187
188 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
189 to accommodate all its possible values.
190
191 * a-reatim.adb (Split): Special-case handling of Time_Span_First
192 and of small absolute values of T.
193
194 2001-10-30 Richard Kenner <kenner@gnat.com>
195
196 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
197 set_mem_attributes since not needed and wrong if RESULT if a REG;
198 fixes ACATS failures.
199
200 2001-10-30 Geert Bosch <bosch@gnat.com>
201
202 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
203 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
204
205 2001-10-30 Robert Dewar <dewar@gnat.com>
206
207 * bindusg.adb: Undocument -f switch.
208
209 * gnatcmd.adb: Remove /FULL_ELABORATION.
210
211 * opt.ads (Force_RM_Elaboration_Order): Document that this is
212 obsolescent.
213
214 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
215
216 * gnatbind.adb: Minor update of warning msg.
217
218 2001-10-30 Vincent Celier <celier@gnat.com>
219
220 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
221 for project file switches (-P (/PROJECT_FILE=),
222 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
223 or MEDIUM or HIGH)
224
225 2001-10-30 Geert Bosch <bosch@gnat.com>
226
227 * decl.c: Minor whitespace fixes.
228
229 2001-10-30 Richard Kenner <kenner@gnat.com>
230
231 * utils2.c (build_allocator): Test for SIZE overflow in array case too
232
233 2001-10-30 Geert Bosch <bosch@gnat.com>
234
235 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
236 Found due to GCC 3.0 warning of using uninitialized value.
237
238 * layout.adb:
239 (Get_Max_Size): Use variant record for tracking value/expression.
240 Makes logic clearer and prevents warnings for uninitialized variables.
241 (Layout_Array_Type): Use variant record for tracking value/expression.
242 Makes logic clearer and prevents warnings for uninitialized variables.
243
244 2001-10-30 Robert Dewar <dewar@gnat.com>
245
246 * lib.adb: Minor reformatting
247
248 * s-taprop.ads: Minor reformatting
249
250 2001-10-29 Laurent Guerby <guerby@acm.org>
251
252 * init.c:
253 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
254 const.
255 (_gnat_error_handler): Make MSG const.
256
257 2001-10-29 Richard Kenner <kenner@gnat.com>
258
259 * sysdep.c: Fix localtime_r problem on LynxOS.
260 Also remove #elif to avoid warnings.
261
262 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
263 used by this.
264
265 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
266
267 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
268
269 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
270 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
271 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
272 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
273 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
274 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
275 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
276 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
277 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
278 types.ads, urealp.adb: Fix spelling errors.
279
280 2001-10-27 Laurent Guerby <guerby@acm.org>
281
282 * trans.c (gigi): Fix non determinism leading to bootstrap
283 comparison failures for debugging information.
284
285 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
286
287 * gnat_rm.texi: Use @./@: where appropriate.
288
289 2001-10-26 Robert Dewar <dewar@gnat.com>
290
291 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
292
293 2001-10-26 Richard Kenner <kenner@gnat.com>
294
295 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
296
297 2001-10-26 Richard Kenner <kenner@gnat.com>
298
299 * decl.c (validate_size): Modify message for bad size to avoid
300 implication that compiler is modifying the size.
301
302 2001-10-26 Robert Dewar <dewar@gnat.com>
303
304 * prj-util.adb: Minor reformatting. Fix bad header format.
305
306 2001-10-26 Robert Dewar <dewar@gnat.com>
307
308 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
309
310 * sinfo.ads: Clarify use of Associated_Node (documentation only).
311
312 * sem_ch12.adb: Change Node4 to Associated_Node. Change
313 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
314 much more narrowly in places where needed. These are cleanups.
315
316 2001-10-26 Joel Brobecker <brobecke@gnat.com>
317
318 * 5zosinte.ads (null_pthread): new constant.
319
320 * 5ztaprop.adb:
321 (Initialize_TCB): Initialize thread ID to null, to be able to verify
322 later that this field has been set.
323 (Finalize_TCB): ditto.
324 (Suspend_Task): Verify that the thread ID is not null before using it.
325 (Resume_Task): ditto.
326
327 * s-tasdeb.adb:
328 (Resume_All_Tasks): Lock the tasks list before using it.
329 (Suspend_All_Tasks): ditto.
330
331 2001-10-26 Richard Kenner <kenner@gnat.com>
332
333 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
334 Make constant variant of designated type for Is_Access_Constant.
335 Call update_pointer_to with main variant.
336
337 * trans.c (process_freeze_entity, process_type):
338 Call update_pointer_to on main variant.
339
340 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
341 If main variant, update all other variants.
342
343 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
344 TREE_STATIC.
345
346 2001-10-26 Robert Dewar <dewar@gnat.com>
347
348 * prj-util.adb: Minor reformatting
349
350 2001-10-26 Robert Dewar <dewar@gnat.com>
351
352 * prj-util.adb: Minor reformatting
353
354 2001-10-26 Robert Dewar <dewar@gnat.com>
355
356 * prj-attr.adb: Minor reformatting throughout
357
358 2001-10-26 Robert Dewar <dewar@gnat.com>
359
360 * prj-attr.ads: Minor reformatting
361 Add ??? comment (this whole spec has almost no comments)
362
363 2001-10-26 Vincent Celier <celier@gnat.com>
364
365 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
366 ("//") that precede the drive letter on Interix.
367
368 2001-10-26 Geert Bosch <bosch@gnat.com>
369
370 * gnat_rm.texi: Add GNAT Reference Manual.
371
372 2001-10-25 Robert Dewar <dewar@gnat.com>
373
374 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
375 is Error. Similar change for other renaming cases.
376
377 2001-10-25 Robert Dewar <dewar@gnat.com>
378
379 * s-atacco.ads: Add pragma Inline_Always for functions.
380 Fix header format. Add copyright 2001
381
382 2001-10-25 Ed Schonberg <schonber@gnat.com>
383
384 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
385 return Error rather than Empty so that analysis can proceed.
386
387 2001-10-25 Ed Schonberg <schonber@gnat.com>
388
389 * sem_util.adb (Enter_Name): better handling of cascaded error
390 messages when a unit appears in its own context.
391
392 2001-10-25 Ed Schonberg <schonber@gnat.com>
393
394 * sem_util.adb (Defining_Entity): in case of error, attach created
395 entity to specification, so that semantic analysis can proceed.
396
397 2001-10-25 Robert Dewar <dewar@gnat.com>
398
399 * sem_util.adb
400 (Defining_Entity): Deal with Error.
401 (Process_End_Label): Deal with bad end label for.
402
403 2001-10-25 Ed Schonberg <schonber@gnat.com>
404
405 * sem_elab.adb (Check_A_Call): refine message when call is in an
406 instance but callee is not declared in the generic unit.
407
408 2001-10-25 Ed Schonberg <schonber@gnat.com>
409
410 * sem_elab.adb (Check_A_Call): check for renaming before finding the
411 enclosing unit, which may already be different from the calling unit.
412
413 2001-10-25 Geert Bosch <bosch@gnat.com>
414
415 * 4gintnam.ads: fix header format.
416
417 2001-10-25 Ed Schonberg <schonber@gnat.com>
418
419 * sem_res.adb (Resolve_Call): if the call is actually an indexing
420 operation on the result of a parameterless call, perform elaboration
421 check after the node has been properly rewritten.
422
423 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
424 inlined within the generic tree, the defining identifier is not a
425 compilation_unit.
426
427 2001-10-25 Ed Schonberg <schonber@gnat.com>
428
429 * sem_res.adb (Resolve): special-case resolution of Null in an
430 instance or an inlined body to avoid view conflicts.
431
432 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
433 compatibility by retrieving the access type of the generic copy.
434
435 2001-10-25 Robert Dewar <dewar@gnat.com>
436
437 * sem_ch3.adb:
438 (Analyze_Number_Declaration): Handle error expression.
439 (Signed_Integer_Type_Declaration): Handle error bound.
440 (Analyze_Subtype_Indication): Handle error range.
441
442 * sem_util.adb (Get_Index_Bounds): Check for Error.
443
444 2001-10-25 Robert Dewar <dewar@gnat.com>
445
446 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
447 in no run time mode.
448
449 2001-10-25 Pascal Obry <obry@gnat.com>
450
451 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
452 mode case for ALLOC case.
453
454 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
455 all platforms. Improvement of last change.
456
457 2001-10-25 Robert Dewar <dewar@gnat.com>
458
459 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
460
461 2001-10-25 Geert Bosch <bosch@gnat.com>
462
463 * osint.adb (Is_Relative): Remove duplicate.
464
465 2001-10-25 Pascal Obry <obry@gnat.com>
466
467 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
468 pathnames in UNIX and DOS style with drive letter.
469 (Is_Relative): new routine.
470
471 * osint.adb: Minor reformatting
472
473 * osint.adb (Is_Relative): implementation using
474 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
475
476 2001-10-25 Pascal Obry <obry@gnat.com>
477
478 * g-dirope.adb (Basename): correctly compute offset between the
479 original Path and the translated one.
480
481 * g-dirope.adb: (Base_Name): add some comments.
482
483 2001-10-25 Robert Dewar <dewar@gnat.com>
484
485 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
486 in HIE mode, avoids compilation abandoned message
487
488 * exp_imgv.adb: Correct typo in previous change
489
490 * exp_imgv.adb: Correct typo in previous change (not my day!)
491
492 2001-10-25 Robert Dewar <dewar@gnat.com>
493
494 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
495
496 2001-10-25 Pascal Obry <obry@gnat.com>
497
498 * g-awk.ads: Move all pragma inlines next to the routine
499 declarations. This is more uniform with other GNAT spec.
500
501 2001-10-22 Geert Bosch <bosch@gnat.com>
502
503 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
504
505 2001-10-19 Geert Bosch <bosch@gnat.com>
506
507 * Makefile.in (tools, gnattools): Remove gnatmem.
508
509 2001-10-17 Richard Henderson <rth@redhat.com>
510
511 * Makefile.in (misc.o): Depend on langhooks.h.
512 * misc.c: Include it.
513 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
514 (LANG_HOOKS_DECODE_OPTION): New.
515 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
516
517 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
518
519 * trans.c (tree_transform): Adjust to recent change in
520 expand_asm_operands to implement named asm operands.
521
522 2001-10-11 Ed Schonberg <schonber@gnat.com>
523
524 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
525 renaming of discriminant for mutable record type.
526
527 2001-10-11 Robert Dewar <dewar@gnat.com>
528
529 * validsw.adb: Properly save -gnatVn status.
530
531 2001-10-11 Robert Dewar <dewar@gnat.com>
532
533 * usage.adb: Add lines for V switch.
534
535 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
536 (/VALIDITY_CHECKING).
537
538 2001-10-11 Ed Schonberg <schonber@gnat.com>
539
540 * sem_type.adb (Add_One_Interp): an operator for a type declared in
541 an extension of System is known to be visible.
542
543 2001-10-11 Ed Schonberg <schonber@gnat.com>
544
545 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
546 properly. Fixes regression on ACATS C34005G.
547
548 2001-10-11 Robert Dewar <dewar@gnat.com>
549
550 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
551 loop in generic instance, since this is likely not very useful.
552
553 2001-10-11 Robert Dewar <dewar@gnat.com>
554
555 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
556 the error message for high integrity mode.
557
558 * rtsfind.adb (RTE): Give message if we try to find an entity that
559 is not available in high integrity mode.
560
561 * rtsfind.ads:
562 (OK_To_Use_In_HIE_Mode): New array.
563 (RTE): May return Empty in high integrity mode.
564
565 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
566 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
567
568 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
569 unit if not inlined always and in no runtime mode. Fixes problem
570 caused by new Rtsfind changes.
571
572 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
573 body is deleted.
574
575 * rtsfind.adb (RTE): Make sure we do not try to load unit after
576 giving message for entity not available in high integrity mode.
577
578 2001-10-11 Pascal Obry <obry@gnat.com>
579
580 * impunit.adb: Add GNAT.CRC32.
581
582 2001-10-11 Ed Schonberg <schonber@gnat.com>
583
584 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
585 properly the case where one universal operand in a non-static
586 exponentiation of a real literal.
587
588 2001-10-11 Ed Schonberg <schonber@gnat.com>
589
590 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
591 clause, return the gobal finalization list, for lack of anthing else.
592
593 2001-10-11 Ed Schonberg <schonber@gnat.com>
594
595 * exp_ch7.adb (Make_Transient_Block): if statement is within
596 exception handler, always use new transient scope to place Clean
597 procedure.
598
599 2001-10-11 Pascal Obry <obry@gnat.com>
600
601 * Makefile.in:
602 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
603 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
604 (GNATLS_RTL_OBJS): add g-crc32.o
605 (GNATMAKE_RTL_OBJS): add g-crc32.o
606
607 * ali-util.adb:
608 (CRC_Match): new function.
609 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
610 instead of the previous simple checksum algorithm.
611 (Time_Stamp_Mismatch): use CRC_Match for comparison.
612 (Set_Source_Table): idem.
613
614 * ali-util.ads:
615 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
616 instead of simple checksum.
617 (CRC_Match): new function.
618 (CRC_Error): new constant.
619
620 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
621 a CRC now and not a simple checksum. A CRC uses lower-case hex
622 letters, fixes ambiguity in parsing.
623
624 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
625 is what this variable will store.
626
627 * bcheck.adb: Change reference to chechsum in comments by CRC.
628 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
629 rename All_Checksum_Match to All_CRC_Match. Change due to API
630 renaming since now GNAT does not use a simple checksum but a
631 CRC using GNAT.CRC32.
632
633 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
634 now and not anymore a simple checksum.
635
636 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
637 places.
638
639 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
640
641 * scans.adb:
642 (Restore_Scan_State): rename Checksum to CRC.
643 (Save_Scan_State): idem.
644
645 * scans.ads:
646 With GNAT.CRC32.
647 (Checksum): rename to CRC.
648 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
649
650 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
651 GNAT.CRC32). Update copyright notice.
652
653 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
654 GNAT.CRC32). Update copyright notice.
655
656 * scn.adb:
657 (Accumulate_Checksum): removed.
658 (Update): new procedure. Add a wide-character into the CRC.
659
660 * sinput-l.adb:
661 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
662 (Load_File): fix initialization of S (change Source_Checksum to
663 Source_CRC)
664
665 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
666 Source_CRC in S initialization.
667
668 * sinput.adb (Source_Checksum): renamed to Source_CRC.
669
670 * sinput.ads (Source_Checksum): renamed to Source_CRC.
671 Update comments for the CRC.
672
673 * types.adb (Hex): Use lowercase for the letter part.
674
675 * types.ads (Get_Hex_String): Returns the hexadecimal representation
676 for a word. This is currently used only for CRC. In previous version,
677 the checksum was using a representation with all letter being
678 upper-case. With the new implementation (using CRC) we do not remove
679 the 32th bit of the CRC, so we can have an upper-case starting letter
680 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
681 It is ambigous since the CRC was optional and could be followed by
682 options like EB, EE. So now this routines uses lower-case letter for
683 the hexadecimal representation. Strange enough only lower case letters
684 where checked in Scan_ALI (even if this was not a possible case).
685
686 * gnatvsn.ads (Library_Version): changed to 3.15a.
687
688 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
689 for the compiler.
690
691 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
692 for the compiler.
693
694 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
695 Add 2001 to copyright notice
696 (Accumulate_Checksum): Modify to use System.CRC32.
697
698 * ali-util.ads: Redo changes of previous revision to continue to use
699 the word Checksum. Add 2001 to copyright notice.
700
701 * ali.adb: Undo some of previous changes, not needed.
702 Keep the change for lower case letters in the checksum.
703
704 * ali.ads: Undo previous change not needed.
705
706 * bcheck.adb: Undo most of previous change, not needed.
707 But do use Checksums_Match for checksum comparison.
708
709 * gnatls.adb: Undo most of previous change, not needed.
710 But do use Checksums_Match for comparing checksums.
711
712 * lib-load.adb: Undo previous change, not needed.
713
714 * lib-writ.adb: Undo previous change, not needed.
715
716 * lib-writ.ads: Document that checksums use lower case,
717 not upper case letters.
718
719 * scans.adb: Undo previous change, not needed
720
721 * scans.ads: Undo previous change, not needed.
722
723 * scn-nlit.adb: Undo previous changes, not needed.
724
725 * scn-slit.adb: Undo previous change, not needed. Fix header format.
726
727 * scn.adb:
728 (Accumulate_Checksum): Use System.CRC32.
729 (Initialize_Checksum): New procedure.
730 Remove other changes of previous revision.
731
732 * sinput-p.adb: Undo previous change, not needed.
733
734 * sinput.adb: Undo previous change, not needed.
735
736 * sinput-l.adb: Undo previous change, not needed.
737
738 * sinput.ads: Undo previous change, not needed. Keep only comment
739 on new checksum algorithm
740
741 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
742 Also remove a-tags and a-stream from GNAT sources.
743
744 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
745
746 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
747
748 2001-10-11 Geert Bosch <bosch@gnat.com>
749
750 * einfo.h: Regenerate.
751
752 * nmake.ads: Regenerate.
753
754 * nmake.adb: Regenerate.
755
756 * sinfo.h: Regenerate.
757
758 * treeprs.adb: Regenerate.
759
760 2001-10-10 Geert Bosch <bosch@gnat.com>
761
762 * gnat-style.texi: New file describing coding guidelines for Ada.
763
764 2001-10-10 Ed Schonberg <schonber@gnat.com>
765
766 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
767 is Flag174.
768
769 2001-10-10 Geert Bosch <bosch@gnat.com>
770
771 * snames.ads: Add new names for project facility.
772
773 * snames.adb: Update to reflect snames.ads changes.
774
775 * snames.h: Update to reflect snames.ads changes.
776
777 2001-10-10 Vincent Celier <celier@gnat.com>
778
779 * make.adb:
780 (Add_Switches): reflect the changes for the switches attributes
781 Default_Switches indexed by the programming language,
782 Switches indexed by the file name.
783 (Collect_Arguments_And_Compile): Idem.
784 Reflect the attribute name changes.
785
786 * prj-attr.adb:
787 (Initialisation_Data): Change the names of some packages and
788 attributes.
789 (Initialize): process case insensitive associative arrays.
790
791 * prj-attr.ads:
792 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
793
794 * prj-dect.adb:
795 (Parse_Attribute_Declaration): For case insensitive associative
796 arrays, set the index string to lower case.
797
798 * prj-env.adb:
799 Reflect the changes of the project attributes.
800
801 * prj-nmsc.adb:
802 Replace Check_Naming_Scheme by Ada_Check and
803 Language_Independent_Check.
804
805 * prj-nmsc.ads:
806 Replaced Check_Naming_Scheme by 2 procedures:
807 Ada_Check and Language_Independent_Check.
808
809 * prj-proc.adb:
810 (Process_Declarative_Items): For case-insensitive associative
811 arrays, set the index string to lower case.
812 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
813 Prj.Nmsc.Check_Naming_Scheme.
814
815 * prj-tree.adb:
816 (Case_Insensitive): New function
817 (Set_Case_Insensitive): New procedure
818
819 * prj-tree.ads:
820 (Case_Insensitive): New function
821 (Set_Case_Insensitive): New procedure
822 (Project_Node_Record): New flag Case_Insensitive.
823
824 * prj-util.adb:
825 (Value_Of): new function to get the string value of a single
826 string variable or attribute.
827
828 * prj-util.ads:
829 (Value_Of): new function to get the string value of a single
830 string variable or attribute.
831
832 * prj.adb:
833 (Ada_Default_Spec_Suffix): New function
834 (Ada_Default_Impl_Suffix): New function
835 Change definitions of several constants to reflect
836 new components of record types.
837
838 * prj.ads:
839 (Naming_Data): Change several components to reflect new
840 elements of naming schemes.
841 (Project_Data): New flags Sources_Present and
842 Language_Independent_Checked.
843 (Ada_Default_Spec_Suffix): New function.
844 (Ada_Default_Impl_Suffix): New function.
845
846 * snames.ads:
847 Modification of predefined names for project manager: added
848 Implementation, Specification_Exceptions, Implementation_Exceptions,
849 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
850 Default_Switches, _Languages, Builder, Cross_Reference,
851 Finder. Removed Body_Part, Specification_Append, Body_Append,
852 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
853 Gnatlink.
854
855 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
856 Add comments.
857
858 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
859 not that it is Nil_Variable_Value.
860
861 * prj.ads: Add ??? for uncommented declarations
862
863 2001-10-10 Ed Schonberg <schonber@gnat.com>
864
865 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
866 constant, do not indicate possible modification, so that gigi can
867 treat it as a bona fide constant.
868
869 2001-10-10 Robert Dewar <dewar@gnat.com>
870
871 * sem_prag.adb: Add processing for pragma External.
872
873 * snames.ads: Add entry for pragma External.
874
875 * par-prag.adb: Add pragma External.
876
877 * snames.adb: Updated to match snames.ads.
878
879 2001-10-10 Ed Schonberg <schonber@gnat.com>
880
881 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
882 a dynamic task if the allocator appears in an indexed assignment
883 or selected component assignment.
884
885 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
886 For a dynamic task in an assignment statement, use target of
887 assignment to generate meaningful name.
888
889 2001-10-10 Ed Schonberg <schonber@gnat.com>
890
891 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
892 a generic package.
893
894 * einfo.ads: Body_Entity is also defined for generic package.
895 Documentation change only
896
897 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
898 others_choice for a discriminated component initialization,
899 convert discriminant references into the corresponding discriminals.
900
901 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
902 only if original type is private and expression has to be wrapped
903 in a conversion.
904
905 * checks.adb:
906 (Apply_Constraint_Check): Do not perform length check
907 if expression is an aggregate with only an others_choice.
908 (Length_N_Cond): two references to the same in_parameter
909 (typically the discriminal in an init_proc) denote the same value.
910 Two useful optimization uncovered by bugfixes above.
911
912 2001-10-10 Robert Dewar <dewar@gnat.com>
913
914 * xeinfo.adb: Change int to char in translation of enumeration types.
915 This fixes a problem in the C representation of component alignment.
916 Add 2001 to copyright notice
917
918 2001-10-10 Richard Kenner <kenner@gnat.com>
919
920 * decl.c: (validate_size): Do check size of object of integral type
921 if it is a packed array type.
922
923 2001-10-10 Richard Kenner <kenner@gnat.com>
924
925 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
926 VAR_DECL for constant if not Is_Public but -O0.
927
928 2001-10-10 Richard Kenner <kenner@gnat.com>
929
930 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
931
932 2001-10-10 Geert Bosch <bosch@gnat.com>
933
934 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
935 use '/' as switch character, allowing for absolute file names.
936
937 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
938
939 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
940 FSF address.
941
942 2001-10-08 Geert Bosch <bosch@gnat.com>
943
944 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
945 Automatically build utilities when files need to be regenerated.
946
947 2001-10-08 Geert Bosch <bosch@gnat.com>
948
949 * xsnames.adb: New utility for updating snames.ads and snames.adb
950
951 2001-10-08 Zack Weinberg <zack@codesourcery.com>
952
953 * Make-lang.in (ADAFLAGS): Add -W -Wall.
954 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
955 (gnat1): Also depend on attribs.o.
956 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
957 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
958 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
959 (ADAFLAGS): Add -W -Wall.
960 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
961 take out CFLAGS.
962
963 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
964 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
965 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
966 Use $(ADAC), not $(CC), as compilation command.
967
968 (gnattools): Depend directly on tools to build, don't use
969 recursive make.
970 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
971
972 * einfo.h, sinfo.h: New files (autogenerated).
973
974 2001-10-08 Richard Henderson <rth@redhat.com>
975
976 * comperr.adb (Abort_In_Progress): New.
977 (Compiler_Abort): Use it to prevent recursion.
978
979 2001-10-08 Robert Dewar <dewar@gnat.com>
980
981 * atree.adb: Set Error_Posted in Error node, helps error recovery.
982
983 * par-endh.adb (Output_End_Expected): We should also not test
984 Error_Posted on the Error node, since now it is always set.
985
986 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
987 to help error recovery. Part of general work on 9407-004.
988
989 * par.adb: Add ??? for misuse of error
990
991 * sem_res.adb:
992 (Resolve): Defend against Error, fixes 9407-003.
993 (Resolve_Discrete_Subtype_Indication): Defend against Error.
994
995 * sinfo.ads (N_Error): Now has Etype field (which will be set
996 to Any_Type to help error recovery).
997
998 2001-10-08 Richard Kenner (kenner@gnat.com)
999
1000 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
1001 Consistently set MEM attributes from expression; fixes
1002 bootstrap failure on x86.
1003
1004 2001-10-08 Geert Bosch (bosch@gnat.com)
1005
1006 * 5oosinte.adb: Add 2001 to copyright notice.
1007
1008 2001-10-08 Geert Bosch (bosch@gnat.com)
1009
1010 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
1011
1012 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
1013
1014 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1015
1016 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
1017
1018 2001-10-05 Geert Bosch (bosch@gnat.com)
1019
1020 * adaint.h: Small formatting fix.
1021
1022 2001-10-04 Geert Bosch <bosch@gnat.com>
1023
1024 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
1025 Arg is int, not FILE *, in dummy version of functions.
1026
1027 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
1028 Arg is int, not FILE *.
1029
1030 2001-10-04 Geert Bosch <bosch@gnat.com>
1031
1032 * 3lsoccon.ads: Added file, missed with initial check ins.
1033
1034 * 4lintnam.ads: Fix header format.
1035 Change Linux to GNU/Linux.
1036
1037 * 5iosinte.adb: Change Linux to GNU/Linux.
1038
1039 * 5iosinte.ads: Change Linux to GNU/Linux.
1040
1041 * 5itaprop.adb: Change Linux to GNU/Linux.
1042
1043 * 5itaspri.ads: Change Linux to GNU/Linux.
1044 Update copyright notice.
1045
1046 * 5lintman.adb: Change Linux to GNU/Linux.
1047
1048 * 5lml-tgt.adb: Change Linux to GNU/Linux.
1049
1050 * 5losinte.ads: Change Linux to GNU/Linux.
1051
1052 * 5lsystem.ads: Change Linux to GNU/Linux.
1053
1054 * 5qosinte.adb: Change Linux to GNU/Linux.
1055
1056 * 5qosinte.ads: Change Linux to GNU/Linux.
1057
1058 * 5qparame.ads: Change Linux to GNU/Linux.
1059
1060 * 5qtaprop.adb: Change Linux to GNU/Linux.
1061
1062 * 5qtaspri.ads: Change Linux to GNU/Linux.
1063 Add 2001 to copyright notice.
1064
1065 * 5vintman.ads: Change Linux to GNU/Linux.
1066 Fix header format. Add 2001 to copyright notice.
1067
1068 * g-soccon.ads: Change Linux to GNU/Linux.
1069
1070 * g-trasym.ads: Change Linux to GNU/Linux.
1071 Add 2001 to copyright notice.
1072
1073 * memtrack.adb: Change Linux to GNU/Linux.
1074
1075 * s-intman.ads: Change Linux to GNU/Linux.
1076 Add 2001 to copyright notice. Fix header format.
1077
1078 * s-stache.adb: Change Linux to GNU/Linux.
1079
1080 * adaint.c: Change Linux to GNU/Linux.
1081
1082 * cio.c: Change Linux to GNU/Linux.
1083
1084 * cstreams.c: Change Linux to GNU/Linux.
1085
1086 * init.c: Change Linux to GNU/Linux.
1087
1088 * gmem.c: Change Linux to GNU/Linux.
1089
1090 * tracebak.c: Change Linux to GNU/Linux.
1091
1092
1093 2001-10-02 Geert Bosch <bosch@gnat.com>
1094
1095 * misc.c (insert_default_attributes): Add dummy version.
This page took 0.091534 seconds and 5 git commands to generate.