1 2001-11-29 Richard Henderson <rth@redhat.com>
3 * init.c: Remove obsolete dwarf2 frame.h section.
5 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
7 * Make-lang.in (ada.generated-manpages): New dummy target.
9 2001-11-29 Ed Schonberg <schonber@gnat.com>
11 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
12 into Command, an array conversion is illegal here. Uncovered by
15 2001/11/28 Geert Bosch <bosch@gnat.com>
17 * init.c: Minor whitespace changes.
19 2001-11-28 Doug Rupp <rupp@gnat.com>
21 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
24 2001-11-28 Zack Weinberg <zack@codesourcery.com>
26 * misc.c (gnat_expand_constant): Move declaration above
27 definition of lang_hooks.
28 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
29 (gnat_init): lang_expand_constant no longer exists.
31 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
33 (gnat_init): Always call set_internal_error_function.
35 2001-11-27 Andreas Jaeger <aj@suse.de>
37 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
39 2001-11-27 Laurent Guerby <guerby@acm.org>
41 * Makefile.in: Regenerate Ada dependencies.
43 2001-11-26 Richard Henderson <rth@redhat.com>
45 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
46 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
47 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
49 2001-11-25 Laurent Guerby <guerby@acm.org>
51 * sysdep.c (rts_get_*): Fix style.
53 2001-11-19 Laurent Guerby <guerby@acm.org>
55 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
56 since it is of no apparent use and cause warnings.
58 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
60 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
62 (gnat_init): Don't return NULL.
63 (finish_parse): Remove.
65 2001-11-17 Laurent Guerby <guerby@acm.org>
67 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
68 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
69 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
70 * lang-spec.h: Add missing struct field to silence warnings.
71 * sysdep.c (rts_get_*): Provide K&R prototype.
72 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
73 * traceback.c (Unlock_Task, Lock_Task): Likewise.
74 * tracebak.c (__gnat_backtrace): Remove unused variable.
75 * utils.c (end_subprog_body): Move to K&R style.
77 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
79 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
81 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
83 * misc.c (gnat_init): Change prototype. Include the
84 functionality of the old init_parse and init_decl_processing.
85 (gnat_init_decl_processing): New prototype.
87 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
89 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
91 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
92 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
93 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
96 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
98 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
99 (struct lang_hooks): Constify.
100 (language_string, lang_identify): Remove.
101 * utils.c (init_decl_processing): Update.
103 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
105 * misc.c: Include langhooks-def.h.
106 * Makefile.in: Update.
108 2001-10-30 Robert Dewar <dewar@gnat.com>
111 (Check_Identifier): Rewrite circuit to be compatible with use of letters
112 in the upper half of ASCII.
113 (Check_Identifier): Minor reformatting
115 2001-10-30 Geert Bosch <bosch@gnat.com>
117 * (Associated_Node, Set_Associated_Node): Do not check for
120 2001-10-30 Robert Dewar <dewar@gnat.com>
122 * a-reatim.ads: Minor reformatting
124 2001-10-30 Robert Dewar <dewar@gnat.com>
126 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
127 undocumented declarations.
129 2001-10-30 Pascal Obry <obry@gnat.com>
131 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
132 to the binder and linker.
135 * mdll.ads: Fix layout. Update copyright notice.
137 * mdll.adb: Fix layout. Update copyright notice.
139 2001-10-30 Robert Dewar <dewar@gnat.com>
141 * usage.adb: Minor fix to output for -gnaty.
143 2001-10-30 Ed Schonberg <schonber@gnat.com>
145 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
146 to accommodate all its possible values.
148 * a-reatim.adb (Split): Special-case handling of Time_Span_First
149 and of small absolute values of T.
151 2001-10-30 Richard Kenner <kenner@gnat.com>
153 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
154 set_mem_attributes since not needed and wrong if RESULT if a REG;
155 fixes ACATS failures.
157 2001-10-30 Geert Bosch <bosch@gnat.com>
159 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
160 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
162 2001-10-30 Robert Dewar <dewar@gnat.com>
164 * bindusg.adb: Undocument -f switch.
166 * gnatcmd.adb: Remove /FULL_ELABORATION.
168 * opt.ads (Force_RM_Elaboration_Order): Document that this is
171 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
173 * gnatbind.adb: Minor update of warning msg.
175 2001-10-30 Vincent Celier <celier@gnat.com>
177 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
178 for project file switches (-P (/PROJECT_FILE=),
179 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
182 2001-10-30 Geert Bosch <bosch@gnat.com>
184 * decl.c: Minor whitespace fixes.
186 2001-10-30 Richard Kenner <kenner@gnat.com>
188 * utils2.c (build_allocator): Test for SIZE overflow in array case too
190 2001-10-30 Geert Bosch <bosch@gnat.com>
192 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
193 Found due to GCC 3.0 warning of using uninitialized value.
196 (Get_Max_Size): Use variant record for tracking value/expression.
197 Makes logic clearer and prevents warnings for uninitialized variables.
198 (Layout_Array_Type): Use variant record for tracking value/expression.
199 Makes logic clearer and prevents warnings for uninitialized variables.
201 2001-10-30 Robert Dewar <dewar@gnat.com>
203 * lib.adb: Minor reformatting
205 * s-taprop.ads: Minor reformatting
207 2001-10-29 Laurent Guerby <guerby@acm.org>
210 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
212 (_gnat_error_handler): Make MSG const.
214 2001-10-29 Richard Kenner <kenner@gnat.com>
216 * sysdep.c: Fix localtime_r problem on LynxOS.
217 Also remove #elif to avoid warnings.
219 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
222 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
224 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
226 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
227 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
228 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
229 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
230 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
231 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
232 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
233 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
234 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
235 types.ads, urealp.adb: Fix spelling errors.
237 2001-10-27 Laurent Guerby <guerby@acm.org>
239 * trans.c (gigi): Fix non determinism leading to bootstrap
240 comparison failures for debugging information.
242 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
244 * gnat_rm.texi: Use @./@: where appropriate.
246 2001-10-26 Robert Dewar <dewar@gnat.com>
248 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
250 2001-10-26 Richard Kenner <kenner@gnat.com>
252 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
254 2001-10-26 Richard Kenner <kenner@gnat.com>
256 * decl.c (validate_size): Modify message for bad size to avoid
257 implication that compiler is modifying the size.
259 2001-10-26 Robert Dewar <dewar@gnat.com>
261 * prj-util.adb: Minor reformatting. Fix bad header format.
263 2001-10-26 Robert Dewar <dewar@gnat.com>
265 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
267 * sinfo.ads: Clarify use of Associated_Node (documentation only).
269 * sem_ch12.adb: Change Node4 to Associated_Node. Change
270 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
271 much more narrowly in places where needed. These are cleanups.
273 2001-10-26 Joel Brobecker <brobecke@gnat.com>
275 * 5zosinte.ads (null_pthread): new constant.
278 (Initialize_TCB): Initialize thread ID to null, to be able to verify
279 later that this field has been set.
280 (Finalize_TCB): ditto.
281 (Suspend_Task): Verify that the thread ID is not null before using it.
282 (Resume_Task): ditto.
285 (Resume_All_Tasks): Lock the tasks list before using it.
286 (Suspend_All_Tasks): ditto.
288 2001-10-26 Richard Kenner <kenner@gnat.com>
290 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
291 Make constant variant of designated type for Is_Access_Constant.
292 Call update_pointer_to with main variant.
294 * trans.c (process_freeze_entity, process_type):
295 Call update_pointer_to on main variant.
297 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
298 If main variant, update all other variants.
300 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
303 2001-10-26 Robert Dewar <dewar@gnat.com>
305 * prj-util.adb: Minor reformatting
307 2001-10-26 Robert Dewar <dewar@gnat.com>
309 * prj-util.adb: Minor reformatting
311 2001-10-26 Robert Dewar <dewar@gnat.com>
313 * prj-attr.adb: Minor reformatting throughout
315 2001-10-26 Robert Dewar <dewar@gnat.com>
317 * prj-attr.ads: Minor reformatting
318 Add ??? comment (this whole spec has almost no comments)
320 2001-10-26 Vincent Celier <celier@gnat.com>
322 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
323 ("//") that precede the drive letter on Interix.
325 2001-10-26 Geert Bosch <bosch@gnat.com>
327 * gnat_rm.texi: Add GNAT Reference Manual.
329 2001-10-25 Robert Dewar <dewar@gnat.com>
331 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
332 is Error. Similar change for other renaming cases.
334 2001-10-25 Robert Dewar <dewar@gnat.com>
336 * s-atacco.ads: Add pragma Inline_Always for functions.
337 Fix header format. Add copyright 2001
339 2001-10-25 Ed Schonberg <schonber@gnat.com>
341 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
342 return Error rather than Empty so that analysis can proceed.
344 2001-10-25 Ed Schonberg <schonber@gnat.com>
346 * sem_util.adb (Enter_Name): better handling of cascaded error
347 messages when a unit appears in its own context.
349 2001-10-25 Ed Schonberg <schonber@gnat.com>
351 * sem_util.adb (Defining_Entity): in case of error, attach created
352 entity to specification, so that semantic analysis can proceed.
354 2001-10-25 Robert Dewar <dewar@gnat.com>
357 (Defining_Entity): Deal with Error.
358 (Process_End_Label): Deal with bad end label for.
360 2001-10-25 Ed Schonberg <schonber@gnat.com>
362 * sem_elab.adb (Check_A_Call): refine message when call is in an
363 instance but callee is not declared in the generic unit.
365 2001-10-25 Ed Schonberg <schonber@gnat.com>
367 * sem_elab.adb (Check_A_Call): check for renaming before finding the
368 enclosing unit, which may already be different from the calling unit.
370 2001-10-25 Geert Bosch <bosch@gnat.com>
372 * 4gintnam.ads: fix header format.
374 2001-10-25 Ed Schonberg <schonber@gnat.com>
376 * sem_res.adb (Resolve_Call): if the call is actually an indexing
377 operation on the result of a parameterless call, perform elaboration
378 check after the node has been properly rewritten.
380 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
381 inlined within the generic tree, the defining identifier is not a
384 2001-10-25 Ed Schonberg <schonber@gnat.com>
386 * sem_res.adb (Resolve): special-case resolution of Null in an
387 instance or an inlined body to avoid view conflicts.
389 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
390 compatibility by retrieving the access type of the generic copy.
392 2001-10-25 Robert Dewar <dewar@gnat.com>
395 (Analyze_Number_Declaration): Handle error expression.
396 (Signed_Integer_Type_Declaration): Handle error bound.
397 (Analyze_Subtype_Indication): Handle error range.
399 * sem_util.adb (Get_Index_Bounds): Check for Error.
401 2001-10-25 Robert Dewar <dewar@gnat.com>
403 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
406 2001-10-25 Pascal Obry <obry@gnat.com>
408 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
409 mode case for ALLOC case.
411 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
412 all platforms. Improvement of last change.
414 2001-10-25 Robert Dewar <dewar@gnat.com>
416 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
418 2001-10-25 Geert Bosch <bosch@gnat.com>
420 * osint.adb (Is_Relative): Remove duplicate.
422 2001-10-25 Pascal Obry <obry@gnat.com>
424 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
425 pathnames in UNIX and DOS style with drive letter.
426 (Is_Relative): new routine.
428 * osint.adb: Minor reformatting
430 * osint.adb (Is_Relative): implementation using
431 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
433 2001-10-25 Pascal Obry <obry@gnat.com>
435 * g-dirope.adb (Basename): correctly compute offset between the
436 original Path and the translated one.
438 * g-dirope.adb: (Base_Name): add some comments.
440 2001-10-25 Robert Dewar <dewar@gnat.com>
442 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
443 in HIE mode, avoids compilation abandoned message
445 * exp_imgv.adb: Correct typo in previous change
447 * exp_imgv.adb: Correct typo in previous change (not my day!)
449 2001-10-25 Robert Dewar <dewar@gnat.com>
451 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
453 2001-10-25 Pascal Obry <obry@gnat.com>
455 * g-awk.ads: Move all pragma inlines next to the routine
456 declarations. This is more uniform with other GNAT spec.
458 2001-10-22 Geert Bosch <bosch@gnat.com>
460 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
462 2001-10-19 Geert Bosch <bosch@gnat.com>
464 * Makefile.in (tools, gnattools): Remove gnatmem.
466 2001-10-17 Richard Henderson <rth@redhat.com>
468 * Makefile.in (misc.o): Depend on langhooks.h.
469 * misc.c: Include it.
470 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
471 (LANG_HOOKS_DECODE_OPTION): New.
472 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
474 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
476 * trans.c (tree_transform): Adjust to recent change in
477 expand_asm_operands to implement named asm operands.
479 2001-10-11 Ed Schonberg <schonber@gnat.com>
481 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
482 renaming of discriminant for mutable record type.
484 2001-10-11 Robert Dewar <dewar@gnat.com>
486 * validsw.adb: Properly save -gnatVn status.
488 2001-10-11 Robert Dewar <dewar@gnat.com>
490 * usage.adb: Add lines for V switch.
492 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
493 (/VALIDITY_CHECKING).
495 2001-10-11 Ed Schonberg <schonber@gnat.com>
497 * sem_type.adb (Add_One_Interp): an operator for a type declared in
498 an extension of System is known to be visible.
500 2001-10-11 Ed Schonberg <schonber@gnat.com>
502 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
503 properly. Fixes regression on ACATS C34005G.
505 2001-10-11 Robert Dewar <dewar@gnat.com>
507 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
508 loop in generic instance, since this is likely not very useful.
510 2001-10-11 Robert Dewar <dewar@gnat.com>
512 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
513 the error message for high integrity mode.
515 * rtsfind.adb (RTE): Give message if we try to find an entity that
516 is not available in high integrity mode.
519 (OK_To_Use_In_HIE_Mode): New array.
520 (RTE): May return Empty in high integrity mode.
522 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
523 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
525 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
526 unit if not inlined always and in no runtime mode. Fixes problem
527 caused by new Rtsfind changes.
529 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
532 * rtsfind.adb (RTE): Make sure we do not try to load unit after
533 giving message for entity not available in high integrity mode.
535 2001-10-11 Pascal Obry <obry@gnat.com>
537 * impunit.adb: Add GNAT.CRC32.
539 2001-10-11 Ed Schonberg <schonber@gnat.com>
541 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
542 properly the case where one universal operand in a non-static
543 exponentiation of a real literal.
545 2001-10-11 Ed Schonberg <schonber@gnat.com>
547 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
548 clause, return the gobal finalization list, for lack of anthing else.
550 2001-10-11 Ed Schonberg <schonber@gnat.com>
552 * exp_ch7.adb (Make_Transient_Block): if statement is within
553 exception handler, always use new transient scope to place Clean
556 2001-10-11 Pascal Obry <obry@gnat.com>
559 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
560 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
561 (GNATLS_RTL_OBJS): add g-crc32.o
562 (GNATMAKE_RTL_OBJS): add g-crc32.o
565 (CRC_Match): new function.
566 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
567 instead of the previous simple checksum algorithm.
568 (Time_Stamp_Mismatch): use CRC_Match for comparison.
569 (Set_Source_Table): idem.
572 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
573 instead of simple checksum.
574 (CRC_Match): new function.
575 (CRC_Error): new constant.
577 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
578 a CRC now and not a simple checksum. A CRC uses lower-case hex
579 letters, fixes ambiguity in parsing.
581 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
582 is what this variable will store.
584 * bcheck.adb: Change reference to chechsum in comments by CRC.
585 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
586 rename All_Checksum_Match to All_CRC_Match. Change due to API
587 renaming since now GNAT does not use a simple checksum but a
588 CRC using GNAT.CRC32.
590 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
591 now and not anymore a simple checksum.
593 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
596 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
599 (Restore_Scan_State): rename Checksum to CRC.
600 (Save_Scan_State): idem.
604 (Checksum): rename to CRC.
605 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
607 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
608 GNAT.CRC32). Update copyright notice.
610 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
611 GNAT.CRC32). Update copyright notice.
614 (Accumulate_Checksum): removed.
615 (Update): new procedure. Add a wide-character into the CRC.
618 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
619 (Load_File): fix initialization of S (change Source_Checksum to
622 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
623 Source_CRC in S initialization.
625 * sinput.adb (Source_Checksum): renamed to Source_CRC.
627 * sinput.ads (Source_Checksum): renamed to Source_CRC.
628 Update comments for the CRC.
630 * types.adb (Hex): Use lowercase for the letter part.
632 * types.ads (Get_Hex_String): Returns the hexadecimal representation
633 for a word. This is currently used only for CRC. In previous version,
634 the checksum was using a representation with all letter being
635 upper-case. With the new implementation (using CRC) we do not remove
636 the 32th bit of the CRC, so we can have an upper-case starting letter
637 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
638 It is ambigous since the CRC was optional and could be followed by
639 options like EB, EE. So now this routines uses lower-case letter for
640 the hexadecimal representation. Strange enough only lower case letters
641 where checked in Scan_ALI (even if this was not a possible case).
643 * gnatvsn.ads (Library_Version): changed to 3.15a.
645 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
648 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
651 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
652 Add 2001 to copyright notice
653 (Accumulate_Checksum): Modify to use System.CRC32.
655 * ali-util.ads: Redo changes of previous revision to continue to use
656 the word Checksum. Add 2001 to copyright notice.
658 * ali.adb: Undo some of previous changes, not needed.
659 Keep the change for lower case letters in the checksum.
661 * ali.ads: Undo previous change not needed.
663 * bcheck.adb: Undo most of previous change, not needed.
664 But do use Checksums_Match for checksum comparison.
666 * gnatls.adb: Undo most of previous change, not needed.
667 But do use Checksums_Match for comparing checksums.
669 * lib-load.adb: Undo previous change, not needed.
671 * lib-writ.adb: Undo previous change, not needed.
673 * lib-writ.ads: Document that checksums use lower case,
674 not upper case letters.
676 * scans.adb: Undo previous change, not needed
678 * scans.ads: Undo previous change, not needed.
680 * scn-nlit.adb: Undo previous changes, not needed.
682 * scn-slit.adb: Undo previous change, not needed. Fix header format.
685 (Accumulate_Checksum): Use System.CRC32.
686 (Initialize_Checksum): New procedure.
687 Remove other changes of previous revision.
689 * sinput-p.adb: Undo previous change, not needed.
691 * sinput.adb: Undo previous change, not needed.
693 * sinput-l.adb: Undo previous change, not needed.
695 * sinput.ads: Undo previous change, not needed. Keep only comment
696 on new checksum algorithm
698 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
699 Also remove a-tags and a-stream from GNAT sources.
701 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
703 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
705 2001-10-11 Geert Bosch <bosch@gnat.com>
707 * einfo.h: Regenerate.
709 * nmake.ads: Regenerate.
711 * nmake.adb: Regenerate.
713 * sinfo.h: Regenerate.
715 * treeprs.adb: Regenerate.
717 2001-10-10 Geert Bosch <bosch@gnat.com>
719 * gnat-style.texi: New file describing coding guidelines for Ada.
721 2001-10-10 Ed Schonberg <schonber@gnat.com>
723 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
726 2001-10-10 Geert Bosch <bosch@gnat.com>
728 * snames.ads: Add new names for project facility.
730 * snames.adb: Update to reflect snames.ads changes.
732 * snames.h: Update to reflect snames.ads changes.
734 2001-10-10 Vincent Celier <celier@gnat.com>
737 (Add_Switches): reflect the changes for the switches attributes
738 Default_Switches indexed by the programming language,
739 Switches indexed by the file name.
740 (Collect_Arguments_And_Compile): Idem.
741 Reflect the attribute name changes.
744 (Initialisation_Data): Change the names of some packages and
746 (Initialize): process case insensitive associative arrays.
749 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
752 (Parse_Attribute_Declaration): For case insensitive associative
753 arrays, set the index string to lower case.
756 Reflect the changes of the project attributes.
759 Replace Check_Naming_Scheme by Ada_Check and
760 Language_Independent_Check.
763 Replaced Check_Naming_Scheme by 2 procedures:
764 Ada_Check and Language_Independent_Check.
767 (Process_Declarative_Items): For case-insensitive associative
768 arrays, set the index string to lower case.
769 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
770 Prj.Nmsc.Check_Naming_Scheme.
773 (Case_Insensitive): New function
774 (Set_Case_Insensitive): New procedure
777 (Case_Insensitive): New function
778 (Set_Case_Insensitive): New procedure
779 (Project_Node_Record): New flag Case_Insensitive.
782 (Value_Of): new function to get the string value of a single
783 string variable or attribute.
786 (Value_Of): new function to get the string value of a single
787 string variable or attribute.
790 (Ada_Default_Spec_Suffix): New function
791 (Ada_Default_Impl_Suffix): New function
792 Change definitions of several constants to reflect
793 new components of record types.
796 (Naming_Data): Change several components to reflect new
797 elements of naming schemes.
798 (Project_Data): New flags Sources_Present and
799 Language_Independent_Checked.
800 (Ada_Default_Spec_Suffix): New function.
801 (Ada_Default_Impl_Suffix): New function.
804 Modification of predefined names for project manager: added
805 Implementation, Specification_Exceptions, Implementation_Exceptions,
806 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
807 Default_Switches, _Languages, Builder, Cross_Reference,
808 Finder. Removed Body_Part, Specification_Append, Body_Append,
809 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
812 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
815 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
816 not that it is Nil_Variable_Value.
818 * prj.ads: Add ??? for uncommented declarations
820 2001-10-10 Ed Schonberg <schonber@gnat.com>
822 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
823 constant, do not indicate possible modification, so that gigi can
824 treat it as a bona fide constant.
826 2001-10-10 Robert Dewar <dewar@gnat.com>
828 * sem_prag.adb: Add processing for pragma External.
830 * snames.ads: Add entry for pragma External.
832 * par-prag.adb: Add pragma External.
834 * snames.adb: Updated to match snames.ads.
836 2001-10-10 Ed Schonberg <schonber@gnat.com>
838 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
839 a dynamic task if the allocator appears in an indexed assignment
840 or selected component assignment.
842 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
843 For a dynamic task in an assignment statement, use target of
844 assignment to generate meaningful name.
846 2001-10-10 Ed Schonberg <schonber@gnat.com>
848 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
851 * einfo.ads: Body_Entity is also defined for generic package.
852 Documentation change only
854 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
855 others_choice for a discriminated component initialization,
856 convert discriminant references into the corresponding discriminals.
858 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
859 only if original type is private and expression has to be wrapped
863 (Apply_Constraint_Check): Do not perform length check
864 if expression is an aggregate with only an others_choice.
865 (Length_N_Cond): two references to the same in_parameter
866 (typically the discriminal in an init_proc) denote the same value.
867 Two useful optimization uncovered by bugfixes above.
869 2001-10-10 Robert Dewar <dewar@gnat.com>
871 * xeinfo.adb: Change int to char in translation of enumeration types.
872 This fixes a problem in the C representation of component alignment.
873 Add 2001 to copyright notice
875 2001-10-10 Richard Kenner <kenner@gnat.com>
877 * decl.c: (validate_size): Do check size of object of integral type
878 if it is a packed array type.
880 2001-10-10 Richard Kenner <kenner@gnat.com>
882 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
883 VAR_DECL for constant if not Is_Public but -O0.
885 2001-10-10 Richard Kenner <kenner@gnat.com>
887 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
889 2001-10-10 Geert Bosch <bosch@gnat.com>
891 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
892 use '/' as switch character, allowing for absolute file names.
894 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
896 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
899 2001-10-08 Geert Bosch <bosch@gnat.com>
901 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
902 Automatically build utilities when files need to be regenerated.
904 2001-10-08 Geert Bosch <bosch@gnat.com>
906 * xsnames.adb: New utility for updating snames.ads and snames.adb
908 2001-10-08 Zack Weinberg <zack@codesourcery.com>
910 * Make-lang.in (ADAFLAGS): Add -W -Wall.
911 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
912 (gnat1): Also depend on attribs.o.
913 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
914 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
915 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
916 (ADAFLAGS): Add -W -Wall.
917 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
920 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
921 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
922 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
923 Use $(ADAC), not $(CC), as compilation command.
925 (gnattools): Depend directly on tools to build, don't use
927 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
929 * einfo.h, sinfo.h: New files (autogenerated).
931 2001-10-08 Richard Henderson <rth@redhat.com>
933 * comperr.adb (Abort_In_Progress): New.
934 (Compiler_Abort): Use it to prevent recursion.
936 2001-10-08 Robert Dewar <dewar@gnat.com>
938 * atree.adb: Set Error_Posted in Error node, helps error recovery.
940 * par-endh.adb (Output_End_Expected): We should also not test
941 Error_Posted on the Error node, since now it is always set.
943 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
944 to help error recovery. Part of general work on 9407-004.
946 * par.adb: Add ??? for misuse of error
949 (Resolve): Defend against Error, fixes 9407-003.
950 (Resolve_Discrete_Subtype_Indication): Defend against Error.
952 * sinfo.ads (N_Error): Now has Etype field (which will be set
953 to Any_Type to help error recovery).
955 2001-10-08 Richard Kenner (kenner@gnat.com)
957 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
958 Consistently set MEM attributes from expression; fixes
959 bootstrap failure on x86.
961 2001-10-08 Geert Bosch (bosch@gnat.com)
963 * 5oosinte.adb: Add 2001 to copyright notice.
965 2001-10-08 Geert Bosch (bosch@gnat.com)
967 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
969 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
971 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
973 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
975 2001-10-05 Geert Bosch (bosch@gnat.com)
977 * adaint.h: Small formatting fix.
979 2001-10-04 Geert Bosch <bosch@gnat.com>
981 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
982 Arg is int, not FILE *, in dummy version of functions.
984 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
985 Arg is int, not FILE *.
987 2001-10-04 Geert Bosch <bosch@gnat.com>
989 * 3lsoccon.ads: Added file, missed with initial check ins.
991 * 4lintnam.ads: Fix header format.
992 Change Linux to GNU/Linux.
994 * 5iosinte.adb: Change Linux to GNU/Linux.
996 * 5iosinte.ads: Change Linux to GNU/Linux.
998 * 5itaprop.adb: Change Linux to GNU/Linux.
1000 * 5itaspri.ads: Change Linux to GNU/Linux.
1001 Update copyright notice.
1003 * 5lintman.adb: Change Linux to GNU/Linux.
1005 * 5lml-tgt.adb: Change Linux to GNU/Linux.
1007 * 5losinte.ads: Change Linux to GNU/Linux.
1009 * 5lsystem.ads: Change Linux to GNU/Linux.
1011 * 5qosinte.adb: Change Linux to GNU/Linux.
1013 * 5qosinte.ads: Change Linux to GNU/Linux.
1015 * 5qparame.ads: Change Linux to GNU/Linux.
1017 * 5qtaprop.adb: Change Linux to GNU/Linux.
1019 * 5qtaspri.ads: Change Linux to GNU/Linux.
1020 Add 2001 to copyright notice.
1022 * 5vintman.ads: Change Linux to GNU/Linux.
1023 Fix header format. Add 2001 to copyright notice.
1025 * g-soccon.ads: Change Linux to GNU/Linux.
1027 * g-trasym.ads: Change Linux to GNU/Linux.
1028 Add 2001 to copyright notice.
1030 * memtrack.adb: Change Linux to GNU/Linux.
1032 * s-intman.ads: Change Linux to GNU/Linux.
1033 Add 2001 to copyright notice. Fix header format.
1035 * s-stache.adb: Change Linux to GNU/Linux.
1037 * adaint.c: Change Linux to GNU/Linux.
1039 * cio.c: Change Linux to GNU/Linux.
1041 * cstreams.c: Change Linux to GNU/Linux.
1043 * init.c: Change Linux to GNU/Linux.
1045 * gmem.c: Change Linux to GNU/Linux.
1047 * tracebak.c: Change Linux to GNU/Linux.
1050 2001-10-02 Geert Bosch <bosch@gnat.com>
1052 * misc.c (insert_default_attributes): Add dummy version.