1 2001-10-30 Robert Dewar <dewar@gnat.com>
3 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
4 undocumented declarations.
6 2001-10-30 Pascal Obry <obry@gnat.com>
8 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
9 to the binder and linker.
12 * mdll.ads: Fix layout. Update copyright notice.
14 * mdll.adb: Fix layout. Update copyright notice.
16 2001-10-30 Robert Dewar <dewar@gnat.com>
18 * usage.adb: Minor fix to output for -gnaty.
20 2001-10-30 Ed Schonberg <schonber@gnat.com>
22 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
23 to accommodate all its possible values.
25 * a-reatim.adb (Split): Special-case handling of Time_Span_First
26 and of small absolute values of T.
28 2001-10-30 Richard Kenner <kenner@gnat.com>
30 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
31 set_mem_attributes since not needed and wrong if RESULT if a REG;
34 2001-10-30 Geert Bosch <bosch@gnat.com>
36 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
37 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
39 2001-10-30 Robert Dewar <dewar@gnat.com>
41 * bindusg.adb: Undocument -f switch.
43 * gnatcmd.adb: Remove /FULL_ELABORATION.
45 * opt.ads (Force_RM_Elaboration_Order): Document that this is
48 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
50 * gnatbind.adb: Minor update of warning msg.
52 2001-10-30 Vincent Celier <celier@gnat.com>
54 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
55 for project file switches (-P (/PROJECT_FILE=),
56 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
59 2001-10-30 Geert Bosch <bosch@gnat.com>
61 * decl.c: Minor whitespace fixes.
63 2001-10-30 Richard Kenner <kenner@gnat.com>
65 * utils2.c (build_allocator): Test for SIZE overflow in array case too
67 2001-10-30 Geert Bosch <bosch@gnat.com>
69 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
70 Found due to GCC 3.0 warning of using uninitialized value.
73 (Get_Max_Size): Use variant record for tracking value/expression.
74 Makes logic clearer and prevents warnings for uninitialized variables.
75 (Layout_Array_Type): Use variant record for tracking value/expression.
76 Makes logic clearer and prevents warnings for uninitialized variables.
78 2001-10-30 Robert Dewar <dewar@gnat.com>
80 * lib.adb: Minor reformatting
82 * s-taprop.ads: Minor reformatting
84 2001-10-29 Laurent Guerby <guerby@acm.org>
87 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
89 (_gnat_error_handler): Make MSG const.
91 2001-10-29 Richard Kenner <kenner@gnat.com>
93 * sysdep.c: Fix localtime_r problem on LynxOS.
94 Also remove #elif to avoid warnings.
96 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
99 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
101 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
103 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
104 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
105 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
106 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
107 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
108 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
109 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
110 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
111 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
112 types.ads, urealp.adb: Fix spelling errors.
114 2001-10-27 Laurent Guerby <guerby@acm.org>
116 * trans.c (gigi): Fix non determinism leading to bootstrap
117 comparison failures for debugging information.
119 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
121 * gnat_rm.texi: Use @./@: where appropriate.
123 2001-10-26 Robert Dewar <dewar@gnat.com>
125 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
127 2001-10-26 Richard Kenner <kenner@gnat.com>
129 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
131 2001-10-26 Richard Kenner <kenner@gnat.com>
133 * decl.c (validate_size): Modify message for bad size to avoid
134 implication that compiler is modifying the size.
136 2001-10-26 Robert Dewar <dewar@gnat.com>
138 * prj-util.adb: Minor reformatting. Fix bad header format.
140 2001-10-26 Robert Dewar <dewar@gnat.com>
142 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
144 * sinfo.ads: Clarify use of Associated_Node (documentation only).
146 * sem_ch12.adb: Change Node4 to Associated_Node. Change
147 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
148 much more narrowly in places where needed. These are cleanups.
150 2001-10-26 Joel Brobecker <brobecke@gnat.com>
152 * 5zosinte.ads (null_pthread): new constant.
155 (Initialize_TCB): Initialize thread ID to null, to be able to verify
156 later that this field has been set.
157 (Finalize_TCB): ditto.
158 (Suspend_Task): Verify that the thread ID is not null before using it.
159 (Resume_Task): ditto.
162 (Resume_All_Tasks): Lock the tasks list before using it.
163 (Suspend_All_Tasks): ditto.
165 2001-10-26 Richard Kenner <kenner@gnat.com>
167 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
168 Make constant variant of designated type for Is_Access_Constant.
169 Call update_pointer_to with main variant.
171 * trans.c (process_freeze_entity, process_type):
172 Call update_pointer_to on main variant.
174 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
175 If main variant, update all other variants.
177 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
180 2001-10-26 Robert Dewar <dewar@gnat.com>
182 * prj-util.adb: Minor reformatting
184 2001-10-26 Robert Dewar <dewar@gnat.com>
186 * prj-util.adb: Minor reformatting
188 2001-10-26 Robert Dewar <dewar@gnat.com>
190 * prj-attr.adb: Minor reformatting throughout
192 2001-10-26 Robert Dewar <dewar@gnat.com>
194 * prj-attr.ads: Minor reformatting
195 Add ??? comment (this whole spec has almost no comments)
197 2001-10-26 Vincent Celier <celier@gnat.com>
199 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
200 ("//") that precede the drive letter on Interix.
202 2001-10-26 Geert Bosch <bosch@gnat.com>
204 * gnat_rm.texi: Add GNAT Reference Manual.
206 2001-10-25 Robert Dewar <dewar@gnat.com>
208 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
209 is Error. Similar change for other renaming cases.
211 2001-10-25 Robert Dewar <dewar@gnat.com>
213 * s-atacco.ads: Add pragma Inline_Always for functions.
214 Fix header format. Add copyright 2001
216 2001-10-25 Ed Schonberg <schonber@gnat.com>
218 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
219 return Error rather than Empty so that analysis can proceed.
221 2001-10-25 Ed Schonberg <schonber@gnat.com>
223 * sem_util.adb (Enter_Name): better handling of cascaded error
224 messages when a unit appears in its own context.
226 2001-10-25 Ed Schonberg <schonber@gnat.com>
228 * sem_util.adb (Defining_Entity): in case of error, attach created
229 entity to specification, so that semantic analysis can proceed.
231 2001-10-25 Robert Dewar <dewar@gnat.com>
234 (Defining_Entity): Deal with Error.
235 (Process_End_Label): Deal with bad end label for.
237 2001-10-25 Ed Schonberg <schonber@gnat.com>
239 * sem_elab.adb (Check_A_Call): refine message when call is in an
240 instance but callee is not declared in the generic unit.
242 2001-10-25 Ed Schonberg <schonber@gnat.com>
244 * sem_elab.adb (Check_A_Call): check for renaming before finding the
245 enclosing unit, which may already be different from the calling unit.
247 2001-10-25 Geert Bosch <bosch@gnat.com>
249 * 4gintnam.ads: fix header format.
251 2001-10-25 Ed Schonberg <schonber@gnat.com>
253 * sem_res.adb (Resolve_Call): if the call is actually an indexing
254 operation on the result of a parameterless call, perform elaboration
255 check after the node has been properly rewritten.
257 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
258 inlined within the generic tree, the defining identifier is not a
261 2001-10-25 Ed Schonberg <schonber@gnat.com>
263 * sem_res.adb (Resolve): special-case resolution of Null in an
264 instance or an inlined body to avoid view conflicts.
266 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
267 compatibility by retrieving the access type of the generic copy.
269 2001-10-25 Robert Dewar <dewar@gnat.com>
272 (Analyze_Number_Declaration): Handle error expression.
273 (Signed_Integer_Type_Declaration): Handle error bound.
274 (Analyze_Subtype_Indication): Handle error range.
276 * sem_util.adb (Get_Index_Bounds): Check for Error.
278 2001-10-25 Robert Dewar <dewar@gnat.com>
280 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
283 2001-10-25 Pascal Obry <obry@gnat.com>
285 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
286 mode case for ALLOC case.
288 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
289 all platforms. Improvement of last change.
291 2001-10-25 Robert Dewar <dewar@gnat.com>
293 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
295 2001-10-25 Geert Bosch <bosch@gnat.com>
297 * osint.adb (Is_Relative): Remove duplicate.
299 2001-10-25 Pascal Obry <obry@gnat.com>
301 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
302 pathnames in UNIX and DOS style with drive letter.
303 (Is_Relative): new routine.
305 * osint.adb: Minor reformatting
307 * osint.adb (Is_Relative): implementation using
308 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
310 2001-10-25 Pascal Obry <obry@gnat.com>
312 * g-dirope.adb (Basename): correctly compute offset between the
313 original Path and the translated one.
315 * g-dirope.adb: (Base_Name): add some comments.
317 2001-10-25 Robert Dewar <dewar@gnat.com>
319 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
320 in HIE mode, avoids compilation abandoned message
322 * exp_imgv.adb: Correct typo in previous change
324 * exp_imgv.adb: Correct typo in previous change (not my day!)
326 2001-10-25 Robert Dewar <dewar@gnat.com>
328 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
330 2001-10-25 Pascal Obry <obry@gnat.com>
332 * g-awk.ads: Move all pragma inlines next to the routine
333 declarations. This is more uniform with other GNAT spec.
335 2001-10-22 Geert Bosch <bosch@gnat.com>
337 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
339 2001-10-19 Geert Bosch <bosch@gnat.com>
341 * Makefile.in (tools, gnattools): Remove gnatmem.
343 2001-10-17 Richard Henderson <rth@redhat.com>
345 * Makefile.in (misc.o): Depend on langhooks.h.
346 * misc.c: Include it.
347 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
348 (LANG_HOOKS_DECODE_OPTION): New.
349 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
351 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
353 * trans.c (tree_transform): Adjust to recent change in
354 expand_asm_operands to implement named asm operands.
356 2001-10-11 Ed Schonberg <schonber@gnat.com>
358 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
359 renaming of discriminant for mutable record type.
361 2001-10-11 Robert Dewar <dewar@gnat.com>
363 * validsw.adb: Properly save -gnatVn status.
365 2001-10-11 Robert Dewar <dewar@gnat.com>
367 * usage.adb: Add lines for V switch.
369 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
370 (/VALIDITY_CHECKING).
372 2001-10-11 Ed Schonberg <schonber@gnat.com>
374 * sem_type.adb (Add_One_Interp): an operator for a type declared in
375 an extension of System is known to be visible.
377 2001-10-11 Ed Schonberg <schonber@gnat.com>
379 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
380 properly. Fixes regression on ACATS C34005G.
382 2001-10-11 Robert Dewar <dewar@gnat.com>
384 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
385 loop in generic instance, since this is likely not very useful.
387 2001-10-11 Robert Dewar <dewar@gnat.com>
389 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
390 the error message for high integrity mode.
392 * rtsfind.adb (RTE): Give message if we try to find an entity that
393 is not available in high integrity mode.
396 (OK_To_Use_In_HIE_Mode): New array.
397 (RTE): May return Empty in high integrity mode.
399 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
400 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
402 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
403 unit if not inlined always and in no runtime mode. Fixes problem
404 caused by new Rtsfind changes.
406 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
409 * rtsfind.adb (RTE): Make sure we do not try to load unit after
410 giving message for entity not available in high integrity mode.
412 2001-10-11 Pascal Obry <obry@gnat.com>
414 * impunit.adb: Add GNAT.CRC32.
416 2001-10-11 Ed Schonberg <schonber@gnat.com>
418 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
419 properly the case where one universal operand in a non-static
420 exponentiation of a real literal.
422 2001-10-11 Ed Schonberg <schonber@gnat.com>
424 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
425 clause, return the gobal finalization list, for lack of anthing else.
427 2001-10-11 Ed Schonberg <schonber@gnat.com>
429 * exp_ch7.adb (Make_Transient_Block): if statement is within
430 exception handler, always use new transient scope to place Clean
433 2001-10-11 Pascal Obry <obry@gnat.com>
436 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
437 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
438 (GNATLS_RTL_OBJS): add g-crc32.o
439 (GNATMAKE_RTL_OBJS): add g-crc32.o
442 (CRC_Match): new function.
443 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
444 instead of the previous simple checksum algorithm.
445 (Time_Stamp_Mismatch): use CRC_Match for comparison.
446 (Set_Source_Table): idem.
449 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
450 instead of simple checksum.
451 (CRC_Match): new function.
452 (CRC_Error): new constant.
454 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
455 a CRC now and not a simple checksum. A CRC uses lower-case hex
456 letters, fixes ambiguity in parsing.
458 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
459 is what this variable will store.
461 * bcheck.adb: Change reference to chechsum in comments by CRC.
462 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
463 rename All_Checksum_Match to All_CRC_Match. Change due to API
464 renaming since now GNAT does not use a simple checksum but a
465 CRC using GNAT.CRC32.
467 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
468 now and not anymore a simple checksum.
470 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
473 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
476 (Restore_Scan_State): rename Checksum to CRC.
477 (Save_Scan_State): idem.
481 (Checksum): rename to CRC.
482 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
484 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
485 GNAT.CRC32). Update copyright notice.
487 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
488 GNAT.CRC32). Update copyright notice.
491 (Accumulate_Checksum): removed.
492 (Update): new procedure. Add a wide-character into the CRC.
495 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
496 (Load_File): fix initialization of S (change Source_Checksum to
499 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
500 Source_CRC in S initialization.
502 * sinput.adb (Source_Checksum): renamed to Source_CRC.
504 * sinput.ads (Source_Checksum): renamed to Source_CRC.
505 Update comments for the CRC.
507 * types.adb (Hex): Use lowercase for the letter part.
509 * types.ads (Get_Hex_String): Returns the hexadecimal representation
510 for a word. This is currently used only for CRC. In previous version,
511 the checksum was using a representation with all letter being
512 upper-case. With the new implementation (using CRC) we do not remove
513 the 32th bit of the CRC, so we can have an upper-case starting letter
514 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
515 It is ambigous since the CRC was optional and could be followed by
516 options like EB, EE. So now this routines uses lower-case letter for
517 the hexadecimal representation. Strange enough only lower case letters
518 where checked in Scan_ALI (even if this was not a possible case).
520 * gnatvsn.ads (Library_Version): changed to 3.15a.
522 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
525 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
528 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
529 Add 2001 to copyright notice
530 (Accumulate_Checksum): Modify to use System.CRC32.
532 * ali-util.ads: Redo changes of previous revision to continue to use
533 the word Checksum. Add 2001 to copyright notice.
535 * ali.adb: Undo some of previous changes, not needed.
536 Keep the change for lower case letters in the checksum.
538 * ali.ads: Undo previous change not needed.
540 * bcheck.adb: Undo most of previous change, not needed.
541 But do use Checksums_Match for checksum comparison.
543 * gnatls.adb: Undo most of previous change, not needed.
544 But do use Checksums_Match for comparing checksums.
546 * lib-load.adb: Undo previous change, not needed.
548 * lib-writ.adb: Undo previous change, not needed.
550 * lib-writ.ads: Document that checksums use lower case,
551 not upper case letters.
553 * scans.adb: Undo previous change, not needed
555 * scans.ads: Undo previous change, not needed.
557 * scn-nlit.adb: Undo previous changes, not needed.
559 * scn-slit.adb: Undo previous change, not needed. Fix header format.
562 (Accumulate_Checksum): Use System.CRC32.
563 (Initialize_Checksum): New procedure.
564 Remove other changes of previous revision.
566 * sinput-p.adb: Undo previous change, not needed.
568 * sinput.adb: Undo previous change, not needed.
570 * sinput-l.adb: Undo previous change, not needed.
572 * sinput.ads: Undo previous change, not needed. Keep only comment
573 on new checksum algorithm
575 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
576 Also remove a-tags and a-stream from GNAT sources.
578 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
580 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
582 2001-10-11 Geert Bosch <bosch@gnat.com>
584 * einfo.h: Regenerate.
586 * nmake.ads: Regenerate.
588 * nmake.adb: Regenerate.
590 * sinfo.h: Regenerate.
592 * treeprs.adb: Regenerate.
594 2001-10-10 Geert Bosch <bosch@gnat.com>
596 * gnat-style.texi: New file describing coding guidelines for Ada.
598 2001-10-10 Ed Schonberg <schonber@gnat.com>
600 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
603 2001-10-10 Geert Bosch <bosch@gnat.com>
605 * snames.ads: Add new names for project facility.
607 * snames.adb: Update to reflect snames.ads changes.
609 * snames.h: Update to reflect snames.ads changes.
611 2001-10-10 Vincent Celier <celier@gnat.com>
614 (Add_Switches): reflect the changes for the switches attributes
615 Default_Switches indexed by the programming language,
616 Switches indexed by the file name.
617 (Collect_Arguments_And_Compile): Idem.
618 Reflect the attribute name changes.
621 (Initialisation_Data): Change the names of some packages and
623 (Initialize): process case insensitive associative arrays.
626 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
629 (Parse_Attribute_Declaration): For case insensitive associative
630 arrays, set the index string to lower case.
633 Reflect the changes of the project attributes.
636 Replace Check_Naming_Scheme by Ada_Check and
637 Language_Independent_Check.
640 Replaced Check_Naming_Scheme by 2 procedures:
641 Ada_Check and Language_Independent_Check.
644 (Process_Declarative_Items): For case-insensitive associative
645 arrays, set the index string to lower case.
646 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
647 Prj.Nmsc.Check_Naming_Scheme.
650 (Case_Insensitive): New function
651 (Set_Case_Insensitive): New procedure
654 (Case_Insensitive): New function
655 (Set_Case_Insensitive): New procedure
656 (Project_Node_Record): New flag Case_Insensitive.
659 (Value_Of): new function to get the string value of a single
660 string variable or attribute.
663 (Value_Of): new function to get the string value of a single
664 string variable or attribute.
667 (Ada_Default_Spec_Suffix): New function
668 (Ada_Default_Impl_Suffix): New function
669 Change definitions of several constants to reflect
670 new components of record types.
673 (Naming_Data): Change several components to reflect new
674 elements of naming schemes.
675 (Project_Data): New flags Sources_Present and
676 Language_Independent_Checked.
677 (Ada_Default_Spec_Suffix): New function.
678 (Ada_Default_Impl_Suffix): New function.
681 Modification of predefined names for project manager: added
682 Implementation, Specification_Exceptions, Implementation_Exceptions,
683 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
684 Default_Switches, _Languages, Builder, Cross_Reference,
685 Finder. Removed Body_Part, Specification_Append, Body_Append,
686 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
689 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
692 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
693 not that it is Nil_Variable_Value.
695 * prj.ads: Add ??? for uncommented declarations
697 2001-10-10 Ed Schonberg <schonber@gnat.com>
699 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
700 constant, do not indicate possible modification, so that gigi can
701 treat it as a bona fide constant.
703 2001-10-10 Robert Dewar <dewar@gnat.com>
705 * sem_prag.adb: Add processing for pragma External.
707 * snames.ads: Add entry for pragma External.
709 * par-prag.adb: Add pragma External.
711 * snames.adb: Updated to match snames.ads.
713 2001-10-10 Ed Schonberg <schonber@gnat.com>
715 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
716 a dynamic task if the allocator appears in an indexed assignment
717 or selected component assignment.
719 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
720 For a dynamic task in an assignment statement, use target of
721 assignment to generate meaningful name.
723 2001-10-10 Ed Schonberg <schonber@gnat.com>
725 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
728 * einfo.ads: Body_Entity is also defined for generic package.
729 Documentation change only
731 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
732 others_choice for a discriminated component initialization,
733 convert discriminant references into the corresponding discriminals.
735 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
736 only if original type is private and expression has to be wrapped
740 (Apply_Constraint_Check): Do not perform length check
741 if expression is an aggregate with only an others_choice.
742 (Length_N_Cond): two references to the same in_parameter
743 (typically the discriminal in an init_proc) denote the same value.
744 Two useful optimization uncovered by bugfixes above.
746 2001-10-10 Robert Dewar <dewar@gnat.com>
748 * xeinfo.adb: Change int to char in translation of enumeration types.
749 This fixes a problem in the C representation of component alignment.
750 Add 2001 to copyright notice
752 2001-10-10 Richard Kenner <kenner@gnat.com>
754 * decl.c: (validate_size): Do check size of object of integral type
755 if it is a packed array type.
757 2001-10-10 Richard Kenner <kenner@gnat.com>
759 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
760 VAR_DECL for constant if not Is_Public but -O0.
762 2001-10-10 Richard Kenner <kenner@gnat.com>
764 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
766 2001-10-10 Geert Bosch <bosch@gnat.com>
768 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
769 use '/' as switch character, allowing for absolute file names.
771 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
773 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
776 2001-10-08 Geert Bosch <bosch@gnat.com>
778 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
779 Automatically build utilities when files need to be regenerated.
781 2001-10-08 Geert Bosch <bosch@gnat.com>
783 * xsnames.adb: New utility for updating snames.ads and snames.adb
785 2001-10-08 Zack Weinberg <zack@codesourcery.com>
787 * Make-lang.in (ADAFLAGS): Add -W -Wall.
788 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
789 (gnat1): Also depend on attribs.o.
790 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
791 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
792 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
793 (ADAFLAGS): Add -W -Wall.
794 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
797 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
798 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
799 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
800 Use $(ADAC), not $(CC), as compilation command.
802 (gnattools): Depend directly on tools to build, don't use
804 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
806 * einfo.h, sinfo.h: New files (autogenerated).
808 2001-10-08 Richard Henderson <rth@redhat.com>
810 * comperr.adb (Abort_In_Progress): New.
811 (Compiler_Abort): Use it to prevent recursion.
813 2001-10-08 Robert Dewar <dewar@gnat.com>
815 * atree.adb: Set Error_Posted in Error node, helps error recovery.
817 * par-endh.adb (Output_End_Expected): We should also not test
818 Error_Posted on the Error node, since now it is always set.
820 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
821 to help error recovery. Part of general work on 9407-004.
823 * par.adb: Add ??? for misuse of error
826 (Resolve): Defend against Error, fixes 9407-003.
827 (Resolve_Discrete_Subtype_Indication): Defend against Error.
829 * sinfo.ads (N_Error): Now has Etype field (which will be set
830 to Any_Type to help error recovery).
832 2001-10-08 Richard Kenner (kenner@gnat.com)
834 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
835 Consistently set MEM attributes from expression; fixes
836 bootstrap failure on x86.
838 2001-10-08 Geert Bosch (bosch@gnat.com)
840 * 5oosinte.adb: Add 2001 to copyright notice.
842 2001-10-08 Geert Bosch (bosch@gnat.com)
844 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
846 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
848 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
850 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
852 2001-10-05 Geert Bosch (bosch@gnat.com)
854 * adaint.h: Small formatting fix.
856 2001-10-04 Geert Bosch <bosch@gnat.com>
858 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
859 Arg is int, not FILE *, in dummy version of functions.
861 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
862 Arg is int, not FILE *.
864 2001-10-04 Geert Bosch <bosch@gnat.com>
866 * 3lsoccon.ads: Added file, missed with initial check ins.
868 * 4lintnam.ads: Fix header format.
869 Change Linux to GNU/Linux.
871 * 5iosinte.adb: Change Linux to GNU/Linux.
873 * 5iosinte.ads: Change Linux to GNU/Linux.
875 * 5itaprop.adb: Change Linux to GNU/Linux.
877 * 5itaspri.ads: Change Linux to GNU/Linux.
878 Update copyright notice.
880 * 5lintman.adb: Change Linux to GNU/Linux.
882 * 5lml-tgt.adb: Change Linux to GNU/Linux.
884 * 5losinte.ads: Change Linux to GNU/Linux.
886 * 5lsystem.ads: Change Linux to GNU/Linux.
888 * 5qosinte.adb: Change Linux to GNU/Linux.
890 * 5qosinte.ads: Change Linux to GNU/Linux.
892 * 5qparame.ads: Change Linux to GNU/Linux.
894 * 5qtaprop.adb: Change Linux to GNU/Linux.
896 * 5qtaspri.ads: Change Linux to GNU/Linux.
897 Add 2001 to copyright notice.
899 * 5vintman.ads: Change Linux to GNU/Linux.
900 Fix header format. Add 2001 to copyright notice.
902 * g-soccon.ads: Change Linux to GNU/Linux.
904 * g-trasym.ads: Change Linux to GNU/Linux.
905 Add 2001 to copyright notice.
907 * memtrack.adb: Change Linux to GNU/Linux.
909 * s-intman.ads: Change Linux to GNU/Linux.
910 Add 2001 to copyright notice. Fix header format.
912 * s-stache.adb: Change Linux to GNU/Linux.
914 * adaint.c: Change Linux to GNU/Linux.
916 * cio.c: Change Linux to GNU/Linux.
918 * cstreams.c: Change Linux to GNU/Linux.
920 * init.c: Change Linux to GNU/Linux.
922 * gmem.c: Change Linux to GNU/Linux.
924 * tracebak.c: Change Linux to GNU/Linux.
927 2001-10-02 Geert Bosch <bosch@gnat.com>
929 * misc.c (insert_default_attributes): Add dummy version.