1 2004-06-25 Pascal Obry <obry@gnat.com>
3 * makegpr.adb (Build_Library): Remove parameter Lib_Address and
4 Relocatable from Build_Dynamic_Library call.
6 * gnat_ugn.texi: Change documentation about Library_Kind. Dynamic and
7 Relocatable are now synonym.
9 * Makefile.in: Use s-parame-mingw.adb on MingW platform.
11 * mlib-prj.adb (Build_Library): Remove DLL_Address constant definition.
12 Remove parameter Lib_Address and Relocatable from Build_Dynamic_Library
15 * mlib-tgt.ads, mlib-tgt.adb (Build_Dynamic_Library): Remove parameter
16 Lib_Address and Relocatable.
17 (Default_DLL_Address): Removed.
19 * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb,
20 mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb,
21 mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-vxworks.adb:
22 (Build_Dynamic_Library): Remove parameter Lib_Address and Relocatable.
23 (Default_DLL_Address): Removed.
25 * mlib-tgt-mingw.adb: Ditto.
26 (Build_Dynamic_Library): Do not add "lib" prefix to the DLL name.
28 * s-taprop-mingw.adb (Create_Task): Use Adjust_Storage_Size to compute
29 the initial thread stack size.
31 * a-strmap.ads: Move package L to private part as it is not used in
32 the spec. Found while reading code.
34 2004-06-25 Olivier Hainque <hainque@act-europe.fr>
36 * tracebak.c: Introduce support for a GCC infrastructure based
37 implementation of __gnat_backtrace.
39 * raise.c: Don't rely on a C mapping of the GNAT_GCC_Exception record
40 any more. Use accessors instead. This eases maintenance and relaxes
41 some alignment constraints.
42 (_GNAT_Exception structure): Remove the Ada specific fields
43 (EID_For, Adjust_N_Cleanups_For): New accessors, exported by
45 (is_handled_by, __gnat_eh_personality): Replace component references to
46 exception structure by use of the new accessors.
48 * init.c (__gnat_initialize): Adjust comments to match the just
49 reverted meaning of the -static link-time option.
51 * adaint.c (convert_addresses): Arrange not to define a stub for
52 mips-irix any more, as we now want to rely on a real version from a
55 * a-exexpr.adb: Provide new accessors to a GNAT_GCC occurrence, so that
56 the personality routine can use them and not have to rely on a C
57 counterpart of the record anymore. This simplifies maintenance and
58 relaxes the constraint of having Standard'Maximum_Alignment match
60 Update comments, and add a section on the common header alignment issue.
62 2004-06-25 Geert Bosch <bosch@gnat.com>
64 * a-ngelfu.adb (Tanh): Use full 20 digit precision for constants in
65 polynomial approximation. Fixes inconsistency with Cody/Waite algorithm.
67 2004-06-25 Robert Dewar <dewar@gnat.com>
69 * gnat_rm.texi: Fix section on component clauses to indicate that the
70 restriction on byte boundary placement still applies for bit packed
72 Add comment on stack usage from Initialize_Scalars
74 * gnat_ugn.texi: Add documentation for -gnatyLnnn
76 * stylesw.ads, stylesw.adb: Implement new -gnatyLnnn option for
77 limiting nesting level.
79 * usage.adb: Add line for -gnatyLnnn switch
81 * g-debpoo.ads, xtreeprs.adb, sinput.ads, sem_ch13.ads,
82 sem_ch13.adb, exp_aggr.adb: Minor reformatting
84 * sem_prag.adb (Process_Atomic_Shared_Volatile): Set Is_Atomic on base
85 type as well as on the subtype. This corrects a problem in freeze in
86 setting alignments of atomic types.
88 * sem_eval.ads: Minor comment typo fixed
90 * par-util.adb (Push_Scope_Stack): Check for violation of max nesting
91 level. Minor reformatting.
93 * fname.adb (Is_Predefined_File_Name): Require a letter after the
94 minus sign. This means that file names like a--b.adb will not be
95 considered predefined.
97 * freeze.adb: Propagate new flag Must_Be_On_Byte_Boundary to containing
98 record Test new flag and give diagnostic for bad component clause.
99 (Freeze_Entity): Set alignment of array from component alignment in
100 cases where this is safe to do.
102 * exp_pakd.adb: Set new flag Must_Be_On_Byte_Boundary for large packed
105 * cstand.adb: (Create_Standard): Set alignment of String to 1
107 * einfo.ads, einfo.adb: Introduce new flag Must_Be_On_Byte_Boundary
109 * exp_ch4.adb (Expand_Array_Equality): Improve efficiency of generated
110 code in the common constrained array cases.
112 * a-storio.adb: Change implementation to avoid possible alignment
113 problems on machines requiring strict alignment (data should be moved
114 as type Buffer, not type Elmt).
116 * checks.adb (Apply_Array_Size_Check): Improve these checks by
117 killing the overflow checks which we really do not need (64-bits is
120 2004-06-25 Vincent Celier <celier@gnat.com>
122 * makegpr.adb (Is_Included_In_Global_Archive): New Boolean function
123 (Add_Archives.Recursive_Add_Archives): Call Add_Archive_Path
124 inconditionally for the main project.
125 (Recursive_Add_Archives.Add_Archive_Path): New procedure
126 (Link_Executables.Check_Time_Stamps): New procedure
127 (Link_Executables.Link_Foreign): New procedure
128 Changes made to reduce nesting level of this package
129 (Check): New procedure
130 (Add_Switches): When not in quiet output, check that a switch is not
131 the concatenation of several valid switches. If it is, issue a warning.
132 (Build_Global_Archive): If the global archive is rebuilt, linking need
134 (Compile_Sources): Rebuilding a library archive does not imply
135 rebuilding the global archive.
136 (Build_Global_Archive): New procedure
137 (Build_Library): New name for Build_Archive, now only for library
139 (Check_Archive_Builder): New procedure
140 (Create_Global_Archive_Dependency_File): New procedure
141 (Gprmake): Call Build_Global_Archive before linking
142 * makegpr.adb: Use Other_Sources_Present instead of Sources_Present
144 (Scan_Arg): Display the Copyright notice when -v is used
146 * gnat_ugn.texi: Document new switch -files= (VMS qualifier /FILES=)
149 * vms_data.ads: Add qualifier /MAX_NESTING=nnn (-gnatyLnnn) for GNAT
151 Add new GNAT LIST qualifier /FILES=
152 Added qualifier /DIRECTORY= to GNAT METRIC
153 Added qualifier /FILES= to GNAT METRIC
154 Added qualifier /FILES to GNAT PRETTY
156 * switch.adb (Is_Front_End_Switch): Refine the test for --RTS or -fRTS,
157 to take into account both versions of the switch.
159 * switch-c.adb (Scan_Front_End_Switches): New switch -gnatez. Should
160 always be the last switch to the gcc driver. Disable switch storing so
161 that switches automatically added by the gcc driver are not put in the
164 * prj.adb (Project_Empty): Take into account changes in components of
167 * prj.ads (Languages_Processed): New enumaration value All_Languages.
169 * prj.ads (Project_Data): Remove component Lib_Elaboration: never
170 used. Split Boolean component Ada_Sources_Present in two Boolean
171 components Ada_Sources_Present and Other_Sources_Present.
174 * prj-env.adb (For_All_Source_Dirs.Add): Use Ada_Sources_Present
175 instead of Sources_Present.
176 (Set_Ada_Paths.Add.Recursive_Add): Ditto
178 * prj-nmsc.adb: Minor reformatting
179 (Check_Ada_Naming_Scheme): New name of procedure Check_Naming_Scheme
180 (Check_Ada_Naming_Scheme_Validity): New name of previous procedure
181 Check_Ada_Naming_Scheme.
182 Change Sources_Present to Ada_Sources_Present or Other_Sources_Present
185 * prj-part.adb (Post_Parse_Context_Clause): New Boolean parameter
187 Make sure that all cycles where there is at least one "limited with"
189 (Parse_Single_Project): New Boolean parameter In_Limited
191 * prj-proc.adb (Recursive_Check): When Process_Languages is
192 All_Languages, call first Prj.Nmsc.Ada_Check, then
193 Prj.Nmsc.Other_Languages_Check.
195 * prj-proc.adb (Process): Use Ada_Sources_Present or
196 Other_Sources_Present (instead of Sources_Present) depending on
199 * lang-specs.h: Keep -g and -m switches in the same order, and as the
202 * lib.adb (Switch_Storing_Enabled): New global Boolean flag
203 (Disable_Switch_Storing): New procedure. Set Switch_Storing_Enabled to
205 (Store_Compilation_Switch): Do nothing if Switch_Storing_Enabled is
208 * lib.ads (Disable_Switch_Storing): New procedure.
210 * make.adb: Modifications to reduce nesting level of this package.
211 (Check_Standard_Library): New procedure
212 (Gnatmake.Check_Mains): New procedure
213 (Gnatmake.Create_Binder_Mapping_File): New procedure
214 (Compile_Sources.Compile): Add switch -gnatez as the last option
215 (Display): Never display -gnatez
218 When using $(MAIN_OBJECT), always use $(OBJ_DIR)/$(MAIN_OBJECT)
220 * gnatcmd.adb (Check_Project): New function
221 (Process_Link): New procedure to reduce nesting depth
222 (Check_Files): New procedure to reduce the nesting depth.
223 For GNAT METRIC, include the inherited sources in extending projects.
224 (GNATCmd): When GNAT LS is invoked with a project file and no files,
225 add the list of files from the sources of the project file. If this list
226 is too long, put it in a temp text files and use switch -files=
227 (Delete_Temp_Config_Files): Delete the temp text file that contains
228 a list of source for gnatpp or gnatmetric, if one has been created.
229 (GNATCmd): For GNAT METRIC and GNAT PRETTY, if the number of sources
230 in the project file is too large, create a temporary text file that
231 list them and pass it to the tool with "-files=<temp text file>".
232 (GNATCmd): For GNAT METRIC add "-d=<abject dir>" as the first switch
234 * gnatlink.adb (Gnatlink): Do not compile with --RTS= when the
235 generated file is in not in Ada.
237 * gnatls.adb: Remove all parameters And_Save that are no longer used.
238 (Scan_Ls_Arg): Add processing for -files=
239 (Usage): Add line for -files=
241 * g-os_lib.adb (On_Windows): New global constant Boolean flag
242 (Normalize_Pathname): When on Windows and the path starts with a
243 directory separator, make sure that the resulting path will start with
246 * clean.adb (Clean_Archive): New procedure
247 (Clean_Project): When there is non-Ada code, delete the global archive,
248 the archive dependency files, the object files and their dependency
249 files, if they exist.
250 (Gnatclean): Call Prj.Pars.Parse for All_Languages, not for Ada only.
252 2004-06-25 Thomas Quinot <quinot@act-europe.fr>
254 * sinfo.ads: Fix typo in comment.
256 * sem_dist.adb (Process_Remote_AST_Attribute): Simplify code that uses
257 the TSS for remote access-to-subprogram types, since these TSS are
258 always present once the type has been analyzed.
259 (RAS_E_Dereference): Same.
261 * sem_attr.adb (Analyze_Attribute): When analysis of an attribute
262 reference raises Bad_Attribute, mark the reference as analyzed so the
263 node (and any children resulting from rewrites that could have occurred
264 during the analysis that ultimately failed) is not analyzed again.
266 * exp_ch7.ads (Find_Final_List): Fix misaligned comment.
268 * exp_dist.adb: Minor comment fix.
270 * exp_ch4.adb (Expand_N_Allocator): For an allocator whose expected
271 type is an anonymous access type, no unchecked deallocation of the
272 allocated object can occur. If the object is controlled, attach it with
273 a count of 1. This allows attachment to the Global_Final_List, if
274 no other relevant list is available.
275 (Get_Allocator_Final_List): For an anonymous access type that is
276 the type of a discriminant or record component, the corresponding
277 finalisation list is the one of the scope of the type.
279 2004-06-25 Ed Schonberg <schonberg@gnat.com>
281 * sem_ch3.adb (Replace_Type): When computing the signature of an
282 inherited subprogram, use the first subtype if the derived type
283 declaration has no constraint.
285 * exp_ch6.adb (Add_Call_By_Copy_Code): Check that formal is an array
286 before applying previous optimization. Minor code cleanup.
288 * exp_util.adb (Is_Possibly_Unaligned_Slice): If the component is
289 placed at the beginning of an unpacked record without explicit
290 alignment, a slice of it will be aligned and does not need a copy when
293 2004-06-25 Ed Schonberg <schonberg@gnat.com>
297 * sem_ch8.adb (Attribute_Renaming): Reject renaming if the attribute
298 reference is written with expressions mimicking parameters.
300 2004-06-25 Hristian Kirtchev <kirtchev@gnat.com>
303 * sem_ch3.adb (Build_Derived_Record_Type): Add additional check to
304 STEP 2a. The constraints of a full type declaration of a derived record
305 type are checked for conformance with those declared in the
306 corresponding private extension declaration. The message
307 "not conformant with previous declaration" is emitted if an error is
310 2004-06-25 Vasiliy Fofanov <fofanov@act-europe.fr>
312 * g-traceb.ads: Document the need for -E binder switch in the spec.
314 * g-trasym.ads: Document the need for -E binder switch in the spec.
316 2004-06-25 Jose Ruiz <ruiz@act-europe.fr>
318 * sem_prag.adb: Add handling of pragma Detect_Blocking.
320 * snames.h, snames.ads, snames.adb: Add entry for pragma
323 * s-rident.ads: Change reference to pragma Detect_Blocking.
325 * targparm.ads, targparm.adb: Allow pragma Detect_Blocking in
328 * opt.ads (Detect_Blocking): New Boolean variable (defaulted to False)
329 to indicate whether pragma Detect_Blocking is active.
331 * par-prag.adb: Add entry for pragma Detect_Blocking.
333 * rtsfind.adb (RTU_Loaded): Fix the temporary kludge to get past bug
334 of not handling WITH.
335 Note that this replaces the previous update which was incorrect.
337 2004-06-25 Javier Miranda <miranda@gnat.com>
339 * sem_ch10.adb (Re_Install_Use_Clauses): Force the installation of the
340 use-clauses to have a clean environment.
342 * sem_ch8.adb (Install_Use_Clauses): Addition of a new formal to force
343 the installation of the use-clauses to stablish a clean environment in
344 case of compilation of a separate unit; otherwise the call to
345 use_one_package is protected by the barrier Applicable_Use.
347 * sem_ch8.ads (Install_Use_Clauses): Addition of a new formal to force
348 the installation of the use-clauses to stablish a clean environment in
349 case of compilation of a separate unit.
350 (End_Use_Clauses): Minor comment cleanup.
352 2004-06-25 Sergey Rybin <rybin@act-europe.fr>
354 * gnat_ugn.texi: Add description of the gnatpp 'files' switch
356 2004-06-23 Richard Henderson <rth@redhat.com>
358 * trans.c (gnat_gimplify_stmt): Update gimplify_type_sizes call.
360 2004-06-20 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
362 * decl.c (elaborate_expression, elaborate_expression_1): Arguments
363 now bool instead of int.
364 (gnat_to_gnu_entity, elaborate_expression_1): New arg to COMPONENT_REF.
365 * trans.c (gnu_switch_label_stack): New function.
366 (gnat_to_gnu, N_Object_Renaming_Declaration): Result is what the
367 elaboration of renamed entity returns.
368 (gnat_to_gnu, case N_Case_Statement): Add branches to end label.
369 (add_decl_stmt): Don't add TYPE_DECL for UNCONSTRAINED_ARRAY_TYPE.
370 (gnat_gimplify_stmt): Use alloc_stmt_list, not build_empty_stmt.
371 (gnat_gimplify_stmt, case DECL_STMT): gimplify DECL_SIZE and
372 DECL_SIZE_UNIT and simplify variable-sized case.
373 (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted.
374 Callers changes to call gimplify_type_sizes and gimplify_one_sizepos.
375 (gnat_stabilize_reference): Add arg to COMPONENT_REF.
376 (build_unit_elab): Disable for now.
377 * utils.c (mark_visited): New function.
378 (pushdecl): Walk tree to call it for global decl.
379 (update_pointer_to): Update all variants of pointer and ref types.
380 Add arg to COMPONENT_REF.
382 Move check for converting between variants lower down.
383 * utils2.c (build_simple_component_ref): Add arg to COMPONENT_REF.
384 (build_allocator): Don't force type of MODIFY_EXPR.
385 (gnat_mark_addressable, case VAR_DECL): Unconditionally call
388 2004-06-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
390 * ada-tree.def (LOOP_STMT, EXIT_STMT): Update documentation.
391 * ada-tree.h (EXIT_STMT_LABEL): Renamed from EXIT_STMT_LOOP.
392 * decl.c (gnat_to_gnu_entity): Also set force_global for imported
394 * trans.c (gnu_loop_label_stack): Renamed from gnu_loop_stmt_stack;
396 (gnat_to_gnu, case N_Loop_Statement, case N_Exit_Statement): Change
397 the way that EXIT_STMT finds the loop label.
398 (gnat_gimplify_stmt, case LOOP_STMT, EXIT_STMT): Likewise.
399 (gnat_gimplify_stmt, case DECL_STMT): Handle variable-sized decls here.
400 (add_stmt): Use annotate_with_locus insted of setting directly.
401 (pos_to_construct): Set TREE_PURPOSE of each entry to index.
402 (gnat_stabilize_reference, case ARRAY_RANGE_REF): Merge with ARRAY_REF.
403 * utils.c (gnat_install_builtins): Install __builtin_memcmp.
404 (build_vms_descriptor): Add extra args to ARRAY_REF.
405 (convert): Use VIEW_CONVERT_EXPR between aggregate types.
406 * utils2.c (gnat_truthvalue_conversion, case INTEGER_CST, REAL_CST):
408 (build_binary_op): Don't make explicit CONVERT_EXPR.
409 Add extra rgs to ARRAY_REF.
411 2004-06-14 Pascal Obry <obry@gnat.com>
413 * gnat_ugn.texi: Document relocatable vs. dynamic Library_Kind on
414 Windows. Fix minor typo.
416 * mlib-tgt-mingw.adb: New implementation using the GCC -shared option
417 which is now supported on Windows. With this implementation using the
418 Library Project feature is no different on Windows than on UNIX.
420 2004-06-14 Vincent Celier <celier@gnat.com>
422 * makegpr.adb (Compile_Sources): Nothing to do when there are no
425 * mlib-tgt-vxworks.adb (Library_Exists_For): Remove incorrect comment
427 * prj-part.adb (Parse_Single_Project): When a duplicate project name is
428 found, show the project name and the path of the previously parsed
431 2004-06-14 Ed Schonberg <schonberg@gnat.com>
433 * exp_ch6.adb (Add_Call_By_Copy_Code): For an out-parameter that is an
434 array, avoid copying the actual before the call.
436 2004-06-14 Thomas Quinot <quinot@act-europe.fr>
438 * g-debpoo.adb: Remove alignment assumptions from GNAT.Debug_Pools.
439 Instead, allocate memory on worst-case alignment assumptions, and then
440 return an aligned address within the allocated zone.
442 2004-06-14 Robert Dewar <dewar@gnat.com>
444 * bindgen.adb (Gen_Adainit_Ada): Do not generate external references to
445 elab entities in predefined units in No_Run_Time_Mode.
446 (Gen_Adainit_C): Same fix
447 (Gen_Elab_Calls_Ada): Do not generate calls to elaborate predefined
448 units in No_Run_Time_Mode
449 (Gen_Elab_Calls_C): Same fix
451 * symbols-vms-alpha.adb: Minor reformatting
453 * g-debpoo.ads: Minor reformatting
455 * lib.adb (In_Same_Extended_Unit): Version working on node id's
457 * lib.ads (In_Same_Extended_Unit): Version working on node id's
459 * lib-xref.adb: Minor cleanup, use new version of In_Same_Extended_Unit
462 * make.adb: Minor reformatting
464 * par-ch12.adb: Minor reformatting
466 * par-prag.adb: Add dummy entry for pragma Profile_Warnings
468 * prj-strt.adb: Minor reformatting
470 * restrict.ads, restrict.adb: Redo handling of profile restrictions to
473 * sem_attr.adb: Minor reformatting
475 * sem_ch7.adb: Minor reformatting
477 * sem_elab.adb (Check_A_Call): Deal with problem of calling init proc
478 for type in the same unit as the object declaration.
480 * sem_prag.adb (Check_Arg_Is_External_Name): New procedure, allows
481 static string expressions and not just string literals.
483 (Set_Warning): Reset restriction warning flag for restriction pragma
484 Implement pragma Profile_Warnings
485 Implement pragma Profile (Restricted)
486 Give obolescent messages for old restrictions and pragmas
488 * snames.h, snames.ads, snames.adb: Add new entry for pragma
491 * s-rident.ads: Add declarations for restrictions required by profile
492 Restricted and profile Ravenscar.
494 * targparm.ads, targparm.adb: Allow pragma Profile in system.ads
496 * gnat_ugn.texi: Correct some missing entries in the list of GNAT
497 configuration pragmas.
499 2004-06-11 Vincent Celier <celier@gnat.com>
501 * mlib-tgt-vms-alpha.adb (Build_Dynamic_Library): Issue switch -R to
502 gnatsym, when symbol policy is Restricted.
504 * mlib-tgt-vms-ia64.adb (Build_Dynamic_Library): Issue switch -R to
505 gnatsym, when symbol policy is Restricted.
507 * symbols-vms-alpha.adb (Initialize): When symbol policy is Restricted,
508 read the symbol file.
509 (Finalize): Fail in symbol policy Restricted if a symbol in the original
510 symbol file is not in the object files. Do not create a new symbol file
511 when symbol policy is Restricted.
513 * gnatbind.adb (Gnatbind): Initialize Snames, because Snames is used
516 * gnatsym.adb (Parse_Vmd_Line): Process new switch -R for symbol policy
518 (Usage): Line for new switch -R
520 * make.adb (Initialize): When the platform is not VMS, add the
521 directory where gnatmake is invoked in the front of the path, if
522 gnatmake is invoked with directory information. Change the Scan_Args
523 while loop to a for loop.
524 (Recursive_Compute_Depth): Remove parameter Visited. Improve efficiency:
525 if Depth is equal or greater than the proposed depth, there is nothing
527 (Initialize): Call Recursive_Compute_Depth with initial Depth equal to 1
530 * prj.ads: Add new symbol policy Restricted.
532 * prj-dect.adb (Parse_Case_Construction): Call End_Case_Construction
533 with the new parameters Check_All_Labels and Case_Location.
535 * prj-nmsc.adb (Ada_Check): Process new symbol policy Restricted
536 (Library_Symbol_File needs to be defined).
538 * prj-strt.adb (End_Case_Construction): New parameters Check_All_Labels
539 and Case_Location If Check_All_Labels is True, check that all values of
540 the string type are used, and output warning(s) if they are not.
542 * prj-strt.ads (End_Case_Construction): New parameters Check_All_Labels
545 * gnat_ugn.texi: Reorder subclauses in menus "Switches for gcc"
547 * gnat_ugn.texi: Update documentation about the library directory in
550 * makegpr.adb (Display_Command): In verbose mode, also display the
551 value of the CPATH env var, when the compiler is gcc.
552 (Initialize): Change the Scan_Args while loop to a for loop
553 (Compile_Individual_Sources): Change directory to object directory
556 * symbols.ads: New symbol policy Restricted.
558 2004-06-11 Olivier Hainque <hainque@act-europe.fr>
560 * a-except.adb (Raise_After_Setup family): Remove. The responsibility
561 is now taken care of internally in the Exception_Propagation package
562 and does not require clients assistance any more.
564 * a-exexpr.adb (Is_Setup_And_Not_Propagated,
565 Set_Setup_And_Not_Propagated, and Clear_Setup_And_Not_Propagated): New
566 functions. Helpers to maintain a predicate required in the handling of
567 occurrence transfer between tasks.
568 This is now handled internally and does not require clients assistance
569 for the setup/propagate separation anymore.
570 (Setup_Exception, Propagate_Exception): Simplify the Private_Data
571 allocation strategy, handle the Setup_And_Not_Propagated predicate and
574 * s-taenca.adb (Check_Exception): Use raise_with_msg instead of
575 raise_after_setup, now that everything is handled internally within the
576 setup/propagation engine.
578 2004-06-11 Hristian Kirtchev <kirtchev@gnat.com>
580 * exp_ch6.adb (Expand_Inlined_Call): Add function Formal_Is_Used_Once.
581 Add additional conditions for the case of an actual being a simple
582 name or literal. Improve inlining by preventing the generation
583 of temporaries with a short lifetime (one use).
585 2004-06-11 Hristian Kirtchev <kirtchev@gnat.com>
589 * einfo.ads: Minor comment updates for Has_Completion and
590 E_Constant list of flags.
592 * sem_ch3.adb (Analyze_Object_Declaration): Full constant declarations
593 and constant redeclarations now set the Has_Completion flag of their
594 defining identifiers.
596 * sem_ch7.adb (Analyze_Package_Spec): Add procedure
597 Inspect_Deferred_Constant_Completion.
598 Used to detect private deferred constants that have not been completed
599 either by a constant redeclaration or pragma Import. Emits error message
600 "constant declaration requires initialization expression".
602 * sem_prag.adb (Process_Import_Or_Interface): An Import pragma now
603 completes a deferred constant.
605 2004-06-11 Geert Bosch <bosch@gnat.com>
607 * eval_fat.adb (Decompose_Int): Fix rounding of negative numbers.
609 * s-fatgen.adb (Gradual_Scaling): Correct off-by-one error in
610 calculating exponent for scaling denormal numbers.
611 (Leading_Part): Properly raise Constraint_Error for zero or negative
613 (Remainder): Properly raise Constraint_Error for zero divisor.
615 2004-06-11 Thomas Quinot <quinot@act-europe.fr>
617 * sem_util.adb: Minor reformatting.
619 * exp_ch2.adb (Expand_Entry_Parameter): Generate an explicit
620 dereference when accessing the entry parameter record.
621 (Check_Array_Type): Always check for possible implicit dereference.
622 (maybe_implicit_dereference): Rename to check_no_implicit_derefence.
623 Abort if a pointer is still present (denoting that an implicit
624 dereference was left in the tree by the front-end).
626 * sem_attr.adb (Expand_Entry_Parameter): Generate an explicit
627 dereference when accessing the entry parameter record.
628 (Check_Array_Type): Always check for possible implicit dereference.
629 (maybe_implicit_dereference): Rename to check_no_implicit_derefence.
630 Abort if a pointer is still present (denoting that an implicit
631 dereference was left in the tree by the front-end).
633 2004-06-11 Emmanuel Briot <briot@act-europe.fr>
635 * g-debpoo.adb (Deallocate, Dereference): Add prefix "error:" to error
636 message, like the compiler itself does. Easier to parse the output.
638 * g-debpoo.ads: (Allocate, Deallocate, Dereference): Add comments.
640 * gnat_ugn.texi (gnatxref, gnatfind): Clarify that source names should
641 be base names, and not includes directories.
643 2004-06-11 Arnaud Charlet <charlet@act-europe.fr>
645 * Makefile.generic ($(EXEC)): Depend on $(OBJECTS), not $(OBJ_FILES),
646 so that dependencies are properly taken into account by make.
648 2004-06-11 Arnaud Charlet <charlet@act-europe.fr>
651 * s-unstyp.ads, s-maccod.ads, sem_ch8.adb, s-auxdec.ads,
652 exp_intr.adb, s-auxdec-vms_64.ads: Fix typo: instrinsic -> intrinsic
654 2004-06-11 Jerome Guitton <guitton@act-europe.fr>
656 * Makefile.in (install-gnatlib): install target-specific run-time files.
658 * Make-lang.in: Remove obsolete targets.
660 2004-06-11 Ed Schonberg <schonberg@gnat.com>
662 * par-ch12.adb (P_Generic): Add scope before analyzing subprogram
663 specification, to catch misuses of program unit names.
665 * sem_res.adb (Resolve_Type_Conversion): Do not emit warnings on
666 superfluous conversions in an instance.
668 2004-06-11 Ed Schonberg <schonberg@gnat.com>
672 * sem_ch12.adb (Save_References): If operator node has been folded to
673 enumeration literal, associated_node must be discarded.
675 2004-06-11 Jose Ruiz <ruiz@act-europe.fr>
677 * s-stchop-vxworks.adb: Add required pragma Convention to
678 Task_Descriptor because it is updated by a C function.
680 2004-06-08 Arnaud Charlet <charlet@act-europe.fr>
684 * Makefile.in: Remove target specific SO_OPT on IRIX
686 2004-06-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
688 * ada-tree.def (TRANSFORM_EXPR, ALLOCATE_EXPR, USE_EXPR): Deleted.
689 (GNAT_NOP_EXPR, GNAT_LOOP_ID, EXPR_STMT, NULL_STMT): Likewise.
690 (BLOCK_STMT, IF_STMT, GOTO_STMT, LABEL_STMT, RETURN_STMT): Likewise.
691 (ASM_STMT, BREAK_STMT, REGION_STMT,HANDLER_STMT): Likewise.
692 (STMT_STMT, USE_STMT): New statement codes.
693 (LOOP_STMT, EXIT_STMT): Make slight semantic changes.
694 * ada-tree.h: Reflect above changes.
695 (struct tree_loop_id): Deleted.
696 (union lang_tree_node, struct lang_decl, struct lang_type):
697 Now just contains a tree node; update macros using TYPE_LANG_SPECIFIC
698 and DECL_LANGUAGE_SPECIFIC to reflect these changes.
699 (DECL_INIT_BY_ASSIGN_P, TRE_LOOP_NODE_ID, TREE_SLOC): Deleted.
700 (IS_ADA_STMT): New macro.
701 * decl.c (annotate_decl_with_node): New function.
702 (gnat_to_gnu_entity): Use it and Sloc_to_locus instead of set_lineno.
703 (gnat_to_gnu_entity, case object): Remove call to expand CONVERT_EXPR.
704 Call add_stmt_with_node to do needed assignments.
705 Add call to update setjmp buffer directly, not via EXPR_STMT.
706 (maybe_variable): Argment GNAT_NODE deleted.
707 * gigi.h (maybe_variable): Likewise.
708 (make_transform, add_stmt_with_node, set_block_for_group): New.
709 (gnat_gimplify_expr, gnat_expand_body, Sloc_to_locus): Likewise.
710 (set_block_jmpbuf_decl, get_block_jmpbuf_decl): Likewise.
711 (discard_file_names, gnu_block_stack, gnat_to_code): Deleted.
712 (set_lineno, set_lineno_from_sloc): Likewise.
713 (record_code_position, insert_code_for): Likewise.
714 (gnat_poplevel): Now returns void.
715 (end_subprog_body): Now takes argument.
716 * misc.c (cgraph.h, tree-inline.h): New includes.
717 (gnat_tree_size, LANG_HOOKS_TREE_SIZE): Deleted.
718 (gnat_post_options, LANG_HOOKS_POST_OPTIONS): New.
719 (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Likewise.
720 (LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_GIMPLIFY_EXPR): Likewise.
721 (gnat_parse_file): Don't set immediate_size_expand.
722 Call cgraph functions.
723 (gnat_expand_expr): Remove most cases.
724 (record_code_position, insert_code_for): Remove from here.
725 * trans.c (toplev.h, tree-gimple.h): Now included.
726 (discard_file_names): Deleted.
727 (gnu_block_stack, gnu_block_stmt_node, gnu_block_stmt_free_list): Del.
728 (first_nondeleted_insn, make_expr_stmt_from_rtl): Likewise.
729 (struct stmt_group, current_stmt_group, stmt_group_free_list): New.
730 (gnu_stack_free_list, record_cost_position, insert_code_for): Likewise.
731 (add_cleanup, push_stack, gnat_gimplify_stmt, add_cleanup): Likewise.
732 (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Likewise.
733 (gnat_expand_body_1, gnat_gimplify_expr, annotate_with_node): Likewise.
734 (set_block_for_group, add_stmt_list): Likewise.
735 (start_stmt_group): Renamed from start_block_stmt.
736 (end_stmt_group): Likewise, from end_block_stmt.
737 (build_stmt_group): Likewise, from build_block_stmt, also add arg.
738 (gigi): Don't set discard_file_names or call set_lineno.
739 Disallow front end ZCX; call gnat_to_gnu, not gnat_to_code.
740 (tree_transform): Deleted, now renamed to be gnat_to_gnu.
741 Numerous changes throughout to reflect new names and complete
742 function-at-a-time implementation.
743 (gnat_expand_stmt): Delete or comment out all cases.
744 (process_inlined_subprograms): Use add_stmt.
745 (process_decls): Use gnat_to_gnu, not gnat_to_code, and don't
746 call set_lineno; also remove unneeded block handling.
747 (process_type): Remove unneeded block handling.
748 (build_unit_elab): Remove calls to deleted functions.
749 * utils.c (cgraph.h, tree-inline.h, tree-gimple.h): Now include.
750 (tree-dump.h): Likewise.
751 (struct ada_binding_level): Add field jmpbuf_decl.
752 (gnat_define_builtin, gnat_install_builtins): New.
753 (gnat_gimplify_function, gnat_finalize): Likewise.
754 (gnat_poplevel): No longer return BLOCK, set it instead.
755 Remove code dealing with nested functions.
756 (gnat_init_decl_processing): Also set size_type_node.
757 Call gnat_install_builtins.
758 (create_var_decl): Don't set DECL_INIT_BY_ASSIGN.
759 (create_subprog_decl): Change handling of inline_flag; set TREE_STATIC.
760 Remove special-case for "main".
761 (end_subprog_body): Add arg and rework for tree-ssa.
762 (convert): Don't use GNAT_NOP_EXPR or look for TRANSFORM_EXPR.
763 Add case for BOOLEAN_TYPE.
764 * utils2.c (rtl.h): Now include.
765 (build_call_raise): Test Debug_Flag_NN directly.
766 (build_call_alloc_dealloc): Don't use local stack allocation for now.
767 (gnat_mark_addressable, case GNAT_NOP_EXPR): Deleted.
768 (gnat_mark_addressable, case VAR_DECL): Handle both early & late cases.
770 2004-06-07 Robert Dewar <dewar@gnat.com>
772 * a-direct.ads, einfo.ads: Minor comment updates
774 * s-taprop-lynxos.adb, s-taprop-tru64.adb, s-taprop-irix.adb,
775 s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb,
776 s-taprop-dummy.adb, s-taprop-os2.adb, s-taprop-solaris.adb,
777 s-taprop-vms.adb, s-taprop-mingw.adb, s-taprop-vxworks.adb,
778 s-taprop-posix.adb, s-taprop.ads, exp_dbug.adb: Minor reformatting.
780 * s-interr-sigaction.adb: Remove unreferenced variable
781 (Attached_Interrupts). Minor reformatting.
782 Avoid use of variable I (replace by J).
784 * par-ch10.adb: Fix text of one error message
786 * checks.adb, checks.ads, cstand.adb, vms_data.ads, errout.ads,
787 exp_aggr.adb, exp_ch3.adb, exp_ch3.ads, exp_ch5.adb, exp_ch6.adb,
788 exp_ch9.adb, exp_code.adb, gnat1drv.adb, lib-load.adb, lib-writ.adb,
789 opt.adb, par.adb, opt.ads, par-ch11.adb, par-ch3.adb, par-ch4.adb,
790 par-ch5.adb, par-ch6.adb, par-ch8.adb, par-ch9.adb, par-prag.adb,
791 par-util.adb, scng.adb, sem_aggr.adb, sem_attr.adb, sem_cat.adb,
792 sem_ch10.adb, sem_ch10.adb, sem_ch11.adb, sem_ch12.adb, sem_ch2.adb,
793 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb,
794 sem_ch7.adb, sem_ch8.adb, sem_ch9.adb, sem_eval.adb, sem_prag.adb,
795 sem_res.adb, sem_type.adb, sem_util.adb, sinfo.ads, snames.adb,
796 snames.ads, snames.h, sprint.adb, switch-c.adb: Modifications for Ada
799 2004-06-07 Doug Rupp <rupp@gnat.com>
801 * mlib-tgt-vms.adb: Rename mlib-tgt-vms.adb mlib-tgt-vms-alpha.adb
803 * s-vaflop-vms.adb: Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb
805 * mlib-tgt-vms-ia64.adb: New file.
807 * Makefile.in: Rename mlib-tgt-vms.adb to mlib-tgt-vms-alpha.adb
808 Add mlib-tgt-vms-ia64.adb
809 Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb.
810 Move to alpha specific ifeq section.
811 Add VMS specific versions of symbols.adb
812 Renaming of 5q vms files.
814 * 5qsystem.ads renamed to system-vms_64.ads.
816 2004-06-07 Vincent Celier <celier@gnat.com>
818 * a-calend.ads: Add a GNAT Note comment after function Time_Of to
819 explain that when a time of day corresponding to the non existing hour
820 on the day switching to DST is specified, Split may return a different
823 * gnatcmd.adb: Add processing of GNAT METRIC (for gnatmetric), similar
826 * g-os_lib.adb (OpenVMS): New Boolean value imported from System.
827 (Normalize_Pathname): Only resolve VMS logical names when on VMS.
829 * mlib-prj.adb (Build_Library): New flag Gtrasymobj_Needed, initialize
831 If Gtrasymobj_Needed is True, add the full path of g-trasym.obj to
833 (Build_Library.Check_Libs): On VMS, if there is a dependency on
834 g-trasym.ads, set Gtrasymobj_Needed to True.
836 * prj-attr.adb: Add new package Metrics for gnatmetric
838 * prj-nmsc.adb (Record_Other_Sources): Put source file names in
839 canonical case to take into account files with upper case characters on
841 (Ada_Check): Load the reference symbol file name in the name buffer to
842 check it, not the symbol file name.
844 * snames.ads, snames.adb: Add standard name Metrics (name of project
845 file package for gnatmetric).
847 * vms_conv.ads: Add Metric to Comment_Type
849 * vms_conv.adb (Initialize): Add component dor Metric in Command_List
851 * vms_data.ads: Add qualifiers for GNAT METRIC
853 * makegpr.adb (Link_Executables): Take into account the switches
854 specified in package Linker of the main project.
856 2004-06-07 Thomas Quinot <quinot@act-europe.fr>
858 * bindgen.adb (Set_Unit_Number): Units is an instance of Table, and so
859 the index of the last element is Units.Last, not Units.Table'Last
860 (which is usually not a valid index within the actually allocated
861 storage for the table).
863 * exp_ch4.adb (Insert_Dereference_Action): Change predicate that
864 determines whether to generate a call to a checked storage pool
866 Generate such a call only for a dereference that either comes from
867 source, or is the result of rewriting a dereference that comes from
870 2004-06-07 Romain Berrendonner <berrendo@act-europe.fr>
872 * bindgen.adb (Gen_Output_File): Add support for GAP builds.
874 2004-06-07 Eric Botcazou <ebotcazou@act-europe.fr>
876 (gnat_to_gnu_entity) <E_Array_Subtype>: For multi-dimensional arrays at
877 file level, elaborate the stride for inner dimensions in alignment
880 * exp_ch5.adb: Correct wrong reference to Component_May_Be_Bit_Aligned
883 2004-06-07 Javier Miranda <miranda@gnat.com>
885 * exp_ch6.adb: Correct wrong modification in previous patch
887 2004-06-07 Vasiliy Fofanov <fofanov@act-europe.fr>
889 * g-trasym.ads: Corrected comment to properly reflect level of support
892 2004-06-07 Hristian Kirtchev <kirtchev@gnat.com>
894 * lib-xref.adb (Generate_Reference): Add nested function Is_On_LHS. It
895 includes case of a variable referenced on the left hand side of an
896 assignment, therefore remove redundant code. Variables and prefixes of
897 indexed or selected components are now marked as referenced on left
898 hand side. Warnings are now properly emitted when variables or prefixes
899 are assigned but not read.
901 * sem_warn.adb (Output_Unreferenced_Messages): Add additional checks to
902 left hand side referenced variables. Private access types do not
903 produce the warning "variable ... is assigned but never read".
904 Add also additional checks to left hand side referenced variables.
905 Aliased, renamed objects and access types do not produce the warning
906 "variable ... is assigned but never read" since other entities may read
909 2004-06-07 Jerome Guitton <guitton@act-europe.fr>
911 * Makefile.in: In the powerpc/vxworks-specific section, restore
912 EXTRA_GNATRTL_NONTASKING_OBJS and EXTRA_GNATRTL_TASKING_OBJS (removed
915 2004-06-07 Ed Schonberg <schonberg@gnat.com>
917 * sem_ch4.adb (Remove_Abstract_Operations): Refine the removal of
918 predefined operators.
919 Removes spurious type errors from g-trasym-vms.adb.
921 * sem_res.adb (Rewrite_Renamed_Operator): If intrinsic operator is
922 distinct from the operator appearing in the source, call appropriate
923 routine to insert conversions when needed, and complete resolution of
925 (Resolve_Intrinsic_Operator): Fix cut-and-paste bug on transfer of
926 interpretations for rewritten right operand.
927 (Set_Mixed_Mode_Operand): Handle properly a universal real operand when
928 the other operand is overloaded and the context is a type conversion.
930 2004-06-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
932 * ada-tree.def (BLOCK_STMT): Now has two operands.
935 * ada-tree.h: (BLOCK_STMT_BLOCK): New macro.
937 * gigi.h: (gnat_poplevel): Now returns a tree.
939 * trans.c (end_block_stmt): Add arg; all callers changed.
940 (tree_transform, case N_Case_Statement): Make a BLOCK_STMT for a WHEN.
941 (start_block_stmt): Clear BLOCK_STMT_BLOCK.
942 (add_stmt): Set TREE_TYPE.
943 (gnat_expand_stmt, case BLOCK_STMT): Handle BLOCK_STMT_BLOCK.
944 (gnat_expand_stmt, case BREAK_STMT): New case.
946 * utils.c (gnat_poplevel): Return a BLOCK, if we made one.
948 2004-06-07 Jose Ruiz <ruiz@act-europe.fr>
950 * s-stchop.adsm s-stchop.adb, s-stchop-vxworks.adb: Remove the
951 procedure Set_Stack_Size that is not needed.
953 2004-06-07 Sergey Rybin <rybin@act-europe.fr>
955 * gnat_ugn.texi: Clarify the case when non-standard naming scheme is
956 used for gnatpp input file and for the files upon which it depends
958 2004-06-07 Ben Brosgol <brosgol@gnat.com>
960 * gnat_ugn.texi: Wordsmithing of "GNAT and Libraries" chapter
962 2004-06-07 Arnaud Charlet <charlet@act-europe.fr>
964 * gnatvsn.ads: Bump version numbers appropriately.
967 2004-06-07 Pascal Obry <obry@gnat.com>
969 * gnat_ugn.texi: Improve comments about imported names and link names
970 on Windows. Add a note about the requirement to use -k gnatdll's option
971 when working with a DLL which has stripped stdcall symbols (no @nn
974 2004-05-27 Vincent Celier <celier@gnat.com>
976 * vms_data.ads: Add new GNAT PRETTY qualifiers /NO_BACKUP and
977 COMMENTS_LAYOUT=UNTOUCHED
979 * symbols-vms.adb, symbols-vms-alpha.adb: Renamed symbols-vms.adb to
980 symbols-vms-alpha.adb
982 2004-05-27 Thomas Quinot <quinot@act-europe.fr>
984 * sem.ads: Clarify documentation on checks suppression.
986 * einfo.ads (Is_Known_Non_Null): Minor comment typo fix and rephrasing.
988 2004-05-27 Ed Schonberg <schonberg@gnat.com>
990 * sem_util.adb (Is_Descendent_Of): Examine properly all ancestors in
991 the case of multiple derivations.
992 (Is_Object_Reference): For a selected component, verify that the prefix
993 is itself an object and not a value.
995 * sem_ch12.adb (Same_Instantiated_Constant): New name for
996 Same_Instantiated_Entity.
997 (Same_Instantiated_Variable): Subsidiary to
998 Check_Formal_Package_Instance, to recognize actuals for in-out generic
999 formals that are obtained from a previous formal package.
1000 (Instantiate_Subprogram_Body): Emit proper error when
1001 generating code and the proper body of a stub is missing.
1003 * sem_ch4.adb (Remove_Address_Interpretations): If the operation still
1004 has a universal interpretation, do the disambiguation here.
1006 * exp_ch4.adb (Expand_N_Type_Conversion,
1007 Expand_N_Unchecked_Type_Conversion): Special handling when target type
1008 is Address, to avoid typing anomalies when Address is a visible integer
1011 * exp_ch6.adb (Expand_N_Subprogram_Body): Use Is_Descendent_Of_Address
1012 to determine whether a subprogram should not be marked Pure, even when
1013 declared in a pure package.
1015 2004-05-27 Jose Ruiz <ruiz@act-europe.fr>
1017 * gnat_ugn.texi: Replace pragma Ravenscar by pragma Profile.
1019 * gnat_rm.texi: Replace Max_Entry_Queue_Depth by Max_Entry_Queue_Length
1020 Document No_Dynamic_Attachment, that supersedes No_Dynamic_Interrupts.
1021 Update the documentation about the Ravenscar profile, following the
1022 definition found in AI-249.
1024 * sem_prag.adb: Use FIFO_Within_Priorities and Ceiling_Locking when
1025 setting the Profile (Ravenscar). This must be done in addition to
1026 setting the required restrictions.
1028 * rtsfind.ads: Add the set of operations defined in package
1031 * exp_ch6.adb: Check whether we are violating the No_Dynamic_Attachment
1034 2004-05-27 Eric Botcazou <ebotcazou@act-europe.fr>
1036 lang-specs.h: Always require -c or -S and always redirect to /dev/null
1037 if -gnatc or -gnats is passed.
1039 2004-05-27 Hristian Kirtchev <kirtchev@gnat.com>
1041 * sem_prag.adb (Sig_Flags): A Pragma_Unchecked_Union does not count as
1042 a significant reference. Warnings are now properly emitted when a
1043 discriminated type is not referenced.
1045 * lib-xref.adb (Generate_Reference): A deferred constant completion,
1046 record representation clause or record type discriminant does not
1047 produce a reference to its corresponding entity. Warnings are now
1048 properly emitted when deferred constants and record types are not
1051 2004-05-27 Geert Bosch <bosch@gnat.com>
1053 * Makefile.in: Use long version of libm routines on ia64 gnu/linux.
1054 Fixes ACATS Annex G tests.
1056 2004-05-27 Robert Dewar <dewar@gnat.com>
1058 * rtsfind.adb (RTU_Loaded): Temporary kludge to get past bug of not
1061 2004-05-27 Arnaud Charlet <charlet@act-europe.fr>
1063 * s-interr.adb (Server_Task): Take into account case of early return
1064 from sigwait under e.g. linux.
1066 2004-05-27 Sergey Rybin <rybin@act-europe.fr>
1068 * gnat_ugn.texi: Add description for the new gnatpp options:
1069 -rnb - replace the original source without creating its backup copy
1070 -c0 - do not format comments
1072 2004-05-24 Geert Bosch <bosch@gnat.com>
1074 * a-numaux-x86.adb (Reduce): Reimplement using an approximation of Pi
1075 with 192 bits of precision, sufficient to reduce a double-extended
1076 arguments X with a maximum relative error of T'Machine_Epsilon, for X
1077 in -2.0**32 .. 2.0**32.
1078 (Cos, Sin): Always reduce arguments of 1/4 Pi or larger, to prevent
1079 reduction by the processor, which only uses a 68-bit approximation of
1081 (Tan): Always reduce arguments and compute function either using
1082 the processor's fptan instruction, or by dividing sin and cos as needed.
1084 2004-05-24 Doug Rupp <rupp@gnat.com>
1086 * adaint.c (__gnat_readdir): Cast CRTL function retun value to avoid
1087 gcc error on 32/64 bit VMS.
1089 2004-05-24 Olivier Hainque <hainque@act-europe.fr>
1091 * init.c (__gnat_error_handler): Handle EEXIST as EACCES for SIGSEGVs,
1092 since this is what we get for stack overflows although not documented
1094 Document the issues which may require adjustments to our signal
1097 2004-05-24 Ed Schonberg <schonberg@gnat.com>
1099 * inline.adb (Add_Scope_To_Clean): Do not add cleanup actions to the
1100 enclosing dynamic scope if the instantiation is within a generic unit.
1102 2004-05-24 Arnaud Charlet <charlet@act-europe.fr>
1104 * exp_dbug.ads: Fix typo.
1106 * Makefile.in: s-osinte-linux-ia64.ads was misnamed.
1107 Rename it to its proper name: system-linux-ia64.ads
1108 (stamp-gnatlib1): Remove extra target specific run time files when
1109 setting up the rts directory.
1111 2004-05-24 Javier Miranda <miranda@gnat.com>
1113 * einfo.ads, einfo.adb (Limited_Views): Removed.
1114 (Limited_View): New attribute that replaces the previous one. It is
1115 now a bona fide package with the limited-view list through the
1116 first_entity and first_private attributes.
1118 * sem_ch10.adb (Install_Private_With_Clauses): Give support to
1119 limited-private-with clause.
1120 (Install_Limited_Withed_Unit): Install the private declarations of a
1121 limited-private-withed package. Update the installation of the shadow
1122 entities according to the new structure (see Build_Limited_Views)
1123 (Build_Limited_Views): Replace the previous implementation of the
1124 limited view by a package entity that references the first shadow
1125 entity plus the first shadow private entity (required for limited-
1126 private-with clause)
1127 (New_Internal_Shadow_Entity): Code cleanup.
1128 (Remove_Limited_With_Clause): Update the implementation to undo the
1129 new work carried out by Build_Limited_Views.
1130 (Build_Chain): Complete documentation.
1131 Replace Ada0Y by Ada 0Y in comments
1134 * sem_ch3.adb (Array_Type_Declaration): In case of anonymous access
1135 types the level of accessibility depends on the enclosing type
1138 * sem_ch8.adb (Find_Expanded_Name): Fix condition to detect shadow
1139 entities. Complete documentation of previous change.
1141 2004-05-24 Robert Dewar <dewar@gnat.com>
1143 * namet.adb: Minor reformatting
1144 Avoid use of name I (replace by J)
1145 Minor code restructuring
1147 * sem_ch6.adb: Minor reformatting
1149 * lib-writ.adb: Do not set restriction as active if this is a
1150 Restriction_Warning case.
1152 * sem_prag.adb: Reset restriction warning flag if real pragma
1153 restriction encountered.
1155 * s-htable.adb: Minor reformatting
1156 Change rotate count to 3 in Hash (improves hash for small strings)
1158 * 5qsystem.ads: Add comments for type Address (no literals allowed).
1160 * gnat_ugn.texi: Add new section of documentation "Code Generation
1161 Control", which describes the use of -m switches.
1163 2004-05-24 Eric Botcazou <ebotcazou@act-europe.fr>
1165 trans.c (tree_transform) <N_Identifier>: Do the dereference directly
1166 through the DECL_INITIAL for renamed variables.
1168 2004-05-24 Arnaud Charlet <charlet@act-europe.fr>
1170 * s-osinte-linux-ia64.ads: Renamed system-linux-ia64.ads
1172 2004-05-19 Joel Brobecker <brobecker@gnat.com>
1174 * exp_dbug.ads: Correct comments concerning handling of overloading,
1175 since we no longer use $ anymore.
1177 2004-05-19 Sergey Rybin <rybin@act-europe.fr>
1179 * sem_ch10.adb (Optional_Subunit): When loading a subunit, do not
1180 ignore errors if ASIS_Mode is set. This prevents creating ASIS trees
1181 with illegal subunits.
1183 2004-05-19 Ed Schonberg <schonberg@gnat.com>
1185 * sem_ch6.adb (Check_Following_Pragma): When compiling a subprogram
1186 body with front-end inlining enabled, check whether an inline pragma
1187 appears immediately after the body and applies to it.
1189 * sem_prag.adb (Cannot_Inline): Emit warning if front-end inlining is
1190 enabled and the pragma appears after the body of the subprogram.
1192 2004-05-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1194 Part of function-at-a-time conversion
1196 * misc.c (adjust_decl_rtl): Deleted.
1197 (LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK):
1200 * gigi.h: (adjust_decl_rtl, kept_level_p, set_block): Deleted.
1201 (add_decl_stmt, add_stmt, block_has_vars): New functions.
1202 (gnat_pushlevel, gnat_poplevel): Renamed from pushlevel and poplevel.
1204 * decl.c (elaborate_expression, maybe_pad_type): Call add_decl_stmt
1206 (gnat_to_gnu_entity): Likewise.
1207 Use add_stmt to update setjmp buffer.
1208 Set TREE_ADDRESSABLE instead of calling put_var_into_stack and
1210 No longer call adjust_decl_rtl.
1211 (DECL_INIT_BY_ASSIGN_P): New macro.
1212 (DECL_STMT_VAR): Likewise.
1214 * trans.c (gigi): Call start_block_stmt to make the outermost
1216 (gnat_to_code, gnu_to_gnu, tree_transform, process_decls, process_type):
1217 Call start_block_stmt and end_block_stmt temporarily.
1218 Use gnat_expand_stmt instead of expand_expr_stmt.
1219 (add_decl_stmt): New function.
1220 (tree_transform): Call it.
1221 (add_stmt): Also emit initializing assignment for DECL_STMT if needed.
1222 (end_block_stmt): Set type and NULL_STMT.
1223 (gnat_expand_stmt): Make recursize call instead of calling
1225 (gnat_expand_stmt, case DECL_STMT): New case.
1226 (set_lineno_from_sloc): Do nothing if global.
1227 (gnu_block_stmt_node, gnu_block_stmt_free_list): New variables.
1228 (start_block_stmt, add_stmt, end_block_stmt): New functions.
1229 (build_block_stmt): Call them.
1230 (gnat_to_code): Don't expand NULL_STMT.
1231 (build_unit_elab): Rename pushlevel and poplevel to gnat_* and change
1233 (tree_transform): Likewise.
1234 (tree_transform, case N_Null_Statement): Return NULL_STMT.
1235 (gnat_expand_stmt, case NULL_STMT): New case.
1236 (gnat_expand_stmt, case IF_STMT): Allow nested IF_STMT to have no
1239 * utils2.c (gnat_mark_addressable, case VAR_DECL): Do not set
1242 * utils.c (create_var_decl): Do not call expand_decl or
1244 Set TREE_ADDRESSABLE instead of calling gnat_mark_addressable.
1245 Set DECL_INIT_BY_ASSIGN_P when needed and do not generate MODIFY_EXPR
1247 (struct e_stack): Add chain_next to GTY.
1248 (struct binding_level): Deleted.
1249 (struct ada_binding_level): New struct.
1250 (free_block_chain): New.
1251 (global_binding_level, clear_binding_level): Deleted.
1252 (global_bindings_p): Rework to see if no chain.
1253 (kept_level_p, set_block): Deleted.
1254 (gnat_pushlevel): Renamed from pushlevel and extensive reworked to use
1255 new data structure and work directly on BLOCK node.
1256 (gnat_poplevel): Similarly.
1257 (get_decls): Look at BLOCK_VARS.
1258 (insert_block): Work directly on BLOCK node.
1259 (block_has_var): New function.
1260 (pushdecl): Rework for new binding structures.
1261 (gnat_init_decl_processing): Rename and rework calls to pushlevel and
1263 (build_subprog_body): Likewise.
1264 (end_subprog_body): Likewise; also set up BLOCK in DECL_INITIAL.
1266 * ada-tree.def (DECL_STMT, NULL_STMT): New codes.
1268 * ada-tree.h: (DECL_INIT_BY_ASSIGN_P): New macro.
1269 (DECL_STMT_VAR): Likewise.
1271 2004-05-17 Robert Dewar <dewar@gnat.com>
1273 * restrict.ads, restrict.adb (Process_Restriction_Synonym): New
1276 * sem_prag.adb (Analyze_Pragma, case Restrictions): Cleanup handling
1277 of restriction synonyums by using
1278 Restrict.Process_Restriction_Synonyms.
1280 * snames.ads, snames.adb: Add entries for Process_Restriction_Synonym
1282 * s-restri.ads (Tasking_Allowed): Correct missing comment
1284 * s-rident.ads: Add entries for restriction synonyms
1286 * ali.adb: Fix some problems with badly formatted ALI files that can
1287 result in infinite loops.
1289 * s-taprop-lynxos.adb, s-tpopsp-lynxos.adb, s-taprop-tru64.adb,
1290 s-tpopsp-posix-foreign.adb, s-taprop-irix.adb, s-interr-sigaction.adb,
1291 s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb,
1292 s-taprop-dummy.adb, s-interr-dummy.adb, s-taprop-os2.adb,
1293 s-taprop-solaris.adb, s-tpopsp-solaris.adb, s-asthan-vms.adb,
1294 s-inmaop-vms.adb, s-interr-vms.adb, s-taprop-vms.adb,
1295 s-tpopde-vms.adb, s-taprop-mingw.adb, s-interr-vxworks.adb,
1296 s-taprop-vxworks.adb, s-tpopsp-vxworks.adb, s-taprop-posix.adb,
1297 s-tpopsp-posix.adb, s-tratas-default.adb, a-dynpri.adb,
1298 a-tasatt.adb, a-taside.adb, a-taside.ads, exp_attr.adb,
1299 exp_ch9.adb, g-thread.adb, rtsfind.ads, sem_attr.adb,
1300 s-interr.adb, s-interr.ads, s-soflin.ads, s-taasde.adb,
1301 s-taasde.ads, s-taenca.adb, s-taenca.ads, s-taprop.ads,
1302 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
1303 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
1304 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
1305 s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
1306 s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
1307 s-tpoben.adb, s-tpobop.adb, s-tpobop.ads, s-tporft.adb,
1308 s-tposen.adb, s-tposen.ads, s-tratas.adb, s-tratas.ads: Change Task_ID
1309 to Task_Id (minor cleanup).
1311 2004-05-17 Vincent Celier <celier@gnat.com>
1313 * g-os_lib.adb (Normalize_Pathname.Final_Value): Remove trailing
1314 directory separator.
1316 * prj-proc.adb (Recursive_Process): Inherit attribute Languages from
1317 project being extended, if Languages is not declared in extending
1320 2004-05-17 Javier Miranda <miranda@gnat.com>
1322 * sem_ch10.adb (Install_Limited_Withed_Unit): Do not install the
1323 limited view of a visible sibling.
1325 2004-05-14 Robert Dewar <dewar@gnat.com>
1327 * gnat_ugn.texi: Minor change to -gnatS documentation
1329 * sprint.adb: Remove some instances of Assert (False) and for this
1330 purpose replace them by output of a ??? string.
1332 * checks.adb, exp_aggr.adb, sem_elim.adb: Remove useless pragma
1335 * lib-writ.adb, lib-load.adb, lib.ads, lib.adb: Remove Dependent_Unit
1336 flag processing. This was suppressing required dependencies in
1337 No_Run_Time mode and is not needed since the binder does not generate
1338 references for things in libgnat anyway.
1340 * sem_ch3.adb (Access_Type_Declaration): Reorganize code to avoid GCC
1343 2004-05-14 Thomas Quinot <quinot@act-europe.fr>
1345 * gnat_ugn.texi: Document AIX-specific issue with initialization of
1348 * exp_ch4.adb (Insert_Dereference_Action): Do not generate dereference
1349 action for the case of an actual parameter in an init proc call.
1351 2004-05-14 Ed Schonberg <schonberg@gnat.com>
1353 * sem_ch4.adb (Analyze_Selected_Component): If prefix is a protected
1354 subtype, check visible entities in base type.
1356 * exp_ch7.adb (Clean_Simple_Protected_Objects): Do not generate cleanup
1357 actions if the object is a renaming.
1359 * sem_ch12.adb (Same_Instantiated_Entity): Predicate for
1360 Check_Formal_Package_Instance, to determine more precisely when the
1361 formal and the actual denote the same entity.
1363 2004-05-14 Javier Miranda <miranda@gnat.com>
1365 * par-ch10.adb (P_Context_Clause): Complete documentation on AI-262
1367 * sem_ch10.adb (Analyze_With_Clause): After analyzed, the entity
1368 corresponding to a private_with must be removed from visibility; it
1369 will be made visible later, just before we analyze the private part of
1371 (Check_Private_Child_Unit): Allow private_with clauses in public
1373 (Install_Siblings): Make visible the private entities of private-withed
1375 (Install_Withed_Unit): Do not install the private withed unit if we
1376 are compiling a package declaration and the Private_With_OK flag was
1377 not set by the caller. These declarations will be installed later,
1378 just before we analyze the private part of the package.
1380 * sem_ch3.adb (Analyze_Object_Declaration): In case of errors detected
1381 during the evaluation of the expression that initializes the object,
1382 decorate it with the expected type to avoid cascade errors.
1385 * sem_ch6.adb (Analyze_Subprogram_Body): If we are compiling a library
1386 subprogram we have to install the private_with clauses after its
1387 specification has been analyzed (as documented in AI-262.TXT).
1389 * sem_ch8.adb (Has_Private_With): New function. Determines if the
1390 current compilation unit has a private with on a given entity.
1391 (Find_Direct_Name): Detect the Beaujolais problem described in
1394 * sem_utils.ads, sem_util.adb (Is_Ancestor_Package): New function. It
1395 provides the functionality of the function Is_Ancestor that was
1396 previously available in sem_ch10. It has been renamed to avoid
1399 * sprint.adb (Sprint_Node_Actual): Print limited_with clauses
1401 2004-05-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1403 * utils.c (build_vms_descriptor): Use SImode pointers.
1405 2004-05-14 Vasiliy Fofanov <fofanov@act-europe.fr>
1407 * gnat_ugn.texi: Revised chapter "GNAT and Libraries".
1409 2004-05-14 GNAT Script <nobody@gnat.com>
1411 * Make-lang.in: Makefile automatically updated
1413 2004-05-14 Arnaud Charlet <charlet@act-europe.fr>
1415 Renaming of target specific files for clarity
1417 * Makefile.in: Rename GNAT target specific files.
1419 * 31soccon.ads, 31soliop.ads 35soccon.ads, 3asoccon.ads,
1420 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3psoccon.ads,
1421 3ssoccon.ads, 3ssoliop.ads, 3veacodu.adb, 3vexpect.adb,
1422 3vsoccon.ads, 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb,
1423 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, 3wsoliop.ads,
1424 3zsoccon.ads, 3zsocthi.adb, 3zsocthi.ads, 41intnam.ads,
1425 42intnam.ads, 45intnam.ads, 4aintnam.ads, 4cintnam.ads,
1426 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, 4lintnam.ads,
1427 4nintnam.ads, 4ointnam.ads, 4onumaux.ads, 4pintnam.ads,
1428 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, 4vcalend.ads,
1429 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, 4wintnam.ads,
1430 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, 4zsytaco.ads,
1431 51osinte.adb, 51osinte.ads, 51system.ads,
1432 52osinte.adb, 52osinte.ads, 53osinte.ads, 54osinte.ads,
1433 55osinte.adb, 55osinte.ads, 55system.ads, 56osinte.adb,
1434 56osinte.ads, 56system.ads, 56taprop.adb, 56taspri.ads,
1435 56tpopsp.adb, 57system.ads, 58system.ads,
1436 5amastop.adb, 5aml-tgt.adb, 5aosinte.adb, 5aosinte.ads,
1437 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
1438 5atpopsp.adb, 5avxwork.ads, 5bml-tgt.adb, 5bosinte.adb,
1439 5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5csystem.ads,
1440 5dsystem.ads, 5esystem.ads, 5fintman.adb, 5fosinte.adb,
1441 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
1442 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gml-tgt.adb,
1443 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
1444 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
1445 5hml-tgt.adb, 5hosinte.adb, 5hosinte.ads, 5hparame.ads,
1446 5hsystem.ads, 5htaprop.adb, 5htaspri.ads, 5htraceb.adb,
1447 5iosinte.adb, 5iosinte.ads, 5itaprop.adb, 5itaspri.ads,
1448 5ksystem.ads, 5kvxwork.ads, 5lml-tgt.adb, 5losinte.ads,
1449 5lparame.adb, 5lsystem.ads, 5msystem.ads, 5mvxwork.ads,
1450 5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5nsystem.ads,
1451 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
1452 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
1453 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
1454 5posprim.adb, 5psystem.ads, 5pvxwork.ads, 5sintman.adb,
1455 5sml-tgt.adb, 5sosinte.adb, 5sosinte.ads, 5sosprim.adb,
1456 5sparame.adb, 5ssystem.ads, 5staprop.adb, 5stasinf.adb,
1457 5stasinf.ads, 5staspri.ads, 5stpopsp.adb, 5svxwork.ads,
1458 5tosinte.ads, 5usystem.ads, 5vasthan.adb, 5vdirval.adb,
1459 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
1460 5vmastop.adb, 5vml-tgt.adb, 5vosinte.adb, 5vosinte.ads,
1461 5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsymbol.adb,
1462 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
1463 5vtpopde.ads, 5vtraent.adb, 5vtraent.ads, 5vvaflop.adb,
1464 5wdirval.adb, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
1465 5wml-tgt.adb, 5wosinte.ads, 5wosprim.adb, 5wsystem.ads,
1466 5wtaprop.adb, 5wtaspri.ads, 5xparame.ads, 5xsystem.ads,
1467 5xvxwork.ads, 5yparame.ads, 5ysystem.ads, 5zinterr.adb,
1468 5zintman.adb, 5zintman.ads, 5zml-tgt.adb, 5zosinte.adb,
1469 5zosinte.ads, 5zosprim.adb, 5zparame.ads, 5zstchop.adb,
1470 5zsystem.ads, 5ztaprop.adb, 5ztaspri.ads, 5ztfsetr.adb,
1471 5ztpopsp.adb, 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads,
1472 7sinmaop.adb, 7sintman.adb, 7sosinte.adb, 7sosprim.adb,
1473 7staprop.adb, 7staspri.ads, 7stfsetr.adb, 7stpopsp.adb,
1474 7straceb.adb, 7straces.adb, 7strafor.adb, 7strafor.ads,
1475 7stratas.adb, 86numaux.adb, 86numaux.ads: Replaced by files below.
1477 * a-caldel-vms.adb, a-calend-mingw.adb, a-calend-vms.adb,
1478 a-calend-vms.ads, a-dirval-mingw.adb, a-dirval-vms.adb,
1479 a-excpol-abort.adb, a-excpol-interix.adb, a-intnam-aix.ads,
1480 a-intnam-dummy.ads, a-intnam-freebsd.ads, a-intnam-hpux.ads,
1481 a-intnam-interix.ads, a-intnam-irix.ads, a-intnam-linux.ads,
1482 a-intnam-lynxos.ads, a-intnam-mingw.ads, a-intnam-os2.ads,
1483 a-intnam-solaris.ads, a-intnam-tru64.ads, a-intnam-unixware.ads,
1484 a-intnam-vms.ads, a-intnam-vxworks.ads, a-numaux-libc-x86.ads,
1485 a-numaux-vxworks.ads, a-numaux-x86.adb, a-numaux-x86.ads,
1486 a-sytaco-vxworks.adb, a-sytaco-vxworks.ads, g-eacodu-vms.adb,
1487 g-expect-vms.adb, g-soccon-aix.ads, g-soccon-freebsd.ads,
1488 g-soccon-hpux.ads, g-soccon-interix.ads, g-soccon-irix.ads,
1489 g-soccon-mingw.ads, g-soccon-solaris.ads, g-soccon-tru64.ads,
1490 g-soccon-unixware.ads, g-soccon-vms.adb, g-soccon-vxworks.ads,
1491 g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi-vms.adb,
1492 g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads,
1493 g-soliop-mingw.ads, g-soliop-solaris.ads, g-soliop-unixware.ads,
1494 g-trasym-vms.adb, i-cpp-vms.adb, i-cstrea-vms.adb,
1495 interfac-vms.ads, mlib-tgt-aix.adb, mlib-tgt-hpux.adb,
1496 mlib-tgt-irix.adb, mlib-tgt-linux.adb, mlib-tgt-mingw.adb,
1497 mlib-tgt-solaris.adb, mlib-tgt-tru64.adb, mlib-tgt-vms.adb,
1498 mlib-tgt-vxworks.adb, s-asthan-vms.adb, s-gloloc-mingw.adb,
1499 s-inmaop-dummy.adb, s-inmaop-posix.adb, s-inmaop-vms.adb,
1500 s-interr-dummy.adb, s-interr-sigaction.adb, s-interr-vms.adb,
1501 s-interr-vxworks.adb, s-intman-dummy.adb, s-intman-irix.adb,
1502 s-intman-irix-athread.adb, s-intman-mingw.adb, s-intman-posix.adb,
1503 s-intman-solaris.adb, s-intman-vms.adb, s-intman-vms.ads,
1504 s-intman-vxworks.adb, s-intman-vxworks.ads, s-mastop-irix.adb,
1505 s-mastop-tru64.adb, s-mastop-vms.adb, s-mastop-x86.adb,
1506 s-memory-mingw.adb, s-osinte-aix.adb, s-osinte-aix.ads,
1507 s-osinte-aix-fsu.ads, s-osinte-dummy.ads, s-osinte-freebsd.adb,
1508 s-osinte-freebsd.ads, s-osinte-fsu.adb, s-osinte-hpux.ads,
1509 s-osinte-hpux-dce.adb, s-osinte-hpux-dce.ads, s-osinte-interix.ads,
1510 s-osinte-irix.adb, s-osinte-irix.ads, s-osinte-irix-athread.ads,
1511 s-osinte-linux.ads, s-osinte-linux-fsu.ads, s-osinte-linux-ia64.ads,
1512 s-osinte-lynxos-3.adb, s-osinte-lynxos-3.ads, s-osinte-lynxos.adb,
1513 s-osinte-lynxos.ads, s-osinte-mingw.ads, s-osinte-os2.adb,
1514 s-osinte-os2.ads, s-osinte-posix.adb, s-osinte-solaris.adb,
1515 s-osinte-solaris.ads, s-osinte-solaris-fsu.ads,
1516 s-osinte-solaris-posix.ads, s-osinte-tru64.adb, s-osinte-tru64.ads,
1517 s-osinte-unixware.adb, s-osinte-unixware.ads, s-osinte-vms.adb,
1518 s-osinte-vms.ads, s-osinte-vxworks.adb,
1519 s-osinte-vxworks.ads, s-osprim-mingw.adb,
1520 s-osprim-os2.adb, s-osprim-posix.adb, s-osprim-solaris.adb,
1521 s-osprim-unix.adb, s-osprim-vms.adb, s-osprim-vms.ads,
1522 s-osprim-vxworks.adb, s-parame-ae653.ads, s-parame-hpux.ads,
1523 s-parame-linux.adb, s-parame-os2.adb, s-parame-solaris.adb,
1524 s-parame-vms.ads, s-parame-vms-restrict.ads, s-parame-vxworks.ads,
1525 s-proinf-irix-athread.adb, s-proinf-irix-athread.ads,
1526 s-stchop-vxworks.adb, s-taprop-dummy.adb,
1527 s-taprop-hpux-dce.adb, s-taprop-irix.adb,
1528 s-taprop-irix-athread.adb, s-taprop-linux.adb, s-taprop-lynxos.adb,
1529 s-taprop-mingw.adb, s-taprop-os2.adb, s-taprop-posix.adb,
1530 s-taprop-solaris.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
1531 s-taprop-vxworks.adb, s-tasinf-irix.ads, s-tasinf-irix-athread.adb,
1532 s-tasinf-irix-athread.ads, s-tasinf-solaris.adb, s-tasinf-solaris.ads,
1533 s-tasinf-tru64.ads, s-taspri-dummy.ads, s-taspri-hpux-dce.ads,
1534 s-taspri-linux.ads, s-taspri-lynxos.ads, s-taspri-mingw.ads,
1535 s-taspri-os2.ads, s-taspri-posix.ads, s-taspri-solaris.ads,
1536 s-taspri-tru64.ads, s-taspri-vms.ads, s-taspri-vxworks.ads,
1537 s-tfsetr-default.adb, s-tfsetr-vxworks.adb, s-tpopde-vms.adb,
1538 s-tpopde-vms.ads, s-tpopsp-lynxos.adb, s-tpopsp-posix.adb,
1539 s-tpopsp-posix-foreign.adb, s-tpopsp-solaris.adb, s-tpopsp-vxworks.adb,
1540 s-traceb-hpux.adb, s-traceb-mastop.adb, s-traces-default.adb,
1541 s-traent-vms.adb, s-traent-vms.ads, s-trafor-default.adb,
1542 s-trafor-default.ads, s-tratas-default.adb, s-vaflop-vms.adb,
1543 s-vxwork-alpha.ads, s-vxwork-m68k.ads, s-vxwork-mips.ads,
1544 s-vxwork-ppc.ads, s-vxwork-sparcv9.ads, s-vxwork-xscale.ads,
1545 symbols-vms.adb, system-aix.ads, system-freebsd-x86.ads,
1546 system-hpux.ads, system-interix.ads, system-irix-n32.ads,
1547 system-irix-o32.ads, system-linux-x86_64.ads,
1548 system-linux-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads,
1549 system-mingw.ads, system-os2.ads, system-solaris-sparc.ads,
1550 system-solaris-sparcv9.ads, system-solaris-x86.ads, system-tru64.ads,
1551 system-unixware.ads, system-vms.ads, system-vms-zcx.ads,
1552 system-vxworks-alpha.ads, system-vxworks-m68k.ads,
1553 system-vxworks-mips.ads, system-vxworks-ppc.ads,
1554 system-vxworks-sparcv9.ads, system-vxworks-xscale.ads: Replace files
1557 2004-05-13 Zack Weinberg <zack@codesourcery.com>
1559 * trans.c (gnat_stabilize_reference_1): Remove case 'b'.
1561 2004-05-13 Diego Novillo <dnovillo@redhat.com>
1563 Merge from tree-ssa-20020619-branch.
1565 * config-lang.in (boot_language, build_by_default): Set
1567 * utils.c (unchecked_convert): Use OEP_ONLY_CONST.
1568 (max_size): Add static chain op for call_expr.
1570 2004-05-12 Richard Sandiford <rsandifo@redhat.com>
1573 * 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '.
1575 2004-05-11 Roger Sayle <roger@eyesopen.com>
1577 * utils.c (max_size): Use MIN_EXPR to find the minimum value of a
1580 2004-05-10 Doug Rupp <rupp@gnat.com>
1582 * 5qsystem.ads: Remove Short_Address subtype declaration. Moved to
1585 * s-auxdec.ads: Add Short_Address subtype (moved here from System).
1587 * Makefile.in: [VMS]: Add translation for 5qauxdec.ads.
1589 * init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha.
1590 Fixes undefined symbols in IA64 gnatlib.
1592 * 5vinmaop.adb: Reference s-auxdec for Short_Address.
1594 * 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype
1595 Short_Address). This will be moved to system.auxdec.
1597 2004-05-10 Thomas Quinot <quinot@act-europe.fr>
1599 * sem_util.adb: Replace test for presence of a node that is always
1600 present with a call to Discard_Node.
1602 * sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to
1603 Analyze on the library unit node after generation of distribution stub
1604 constructs. The call was a no-op because Unit_Node has already been
1605 Analyzed, and the tree fragments for the distribution stubs are
1606 analyzed as they are inserted in Exp_Dist.
1607 Update comment regarding to distribution stubs to reflect that we
1608 do not generate stub in separate files anymore.
1610 * einfo.ads: Clarify the fact that a tagged private type has the
1611 E_Record_Type_With_Private Ekind.
1613 * erroutc.adb: Minor reformatting
1615 * erroutc.ads (Max_Msg_Length): Increase to cover possible larger
1616 values if line length is increased using -gnatyM (noticed during code
1619 * eval_fat.adb: Minor reformatting
1620 Put spaces around exponentiation operator
1622 2004-05-10 Ed Schonberg <schonberg@gnat.com>
1625 * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix
1626 has been rewritten as an explicit dereference, retrieve type of
1627 original node to check for possibly unconstrained record type.
1629 2004-05-10 Ed Schonberg <schonberg@gnat.com>
1631 * exp_ch7.adb (Check_Visibly_Controlled): If given operation is not
1632 overriding, use the operation of the parent unconditionally.
1634 * sem_ch4.adb (Remove_Address_Interpretations): Remove address
1635 operation when either operand is a literal, to avoid further
1638 * sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and
1639 overridden by a previous explicit declaration, mark the previous entity
1642 * sem_disp.adb (Check_Dispatching_Operation): New predicate
1643 Is_Visibly_Controlled, to determine whether a declaration of a
1644 primitive control operation for a derived type overrides an inherited
1645 one. Add warning if the explicit declaration does not override.
1647 2004-05-10 Vincent Celier <celier@gnat.com>
1649 * gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in
1650 some cases when the sources are no longer present.
1652 * make.adb (Collect_Arguments): Fail if an external source, not part
1653 of any project need to be compiled, when switch -x has not been
1656 * makeusg.adb: Document new switch -x
1658 * opt.ads (External_Unit_Compilation_Allowed): New Boolean flag,
1661 * switch-m.adb (Scan_Make_Switches): New switch -x
1663 * vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for
1666 * gnat_ugn.texi: Document new gnatmake switch -x
1668 2004-05-10 Eric Botcazou <ebotcazou@act-europe.fr>
1670 * misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0.
1672 * utils.c (create_var_decl): Do not modify the DECL_COMMON flag.
1673 (process_attributes): Likewise.
1675 2004-05-10 Joel Brobecker <brobecker@gnat.com>
1677 * s-inmaop.ads: Fix spelling mistake in one of the comments.
1679 2004-05-10 Robert Dewar <dewar@gnat.com>
1681 * gnat_ugn.texi: Document that for config pragma files, the maximum
1682 line length is always 32767.
1684 * gnat_rm.texi: For pragma Eliminate, note that concatenation of string
1685 literals is now allowed.
1687 * gnat-style.texi: Remove statement about splitting long lines before
1688 an operator rather than after, since we do not follow this rule at all.
1689 Clarify rule (really lack of rule) for spaces around exponentiation
1691 * sem_elim.adb: Allow concatenation of string literals as well as a
1692 single string literal for pragma arguments.
1694 * sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function
1696 * a-textio.adb (Terminate_Line): Do not add line feed if nothing
1697 written for append case.
1699 * frontend.adb: Changes to avoid checking max line length in config
1702 * g-os_lib.ads: Minor reformatting
1704 * mlib-utl.adb: Do not define Max_Line_Length locally (definition was
1705 wrong in any case. Instead use standard value. Noticed during code
1708 * opt.ads (Max_Line_Length): New field, used to implement removal of
1709 limitation on length of lines when scanning config pragma files.
1711 * osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb,
1712 makeutl.ads, makeutl.adb: Minor reformatting
1714 * scn.adb: Do not check line length while scanning config pragma files
1715 Do not check line length while scanning out license information
1717 * scng.adb: Changes to avoid line length checks while parsing config
1720 2004-05-10 GNAT Script <nobody@gnat.com>
1722 * Make-lang.in: Makefile automatically updated
1724 2004-05-05 Arnaud Charlet <charlet@act-europe.fr>
1726 * osint.adb (Find_Program_Name): Fix handling of VMS version
1729 2004-05-05 Emmanuel Briot <briot@act-europe.fr>
1731 * g-os_lib.ads (Invalid_Time): New constant
1733 * adaint.h, adaint.c (__gnat_file_time_name, __gnat_file_time_fd): Now
1734 return OS_Time instead of time_t to match what is imported by Ada.
1735 Now return -1 if the file doesn't exist, instead of a random value
1737 2004-05-05 Robert Dewar <dewar@gnat.com>
1739 * usage.adb: Add line for -gnatR?s switch
1741 * sem_ch13.adb, exp_ch2.adb: Minor reformatting
1743 * g-regpat.ads, g-regpat.adb: Add documentation on handling of Size
1744 and for Match (Data_First, Data_last)
1746 * lib-writ.adb (Write_With_Lines): Ensure that correct index number is
1747 written when we are dealing with multi-unit files.
1749 2004-05-05 Jerome Guitton <guitton@act-europe.fr>
1751 * Makefile.in: Remove unused targets and variables.
1753 2004-05-05 Vincent Celier <celier@gnat.com>
1755 * switch-m.adb: New gnatmake switch -eI
1757 * vms_data.ads: Add VMS equivalents of new gnatclean swith -innn and
1758 of new gnatmake switch -eInnn.
1760 * makegpr.adb: Take into account new parameters Index and Src_Index in
1763 * clean.adb: Implement support for multi-unit sources, including new
1766 * gnatcmd.adb (GNATCmd): Call Prj.Util.Value_Of with new parameter
1769 * make.ads, make.adb (Insert_Q): New parameter Index, defaulted to 0
1770 (Extract_From_Q): New out parameter Index
1771 (Mark, Is_Marked): Subprograms moved to Makeutl
1772 (Switches_Of): New parameter Source_Index
1773 (Add_Switch): New parameter Index
1774 (Check): New parameter Source_Index
1775 (Collect_Arguments): New parameter Source_Index
1776 (Collect_Arguments_And_Compile): New parameter Source_Index
1777 (Compile): New parameter Source_Index
1778 Put subprograms in alphabetical order
1779 Add support for multi-source sources, including in project files.
1781 * makeutl.ads, makeutl.adb (Unit_Index_Of): New function
1782 (Mark, Is_Marked, Delete_All_Marks): New subprograms, moved from
1785 * makeusg.adb: New gnatmake switch -eInnn
1787 * mlib-prj.adb (Build_Library): Add new parameter Src_Index to call to
1790 * opt.ads (Main_Index): New variable, defaulted to 0.
1792 * osint.ads, osinte.adb (Add_File): New parameter Index
1793 (Current_Source_Index): New function
1795 * prj.adb: Take into account new components Index and Src_Index
1797 * prj.ads (String_Element): New component Index
1798 (Variable_Value): New component Index
1799 (Array_Element): New component Src_Index
1801 * prj-attr.adb: Indicate that optional index may be specified for
1802 attributes Main, Executable, Spec, Body and some of Switches.
1804 * prj-attr.ads (Attribute_Kind): New values for optional indexes
1805 (Attribute_Record): New component Optional_Index
1807 * prj-com.ads (File_Name_Data): New component Index
1809 * prj-dect.adb (Parse_Attribute_Declaration): Process optional index
1811 * prj-env.adb (Put): Output optional index
1813 * prj-makr.adb: Put indexes for multi-unit sources in SFN pragmas and
1814 attributes Spec and Body.
1816 * prj-nmsc.adb: Process optional indexes
1818 * prj-pp.adb: Ouput "at" for optional indexes
1820 * prj-proc.adb: Take into account optional indexes
1822 * prj-strt.ads, prj-strt.adb (Terms): New Boolean parameter
1823 Optional_Index. For string literal,
1824 process optional index when Optional_Index is True.
1825 (Parse_Expresion): New Boolean parameter Optional_Index
1827 * prj-tree.ads, prj-tree.adb (Source_Index_Of): New function
1828 (Set_Source_Index_Of): New procedure
1830 * prj-util.adb (Executable_Of, Value_Of): Take into account optional
1833 * prj-util.ads (Executable_Of): New parameter Index
1834 (Value_Of (Name_Id, Array_Element_Id) returning Variable_Value):
1835 New parameter Src_Index, defaulted to 0.
1837 2004-05-05 Ed Schonberg <schonberg@gnat.com>
1840 * sem_ch3.adb (Access_Definition): If this is an access parameter
1841 whose designated type is imported through a limited_with clause, do
1842 not add the enclosing subprogram to the list of private dependents of
1845 2004-05-05 Ed Schonberg <schonberg@gnat.com>
1848 * sem_ch6.adb (Base_Types_Match): True if one type is imported through
1849 a limited_with clause, and the other is its non-limited view.
1851 2004-05-05 Thomas Quinot <quinot@act-europe.fr>
1853 * cstand.adb (Create_Standard): Initialize Stand.Boolean_Literals.
1855 * exp_attr.adb, exp_ch5.adb, exp_ch9.adb, exp_disp.adb,
1856 exp_fixd.adb, sem_attr.adb, sem_dist.adb, sem_util.adb: Use
1857 Stand.Boolean_Literals to produce references to entities
1858 Standard_False and Standard_True from compile-time computed boolean
1861 * stand.ads (Boolean_Literals): New variable, provides the entity
1862 values for False and True, for use by the expander.
1864 2004-05-05 Doug Rupp <rupp@gnat.com>
1866 * 5vinmaop.adb, 5[vx]system.ads: Add Short_Address subtype
1867 5vinmaop.adb: Unchecked convert Short_Address vice Address
1869 * adaint.c, raise.c: Caste CRTL function return value
1870 to avoid gcc error on 32/64 bit IVMS.
1872 * Makefile.in [VMS]: Use iar archiver if host = Alpha/VMS and
1875 * init.c[VMS]: Only call Alpha specific __gnat_error_prehandler IN_RTS.
1877 * 5qsystem.ads (Address): Declare as Long_Integer
1878 (Short_Address): Declare as 32 bit subtype of Address
1879 Declare abstract address operations to avoid gratuitous ambiguities.
1881 2004-05-05 Jose Ruiz <ruiz@act-europe.fr>
1883 * gnat_rm.texi: Use the new restriction Simple_Barriers (AI-249)
1884 instead of the old Boolean_Entry_Barriers.
1885 Ditto for No_Task_Attributes_Package instead of No_Task_Attributes.
1887 2004-05-05 GNAT Script <nobody@gnat.com>
1889 * Make-lang.in: Makefile automatically updated
1891 2004-05-03 Arnaud Charlet <charlet@act-europe.fr>
1893 * 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used.
1895 2004-05-03 Olivier Hainque <hainque@act-europe.fr>
1899 * exp_ch2.adb (Expand_Current_Value): Leave Machine_Code Asm arguments
1900 alone. Replacing object references by literals is inappropriate in a
1901 so low level context.
1903 2004-05-03 Arnaud Charlet <charlet@act-europe.fr>
1905 * a-exexpr.adb: Add comments
1907 2004-05-03 Joel Brobecker <brobecker@gnat.com>
1909 * a-tags.adb (Tag_Table): Add Index_Check pragma Suppress. Allows us to
1910 declare the Ancestor_Tags array in Type_Specific_Data with a small size
1911 without risking a bounds check error when accessing one of its
1913 (Type_Specific_Data): Define Ancestor_Tags as a small array.
1914 This prevents us from hitting a limitation during the debug info
1915 generation when using stabs.
1917 * a-tags.adb (Dispatch_Table): Define the Prims_Ptr component as a
1919 This prevents us from hitting a limitation during the debug info
1920 generation when using stabs.
1922 2004-05-03 Eric Botcazou <ebotcazou@act-europe.fr>
1924 lang-specs.h: Remove -gnatz* from specs.
1926 2004-05-03 Vincent Celier <celier@gnat.com>
1928 * gprmake.adb, makegpr.ads, makegpr.adb: New files.
1930 * Make-lang.in, Makefile.in: Add gprmake
1932 2004-05-03 Thomas Quinot <quinot@act-europe.fr>
1934 * sem_aggr.adb: Fix typo in comment.
1936 2004-05-03 Robert Dewar <dewar@gnat.com>
1938 * make.adb: Minor reformatting
1940 * rtsfind.ads, rtsfind.adb: (RTU_Loaded): New function
1942 * sem_attr.adb (Eval_Attribute, case Type_Class): Fix check for address
1943 so that it works when address is not a private type.
1945 * sem_ch13.adb (Check_Expr_Constants, case N_Integer_Literal): Deal
1946 properly with rewritten unchecked conversions. This prevents
1947 order-of-elaboration issues that can otherwise arise.
1948 (Minimum_Size): Don't check size of access types under VMS
1950 * sem_ch4.adb (Remove_Address_Interpretation): New circuit to remove
1951 interpretations of integer literals as type System.Address.
1953 * sem_util.ads, sem_util.adb (Is_Descendent_Of_Address): New function
1954 (Is_Descendent_Of): New function
1956 2004-05-03 Jose Ruiz <ruiz@act-europe.fr>
1958 * sem_prag.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
1959 Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length.
1960 No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment.
1962 * sem_res.adb: Use the new restriction Max_Entry_Queue_Length instead
1963 of the old Max_Entry_Queue_Depth.
1965 * snames.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
1966 Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length
1967 No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment
1969 * snames.ads: New entry for proper handling of Boolean_Entry_Barriers.
1970 New entry for proper handling of Max_Entry_Queue_Depth.
1971 New entry for proper handling of No_Dynamic_Interrupts.
1973 * s-rident.ads: Adding restriction Simple_Barriers (AI-00249) that
1974 supersedes the GNAT specific restriction Boolean_Entry_Barriers.
1975 Adding restriction Max_Entry_Queue_Length (AI-00249) that supersedes
1976 the GNAT specific restriction Max_Entry_Queue_Depth.
1977 Adding restriction No_Dynamic_Attachment (AI-00249) that supersedes
1978 the GNAT specific restriction No_Dynamic_Interrupts.
1980 * restrict.ads, restrict.adb: Use the new restriction Simple_Barriers
1981 instead of the old Boolean_Entry_Barriers.
1982 Use the new restriction No_Dynamic_Attachment instead of the old
1983 No_Dynamic_Interrupts.
1985 * exp_ch9.adb: Check restriction Simple_Barriers (AI-00249) that
1986 supersedes the GNAT specific restriction Boolean_Entry_Barriers.
1988 * gnatbind.adb: Use the new restriction Max_Entry_Queue_Length instead
1989 of the old Max_Entry_Queue_Depth.
1991 2004-05-03 GNAT Script <nobody@gnat.com>
1993 * Make-lang.in: Makefile automatically updated
1995 2004-04-29 Ed Schonberg <schonberg@gnat.com>
1997 * checks.adb (Enable_Range_Check): If the prefix of an index component
1998 is an access to an unconstrained array, perform check unconditionally.
2000 2004-04-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2002 * decl.c (gnat_to_gnu_field): Also call make_packable_type if
2005 2004-04-29 Olivier Hainque <hainque@act-europe.fr>
2007 * init.c (__gnat_install_handler, __gnat_error_handler): Remove
2008 alternate stack setting. There was no support for the tasking cases
2009 and the changes eventually caused a number of side-effect failures in
2010 the non-tasking case too.
2012 2004-04-29 Eric Botcazou <ebotcazou@act-europe.fr>
2014 lang-specs.h: Redirect output to /dev/null if -gnatc or -gnatz or
2017 2004-04-29 Vincent Celier <celier@gnat.com>
2019 * make.adb (Gnatmake): Increase max size of argument array for
2020 gnatbind for the potential addition of -F.
2021 If there are Stand-Alone Library projects, invoke gnatbind with -F to
2022 be sure that elaboration flags will be checked.
2024 * switch-c.adb: Correct call to Scan_Pos for -gnateI
2026 2004-04-29 Thomas Quinot <quinot@act-europe.fr>
2028 * sem_warn.adb (Check_References): Move '<access-variable> may be
2029 null' warning out of under Warn_On_No_Value_Assigned.
2031 2004-04-29 Ed Falis <falis@gnat.com>
2033 * gnat_ugn.texi: Fixed texi error
2035 2004-04-29 Robert Dewar <dewar@gnat.com>
2037 * sem_ch4.adb (Remove_Abstract_Operations): Unconditionally remove
2038 abstract operations if they come from predefined files.
2040 * gnat_rm.texi: Fix bad doc for pragma Elaboration_Checks (should be
2043 * s-addope.adb: Correct obvious error in mod function
2045 2004-04-28 Andrew W. Reynolds <awreynolds@mac.com>
2047 * Makefile.in: Add target pairs for powerpc darwin*
2050 * a-intnam-darwin.ads, s-osinte-darwin.adb,
2051 s-osinte-darwin.ads, system-darwin-ppc.ads: New files.
2053 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com>
2055 * Makefile.in: Add target macro definitions for s390*-linux*.
2056 * system-linux-s390.ads: New file.
2057 * system-linux-s390x.ads: New file.
2059 2004-04-28 Joseph S. Myers <jsm@polyomino.org.uk>
2061 * gnat_ugn.texi: Correct argument to @setfilename.
2063 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com>
2065 * a-exexpr.adb (Unwind_Word): New data type.
2066 (Unwind_Exception): Use it as type of Private1 and Private2.
2068 * raise.c (db_action_for): Fix debug printf.
2070 2004-04-27 Ed Schonberg <schonberg@gnat.com>
2072 * a-wtmoio.ads: Formal type must be a modular type, not a signed
2075 2004-04-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2077 * decl.c (gnat_to_gnu_entity, case object): Call
2078 __builtin_update_setjmp_buf.
2080 * gigi.h (update_setjmp_buf): Deleted.
2081 (ADT_update_setjmp_buf_decl, update_setjmp_buf_decl): New.
2083 * misc.c: (update_setjmp_buf): Deleted.
2085 * trans.c (gnat_to_gnu): Call do_pending_stack_adjust and emit_queue
2086 around block of RTL.
2088 * utils.c (init_gigi_decls): Initialize update_setjmp_buf.
2090 2004-04-26 Thomas Quinot <quinot@act-europe.fr>
2092 * sem_dist.adb, exp_dist.adb: When constructing a RAS value for a local
2093 subprogram for which no pragma All_Calls_Remote applies, store the
2094 address of the real subprogram in the underlying record type, so local
2095 dereferences do not go through the PCS.
2097 2004-04-26 Robert Dewar <dewar@gnat.com>
2099 * i-c.ads: Add some type qualifications to avoid ambiguities when
2100 compiling with s-auxdec.ads and a non-private address type.
2102 2004-04-26 Arnaud Charlet <charlet@act-europe.fr>
2104 * Makefile.rtl: Fix error in previous check-in:
2105 Add s-addope.o to non tasking object list (rather than tasking object
2108 2004-04-26 Javier Miranda <miranda@gnat.com>
2110 * sem_aggr.adb: Fix typo in comments
2111 (Resolve_Aggr_Expr): Propagate the type to the nested aggregate.
2112 Required to check the null-exclusion attribute.
2114 * sem_attr.adb (Resolve_Attribute): Check the accessibility level in
2115 case of anonymous access types in record and array components. For a
2116 component definition the level is the same of the enclosing composite
2119 * sem_ch3.adb (Analyze_Component_Declaration): In case of components
2120 that are anonymous access types the level of accessibility depends on
2121 the enclosing type declaration. In order to have this information, set
2122 the scope of the anonymous access type to the enclosing record type
2124 (Array_Type_Declaration): In case of components that are anonymous
2125 access types the level of accessibility depends on the enclosing type
2126 declaration. In order to have this information, set the scope of the
2127 anonymous access type to the enclosing array type declaration.
2129 * sem_ch3.adb (Array_Type_Declaration): Set the scope of the anonymous
2132 * sem_ch8.adb (Analyze_Object_Renaming): Add check to verify that
2133 renaming of anonymous access-to-constant types allowed if and only if
2134 the renamed object is access-to-constant.
2136 * sem_util.adb (Type_Access_Level): In case of anonymous access types
2137 that are component_definition or discriminants of a nonlimited type,
2138 the level is the same as that of the enclosing component type.
2140 2004-04-26 Sergey Rybin <rybin@act-europe.fr>
2142 * sem_elim.adb: Some minor code reorganization from code reading. Fix
2143 misprint in the function name (File_Name_Match).
2145 2004-04-23 Laurent GUERBY <laurent@guerby.net>
2147 * Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after
2150 2004-04-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2152 * Make-lang.in (GNATBIND_OBJS): Add s-addope.o.
2154 2004-04-23 Emmanuel Briot <briot@act-europe.fr>
2156 * adaint.c (__gnat_try_lock): No longer requires that the parent
2157 directory be writable, the directory itself is enough.
2158 (gnat_is_absolute_path): Change profile, so that the call from
2159 GNAT.OS_Lib can be made more efficient.
2161 * adaint.h (gnat_is_absolute_path): Change profile, so that the call
2162 from GNAT.OS_Lib can be made more efficient.
2164 * g-os_lib.adb (Is_Absolute_Path): More efficient implementation, avoid
2165 one copy of the file name. Found by code reading.
2167 2004-04-23 Vincent Celier <celier@gnat.com>
2169 * gnat_ugn.texi: Add documentation for gnatmake switch -eL
2170 Correct documentation on gnatmake switches transmitted to the compiler
2172 * ali.ads: Minor comment fix
2174 2004-04-23 Javier Miranda <miranda@gnat.com>
2176 * sem_ch6.adb: (Confirming Types): Code cleanup
2178 * decl.c (gnat_to_gnu_entity): Give support to anonymous access to
2179 subprogram types: E_Anonymous_Access_Subprogram_Type and
2180 E_Anonymous_Access_Protected_Subprogram_Type.
2182 2004-04-23 Thomas Quinot <quinot@act-europe.fr>
2184 * sem_dist.adb: Add a new paramter to the RAS_Access TSS indicating
2185 whether a pragma All_Calls_Remote applies to the subprogram on which
2187 No functional change is introduced by this revision; the new parameter
2188 will be used to allow calls to local RCI subprograms to be optimized
2189 to not use the PCS in the case where no pragma All_Calls_Remote applies,
2190 as is already done in the PolyORB implementation of the DSA.
2192 * exp_dist.adb: Add a new paramter to the RAS_Access TSS indicating
2193 whether a pragma All_Calls_Remote applies to the subprogram on which
2195 No functional change is introduced by this revision; the new parameter
2196 will be used to allow calls to local RCI subprograms to be optimized
2197 to not use the PCS in the case where no pragma All_Calls_Remote applies,
2198 as is already done in the PolyORB implementation of the DSA.
2200 2004-04-23 Robert Dewar <dewar@gnat.com>
2202 * Makefile.rtl: Add entry for s-addope.o in run time library list
2203 * Make-lang.in: Add entry for s-addope.o to GNAT1 objects
2204 * s-addope.ads, s-addope.adb: New files.
2206 * s-carsi8.adb, s-carun8.adb, s-casi16.adb, s-casi32.adb,
2207 s-casi64.adb, s-caun16.adb, s-caun32.adb, s-caun64.adb,
2208 s-finimp.adb, s-geveop.adb, s-stoele.adb: Modifications to allow
2209 System.Address to be non-private and signed.
2211 * sem_elim.adb: Minor reformatting (fairly extensive)
2212 Some minor code reorganization from code reading
2213 Add a couple of ??? comments
2215 2004-04-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2217 * trans.c (tree_transform, build_unit_elab): Don't call getdecls.
2218 (tree_transform, case N_If_Statement): Remove non-determinism.
2220 * utils.c (begin_subprog_body): Just set DECL_CONTEXT in PARM_DECL.
2222 2004-04-23 Sergey Rybin <rybin@act-europe.fr>
2224 * gnat_rm.texi: Small fixes in the changes made in the 'pragma
2227 * snames.ads, snames.adb: Remove Name_Homonym_Number (Homonym_Number is
2228 no longer used as a parameter name for Eliminate pragma).
2230 2004-04-22 Laurent GUERBY <laurent@guerby.net>
2232 PR optimization/14984
2233 PR optimization/14985
2234 * trans.c (gigi): Fix non determinism leading to bootstrap
2235 comparison failures.
2237 2004-04-21 Pascal Obry <obry@gnat.com>
2239 * adaint.c (__gnat_portable_spawn): Quote first argument (argv[0])
2240 passed to spawnvp() to properly handle program pathname with spaces on
2243 2004-04-21 Emmanuel Briot <briot@act-europe.fr>
2245 * g-debpoo.adb (Print_Info): Avoid extra work if Display_Slots is False.
2246 (Allocate, Deallocate, Free_Physically): Make sure the tasks are
2247 unlocked in case of exceptions.
2249 2004-04-21 Joel Brobecker <brobecker@gnat.com>
2251 * gigi.h (get_target_no_dollar_in_label): Remove extern declaration.
2252 This function does not exist anymore.
2254 2004-04-21 Thomas Quinot <quinot@act-europe.fr>
2256 * gnatbind.adb, gnatlink.adb: Update name of imported C symbol.
2258 * link.c: Move variables to the __gnat name space.
2260 * Makefile.in: list link.o explicitly when needed.
2262 * mlib.adb: Remove pragma Linker_Option for "link.o" from mlib.
2264 2004-04-21 Javier Miranda <miranda@gnat.com>
2266 * einfo.adb (Original_Access_Type): New subprogram
2267 (Set_Original_Access_Type): New subprogram
2268 (Write_Field21_Name): Write the name of the new field
2270 * einfo.ads (Original_Access_Type): New field present in access to
2272 Addition of two new entities: E_Anonymous_Access_Subprogram_Type, and
2273 E_Anonymous_Access_Protected_Subprogram_Type.
2275 * lib-xref.adb (Output_One_Ref): Give support to anonymous access to
2278 * lib-xref.ads (Xref_Entity_Letters): Initialize values corresponding
2279 to anonymous access to subprogram types.
2281 * sem_attr.adb (Resolve_Attribute): Give support to anonymous access
2282 to subprogram types.
2284 * sem_ch3.adb (Access_Definition): Complete decoration of entities
2285 corresponding to anonymous access to subprogram types.
2286 (Analyze_Component_Declaration): Add new actual to the call to
2287 subprogram replace_anonymous_access_to_protected_subprogram.
2288 (Array_Type_Declaration): Add new actual to the call to subprogram
2289 replace_anonymous_access_to_protected_subprogram.
2290 (Process_Discriminants): Add new actual to the call to subprogram
2291 replace_anonymous_access_to_protected_subprogram.
2292 (Replace_Anonymous_Access_To_Protected_Subprogram): New formal.
2294 * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New
2297 * sem_ch6.adb, sem_type.adb, sem_res.adb: Give support to anonymous
2298 access to subprogram types.
2300 * sem_util.adb (Has_Declarations): Addition of package_specification
2303 2004-04-21 Ed Schonberg <schonberg@gnat.com>
2305 * sem_prag.adb (Make_Inline): If subprogram is a renaming, propagate
2306 inlined flags to renamed entity only if in current unit.
2308 2004-04-21 Thomas Quinot <quinot@act-europe.fr>
2310 * s-parint.ads: Add DSA implementation marker.
2312 * rtsfind.ads, rtsfind.adb, snames.ads, snames.adb, s-rpc.adb: Use the
2313 value of System.Partition_Interface.DSA_Implementation to determine
2314 what version of the distributed systems annex is available (no
2315 implementation, GLADE, or PolyORB).
2317 2004-04-21 Joel Brobecker <brobecker@gnat.com>
2319 * targtyps.c (get_target_no_dollar_in_label): Remove, no longer used.
2321 2004-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2323 * utils.c (convert, case CONSTRUCTOR, COMPONENT_REF): Do not make node
2324 with new type if alias sets differ.
2325 Fixes ACATS c41103b.
2327 2004-04-21 Vincent Celier <celier@gnat.com>
2329 * prj.ads: Remove FORTRAN as an accepted language: not tested yet.
2330 Add array Lang_Args for the language specific compiling argument
2333 * gnat_ugn.texi: Explain in more details when a library is rebuilt.
2335 2004-04-21 Sergey Rybin <rybin@act-europe.fr>
2337 * gnat_rm.texi: Update the descripton of the Eliminate pragma
2338 according to the recent changes in the format of the parameters of the
2339 pragma (replacing Homonym_Number with Source_Location).
2341 2004-04-19 Arnaud Charlet <charlet@act-europe.fr>
2343 * 5isystem.ads: Removed, unused.
2345 * gnat_rm.texi: Redo 1.13 change.
2347 2004-04-19 Robert Dewar <dewar@gnat.com>
2349 * s-stoele.ads: Clean up definition of Storage_Offset (the new
2350 definition is cleaner, avoids the kludge of explicit Standard operator
2351 references, and also is consistent with a visible System.Address with
2352 no visible operations.
2354 * s-geveop.adb: Add declarations to avoid assumption of visible
2355 operations on type System.Address (since these might not be available
2356 if Address is a non-private type for which the operations
2359 * sem_eval.adb: Minor reformatting
2361 * s-carsi8.ads, s-carun8.ads, s-casi16.ads, s-casi32.ads,
2362 s-casi64.ads, s-caun16.ads, s-caun32.ads, s-caun64.ads: Minor
2363 reformatting (new function spec format).
2365 * s-auxdec.adb, s-carsi8.adb, s-carun8.adb, s-casi16.adb,
2366 s-casi32.adb, s-casi64.adb, s-caun16.adb, s-caun32.adb,
2367 s-caun64.adb: Add declarations to avoid assumption of visible
2368 operations on type System.Address (since these might not be available
2369 if Address is a non-private type for which the operations are made
2372 * lib.ads, lib.adb (Synchronize_Serial_Number): New procedure.
2374 * exp_intr.adb: Minor comment update
2376 * exp_aggr.adb, exp_attr.adb, exp_ch13.adb: Minor reformatting.
2378 * 5omastop.adb: Add declarations to avoid assumption of visible
2379 operations on type System.Address (since these might not be available
2380 if Address is a non-private type for which the operations
2383 2004-04-19 Vincent Celier <celier@gnat.com>
2385 * switch-m.adb: (Scan_Make_Switches): Process new switch -eL
2387 * prj-pars.ads (Parse): New Boolean parameter Process_Languages,
2390 * prj-proc.adb (Process): New Boolean parameter Process_Languages,
2392 Call Check with Process_Languages.
2393 (Check): New Boolean parameter Process_Languages. Call Recursive_Check
2394 with Process_Languages.
2395 (Recursive_Check): New Boolean parameter Process_Languages. Call
2396 Nmsc.Ada_Check or Nmsc.Other_Languages_Check according to
2399 * prj-proc.ads (Process): New Boolean parameter Process_Languages,
2401 * prj-util.ads, prj-util.adb (Executable_Of): New Boolean
2402 parameter Ada_Main, defaulted to True.
2403 Check for Ada specific characteristics only when Ada_Main is True.
2405 * opt.ads: (Follow_Links): New Boolean flag for gnatmake
2407 * prj.adb: (Project_Empty): Add new Project_Data components.
2409 * prj.ads: New types and tables for non Ada languages.
2410 (Project_Data): New components Languages, Impl_Suffixes,
2411 First_Other_Source, Last_Other_Source, Imported_Directories_Switches,
2412 Include_Path, Include_Data_Set.
2414 * prj-env.ads, prj-env.adb: Minor reformatting
2416 * prj-nmsc.ads, prj-nmsc.adb: (Other_Languages_Check): New procedure
2417 Put subprograms in alphabetical order
2419 * prj-pars.adb (Parse): New Boolean parameter Process_Languages,
2420 defaulted to Ada; Call Prj.Proc.Process with Process_Languages and
2423 * mlib-prj.adb: Back out modification in last version, as they are
2425 (Build_Library.Check_Libs): Remove useless pragma Warnings (Off)
2427 * make.adb: (Mains): Moved to package Makeutl
2428 (Linker_Opts): Moved to package Makeutl
2429 (Is_External_Assignment): Moved to package Makeutl
2430 (Test_If_Relative_Path): Moved to package Makeutl
2431 (Gnatmake): Move sorting of linker options to function
2432 Makeutl.Linker_Options_Switches.
2434 * makeutl.ads, makeutl.adb: New files.
2436 * Makefile.in: Add makeutl.o to the object files for gnatmake
2438 * makeusg.adb: Add line for new switch -eL.
2440 * gnatls.adb (Image): New function.
2441 (Output_Unit): If in verbose mode, output the list of restrictions
2442 specified by pragmas Restrictions.
2444 * 5bml-tgt.adb, 5vml-tgt.adb (Build_Dynamic_Library): Do not use
2447 * a-calend.adb (Split): Shift the date by multiple of 56 years, if
2448 needed, to put it in the range 1970 (included) - 2026 (excluded).
2449 (Time_Of): Do not shift Unix_Min_Year (1970).
2450 Shift the date by multiple of 56 years, if needed, to put it in the
2451 range 1970 (included) - 2026 (excluded).
2453 * adaint.h, adaint.c (__gnat_set_executable): New function.
2455 2004-04-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2457 * trans.c (tree_transform, case N_Subprogram_Body): Temporarily push
2459 (tree_transform, case N_Procedure_Call): Fix typo in setting TREE_TYPE.
2460 (tree_transform, case N_Label): Don't set LABEL_STMT_FIRST_IN_EH.
2461 (tree_transform, case N_Procedure_Call_Statement): Build a tree.
2462 (tree_transform, case N_Code_Statement): Likewise.
2463 (gnat_expand_stmt, case LABEL_STMT): Don't look at
2464 LABEL_STMT_FIRST_IN_EH.
2465 (gnat_expand_stmt, case ASM_STMT): New case.
2467 * utils2.c (build_unary_op): Properly set TREE_READONLY of
2468 UNCONSTRAINED_ARRAY_REF.
2470 * utils.c (poplevel): Temporarily push/pop GC context around inline
2473 * decl.c (maybe_variable): Properly set TREE_READONLY of
2474 UNCONSTRAINED_ARRAY_REF.
2475 (make_packable_type): Only reference TYPE_IS_PADDING_P for RECORD_TYPE.
2477 * ada-tree.def: (ASM_STMT): New.
2479 * ada-tree.h: (LABEL_STMT_FIRST_IN_EH): Deleted.
2480 (ASM_STMT_TEMPLATE, ASM_STMT_OUTPUT, ASM_STMT_ORIG_OUT,
2481 ASM_STMT_INPUT): New.
2482 (ASM_STMT_CLOBBER): Likewise.
2484 2004-04-19 Thomas Quinot <quinot@act-europe.fr>
2486 * a-except.adb, s-parint.ads, s-parint.adb, types.ads, types.h: Use
2487 general rcheck mechanism to raise Program_Error for E.4(18), instead
2488 of a custom raiser in System.Partition_Interface.
2489 Part of general cleanup work before PolyORB integration.
2491 * snames.ads, snames.adb: Add new runtime library entities and names
2494 * sem_dist.ads, sem_dist.adb (Get_Subprogram_Id): Move from sem_dist to
2496 (Build_Subprogram_Id): New subprogram provided by exp_dist
2497 Code reorganisation in preparation for PolyORB integration.
2499 * exp_dist.ads, exp_dist.adb (Get_Subprogram_Id): Move from sem_dist to
2501 (Build_Subprogram_Id): New subprogram provided by exp_dist
2503 * sem_ch4.adb (Analyze_One_Call): Fix error message for mismatch in
2504 actual parameter types for call to dereference of an
2505 access-to-subprogram type.
2507 * rtsfind.ads: Add new runtime library entities and names for PolyORB
2510 * gnatlink.adb (Value): Remove. Use Interfaces.C.Strings.Value
2511 instead, which has the same behaviour here since we never pass it a
2514 * link.c (run_path_option, Solaris case): Use -Wl, as for other
2517 * Makefile.in: adjust object file lists for gnatlink and gnatmake
2518 to account for new dependency upon Interfaces.C.Strings + link.o
2519 For x86 FreeBSD, use 86numaux.
2521 * make.adb, gnatcmd.adb: Linker_Library_Path_Option has been moved up
2522 from Mlib.Tgt to Mlib.
2524 * mlib.ads, mlib.adb (Linker_Library_Path_Option): New subprogram, now
2527 * mlib-tgt.ads, mlib-tgt.adb (Linker_Library_Path_Option): Remove
2528 target-specific versions of this subprogram, now implemented as a
2529 target-independent function in Mlib.
2531 * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb, 5lml-tgt.adb,
2532 5sml-tgt.adb, 5vml-tgt.adb, 5zml-tgt.adb, 5wml-tgt.adb
2533 (Linker_Library_Path_Option): Remove target-specific versions of this
2534 subprogram, now implemented as a target-independent function in Mlib.
2536 * atree.adb: (Allocate_Initialize_Node): New subprogram.
2537 Factors out node table slots allocation.
2538 (Fix_Parents): New subprogram.
2539 Encapsulate the pattern of fixing up parent pointers for syntactic
2540 children of a rewritten node.
2541 (New_Copy_Tree): Use New_Copy to copy non-entity nodes.
2542 (Rewrite): Use New_Copy when creating saved copy of original node.
2543 (Replace): Use Copy_Node to copy nodes.
2545 2004-04-19 Javier Miranda <miranda@gnat.com>
2547 * sprint.adb (Sprint_Node_Actual): Give support to the new
2548 Access_To_Subprogram node available in Access_Definition nodes. In
2549 addition, give support to the AI-231 node fields: null-exclusion,
2550 all-present, constant-present.
2552 * sem_util.ads, sem_util.adb: (Has_Declarations): New subprogram
2554 * sinfo.ads, sinfo.adb:
2555 New field Access_To_Subprogram_Definition in Access_Definition nodes
2557 * sem_ch6.adb (Process_Formals): Move here the code that creates and
2558 decorates internal subtype declaration corresponding to the
2559 null-excluding formal. This code was previously in Set_Actual_Subtypes.
2560 In addition, carry out some code cleanup on this code. In case of
2561 access to protected subprogram call
2562 Replace_Anonymous_Access_To_Protected_Subprogram.
2563 (Set_Actual_Subtypes): Code cleanup.
2565 * sem_ch8.adb (Analyze_Object_Renaming): Remove un-necessary call to
2566 Find_Type in case of anonymous access renamings. Add warning in case of
2567 null-excluding attribute used in anonymous access renaming.
2569 * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New
2572 * sem_ch3.adb (Replace_Anonymous_Access_To_Protected_Subprogram): New
2574 (Access_Definition): In case of anonymous access to subprograms call
2575 the corresponding semantic routine to decorate the node.
2576 (Access_Subprogram_Declaration): Addition of some comments indicating
2577 some code that probably should be added here. Detected by comparison
2578 with the access_definition subprogram.
2579 (Analyze_Component_Declaration): In case of access to protected
2580 subprogram call Replace_Anonymous_Access_To_Protected.
2581 (Array_Type_Declaration): In case of access to protected subprogram call
2582 Replace_Anonymous_Access_To_Protected_Subprogram.
2583 (Process_Discriminants): In case of access to protected subprogram call
2584 Replace_Anonymous_Access_To_Protected_Subprogram.
2586 * par.adb (P_Access_Definition): New formal that indicates if the
2587 null-exclusion part was present.
2588 (P_Access_Type_Definition): New formal that indicates if the caller has
2589 already parsed the null-excluding part.
2591 * par-ch3.adb (P_Subtype_Declaration): Code cleanup.
2592 (P_Identifier_Declarations): Code cleanup and give support to renamings
2593 of anonymous access to subprogram types.
2594 (P_Derived_Type_Def_Or_Private_Ext_Decl): Code cleanup.
2595 (P_Array_Type_Definition): Give support to AI-254.
2596 (P_Component_Items): Give support to AI-254.
2597 (P_Access_Definition): New formal that indicates if the header was
2598 already parsed by the caller.
2599 (P_Access_Type_Definition): New formal that indicates if the caller has
2600 already parsed the null-excluding part.
2602 * par-ch6.adb (P_Formal_Part): Add the null-excluding parameter to the
2603 call to P_Access_Definition.
2605 2004-04-19 Geert Bosch <bosch@gnat.com>
2607 * checks.adb (Apply_Float_Conversion_Check): New procedure to implement
2608 the delicate semantics of floating-point to integer conversion.
2609 (Apply_Type_Conversion_Checks): Use Apply_Float_Conversion_Check.
2611 * eval_fat.adb (Machine_Mantissa): Moved to spec.
2612 (Machine_Radix): New function.
2614 * eval_fat.ads (Machine_Mantissa): Moved from body for use in
2616 (Machine_Radix): New function also for use in conversion checks.
2618 2004-04-19 Ed Schonberg <schonberg@gnat.com>
2620 * par-prag.adb (Source_File_Name_Project): Fix typo in error message.
2622 * exp_ch9.adb (Expand_Access_Protected_Subprogram_Type): Call analyze
2623 to decorate the access-to-protected subprogram and the equivalent type.
2625 * checks.adb (Null_Exclusion_Static_Checks): Code cleanup. Give support
2626 to anonymous access to subprogram types.
2628 * exp_ch4.adb (Expand_N_In): Preserve Static flag before
2629 constant-folding, for legality checks in contexts that require an RM
2632 * exp_ch6.adb (Expand_N_Function_Call): If call may generate large
2633 temporary but stack checking is not enabled, increment serial number
2634 to so that symbol generation is consistent with and without stack
2637 * exp_util.ads, exp_util.adb (May_Generate_Large_Temp): Predicate is
2638 independent on whether stack checking is enabled, caller must check
2639 the corresponding flag.
2641 * sem_ch3.adb (Constrain_Index): Index bounds given by attributes need
2643 (Build_Derived_Concurrent_Type): Inherit Is_Constrained flag from
2644 parent if it has discriminants.
2645 (Build_Derived_Private_Type): Constructed full view does
2646 not come from source.
2647 (Process_Discriminants): Default discriminants on a tagged type are
2648 legal if this is the internal completion of a private untagged
2651 * sem_ch6.adb (Set_Actual_Subtypes): The generated declaration needs
2652 no constraint checks, because it corresponds to an existing object.
2654 * sem_prag.adb (Process_Convention): Pragma applies
2655 only to subprograms in the same declarative part, i.e. the same unit,
2658 * sem_res.adb (Valid_Conversion): In an instance or inlined body,
2659 ignore type mismatch on a numeric conversion if expression comes from
2662 2004-04-19 Sergey Rybin <rybin@act-europe.fr>
2664 * sem_elim.adb (Process_Eliminate_Pragma): Remove the processing for
2665 Homonym_Number parameter, add processing for Source_Location parameter
2667 (Check_Eliminated): Remove the check for homonym numbers, add the check
2668 for source location traces.
2670 * sem_elim.ads (Process_Eliminate_Pragma): Replace Arg_Homonym_Number
2671 with Arg_Source_Location corresponding to the changes in the format of
2674 * sem_prag.adb: (Analyze_Pragma): Changes in the processing of
2675 Eliminate pragma corresponding to the changes in the format of the
2676 pragma: Homonym_Number is replaced with Source_Location, two ways of
2677 distinguishing homonyms are mutially-exclusive.
2679 2004-04-19 Joel Brobecker <brobecker@gnat.com>
2681 * get_targ.ads (Get_No_Dollar_In_Label): Remove.
2683 * exp_dbug.adb (Output_Homonym_Numbers_Suffix): Remove use of
2684 No_Dollar_In_Label, no longer necessary, as it is always True.
2685 (Strip_Suffixes): Likewise.
2687 2004-04-19 Gary Dismukes <dismukes@gnat.com>
2689 * s-stalib.ads (type Exception_Code): Use Integer'Size for exponent of
2690 modulus for compatibility with size clause on targets with 16-bit
2693 * layout.adb (Discrimify): In the case of private types, set Vtyp to
2694 full type to fix type mismatches on calls to size functions for
2695 discriminant-dependent array components.
2697 2004-04-19 Jerome Guitton <guitton@act-europe.fr>
2699 * Makefile.in (gnatlib-zcx): New target, for building a ZCX run-time
2702 2004-04-19 Pascal Obry <obry@gnat.com>
2704 * mdll-utl.adb (Locate): New version is idempotent.
2706 2004-04-17 Laurent Guerby <laurent@guerby.net>
2708 PR ada/14988 (partial)
2709 * impunit.adb: Fix typo.
2711 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
2713 * Make-lang.in: Remove obsolete rts-none, rts-cert, install-rts-none,
2714 and install-rts-cert targets. Remove all gnatlib and gnattools
2715 targets and all other rts-* targets (moved to libada). Remove (now)
2716 unused Make variables CHMOD, CHMOD_AX_FLAGS, shext, THREAD_KIND,
2717 TRACE, GNATLIBFLAGS, GNATLIBCFLAGS.
2719 2004-04-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2721 * trans.c (tree_transform): Shortcut returning error_mark_node for
2722 statements in annotate_only_mode.
2723 (tree_transform, case N_Label, case N_Return_Statement,
2724 N_Goto_Statement): Make statement tree instead of generating code.
2725 (tree_transform, case N_Assignment_Statement): No longer check
2727 (gnat_expand_stmt, case GOTO_STMT, case LABEL_STMT, case
2729 (first_nondeleted_insn, build_block_stmt, make_expr_stmt_from_rtl):
2731 (gnat_to_gnu): Collect any RTL generated and deal with it.
2732 (tree_transform, case N_And_Then): Refine when have non-null RTL_EXPR.
2733 (tree_transform case N_If_Statement): Rewrite to make IF_STMT.
2734 (gnat_expand_stmt, case BLOCK_STMT, IF_STMT): New cases.
2736 * ada-tree.def (GOTO_STMT, LABEL_STMT, RETURN_STMT): New tree nodes.
2738 * ada-tree.def (EXPR_STMT): Fix typo in name.
2739 (BLOCK_STMT, IF_STMT): New nodes.
2741 * ada-tree.h (GOTO_STMT_LABEL, LABEL_STMT_LABEL,
2742 LABEL_STMT_FIRST_IN_EH): New macros.
2743 (RETURN_STMT_EXPR): Likewise.
2745 * ada-tree.h: (BLOCK_STMT_LIST, IF_STMT_COND, IF_STMT_TRUE,
2746 IF_STMT_ELSEIF, IF_STMT_ELSE): New macros.
2748 2004-04-08 Thomas Quinot <quinot@act-europe.fr>
2750 * atree.ads: Correct documentation on extended nodes.
2752 * link.c: Set run_path_option for FreeBSD.
2754 2004-04-08 Vincent Celier <celier@gnat.com>
2756 * mlib-prj.adb (Build_Library.Check_Libs): On OpenVMS, if dec.ali is
2757 one of the ALI file, do not link with DEC lib.
2759 * par.adb Remove the last two characters ("%s" or "%b") when checking
2760 if a language defined unit may be recompiled.
2762 2004-04-08 Ed Schonberg <schonberg@gnat.com>
2764 * sem_ch4.adb (Remove_Abstract_Operations): Improve error message when
2765 removal of abstract operation leaves no possible interpretation for
2768 * sem_eval.adb (Eval_Qualified_Expression): Use
2769 Set_Raises_Constraint_Error on node when needed, so that it does not
2770 get optimized away by subsequent optimizations.
2772 * sem_res.adb (Resolve_Intrinsic_Operator): Save interpretations of
2773 operands even when they are not wrapped in a type conversion.
2775 2004-04-08 Olivier Hainque <hainque@act-europe.fr>
2777 * sem_prag.adb (Set_Exported): Warn about making static as result of
2778 export only when the export is coming from source. This may be not
2779 be true e.g. on VMS where we expand export pragmas for exception codes
2780 together with imported or exported exceptions, and we don't want the
2781 user to be warned about something he didn't write.
2783 2004-04-08 Thomas Quinot <quinot@act-europe.fr>
2785 * sem_util.adb (Note_Possible_Modification): Reorganize to remove code
2786 duplication between normal entities and those declared as renamings.
2787 No functional change.
2789 * s-fileio.ads (Form): Remove pragma Inline, as we cannot currently
2790 inline functions returning an unconstrained result.
2792 2004-04-08 Eric Botcazou <ebotcazou@act-europe.fr>
2794 * utils.c (type_for_mode): Handle BLKmode and VOIDmode properly, to
2795 conform to what other front-ends do.
2797 2004-04-08 Doug Rupp <rupp@gnat.com>
2799 * 5vml-tgt.adb: Use Gas instead of VMS Macro to build auto init shared
2802 2004-04-06 Pascal Obry <obry@gnat.com>
2804 * adaint.c (DIR_SEPARATOR): Properly set DIR_SEPARATOR on Win32.
2806 * osint.adb (Program_Name): Do not look past a directory separator.
2808 2004-04-06 Thomas Quinot <quinot@act-europe.fr>
2810 * atree.adb: Update comment (Rewrite_Substitute_Node no longer exists).
2812 * exp_ch6.adb (Rewrite_Function_Call): Clarify documentation of
2813 requirement for preserving a copy of the original assignment node.
2815 * sinfo.ads: Update comment (Original_Tree -> Original_Node).
2817 2004-04-06 Olivier Hainque <hainque@act-europe.fr>
2819 (__gnat_initialize [Vxworks]): Enable references to the crtstuff bits
2822 2004-04-06 Ed Schonberg <schonberg@gnat.com>
2824 * sem_ch4.adb (Remove_Abstract_Operations): Extend previous changes to
2825 operator calls in functional notation, and apply
2826 Universal_Interpretation to operands, not to their type.
2828 2004-04-06 Robert Dewar <dewar@gnat.com>
2830 * 5wdirval.adb: Minor reformatting
2832 2004-04-06 Ed Falis <falis@gnat.com>
2834 * gnat_rm.texi: Improve a reference to the GCC manual
2836 2004-04-05 Vincent Celier <celier@gnat.com>
2838 * adaint.h, adaint.c: Add function __gnat_named_file_length
2840 * impunit.adb: Add Ada.Directories to the list
2842 * Makefile.in: Add VMS and Windows versions of
2843 Ada.Directories.Validity package body.
2845 * Makefile.rtl: Add a-direct and a-dirval
2847 * mlib-tgt.ads: Minor comment update.
2849 * a-dirval.ads, a-dirval.adb, 5vdirval.adb, 5wdirval.adb,
2850 a-direct.ads, a-direct.adb: New files.
2852 2004-04-05 Vincent Celier <celier@gnat.com>
2855 * make.adb (Scan_Make_Arg): Pass any -fxxx switches to gnatlink, not
2856 just to the compiler.
2858 2004-04-05 Robert Dewar <dewar@gnat.com>
2860 * a-except.adb (Exception_Name_Simple): Make sure lower bound of
2861 returned string is 1.
2863 * ali-util.adb: Use proper specific form for Warnings (Off, entity)
2865 * eval_fat.ads: Minor reformatting
2867 * g-curexc.ads: Document that lower bound of returned string values
2870 * gnatlink.adb: Add ??? comment for previous change
2871 (need to document why this is VMS specific)
2873 * s-stoele.ads: Minor reformatting
2875 * tbuild.ads: Minor reformatting throughout (new function specs)
2877 * par-ch10.adb (P_Context_Clause): Handle comma instead of semicolon
2880 * scng.adb: Minor reformatting
2882 2004-04-05 Geert Bosch <bosch@gnat.com>
2884 * eval_fat.adb (Machine): Remove unnecessary suppression of warning.
2885 (Leading_Part): Still perform truncation to machine number if the
2886 specified radix_digits is greater or equal to machine_mantissa.
2888 2004-04-05 Javier Miranda <miranda@gnat.com>
2890 * par-ch3.adb: Complete documentation of previous change
2891 Correct wrong syntax documentation of the OBJECT_DECLARATION rule
2892 (aliased must appear before constant).
2894 * par-ch4.adb: Complete documentation of previous change.
2896 * par-ch6.adb: Complete documentation of previous change.
2898 * sinfo.ads: Fix typo in commment.
2900 2004-04-05 Ed Schonberg <schonberg@gnat.com>
2902 * sem_ch3.adb (Inherit_Components): If derived type is private and has
2903 stored discriminants, use its discriminants to constrain parent type,
2904 as is done for non-private derived record types.
2906 * sem_ch4.adb (Remove_Abstract_Operations): New subprogram to implement
2907 Ada 2005 AI-310: an abstract non-dispatching operation is not a
2908 candidate interpretation in an overloaded call.
2910 * tbuild.adb (Unchecked_Convert_To): Preserve conversion node if
2911 expression is Null and target type is not an access type (e.g. a
2912 non-private address type).
2914 2004-04-05 Thomas Quinot <quinot@act-europe.fr>
2916 * exp_ch6.adb (Rewrite_Function_Call): When rewriting an assignment
2917 statement whose right-hand side is an inlined call, save a copy of the
2918 original assignment subtree to preserve enough consistency for
2919 Analyze_Assignment to proceed.
2921 * sem_ch5.adb (Analyze_Assignment): Remove a costly copy of the
2922 complete assignment subtree which is now unnecessary, as the expansion
2923 of inlined call has been improved to preserve a consistent assignment
2924 tree. Note_Possible_Modification must be called only
2925 after checks have been applied, or else unnecessary checks will
2928 * sem_util.adb (Note_Possible_Modification): Reorganise the handling
2929 of explicit dereferences that do not Come_From_Source:
2930 - be selective on cases where we must go back to the dereferenced
2931 pointer (an assignment to an implicit dereference must not be
2932 recorded as modifying the pointer);
2933 - do not rely on Original_Node being present (Analyze_Assignment
2934 calls Note_Possible_Modification on a copied tree).
2936 * sem_warn.adb (Check_References): When an unset reference to a pointer
2937 that is never assigned is encountered, prefer '<pointer> may be null'
2938 warning over '<pointer> is never assigned a value'.
2940 2004-04-05 Ramon Fernandez <fernandez@gnat.com>
2942 * tracebak.c: Change STOP_FRAME in ppc vxworks to be compliant with
2945 2004-04-05 Olivier Hainque <hainque@act-europe.fr>
2947 * 5gmastop.adb (Pop_Frame): Comment out the pragma Linker_Option for
2948 libexc. We currently don't reference anything in this library and
2949 linking it in triggers linker warnings we don't want to see.
2951 * init.c: Update comments.
2953 2004-04-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2955 * decl.c (gnat_to_gnu_entity): Use TYPE_READONLY.
2956 * utils.c (create_field_decl): Likewise.
2957 * utils2.c (build_unary_op, gnat_build_constructor): Likewise.
2959 2004-04-02 Arnaud Charlet <charlet@act-europe.fr>
2961 * gnat-style.texi, gnat_rm.texi, gnat_ugn.texi: Remove RCS tags.
2962 Replace ifinfo by ifnottex, to make makeinfo --html happy again.
2963 Add info directory entry and category.
2965 2004-04-02 Jan Hubicka <jh@suse.cz>
2967 * utils.c: Include function.h
2968 (end_subprog_body): Clear DECL_STRUCT_FUNCTION.
2970 2004-04-01 Arnaud Charlet <charlet@act-europe.fr>
2973 * Make-lang.in: Clean up generation of documentation
2975 * gnat-style.texi, gnat_rm.texi, ug_words: Resync with AdaCore version
2977 * xgnatug.adb: Removed, replaced by xgnatugn.adb
2979 * xgnatugn.adb: Replaces xgnatug.adb
2981 * gnat_ug.texi: Removed, replaced by gnat_ugn.texi
2983 * gnat_ugn.texi: Replaces gnat_ug.texi. Resync with AdaCore version
2985 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
2986 gnat_ug_wnt.texi: Removed.
2988 2004-04-01 Arnaud Charlet <charlet@act-europe.fr>
2990 * utils2.c: Update copyright notice.
2992 2004-04-01 Robert Dewar <dewar@gnat.com>
2994 * checks.adb: Minor reformatting throughout
2995 Note that prev checkin added RM reference to alignment warning
2997 2004-04-01 Ed Schonberg <schonberg@gnat.com>
2999 * exp_aggr.adb (Get_Component_Val): Treat a string literal as
3000 non-static when building aggregate for bit-packed array.
3002 * exp_ch4.adb (Expand_N_Slice): If a packed slice is an actual of a
3003 function call that is itself the actual in a procedure call, build
3006 * exp_pakd.adb (Expand_Bit_Packed_Element_Set): If right-hand side is
3007 a string literal, create a temporary for it, constant folding only
3008 handles scalars here.
3010 2004-04-01 Vincent Celier <celier@gnat.com>
3012 * ali-util.adb (Post_Scan, Error_Msg, Error_Msg_S, Error_Msg_SC,
3013 Error_Msg_SP): New empty procedures to instantiate the Scanner.
3014 (Style, Scanner): Instantiations of Styleg and Scng to be able to scan
3016 (Accumulate_Checksum, Initialize_Checksum): Remove procedures.
3017 (Get_File_Checksum): Use the instantiated scanner to scan all the tokens
3018 and get the checksum.
3020 * make.adb (Gnatmake): Do not insert into Q the Main_Source if it is
3022 Increase the Marking_Label at the end of the Multiple_Main_Loop,
3023 instead of at the beginning.
3025 * osint.adb (Lib_File_Name): Use Multi_Unit_Index_Character, not '~'
3027 (Osint package elaboration): Change Multi_Unit_Index_Character to '$' if
3030 * osint.ads (Multi_Unit_Index_Character): New Character global variable
3032 * osint-c.adb (Set_Library_Info_Name): Use Multi_Unit_Index_Character,
3035 * par.adb: Remove test on file name to detect language defined units.
3036 Add test on unit name, after parsing, to detect language defined units
3037 that are not compiled with -gnatg (except System.RPC and its children)
3039 * par-ch10.adb (P_Compilation_Unit): In multi-unit sources, scan the
3040 following units without style checking.
3042 * switch-c.adb: Change -gnatC to -gnateI
3044 * usage.adb: Document new switch -gnateInnn
3046 * scng.adb (Accumulate_Token_Checksum): New procedure
3047 (Scan): Call Accumulate_Token_Checksum after each identifier, reserved
3048 word or literal number.
3049 (Scan.Nlit.Scan_Integer): Do not accumulate internal '_' in litteral
3052 2004-04-01 Thomas Quinot <quinot@act-europe.fr>
3055 g-comlin.adb, sinput-c.adb, s-secsta.adb, s-tpobop.adb,
3056 switch-m.adb, 56taprop.adb, 5ginterr.adb, 5gmastop.adb,
3057 5staprop.adb, 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb,
3058 5vtpopde.adb: Add missing 'constant' keywords.
3060 2004-04-01 Javier Miranda <miranda@gnat.com>
3062 * par-ch4.adb: (P_Allocator): Code cleanup
3064 * sem_ch3.adb (Access_Definition): Properly set the null-excluding
3067 * sinfo.ads: Complete documentation of previous change
3069 2004-04-01 Pascal Obry <obry@gnat.com>
3071 * gnatlink.adb (Process_Binder_File): Remove duplicate linker options
3072 only on VMS. This special handling was done because an old GNU/ld bug
3073 on Windows which has been fixed.
3075 2004-04-01 GNAT Script <nobody@gnat.com>
3077 * Make-lang.in: Makefile automatically updated
3079 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3081 * decl.c (gnat_to_gnu_entity, make_type_from_size):
3082 Use TYPE_UNSIGNED, not TREE_UNSIGNED.
3083 * trans.c (tree_transform, convert_with_check): Likewise.
3084 * utils.c (gnat_signed_or_unsigned_type): Likewise.
3085 (build_vms_descriptor, unchecked_convert): Likewise.
3086 * utils2.c (nonbinary_modular_operation): Likewise.
3088 2004-03-29 Javier Miranda <miranda@gnat.com>
3090 * checks.adb (Null_Exclusion_Static_Checks): New subprogram
3091 (Install_Null_Excluding_Check): Local subprogram that determines whether
3092 an access node requires a runtime access check and if so inserts the
3093 appropriate run-time check.
3094 (Apply_Access_Check): Call Install_Null_Excluding check if required
3095 (Apply_Constraint_Check): Call Install_Null_Excluding check if required
3097 * checks.ads: (Null_Exclusion_Static_Checks): New subprogram
3099 * einfo.ads: Fix typo in comment
3101 * exp_ch3.adb (Build_Assignment): Generate conversion to the
3102 null-excluding type to force the corresponding run-time check.
3103 (Expand_N_Object_Declaration): Generate conversion to the null-excluding
3104 type to force the corresponding run-time check.
3106 * exp_ch5.adb (Expand_N_Assignment_Statement): Generate conversion to
3107 the null-excluding type to force the corresponding run-time check.
3109 * exp_ch6.adb (Expand_Call): Do not generate the run-time check in
3110 case of access types unless they have the null-excluding attribute.
3112 * sprint.adb (Sprint_Node_Actual): Give support to the null-exclusing
3115 * exp_util.ads: Fix typo in comment
3117 * par.adb (P_Null_Exclusion): New subprogram
3118 (P_Subtype_Indication): New formal that indicates if the null-excluding
3119 part has been scanned-out and it was present
3121 * par-ch3.adb, par-ch4.adb, par-ch6.adb: Give support to AI-231
3123 * sem_aggr.adb: (Check_Can_Never_Be_Null): New subprogram
3124 (Aggregate_Constraint_Checks): Generate conversion to the null-excluding
3125 type to force the corresponding run-time check
3126 (Resolve_Aggregate): Propagate the null-excluding attribute to the array
3128 (Resolve_Array_Aggregate): Carry out some static checks
3129 (Resolve_Record_Aggregate.Get_Value): Carry out some static check
3131 * sem_ch3.adb (Access_Definition): In Ada 0Y the Can_Never_Be_Null
3132 attribute must be set only if specified by means of the null-excluding
3133 part. In addition, we must also propagate the access-constant attribute
3135 (Access_Subprogram_Declaration, Access_Type_Declaration,
3136 Analyze_Component_Declaration, Analyze_Object_Declaration,
3137 Array_Type_Declaration, Process_Discriminants,
3138 Analyze_Subtype_Declaration): Propagate the null-excluding attribute
3139 and carry out some static checks.
3140 (Build_Derived_Access_Type): Set the null-excluding attribute
3141 (Derived_Type_Declaration, Process_Subtype): Carry out some static
3144 * sem_ch4.adb (Analyze_Allocator): Carry out some static checks
3146 * sem_ch5.adb (Analyze_Assignment): Carry out some static checks
3148 * sem_ch6.adb (Process_Formals): Carry out some static checks.
3149 (Set_Actual_Subtypes): Generate null-excluding subtype if the
3150 null-excluding part was present; it is not required to be done here in
3151 case of anonymous access types.
3152 (Set_Formal_Mode): Ada 0Y allows anonymous access to have the null
3155 * sem_res.adb (Resolve_Actuals): Carry out some static check
3156 (Resolve_Null): Allow null in anonymous access
3158 * sinfo.adb: New subprogram Null_Exclusion_Present
3159 All_Present and Constant_Present available on access_definition nodes
3161 * sinfo.ads: New flag Null_Exclusion_Present on subtype_declaration,
3162 object_declaration, derived_type_definition, component_definition,
3163 discriminant_specification, access_to_object_definition,
3164 access_function_definition, allocator, access_procedure_definition,
3165 access_definition, parameter_specification, All_Present and
3166 Constant_Present flags available on access_definition nodes.
3168 2004-03-29 Robert Dewar <dewar@gnat.com>
3170 * fname.adb, fname.ads, fname-sf.adb, fname-uf.adb, fname-uf.ads,
3171 gnat1drv.adb, lib.adb, lib.ads, lib-load.adb, lib-writ.adb,
3172 opt.ads, osint.adb, osint.ads, osint-c.adb, par.adb,
3173 par-ch10.adb, par-load.adb, par-prag.adb, sfn_scan.adb,
3174 sfn_scan.ads, sinput-l.adb, sinput-l.ads, switch-c.adb,
3175 sem_prag.adb: Updates to handle multiple units/file
3177 * par.adb: Change test for s-rpc to s-rp for detecting rpc and children
3179 * par.adb, memtrack.adb, prj-makr.adb, prj-part.adb,
3180 sem_util.adb: Minor reformatting
3182 * sem_ch12.adb: Add comment for previous change
3184 2004-03-29 Laurent Pautet <pautet@act-europe.fr>
3186 * osint.adb (Executable_Prefix): Set Exec_Name to the current
3187 executable name when not initialized. Otherwise, use its current value.
3189 * osint.ads (Exec_Name): Move Exec_Name from body to spec in order to
3190 initialize it to another executable name than the current one. This
3191 allows to configure paths for an executable name (gnatmake) different
3192 from the current one (gnatdist).
3194 2004-03-29 Ed Schonberg <schonberg@gnat.com>
3196 * exp_ch6.adb (Expand_Call): A call to a function declared in the
3197 current unit cannot be inlined if it appears in the body of a withed
3198 unit, to avoid order of elaboration problems in gigi.
3200 * exp_ch9.adb (Build_Protected_Sub_Specification): Generate debugging
3201 information for protected (wrapper) operation as well, to simplify gdb
3204 * sem_ch6.adb (Analyze_Subprogram_Body): For a private operation in a
3205 protected body, indicate that the entity for the generated spec comes
3206 from source, to ensure that references are properly generated for it.
3207 (Build_Body_To_Inline): Do not inline a function that returns a
3210 * sem_prag.adb (Process_Convention): If subprogram is overloaded, only
3211 apply convention to homonyms that are declared explicitly.
3213 * sem_res.adb (Make_Call_Into_Operator): If the operation is a function
3214 that renames an equality operator and the operands are overloaded,
3215 resolve them with the declared formal types, before rewriting as an
3218 2004-03-29 GNAT Script <nobody@gnat.com>
3220 * Make-lang.in: Makefile automatically updated
3222 2004-03-25 Vasiliy Fofanov <fofanov@act-europe.fr>
3224 * memtrack.adb: Log realloc calls, which are treated as free followed
3227 2004-03-25 Vincent Celier <celier@gnat.com>
3229 * prj-makr.adb (Process_Directories): Detect when a file contains
3230 several units. Do not include such files in the config pragmas or
3231 in the naming scheme.
3233 * prj-nmsc.adb (Record_Source): New parameter Trusted_Mode.
3234 Resolve links only when not in Trusted_Mode.
3235 (Find_Sources, Recursive_Find_Dirs, Find_Source_Dirs, Locate_Directory):
3236 Do not resolve links for the display names.
3238 * prj-part.adb (Parse_Single_Project, Project_Path_Name_Of): Do not
3239 resolve links when computing the display names.
3241 2004-03-25 Thomas Quinot <quinot@act-europe.fr>
3243 * sem_attr.adb (Check_Dereference): When the prefix of a 'Tag
3244 attribute reference does not denote a subtype, it can be any
3245 expression that has a classwide type, potentially after an implicit
3246 dereference. In particular, the prefix can be a view conversion for
3247 a classwide type (for which Is_Object_Reference holds), but it can
3248 also be a value conversion for an access-to-classwide type. In the
3249 latter case, there is an implicit dereference, and the original node
3250 for the prefix does not verify Is_Object_Reference.
3252 * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): A view
3253 conversion of a discriminant-dependent component of a mutable object
3256 2004-03-25 Ed Schonberg <schonberg@gnat.com>
3258 * freeze.adb (Freeze_Entity): When an inherited subprogram is
3259 inherited, has convention C, and has unconstrained array parameters,
3260 place the corresponding warning on the derived type declaration rather
3261 than the original subprogram.
3263 * sem_ch12.adb (Instantiate_Formal_Subprogram): Set From_Default
3264 indication on renaming declaration, if formal has a box and actual
3267 * sem_ch8.adb (Analyze_Subprogram_Renaming): Use From_Default flag to
3268 determine whether to generate an implicit or explicit reference to
3271 * sinfo.ads, sinfo.adb: New flag From_Default, to indicate that a
3272 subprogram renaming comes from a defaulted formal subprogram in an
3275 2004-03-25 Gary Dismukes <dismukes@gnat.com>
3277 * sem_elab.adb (Check_Elab_Call): Refine loop that checks for default
3278 value expressions to ensure that calls within a component definition
3279 will be checked (since those are evaluated during the record type's
3282 2004-03-25 Arnaud Charlet <charlet@act-europe.fr>
3284 * s-tpobop.adb: Code clean up:
3285 (Requeue_Call): Extract from PO_Service_Entries to remove duplicated
3287 (PO_Do_Or_Queue): Remove duplicated code and use Requeue_Call.
3289 2004-03-25 Jose Ruiz <ruiz@act-europe.fr>
3291 * Makefile.in: Clean up in the ravenscar run time.
3293 2004-03-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3295 * decl.c (gnat_to_gnu_entity, case E_Access_Type): Pass value
3296 of No_Strict_Aliasing to build_pointer_type_for_mode.
3297 * utils.c (update_pointer_to): Walk pointer and ref chains.
3299 2004-03-22 Cyrille Comar <comar@act-europe.fr>
3301 * ali.ads: Fix Comment about Dynamic_Elab.
3303 * gnatls.adb (Output_Unit): Add output of many flags (Dynamic_Elab,
3304 Has_RACW, Is_Generic, etc.)
3305 (Output_Object, Gnatls): Take into account ALI files not attached to
3308 2004-03-22 Vincent Celier <celier@gnat.com>
3310 * gprep.adb: Change all String_Access to Name_Id
3311 (Is_ASCII_Letter): new function
3312 (Double_File_Name_Buffer): New procedure
3313 (Preprocess_Infile_Name): New procedure
3314 (Process_Files): New procedure
3315 (Gnatprep): Check if output and input are existing directories.
3316 Call Process_Files to do the real job.
3318 2004-03-22 Robert Dewar <dewar@gnat.com>
3320 * prj-env.adb, prj-nmsc.ads, prj-proc.ads,
3321 s-stache.ads, s-stache.adb: Comment updates. Minor reformatting.
3323 2004-03-22 Sergey Rybin <rybin@act-europe.fr>
3325 * scn.adb (Contains): Add check for EOF, is needed for a degenerated
3326 case when the source contains only comments.
3328 2004-03-22 Ed Schonberg <schonberg@gnat.com>
3330 * sem_ch10.adb (Analyze_Compilation_Unit): When generating a
3331 declaration for a child subprogram body that acts as a spec, indicate
3332 that the entity in the declaration needs debugging information.
3334 * sem_ch3.adb (Complete_Private_Subtype): Do not build an underlying
3335 full view if the subtype is created for a constrained record component;
3336 gigi has enough information to construct the record, and there is no
3337 place in the tree for the declaration.
3339 * sem_ch6.adb (Build_Body_To_Inline): Use an internal name without
3340 serial number for the dummy body that is built for analysis, to avoid
3341 inconsistencies in the generation of internal names when compiling
3344 2004-03-22 Thomas Quinot <quinot@act-europe.fr>
3346 * sem_util.adb (Is_Object_Reference): A view conversion denotes an
3349 2004-03-22 GNAT Script <nobody@gnat.com>
3351 * Make-lang.in: Makefile automatically updated
3353 2004-03-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3355 * decl.c (gnat_to_gnu_entity): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
3356 * trans.c (tree_transform, emit_index_check): Likewise.
3357 * utils.c (build_template): Likewise.
3358 (max_size, convert): Remove handling of WITH_RECORD_EXPR.
3359 (maybe_unconstrained_array, unchecked_convert): Likewise.
3360 * utils2.c (gnat_truthvalue_conversion, build_binary_op): Likewise.
3361 (build_unary_op): Likewise.
3362 (compare_arrays, build_allocator): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
3363 (fill_vms_descriptor): Likewise.
3364 (build_call_alloc_dealloc): Likewise.
3366 * gigi.h (build_call_alloc_dealloc): Alignment is unsigned.
3368 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk>
3371 * gnat_ug.texi: Add info directory category and entry.
3372 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
3373 gnat_ug_wnt.texi: Regenerate.
3375 2004-03-19 Arnaud Charlet <charlet@act-europe.fr>
3377 * ada-tree.h: Update copyright notice.
3380 2004-03-19 Olivier Hainque <hainque@act-europe.fr>
3382 * decl.c (gnat_to_gnu_entity, case E_Exception): Handle VMS exceptions
3383 as regular exception objects and not as mere integers representing the
3384 condition code. The latter approach required some dynamics to mask off
3385 severity bits, which did not fit well into the GCC table based model.
3386 (gnat_to_gnu_entity, objects): Don't supply an external name for VMS
3387 exception data objects. We don't it and it would conflict with the other
3388 external symbol we have to generate for such exceptions.
3390 * trans.c (tree_transform, case N_Exception_Handler): Remove part of
3391 the special code for VMS exceptions, since these are now represented
3392 as regular exceptions objects.
3394 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3396 * decl.c (debug_no_type_hash): Remove.
3397 (gnat_to_gnu_entity, case E_Array_Type): Don't set and clear it.
3398 * misc.c (LANG_HOOK_HASH_TYPE): Redefine.
3400 2004-03-19 Laurent Guerby <laurent@guerby.net>
3402 * sem_prag.adb (Suppress_Unsuppress_Echeck): use loop instead of
3403 aggregate, allows bootstrap from 3.3 on powerpc-darwin.
3405 2004-03-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3407 * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Add checking.
3408 (TYPE_CONTAINS_TEMPLATE_P, TYPE_OBJECT_RECORD_TYPE): Likewise.
3409 (TYPE_RM_SIZE_INT): Directly use type.values.
3410 (TREE_LOOP_ID): Clean up check.
3411 * decl.c (gnat_to_gnu_entity, case E_Enumeration_Type): Use
3412 TYPE_VALUES, not TYPE_FIELDS.
3413 * trans.c (convert_with_check): Delay access of bounds of basetype
3414 until sure is numeric.
3416 2004-03-18 Arnaud Charlet <charlet@act-europe.fr>
3418 * 5atpopsp.adb: Remove RTEMS from list of platforms using this file.
3421 * 5ataprop.adb, 5ftaprop.adb, 5htaprop.adb, 5itaprop.adb, 5staprop.adb,
3422 5vtaprop.adb, 5wtaprop.adb, 7staprop.adb (Finalize_TCB): Use
3423 Specific.Set instead of direct call to e.g pthread_setspecific.
3425 2004-03-18 Thomas Quinot <quinot@act-europe.fr>
3427 * adaint.c: Update comments.
3429 * Makefile.in: set PREFIX_OBJS, SYMLIB, THREADSLIB, and
3430 GNATLIB_SHARED for FreeBSD.
3432 2004-03-18 Jose Ruiz <ruiz@act-europe.fr>
3434 * init.c [VxWorks]: Do not fix the stack size for the environment task.
3435 When needed (stack checking) the stack size is retrieved
3436 from the VxWorks kernel.
3438 * Makefile.in: Flag -nostdinc is required when building the run time
3439 for avoiding looking for files in the base compiler.
3440 Add the VxWorks specific version of the package body for
3441 System.Stack_checking.Operations (5zstchop.adb).
3443 * Make-lang.in: Add the object file for
3444 System.Stack_Checking.Operations.
3446 * Makefile.rtl: Add object file for the package
3447 System.Stack_Checking.Operations.
3449 * s-stchop.ads, s-stchop.adb, 5zstchop.adb: New files.
3451 * s-stache.ads, s-stache.adb: Move the operations related to stack
3452 checking from this package to package System.Stack_Checking.Operations.
3453 This way, stack checking operations are only linked in the final
3454 executable when using the -fstack-check flag.
3456 2004-03-18 Doug Rupp <rupp@gnat.com>
3458 * Makefile.in [VMS]: Handle 64 bit specs (5qsystem.ads, 5xcrtl.ads).
3461 * 5qsystem.ads, 5xcrtl.ads: New files.
3463 2004-03-18 Vincent Celier <celier@gnat.com>
3465 * prj.adb (Reset): Reset hash table Files_Htable
3467 * prj-env.adb (Source_Paths, Object_Paths): New tables.
3468 (Add_To_Source_Path, Add_To_Object_Path): New procedures, to replace
3469 the procedures Add_To_Path_File.
3470 (Set_Ada_Paths): Accumulate source and object dirs in the tables,
3471 making sure that each directory is present only once and, for object
3472 dirs, when a directory already present is added, the duplicate is
3473 removed and the directory is always put as the last in the table.
3474 Write the path files at the end of these accumulations.
3476 * prj-nmsc.adb (Record_Source): Add source file name in hash table
3477 Files_Htable for all sources.
3479 * prj-proc.adb (Process): Remove restrictions between not directly
3480 related extending projects.
3482 2004-03-18 Emmanuel Briot <briot@act-europe.fr>
3484 * prj-nmsc.ads, prj-nmsc.adb (Ada_Check): New parameter Trusted_Mode.
3485 (Find_Sources): Minor speed optimization.
3487 * prj-proc.ads, prj-proc.adb (Check, Recursive_Check, Process): New
3488 parameter Trusted_Mode.
3490 2004-03-18 Sergey Rybin <rybin@act-europe.fr>
3492 * scn.adb (Determine_License): Take into account a degenerated case
3493 when the source contains only comments.
3495 2004-03-18 Ed Schonberg <schonberg@gnat.com>
3497 * sem_warn.adb (Check_References): For a warning on a selected
3498 component that does not come from source, locate an uninitialized
3499 component of the record type to produce a more precise error message.
3501 2004-03-15 Jerome Guitton <guitton@act-europe.fr>
3503 * 3zsoccon.ads: Fix multicast options.
3505 * s-thread.ads: Move unchecked conversion from ATSD_Access to Address
3508 2004-03-15 Robert Dewar <dewar@gnat.com>
3510 * sem_prag.adb: Make sure No_Strict_Aliasing flag is set right when
3511 pragma used for a private type.
3513 * lib-xref.adb (Generate_Reference): Do not generate warning if
3514 reference is in a different unit from the pragma Unreferenced.
3516 * 5vtpopde.adb: Minor reformatting
3517 Fix casing of To_Task_ID
3519 * sem_ch13.adb (Validate_Unchecked_Conversion): Set No_Strict_Aliasing
3520 flag if we have an unchecked conversion to an access type in the same
3523 2004-03-15 Geert Bosch <bosch@gnat.com>
3525 * a-ngcoty.adb (Modulus): In alternate formula for large real or
3526 imaginary parts, use Double precision throughout.
3528 * a-tifiio.adb (Put_Scaled): Remove remaining pragma Debug. Not only
3529 we want to be able to compile run-time with -gnata for testing, but
3530 this may also be instantiated in user code that is compiled with -gnata.
3532 2004-03-15 Olivier Hainque <hainque@act-europe.fr>
3534 * s-stalib.ads (Exception_Code): New type, to represent Import/Export
3535 codes. Having a separate type for this is useful to enforce consistency
3536 throughout the various run-time units.
3537 (Exception_Data): Use Exception_Code for Import_Code.
3539 * s-vmextra.ads, s-vmexta.adb: Use Exception_Code instead of a mix of
3540 Natural and Integer in various places.
3541 (Register_VMS_Exception): Use Base_Code_In to compute the exception code
3542 with the severity bits masked off.
3543 (Register_VMS_Exception): Handle the additional exception data pointer
3546 * raise.c (_GNAT_Exception structure): Remove the handled_by_others
3547 component, now reflected by an exported accessor.
3548 (is_handled_by): New routine to compute whether the propagated
3549 occurrence matches some handler choice specification. Extracted out of
3550 get_action_description_for, and expanded to take care of the VMS
3552 (get_action_description_for): Use is_handled_by instead of an explicit
3553 complex condition to decide if the current choice at hand catches the
3554 propagated occurrence.
3556 * raise.h (Exception_Code): New type for C.
3558 * rtsfind.ads (RE_Id, RE_Unit_Table): Add
3559 System.Standard_Library.Exception_Code, to allow references from the
3560 pragma import/export expander.
3562 * a-exexpr.adb (Is_Handled_By_Others, Language_For, Import_Code_For):
3563 New accessors to allow easy access to GNAT exception data
3565 (GNAT_GCC_Exception record, Propagate_Exception): Get rid of the
3566 redundant Handled_By_Others component, helper for the personality
3567 routine which will now be able to call the appropriate exception data
3570 * cstand.adb (Create_Standard): Adjust the type of the Import_Code
3571 component of Standard_Exception_Type to be the closest possible to
3572 Exception_Code in System.Standard_Library, that we cannot get at this
3573 point. Expand a ??? comment to notify that this type node should
3574 probably be rewritten later on.
3576 * exp_prag.adb (Expand_Pragma_Import_Export_Exception): Adjust the
3577 registration call to include a pointer to the exception object in the
3580 * init.c (__gnat_error_handler): Use Exception_Code and Base_Code_In
3581 instead of int and explicit bitmasks.
3583 2004-03-15 Vincent Celier <celier@gnat.com>
3585 * vms_data.ads: Add new GNAT BIND qualifier /STATIC. Makes /NOSHARED
3586 equivalent to /STATIC and /NOSTATIC equivalent to /SHARED.
3588 * a-tasatt.adb (To_Access_Code): Remove this UC instantiation, no
3589 longer needed now that it is in the spec of
3590 System.Tasking.Task_Attributes.
3592 * adaint.h, adaint.c: (__gnat_create_output_file): New function
3594 * gnatcmd.adb: Fix bug introduced in previous rev: /= instead of =
3596 * g-os_lib.ads, g-os_lib.adb (Create_Output_Text_File): New function.
3598 * make.adb (Gnatmake): Do not check the executable suffix; it is being
3599 taken care of in Scan_Make_Arg.
3600 (Scan_Make_Arg): Add the executable suffix only if the argument
3601 following -o, in canonical case, does not end with the executable
3602 suffix. When in verbose mode and executable file name does not end
3603 with executable suffix, output the executable name, in canonical case.
3605 * s-tataat.ads (Access_Dummy_Wrapper): Add pragma No_Strict_Aliasing
3606 to avoid warnings when instantiating Ada.Task_Attributes.
3609 * mlib-prj.adb (Process_Imported_Libraries): Get the imported libraries
3610 in the correct order.
3612 * prj-makr.adb (Process_Directory): No longer use GNAT.Expect, but
3613 redirect standard output and error to a file for the invocation of the
3614 compiler, then read the file.
3616 * prj-nmsc.adb (Find_Sources): Use the Display_Value for each
3617 directory, instead of the Value.
3618 (Find_Source_Dirs): Remove useless code & comments.
3620 2004-03-15 Ed Schonberg <schonberg@gnat.com>
3622 * exp_ch3.adb (Freeze_Record_Type): If a primitive operation of a
3623 tagged type is inherited, and the parent operation is not frozen yet,
3624 force generation of a freeze node for the inherited operation, so the
3625 corresponding dispatch entry is properly initialized.
3626 (Make_Predefined_Primitive_Specs): Check that return type is Boolean
3627 when looking for user-defined equality operation.
3629 * exp_ch4.adb (Expand_Composite_Equality): Check that return type is
3630 boolean when locating primitive equality of tagged component.
3632 * exp_ch5.adb (Expand_Assign_Array): If the left-hand side is a
3633 bit-aligned field and the right-hand side a string literal, introduce
3634 a temporary before expanding assignment into a loop.
3636 * exp_ch9.adb (Expand_N_Task_Type_Declaration): Copy expression for
3637 priority in full, to ensure that any expanded subepxressions of it are
3638 elaborated in the scope of the init_proc.
3640 * exp_prag.adb (Expand_Pragma_Import): Search for initialization call
3641 after object declaration, skipping over code that may have been
3642 generated for validity checks.
3644 * sem_ch12.adb (Validate_Private_Type_Instance): If type has unknown
3645 discriminants, ignore the known discriminants of its full view, if
3646 any, to check legality.
3648 * sem_ch3.adb (Complete_Private_Subtype): Do not create constrained
3649 component if type has unknown discriminants.
3650 (Analyze_Private_Extension_Declaration): Discriminant constraint is
3651 null if type has unknown discriminants.
3653 * sem_ch6.adb (Analyze_Generic_Subprogram_Body): Generate reference
3654 for end label when present.
3656 * s-fileio.adb (Open): When called with a C_Stream, use given name for
3657 temporary file, rather than an empty string.
3659 2004-03-15 Ed Falis <falis@gnat.com>
3661 * s-thread.adb: Removed, no longer used.
3663 2004-03-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3665 * decl.c (target.h): Now include.
3666 (gnat_to_gnu_entity, case E_Access_Type): Use mode derived from ESIZE
3667 in new build_pointer_from_mode calls for non-fat/non-thin pointer.
3668 (validate_size): For POINTER_TYPE, get smallest size permitted on
3671 * fe.h: Sort Einfo decls and add Set_Mechanism.
3673 * Makefile.in: (LIBGNAT_SRCS): Remove types.h.
3674 (ada/decl.o): Depends on target.h.
3676 * trans.c (tree_transform, N_Unchecked_Type_Conversion): Do not use
3677 FUNCTION_BOUNDARY; always use TYPE_ALIGN.
3679 2004-03-15 Thomas Quinot <quinot@act-europe.fr>
3681 * 5ztpopsp.adb, 56tpopsp.adb: Fix spelling of Task_ID.
3683 * exp_ch4.adb (Expand_N_Indexed_Component): Do not call
3684 Insert_Dereference_Action when rewriting an implicit dereference into
3685 an explicit one, this will be taken care of during expansion of the
3686 explicit dereference.
3687 (Expand_N_Slice): Same. Always do the rewriting, even for the case
3688 of non-packed slices, since the dereference action generated by
3689 expansion of the explicit dereference is needed in any case.
3690 (Expand_N_Selected_Component): When rewriting an implicit dereference,
3691 analyze and resolve the rewritten explicit dereference so it is seen
3693 (Insert_Dereference_Action): This procedure is now called only for the
3694 expansion of an N_Explcit_Dereference_Node. Do insert a check even for
3695 dereferences that do not come from source (including explicit
3696 dereferences resulting from rewriting implicit ones), but do not
3697 recursively insert a check for the dereference nodes contained within
3699 (Insert_Dereference_Action): Clarify and correct comment.
3701 2004-03-08 Paolo Bonzini <bonzini@gnu.org>
3704 Move language detection to the top level.
3705 * config-lang.in: Build by default.
3707 2004-03-05 Robert Dewar <dewar@gnat.com>
3709 * 56taprop.adb, 5ataprop.adb: Remove unneeded unchecked conversions
3711 * a-tags.adb, a-tags.ads, s-finimp.adb, s-finroo.ads,
3712 i-cpoint.ads, i-cpoint.adb, i-cstrin.adb, i-cstrin.ads,
3713 5iosinte.ads, 5sosinte.ads, 5staspri.ads, 5itaprop.adb,
3714 5staprop.adb, 5wtaprop.adb, s-tataat.ads, s-tataat.adb: Move
3715 unchecked conversion to spec to avoid warnings.
3717 * s-tasini.adb, s-taskin.ads, 5atpopsp.adb: Correct spelling Task_Id
3720 * 7stpopsp.adb: Correct casing in To_Task_ID call
3722 * a-strsea.ads, a-strsea.adb: Minor reformatting
3724 * einfo.ads, einfo.adb: Define new flag No_Strict_Aliasing
3726 * errout.ads: Switch for VMS is now NO_STRICT_ALIASING.
3727 Adjust Max_Msg_Length to be clearly large enough.
3729 * fe.h: Define In_Same_Source_Unit
3731 * osint.adb: Add pragma Warnings Off to suppress warnings
3732 * g-dyntab.adb, g-table.adb, g-thread.adb: Add Warnings (Off) to kill
3735 * opt.ads: Put entries in alpha order. Add entry for No_Strict_Aliasing
3737 * par-prag.adb: Add dummy entry for No_Strict_Aliasing pragma
3739 * sem_ch13.adb: Generate validate unchecked conversion nodes for gcc.
3741 * sem_ch3.adb: Set No_Strict_Aliasing flag if config pragma set.
3743 * sem_prag.adb: Implement pragma No_Strict_Aliasing.
3745 * sinfo.ads: Remove obsolete comment on validate unchecked conversion
3746 node. We now do generate them for gcc back end.
3748 * table.adb, sinput.adb: Add pragma Warnings Off to suppress aliasing
3751 * sinput-c.adb: Fix bad name in header.
3752 Add pragma Warnings Off to suppress aliasing warning.
3754 * sinput-l.adb: Add pragma Warnings Off to suppress aliasing warning.
3756 * snames.h, snames.ads, snames.adb: Add entry for pragma
3759 2004-03-05 Vincent Celier <celier@gnat.com>
3761 * prj-com.ads: Add hash table Files_Htable to check when a file name
3762 is already a source of another project.
3764 * prj-nmsc.adb (Record_Source): Before recording a new source, check
3765 if its file name is not already a source of another project. Report an
3768 * gnatcmd.adb: When GNAT PRETTY is invoked with a project file and no
3769 source file name, call gnatpp with all the sources of the main project.
3771 * vms_conv.adb (Initialize): GNAT PRETTY may be called with any number
3774 * vms_data.ads: Correct documentation of new /OPTIMIZE keyword
3775 NO_STRICT_ALIASING. Add new qualifier for GNAT PRETTY:
3776 /RUNTIME_SYSTEM=, converted to --RTS=
3777 /NOTABS, converted to -notabs
3779 2004-03-05 Pascal Obry <obry@gnat.com>
3781 * make.adb: Minor reformatting.
3783 2004-03-05 Ed Schonberg <schonberg@gnat.com>
3785 Part of implemention of AI-262.
3786 * par-ch10.adb (P_Context_Clause): Recognize private with_clauses.
3788 * sem_ch10.ads, sem_ch10.adb: (Install_Private_With_Clauses): New
3791 * sem_ch3.adb (Analyze_Component_Declaration): Improve error message
3792 when component type is a partially constrained class-wide subtype.
3793 (Constrain_Discriminated_Type): If parent type has unknown
3794 discriminants, a constraint is illegal, even if full view has
3796 (Build_Derived_Record_Type): Inherit discriminants when deriving a type
3797 with unknown discriminants whose full view is a discriminated record.
3799 * sem_ch7.adb (Preserve_Full_Attributes): Preserve Has_Discriminants
3800 flag, to handle properly derivations of tagged types with unknown
3802 (Analyze_Package_Spec, Analyze_Package_Body): Install
3803 Private_With_Clauses before analyzing private part or body.
3805 * einfo.ads: Indicate that both Has_Unknown_Discriminants and
3806 Has_Discriminants can be true for a given type (documentation).
3808 2004-03-05 Arnaud Charlet <charlet@act-europe.fr>
3810 * s-restri.ads: Fix license (GPL->GMGPL).
3812 * s-tassta.adb: Minor reformatting.
3814 * s-tasren.adb: Replace manual handling of Self_Id.ATC_Nesting_Level
3815 by calls to Exit_One_ATC_Level, since additional clean up is performed
3818 * s-tpobop.adb: Replace manual handling of Self_Id.ATC_Nesting_Level
3819 by calls to Exit_One_ATC_Level, since additional clean up is performed
3822 2004-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3824 * trans.c: Reflect GCC changes to fix bootstrap problem.
3825 Add warning for suspicious aliasing unchecked conversion.
3827 2004-03-05 GNAT Script <nobody@gnat.com>
3829 * Make-lang.in: Makefile automatically updated
3831 2004-03-02 Emmanuel Briot <briot@act-europe.fr>
3833 * ali.adb (Read_Instantiation_Instance): Do not modify the
3834 current_file_num when reading information about instantiations, since
3835 this corrupts files in later references.
3837 2004-03-02 Vincent Celier <celier@gnat.com>
3839 * bcheck.adb (Check_Consistency): Get the full path of an ALI file
3840 before checking if it is read-only.
3842 * bld.adb (Recursive_Process): Concatenate <PROJECT>.src_dirs in front
3843 of SRC_DIRS and eliminate duplicates.
3845 * gprcmd.adb: Replace command "path" with command "path_sep" to return
3847 (Usage): Document path_sep
3849 * Makefile.generic: For Ada and GNU C++ cases, link directly with the
3850 C++ compiler. No need for a script.
3851 Replace use of C*_INCLUDE_PATH env var for GCC compilers with CPATH.
3852 Do not call gprcmd to build the C*_INCLUDE_PATHs, do it with function
3855 * prj-env.adb (For_All_Source_Dirs): Only add source dirs in project
3856 where there are Ada sources.
3857 (Set_Ada_Paths): Only add to the include path the source dirs of project
3859 (Add_To_Path): Add the Display_Values of the directories, not their
3862 * prj-nmsc.adb (Find_Sources): Set flag Sources_Present in the project
3865 * prj-nmsc.adb (Add_ALI_For): Make sure that the element Display_Value
3867 (Find_Source_Dirs): Set Display_Value to a non canonicalized value, only
3868 Value is canonicalized.
3869 (Language_Independent_Check): Do not copy Value to Display_Value when
3870 canonicalizing Value.
3872 * prj-part.adb (Post_Parse_Context_Clause): Compare canonical cased
3873 path to find limited with cycles.
3874 (Parse_Single_Project): Use canonical cased path to find the end of a
3877 2004-03-02 Ed Schonberg <schonberg@gnat.com>
3879 * sem_ch10.adb (Optional_Subunit): Verify that unit contains a subunit
3880 and not a child unit.
3882 * sinfo.ads, sinfo.adb: Rearrange flags so that Private_Present can
3883 appear in a with_clause.
3885 * decl.c (gnat_to_gnu_type): If entity is a generic type, which can
3886 only happen in type_annotate mode, do not try to elaborate it.
3888 * exp_util.adb (Force_Evaluation): If expression is a selected
3889 component on the left of an assignment, use a renaming rather than a
3890 temporary to remove side effects.
3892 * freeze.adb (Freeze_Entity): Do not freeze a global entity within an
3893 inlined instance body, which is analyzed before the end of the
3896 2004-03-02 Robert Dewar <dewar@gnat.com>
3898 * par-ch10.adb, par-ch3.adb, par-ch4.adb, scng.adb,
3899 sem_ch4.adb: Use new feature for substitution of keywords in VMS
3901 * errout.ads, errout.adb: Implement new circuit for substitution of
3904 * sem_case.adb (Analyze_Choices): Place message properly when case is
3905 a subtype reference rather than an explicit range.
3907 * sem_elim.adb, s-tpobop.ads, exp_ch2.adb: Minor reformatting
3909 2004-03-02 Doug Rupp <rupp@gnat.com>
3911 * init.c (__gnat_initialize)[VMS]: Resignal RDB-E-STREAM_EOF.
3913 2004-03-02 Thomas Quinot <quinot@act-europe.fr>
3915 * s-tporft.adb: Add missing locking around call to Initialize_ATCB.
3917 2004-03-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3919 * utils.c (finish_record_type): Do not set DECL_NONADDRESSABLE for a
3922 2004-02-25 Robert Dewar <dewar@gnat.com>
3924 * 51osinte.ads, 52osinte.ads, 53osinte.ads, 54osinte.ads,
3925 55osinte.ads, 56osinte.ads, 5aosinte.ads, 5bosinte.ads,
3926 5cosinte.ads, 5fosinte.ads, 5gosinte.ads, 5hosinte.ads,
3927 5iosinte.ads, 5losinte.ads, 5nosinte.ads, 5oosinte.ads,
3928 5posinte.ads, 5sosinte.ads, 5tosinte.ads, 5vosinte.ads,
3929 5wosinte.ads, 5zosinte.ads: Move instances of Unchecked_Conversion to
3930 the defining instance of the type to avoid aliasing problems.
3931 Fix copyright header. Fix bad comments in package header.
3933 * exp_util.adb, prj-part.adb, prj-part.adb: Minor reformatting
3935 2004-02-25 Ed Schonberg <schonberg@gnat.com>
3937 * exp_ch2.adb (Param_Entity): Handle properly formals that have been
3938 rewritten as references when aliased through an address clause.
3940 * sem_ch4.adb (Try_Indirect_Call): Normalize actuals before checking
3941 whether call can be interpreted as an indirect call to the result of a
3942 parameterless function call returning an access subprogram.
3944 2004-02-25 Arnaud Charlet <charlet@act-europe.fr>
3947 * exp_ch7.adb (Make_Clean): Remove generation of calls to
3948 Unlock[_Entries], since this is now done by Service_Entries directly.
3950 * exp_ch9.adb (Build_Protected_Subprogram_Body): ditto.
3952 * s-tpobop.ads, s-tpobop.adb (PO_Service_Entries): New nested procedure
3953 Requeue_Call for better code readability. Change spec and update calls:
3954 PO_Service_Entries now unlock the PO on exit.
3955 (Protected_Entry_Call, Timed_Protected_Entry_Call): Update calls to
3958 * s-tposen.ads, s-tposen.adb (Service_Entry): Now unlock the PO on exit.
3960 * s-taenca.adb, s-tasren.adb: Update calls to PO_Service_Entries.
3962 2004-02-25 Sergey Rybin <rybin@act-europe.fr>
3964 * exp_ch9.adb (Build_Simple_Entry_Call): Prevent expanding the
3965 protected subprogram call and analyzing the result of such expanding
3966 in case when the called protected subprogram is eliminated.
3968 * sem_elim.adb (Check_Eliminated): Skip blocks when comparing scope
3971 2004-02-25 Jerome Guitton <guitton@act-europe.fr>
3973 * Makefile.in: Clean ups.
3975 2004-02-23 Ed Schonberg <schonberg@gnat.com>
3977 * exp_ch6.adb (Expand_N_Subprogram_Declaration): Do not create
3978 protected operations if original subprogram is flagged as eliminated.
3979 (Expand_N_Subprogram_Body): For a protected operation, create
3980 discriminals for next operation before checking whether the operation
3983 * exp_ch9.adb (Expand_N_Protected_Body,
3984 Expand_N_Protected_Type_Declaration): Do not generate specs and bodies
3985 for internal protected operations if the original subprogram is
3988 * sem_elim.adb (Check_Eliminated): Handle properly protected operations
3989 declared in a single protected object.
3991 2004-02-23 Vincent Celier <celier@gnat.com>
3993 * prj-attr.adb: Make attribute Builder'Executable an associative array,
3994 case insensitive if file names are case insensitive, instead of a
3995 standard associative array.
3997 * prj-attr.adb (Initialize): For 'b' associative arrays, do not set
3998 them as case insensitive on platforms where the file names are case
4001 * prj-part.adb (Parse_Single_Project): Make sure, when checking if
4002 project file has already been parsed that canonical path are compared.
4004 2004-02-23 Robert Dewar <dewar@gnat.com>
4006 * sinput-c.ads: Correct bad unit title in header
4008 * freeze.adb: Minor reformatting
4010 2004-02-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4012 * trans.c (tree_transform, case N_Procedure_Call_Statement): For
4013 nonaddressable COMPONENT_REF that is removing padding that we are
4014 taking the address of, take the address of the padded record instead
4015 if item is variable size.
4017 2004-02-20 Robert Dewar <dewar@gnat.com>
4019 * bld.adb, exp_util.adb, gprcmd.adb: Minor reformatting
4021 2004-02-20 Ed Schonberg <schonberg@gnat.com>
4023 * freeze.adb (Freeze_Record_Type): Generalize mechanism that generates
4024 itype references for the constrained designated type of a component
4025 whose base type is already frozen.
4027 2004-02-20 Arnaud Charlet <charlet@act-europe.fr>
4029 * init.c (__gnat_error_handler [tru64]): Rewrite previous change to
4032 2004-02-20 Sergey Rybin <rybin@act-europe.fr>
4034 * sem_ch12.adb (Analyze_Formal_Package): Create a new defining
4035 identifier for a phantom package that rewrites the formal package
4036 declaration with a box. The Add semantic decorations for the defining
4037 identifier from the original node (that represents the formal package).
4039 2004-02-19 Matt Kraai <kraai@alumni.cmu.edu>
4041 * Make-lang.in (ada/stamp-sdefault): Use the top level
4044 2004-02-19 Richard Henderson <rth@redhat.com>
4046 * misc.c (record_code_position): Add third build arg for RTL_EXPR.
4048 2004-02-18 Emmanuel Briot <briot@act-europe.fr>
4050 * ali.ads, ali.adb (First_Sdep_Entry): No longer a constant, so that
4051 Scan_ALI can be used for multiple ALI files without reinitializing
4054 2004-02-18 Robert Dewar <dewar@gnat.com>
4056 * debug.adb: Minor reformatting.
4058 2004-02-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4060 * decl.c (gnat_to_gnu_entity, case object): Set DECL_POINTER_ALIAS_SET
4061 to zero if there is an address clause.
4063 2004-02-18 Thomas Quinot <quinot@act-europe.fr>
4065 * exp_util.adb (Side_Effect_Free): Any literal is side effects free.
4067 2004-02-18 Gary Dismukes <dismukes@gnat.com>
4069 * layout.adb (Layout_Component_List): Revise generation of call to
4070 discriminant-checking function to pass selections of all of the type's
4071 discriminants rather than just the variant-controlling discriminant.
4073 2004-02-18 Olivier Hainque <hainque@act-europe.fr>
4075 * 5gmastop.adb (Pop_Frame): Do not call exc_unwind, which is bound to
4076 fail in the current setup and triggers spurious system error messages.
4077 Pretend it occurred and failed instead.
4079 2004-02-18 Vincent Celier <celier@gnat.com>
4081 * bld.adb: Mark FLDFLAGS as saved
4082 (Process_Declarative_Items): Add Linker'Linker_Options to FLDFLAGS when
4083 it is not the root project. Put each directory to be
4084 extended between double quotes to prevent it to be expanded on Windows.
4085 (Recursive_Process): Reset CFLAGS/CXXFLAGS to nothing before processing
4086 the project file. Set them back to their initial values if they have not
4087 been set in the project file.
4089 * gprcmd.adb: (Gprdebug, Debug): New global variables
4090 (Display_Command): New procedure
4091 (Usage): Document new command "linkopts"
4092 Call Display_Command when env var GPRDEBUG has the value "TRUE"
4093 Implement new command "linkopts"
4094 Remove quotes that may be around arguments for "extend"
4095 Always call Normalize_Pathname with arguments formatted for the platform
4097 * Makefile.generic: Link C/C++ mains with $(FLDFLAGS)
4098 Change @echo to @$(display) in target clean to be able to clean silently
4100 * Makefile.prolog: Save FLDFLAGS and give it an initial empty value
4102 * prj-part.adb (Project_Path_Name_Of): Do not put final result in
4105 * prj-part.adb (Parse_Single_Project): Always call with From_Extended
4106 = Extending_All when current project is an extending all project.
4108 * vms_conv.adb (Output_File_Expected): New Boolean global variable,
4109 set to True only for LINK command, after Unix switch -o.
4110 (Process_Arguments): Set Output_File_Expected to True for LINK command
4111 after Unix switch -o. When Output_File_Expected is True, never add an
4112 extension to a file name.
4114 * 5vml-tgt.adb (Build_Dynamic_Library): Do not append "/OPTIONS" to the
4115 option file name, only to the --for-linker= switch.
4116 (Option_File_Name): If option file name do not end with ".opt", append
4119 2004-02-18 GNAT Script <nobody@gnat.com>
4121 * Make-lang.in: Makefile automatically updated
4123 2004-02-17 Matt Kraai <kraai@alumni.cmu.edu>
4125 * Make-lang.in (stamp-sdefault): Do not depend on
4128 2004-02-12 Zack Weinberg <zack@codesourcery.com>
4130 * config-lang.in: Disable Ada by default until probe logic for
4131 a bootstrap Ada compiler can be moved to the top level configure
4134 2004-02-12 Olivier Hainque <hainque@act-europe.fr>
4136 * decl.c (components_to_record): Don't claim that the internal fields
4137 we make to hold the variant parts are semantically addressable, because
4140 * exp_pakd.adb (Create_Packed_Array_Type): Rename Esiz into PASize and
4141 adjust the comment describing the modular type form when we can use it.
4142 (Install_PAT): Account for the Esiz renaming.
4144 * init.c (__gnat_error_handler for alpha-tru64): Arrange to clear the
4145 sc_onstack context indication before raising the exception to which
4146 the signal is mapped. Allows better handling of later signals possibly
4147 triggered by the resumed user code if the exception is handled.
4149 2004-02-12 Arnaud Charlet <charlet@act-europe.fr>
4151 * 5zinit.adb: Removed, no longer used.
4153 2004-02-12 Robert Dewar <dewar@gnat.com>
4155 * ali.adb: Remove separating space between parameters on R line. Makes
4156 format consistent with format used by the binder for Set_Globals call.
4158 * atree.ads, atree.adb: Minor reformatting (new function header format)
4160 * bindgen.adb: Add Run-Time Globals documentation section containing
4161 detailed documentation of the globals passed from the binder file to
4164 * gnatls.adb: Minor reformatting
4166 * init.c (__gnat_set_globals): Add note pointing to documentation in
4169 * lib-writ.ads, lib-writ.adb: Remove separating space between
4170 parameters on R line.
4171 Makes format consistent with format used by the binder for Set_Globals
4174 * osint.ads: Add 2004 to copyright notice
4177 * snames.ads: Correct capitalization of FIFO_Within_Priorities
4178 Noticed during code reading, documentation issue only
4180 * usage.adb: Remove junk line for obsolete C switch
4181 Noticed during code reading
4183 2004-02-12 Vincent Celier <celier@gnat.com>
4185 * bld.adb (Process_Declarative_Items): For Source_Dirs call gprcmd
4186 extend for each directory, so that multiple /** directories are
4187 extended individually.
4188 (Recursive_Process): Set the default for LANGUAGES to ada
4190 * gprcmd.adb: Define new command "ignore", to do nothing.
4191 Implement new comment "path".
4193 * Makefile.generic: Suppress output when SILENT is set
4194 Make sure that when compiler for C/C++ is gcc, the correct -x switch is
4195 used, so that the correct compiler is invoked.
4196 When compiler is gcc/g++, put search path in env vars C_INCLUDE_PATH/
4197 CXX_INCLUDE_PATH, to avoid failure with too long command lines.
4199 2004-02-12 Jerome Guitton <guitton@act-europe.fr>
4201 * Makefile.in: Clean ups and remove obsolete targets.
4203 2004-02-12 Ed Schonberg <schonberg@gnat.com>
4205 * exp_ch5.adb: Remove Possible_Unligned_Slice, in favor of the similar
4206 predicate declared in exp_util.
4208 * exp_util.adb: Add comments.
4210 * sem_ch10.adb (Analyze_Subunit): Remove ultimate parent unit from
4211 visibility before compiling context of the subunit.
4213 * sem_res.adb (Check_Parameterless_Call): If the context expects a
4214 value but the name is a procedure, do not attempt to analyze as a call,
4215 in order to obtain more telling diagnostics.
4217 * sem_util.adb (Wrong_Type): Further enhancement to diagnose missing
4218 'Access on parameterless function calls.
4219 (Normalize_Actuals): For a parameterless function call with missing
4220 actuals, defer diagnostic until resolution of enclosing call.
4222 * sem_util.adb (Wrong_Type): If the context type is an access to
4223 subprogram and the expression is a procedure name, suggest a missing
4226 2004-02-10 Arnaud Charlet <charlet@act-europe.fr>,
4227 Nathanael Nerode <neroden@gcc.gnu.org>
4229 PR ada/6637, PR ada/5911
4230 Merge with libada-branch:
4231 * config-lang.in: Build libada only when ada is built.
4233 2004-02-09 Ed Schonberg <schonberg@gnat.com>
4235 * exp_ch4.adb (Expand_N_Op_Eq): When looking for the primitive equality
4236 for a tagged type, verify that both formals have the same type.
4238 * exp_ch6.adb (Add_Call_By_Copy_Code): Initialize properly the
4239 temporary when the formal is an in-parameter and the actual a possibly
4242 * exp_ch9.adb (Expand_Entry_Barrier): Resolve barrier expression even
4243 when expansion is disabled, to ensure proper name capture with
4244 overloaded literals. Condition can be of any boolean type, resolve
4247 * sem_ch8.adb (Analyze_Subprogram_Renaming): Emit warning if the
4248 renaming is for a formal subprogram with a default operator name, and
4249 there is a usable operator that is visible at the point of
4252 2004-02-09 Robert Dewar <dewar@gnat.com>
4254 * ali.adb (Scan_Ali) Add Ignore_Errors argument. This is a major
4255 rewrite to ignore errors in ali files, intended to allow tools downward
4256 compatibility with new versions of ali files.
4258 * ali.ads: Add new parameter Ignore_Errors
4260 * bcheck.adb (Check_Consistent_Restrictions): Fix error of sometimes
4261 duplicating the error message giving the file with restrictions.
4263 * debug.adb: Add debug flag I for gnatbind
4265 * errout.adb (Set_Msg_Insertion_Node): Suppress extra quotes around
4266 operators for the case where the operator is a defining operator.
4268 * exp_ch3.adb: Minor reformatting (new function spec format).
4270 * exp_ch4.adb: Add comment for previous change, and make minor
4271 adjustment to loop to always check for improper loop termination.
4272 Minor reformatting throughout (new function spec format).
4274 * gnatbind.adb: Implement -di debug flag for gnatbind
4276 * gnatlink.adb: Call Scan_ALI with Ignore_Errors set to True
4278 * gnatls.adb: Call Scan_ALI with Ignore_Errors set to True
4280 * lib-load.adb: Fix bad assertion.
4281 Found by testing and code reading.
4284 * lib-load.ads: Minor reformatting.
4286 * lib-writ.adb: There is only one R line now.
4288 * lib-writ.ads: Add documentation on making downward compatible changes
4289 to ali files so old tools work with new ali files.
4290 There is only one R line now.
4291 Add documentation on format incompatibilities (with special GPS note)
4293 * namet.ads, namet.adb: (Is_Operator_Name): New procedure
4295 * par-load.adb: Minor reformatting
4297 * sem_ch8.adb: Fix to error message from last update
4298 Minor reformatting and restructuring of code from last update
4300 * par-prag.adb, snames.adb, snames.ads, snames.h,
4301 sem_prag.adb: Implement pragma Profile.
4303 * stylesw.adb: Implement -gnatyN switch to turn off all style check
4306 * usage.adb: Add line for -gnatyN switch
4308 * vms_data.ads: Add entry STYLE_CHECKS=NONE for -gnatyN
4310 2004-02-09 Albert Lee <lee@gnat.com>
4312 * errno.c: define _SGI_MP_SOURCE for task-safe errno on IRIX
4314 2004-02-09 Ed Schonberg <schonberg@gnat.com>
4316 * exp_ch3.adb (Build_Slice_Assignment): Handle properly case of null
4319 * exp_ch6.adb (Expand_Call): Do not inline a call when the subprogram
4320 is nested in an instance that is not frozen yet, to avoid
4321 order-of-elaboration problems in gigi.
4323 * sem_attr.adb (Analyze_Attribute, case 'Access): Within an inlined
4324 body the attribute is legal.
4326 2004-02-09 Robert Dewar <dewar@gnat.com>
4328 * s-rident.ads: Minor comment correction
4330 * targparm.adb: Remove dependence on uintp completely. There was
4331 always a bug in Make in that it called Targparm before initializing
4332 the Uint package. The old code appeared to get away with this, but
4333 the new code did not! This caused an assertion error in gnatmake.
4335 * targparm.ads: Fix bad comment, restriction pragmas with parameters
4336 are indeed fully supported.
4338 2004-02-06 Alan Modra <amodra@bigpond.net.au>
4340 * misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call.
4342 2004-02-05 Kazu Hirata <kazu@cs.umass.edu>
4344 * ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES
4345 with targetm.calls.promote_prototypes.
4347 2004-02-04 Robert Dewar <dewar@gnat.com>
4349 * 5gtasinf.adb, 5gtasinf.ads, 5gtaprop.adb, ali.adb,
4350 ali.ads, gprcmd.adb: Minor reformatting
4352 * bindgen.adb: Output restrictions string for new style restrictions
4355 * impunit.adb: Add s-rident.ads (System.Rident) and
4356 s-restri (System.Restrictions)
4358 * lib-writ.adb: Fix bug in writing restrictions string (last few
4361 * s-restri.ads, s-restri.adb: Change name Restrictions to
4362 Run_Time_Restrictions to avoid conflict with package name.
4363 Add circuit to read and acquire run time restrictions.
4365 2004-02-04 Jose Ruiz <ruiz@act-europe.fr>
4367 * restrict.ads, restrict.adb: Use the new restriction
4368 No_Task_Attributes_Package instead of the old No_Task_Attributes.
4370 * sem_prag.adb: No_Task_Attributes is a synonym of
4371 No_Task_Attributes_Package.
4373 * snames.ads, snames.adb: New entry for proper handling of
4376 * s-rident.ads: Adding restriction No_Task_Attributes_Package
4377 (AI-00249) that supersedes the GNAT specific restriction
4380 2004-02-04 Ed Schonberg <schonberg@gnat.com>
4383 (Analyze_Pragma, case Warnings): In an inlined body, as in an instance
4384 body, an identifier may be wrapped in an unchecked conversion.
4386 2004-02-04 Vincent Celier <celier@gnat.com>
4388 * lib-writ.ads: Comment update for the W lines
4390 * bld.adb: (Expression): An empty string list is static
4392 * fname-uf.adb: Minor comment update
4394 * fname-uf.ads: (Get_File_Name): Document new parameter May_Fail
4396 * gnatbind.adb: Initialize Cumulative_Restrictions with the
4397 restrictions on the target.
4399 2004-02-03 Kazu Hirata <kazu@cs.umass.edu>
4401 * ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of
4404 2004-02-02 Arnaud Charlet <charlet@gnat.com>
4406 * Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded.
4408 2004-02-02 Vincent Celier <celier@gnat.com>
4410 * gprcmd.adb (Check_Args): If condition is false, print the invoked
4411 comment before the usage.
4412 Gprcmd: Fail when command is not recognized.
4413 (Usage): Document command "prefix"
4415 * g-md5.adb (Digest): Process last block.
4416 (Update): Do not process last block. Store remaining characters and
4419 * g-md5.ads (Update): Document that several call to update are
4420 equivalent to one call with the concatenated string.
4421 (Context): Add fields to allow new Update behaviour.
4423 * fname-uf.ads/adb (Get_File_Name): New Boolean parameter May_Fail,
4425 When May_Fail is True and no existing file can be found, return No_File.
4427 * 6vcstrea.adb: Inlined functions are now wrappers to implementation
4430 * lib-writ.adb (Write_With_Lines): When body file does not exist, use
4431 spec file name instead on the W line.
4433 2004-02-02 Robert Dewar <dewar@gnat.com>
4435 * ali.adb: Read and acquire info from new format restrictions lines
4437 * bcheck.adb: Add circuits for checking restrictions with parameters
4439 * bindgen.adb: Output dummy restrictions data
4442 * ali.ads, checks.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
4443 exp_ch3.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_util.adb,
4444 freeze.adb, gnat1drv.adb, sem_attr.adb, sem_ch10.adb, sem_ch11.adb,
4445 sem_ch12.adb, targparm.adb, targparm.ads, tbuild.adb, sem_ch2.adb,
4446 sem_elab.adb, sem_res.adb: Minor changes for new restrictions handling.
4448 * exp_ch9.adb (Build_Master_Entity): Cleanup the code (also suppresses
4449 the warning message on access to possibly uninitialized variable S)
4450 Minor changes for new restrictions handling.
4452 * gnatbind.adb: Minor reformatting
4453 Minor changes for new restrictions handling
4454 Move circuit for -r processing here from bcheck (cleaner)
4456 * gnatcmd.adb, gnatlink.adb: Minor reformatting
4458 * lib-writ.adb: Output new format restrictions lines
4460 * lib-writ.ads: Document new R format lines for new restrictions
4463 * s-restri.ads/adb: New files
4465 * Makefile.rtl: Add entry for s-restri.ads/adb
4467 * par-ch3.adb: Fix bad error messages starting with upper case letter
4470 * restrict.adb: Major rewrite throughout for new restrictions handling
4471 Major point is to handle restrictions with parameters
4473 * restrict.ads: Major changes in interface to handle restrictions with
4474 parameters. Also generally simplifies setting of restrictions.
4476 * snames.ads/adb: New entry for proper handling of No_Requeue
4478 * sem_ch3.adb (Count_Tasks): New circuitry for implementing Max_Tasks
4479 restriction counting.
4480 Other minor changes for new restrictions handling
4482 * sem_prag.adb: No_Requeue is a synonym for No_Requeue_Statements.
4483 Restriction_Warnings now allows full parameter notation
4484 Major rewrite of Restrictions for new restrictions handling
4486 2004-02-02 Javier Miranda <miranda@gnat.com>
4488 * par-ch3.adb (P_Identifier_Declarations): Give support to the Ada 0Y
4489 syntax rule for object renaming declarations.
4490 (P_Array_Type_Definition): Give support for the Ada 0Y syntax rule for
4491 component definitions.
4493 * sem_ch3.adb (Analyze_Component_Declaration): Give support to access
4495 (Array_Type_Declaration): Give support to access components. In addition
4496 it was also modified to reflect the name of the object in anonymous
4497 array types. The old code did not take into account that it is possible
4498 to have an unconstrained anonymous array with an initial value.
4499 (Check_Or_Process_Discriminants): Allow access discriminant in
4501 (Process_Discriminants): Allow access discriminant in non-limited types
4502 Initialize the new Access_Definition field in N_Object_Renaming_Decl
4503 node. Change Ada0Y to Ada 0Y in comments
4505 * sem_ch4.adb (Find_Equality_Types): Allow anonymous access types in
4507 Change Ada0Y to Ada 0Y in comments
4509 * sem_ch8.adb (Analyze_Object_Renaming): Give support to access
4510 renamings Change Ada0Y to Ada 0Y in comments
4512 * sem_type.adb (Find_Unique_Type): Give support to the equality
4513 operators for universal access types
4514 Change Ada0Y to Ada 0Y in comments
4516 * sinfo.adb (Access_Definition, Set_Access_Definition): New subprograms
4518 * sinfo.ads (N_Component_Definition): Addition of Access_Definition
4520 (N_Object_Renaming_Declaration): Addition of Access_Definition field
4521 Change Ada0Y to Ada 0Y in comments
4523 * sprint.adb (Sprint_Node_Actual): Give support to the new syntax for
4524 component definition and object renaming nodes
4525 Change Ada0Y to Ada 0Y in comments
4527 2004-02-02 Jose Ruiz <ruiz@act-europe.fr>
4529 * restrict.adb: Use the new restriction identifier
4530 No_Requeue_Statements instead of the old No_Requeue for defining the
4533 * sem_ch9.adb (Analyze_Requeue): Check the new restriction
4534 No_Requeue_Statements.
4536 * s-rident.ads: Adding restriction No_Requeue_Statements (AI-00249)
4537 that supersedes the GNAT specific restriction No_Requeue. The later is
4538 kept for backward compatibility.
4540 2004-02-02 Ed Schonberg <schonberg@gnat.com>
4542 * lib.ads, i-cobol.ads, * s-stoele.ads, s-thread.ads, style.ads,
4543 5staprop.adb, atree.adb, atree.ads, g-crc32.ads: Remove redundant
4544 pragma and fix incorrect ones.
4546 * sem_prag.adb For pragma Inline and pragma Pure_Function, emit a
4547 warning if the pragma is redundant.
4549 2004-02-02 Thomas Quinot <quinot@act-europe.fr>
4551 * 5staprop.adb: Add missing 'constant' keywords.
4553 * Makefile.in: use consistent value for SYMLIB on
4554 platforms where libaddr2line is supported.
4556 2004-02-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4558 * utils.c (end_subprog_body): Do not call rest_of_compilation if just
4561 2004-02-02 Olivier Hainque <hainque@act-europe.fr>
4563 * init.c (__gnat_install_handler): Setup an alternate stack for signal
4564 handlers in the environment thread. This allows proper propagation of
4565 an exception on stack overflows in this thread even when the builtin
4566 ABI stack-checking scheme is used without support for a stack reserve
4569 * utils.c (create_field_decl): Augment the head comment about bitfield
4570 creation, and don't account for DECL_BIT_FIELD in DECL_NONADDRESSABLE_P
4571 here, because the former is not accurate enough at this point.
4572 Let finish_record_type decide instead.
4573 Don't make a bitfield if the field is to be addressable.
4574 Always set a size for the field if the record is packed, to ensure the
4575 checks for bitfield creation are triggered.
4576 (finish_record_type): During last pass over the fields, clear
4577 DECL_BIT_FIELD when possible in the !STRICT_ALIGNMENT case, as this is
4578 not covered by the calls to layout_decl. Adjust DECL_NONADDRESSABLE_P
4579 from DECL_BIT_FIELD.
4581 2004-01-30 Kelley Cook <kcook@gcc.gnu.org>
4583 * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir).
4584 (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise.
4585 (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise.
4587 2004-01-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4589 * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB.
4591 * 5fsystem.ads (Functions_Return_By_DSP): Set to False.
4592 (ZCX_By_Default): Likewise.
4593 (Front_End_ZCX_Support): Likewise.
4595 * 5gtaprop.adb (Stack_Guard): Mark T, On unreferenced.
4596 (Initialize_Lock): Mark Level unreferenced.
4597 (Sleep): Mark Reason unreferenced.
4598 (Timed_Sleep): Likewise.
4600 (Exit_Task): Use Result.
4601 (Check_No_Locks): Mark Self_ID unreferenced.
4603 * 5gtasinf.adb (New_Sproc): Make Attr constant.
4604 (Bound_Thread_Attributes): Make Sproc constant.
4605 (New_Bound_Thread_Attributes): Likewise.
4607 2004-01-26 Ed Schonberg <schonberg@gnat.com>
4609 * exp_ch3.adb (Build_Slice_Assignment): New TSS procedure for
4610 one-dimensional array an slice assignments, when component type is
4613 * exp_ch5.adb (Expand_Assign_Array): If array is one-dimensional,
4614 component type is controlled, and control_actions are in effect, use
4615 TSS procedure rather than generating inline code.
4617 * exp_tss.ads (TSS_Slice_Assign): New TSS procedure for one-dimensional
4618 arrays with controlled components.
4620 2004-01-26 Vincent Celier <celier@gnat.com>
4622 * gnatcmd.adb (GNATCmd): Add specification of argument file on the
4623 command line for the non VMS case.
4625 * gnatlink.adb (Process_Binder_File): When building object file, if
4626 GNU linker is used, put all object paths between quotes, to prevent ld
4627 error when there are unusual characters (such as '!') in the paths.
4629 * Makefile.generic: When there are sources in Ada and the main is in
4630 C/C++, invoke gnatmake with -B, instead of -z.
4632 * vms_conv.adb (Preprocess_Command_Data): New procedure, extracted
4633 from VMS_Conversion.
4634 (Process_Argument): New procedure, extracted from VMS_Conversion. Add
4635 specification of argument file on the command line.
4637 2004-01-26 Bernard Banner <banner@gnat.com>
4639 * Makefile.in: Enable GMEM_LIB and SYMLIB for x86_64
4641 2004-01-26 Ed Schonberg <schonberg@gnat.com>
4643 * snames.adb: Update copyright notice.
4644 Add info on slice assignment for controlled arrays.
4646 2004-01-23 Robert Dewar <dewar@gnat.com>
4648 * exp_aggr.adb: Minor reformatting
4650 * exp_ch9.adb: Minor code clean up
4652 Fix bad character in comment
4655 * targparm.adb (Get_Target_Parameters): Give clean abort error on
4656 unexpected end of file, along with more detailed message.
4658 2004-01-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4660 * exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of
4663 * decl.c (copy_alias_set): New function.
4664 (gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it.
4666 2004-01-23 Doug Rupp <rupp@gnat.com>
4668 * Makefile.in (install-gnatlib): Change occurrences of lib$$file to
4669 lib$${file} in case subsequent character is not a separator.
4671 2004-01-23 Vincent Celier <celier@gnat.com>
4673 * 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc
4674 when the GCC version is at least 3.
4676 * make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches
4677 Remove all "Opt.", to prepare for opt split
4679 * prj-part.adb (Parse_Single_Project): New Boolean out parameter
4680 Extends_All. Set to True when the project parsed is an extending all
4681 project. Fails for importing an extending all project only when the
4682 imported project is an extending all project.
4683 (Post_Parse_Context_Clause): Set Is_Extending_All to the with clause,
4684 depending on the value of Extends_All returned.
4686 * prj-proc.adb (Process): Check that no project shares its object
4687 directory with a project that extends it, directly or indirectly,
4688 including a virtual project.
4689 Check that no project extended by another project shares its object
4690 directory with another also extended project.
4692 * prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for
4693 Kind = N_With_Clause
4695 * prj-tree.ads: Minor reformatting
4696 Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All).
4698 2004-01-23 Ed Schonberg <schonberg@gnat.com>
4700 * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute
4701 applies to a type with an incomplete view, use full view in Name of
4702 clause, for consistency with uses of Get_Attribute_Definition_Clause.
4704 2004-01-23 Arnaud Charlet <charlet@act-europe.fr>
4706 * 5itaprop.adb (Set_Priority): Reset the priority to 0 when using
4707 SCHED_RR, since other values are not supported by this policy.
4708 (Initialize): Move initialization of mutex attribute to package
4709 elaboration, to prevent early access to this variable.
4711 * Makefile.in: Remove mention of Makefile.adalib, unused.
4713 * Makefile.adalib, 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
4714 1ssecsta.ads: Removed, unused.
4716 2004-01-21 Javier Miranda <miranda@gnat.com>
4718 * exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master
4719 entity if already built in the current scope.
4721 * exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity
4722 reminder in internal scopes. Required for nested limited aggregates.
4724 2004-01-21 Doug Rupp <rupp@gnat.com>
4726 * Makefile.in (hyphen): New variable, default value '-'. Set to '_' on
4727 VMS. Replace all occurences of libgnat- and libgnarl- with
4728 libgnat$(hyphen) and libgnarl$(hyphen).
4729 Fixed shared library build problem on VMS.
4731 2004-01-21 Robert Dewar <dewar@gnat.com>
4733 * mlib-prj.adb: Minor reformatting
4735 2004-01-21 Thomas Quinot <quinot@act-europe.fr>
4737 * prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing
4738 'constant' keywords for declaration of pointers that are not modified.
4740 * exp_pakd.adb: Fix English in comment.
4742 2004-01-21 Ed Schonberg <schonberg@gnat.com>
4745 * sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype,
4746 copy all attributes of the parent, including the foreign language
4749 2004-01-21 Sergey Rybin <rybin@act-europe.fr>
4752 * sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check
4753 for 'delay until' statement.
4755 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
4757 * Make-lang.in: Replace $(docdir) with doc.
4758 (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
4759 doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
4760 to use consistent MAKEINFO rule.
4761 (ada.man, ada.srcman): Dummy entry.
4762 (ADA_INFOFILES): Define.
4763 (ada.info, ada.srcinfo): New rules.
4765 2004-01-19 Arnaud Charlet <charlet@act-europe.fr>
4767 * utils.c: Update copyright notice, missed in previous change.
4769 2004-01-19 Vincent Celier <celier@gnat.com>
4771 * mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the
4772 args if Bind is True. Set First_ALI, if not already done.
4773 (Build_Library): For Stand Alone Libraries, extract from one ALI file
4774 an eventual --RTS switch, for gnatbind, and all backend switches +
4777 2004-01-19 Robert Dewar <dewar@gnat.com>
4779 * sem_attr.adb, memtrack.adb: Minor reformatting
4781 2004-01-19 Ed Schonberg <schonberg@gnat.com>
4783 * exp_ch6.adb (Expand_Call): Remove code to fold calls to functions
4784 that rename enumeration literals. This is properly done in sem_eval.
4786 * sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls
4787 to functions that rename enumeration literals.
4789 * sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to
4790 functions that rename enumeration literals.
4792 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
4794 * Make-lang.in (utils.o): Depend on target.h.
4795 * utils.c: Include target.h.
4796 (process_attributes): Use targetm.have_named_sections instead
4797 of ASM_OUTPUT_SECTION_NAME.
4799 2004-01-16 Andreas Jaeger <aj@suse.de>
4801 * Makefile.in: Add $(DESTDIR).
4803 2004-01-15 Olivier Hainque <hainque@act-europe.fr>
4805 * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size
4806 also when not defining if a Size clause applies. That information is
4809 2004-01-15 Arnaud Charlet <charlet@act-europe.fr>
4811 * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up
4812 symbolic links for the shared gnat run time when needed.
4814 2004-01-15 Vasiliy Fofanov <fofanov@act-europe.fr>
4816 * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened
4817 for writing, and terminate with an error message if not.
4819 2004-01-15 Ed Schonberg <schonberg@gnat.com>
4821 * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious
4822 warning on an access to subprogram in an instance, when the target
4823 type is declared in the same generic unit.
4824 (Eval_Attribute): If 'access is known to fail accessibility check,
4825 rewrite as a raise statement.
4827 2004-01-15 GNAT Script <nobody@gnat.com>
4829 * Make-lang.in: Makefile automatically updated
4831 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
4833 * Make-lang.in (ada.srcextra): Dummy entry.
4835 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
4837 * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode.
4839 2004-01-13 Ed Schonberg <schonberg@gnat.com>
4841 * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
4842 components that are initialized with aggregates.
4844 2004-01-13 Vincent Celier <celier@gnat.com>
4846 * gnatlink.adb (Process_Binder_File): To find directory of shared
4847 libgcc, if "gcc-lib" is not a subdirectory, look for the last
4848 subdirectory "lib" in the path of the shared libgnat or libgnarl.
4850 * make.adb (Gnatmake): If GCC version is at least 3, link with
4851 -shared-libgcc, when there is at least one shared library project.
4853 * opt.ads (GCC_Version): New integer constant.
4855 * adaint.c (get_gcc_version): New function.
4857 2004-01-13 Robert Dewar <dewar@gnat.com>
4859 * sem_dist.adb, sem_res.adb, sem_util.adb,
4860 sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
4861 exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
4863 2004-01-13 Thomas Quinot <quinot@act-europe.fr>
4865 * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
4866 g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
4869 2004-01-12 Arnaud Charlet <charlet@act-europe.fr>
4871 * misc.c: Remove trailing spaces.
4872 Update copyright notice missed in previous change.
4875 * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of
4878 * Makefile.generic: Update copyright.
4881 * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead
4882 of prefix/share/make.
4884 * Makefile.prolog: Update copyright.
4887 2004-01-12 Laurent Pautet <pautet@act-europe.fr>
4889 * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb,
4890 3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb,
4891 g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr
4894 * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message
4897 2004-01-12 Javier Miranda <miranda@gnat.com>
4899 * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb,
4900 exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb,
4901 sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb,
4902 sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of
4903 Component_Definition node.
4905 2004-01-12 Ed Falis <falis@gnat.com>
4907 * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit
4909 2004-01-12 Thomas Quinot <quinot@act-europe.fr>
4911 * link.c: Change default libgnat kind to STATIC for FreeBSD.
4913 2004-01-12 Bernard Banner <banner@gnat.com>
4915 * Makefile.in: map 86numaux to a-numaux for x86_64
4917 2004-01-12 Ed Schonberg <schonberg@gnat.com>
4919 * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity
4920 generated to rename a generic actual, go to the actual itself, the
4921 subtype is not a user-visible entity.
4923 * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible
4924 part is a private subtype, reset the visibility of its full view, if
4925 any, to be consistent.
4928 * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt
4929 to use a generic package G as a formal package for another generic
4932 2004-01-12 Robert Dewar <dewar@gnat.com>
4934 * trans.c (Eliminate_Error_Msg): New procedure called to generate msg
4936 * usage.adb: Remove mention of obsolete -gnatwb switch
4937 Noticed during code reading
4939 2004-01-12 Jerome Guitton <guitton@act-europe.fr>
4941 * 1ssecsta.adb: Minor changes for -gnatwa warnings
4943 2004-01-12 GNAT Script <nobody@gnat.com>
4945 * Make-lang.in: Makefile automatically updated
4947 2004-01-09 Mark Mitchell <mark@codesourcery.com>
4949 * misc.c (gnat_expand_expr): Add alt_rtl parameter.
4951 2004-01-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4953 * link.c [sgi] (shared_libgnat_default): Change to STATIC.
4955 2004-01-05 Kelley Cook <kcook@gcc.gnu.org>
4957 * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18.
4958 Update comment and copyright date.
4959 * stamp-xgnatug: Delete.
4961 2004-01-05 Robert Dewar <dewar@gnat.com>
4963 * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may
4964 be modified by the binder generated main program if the -D switch is
4967 * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all
4968 imported functions (since now we expect this to be done for imported
4971 * 5vtaprop.adb: Add several ??? for sections requiring more comments
4972 Minor reformatting throughout
4974 * 5zinit.adb: Minor reformatting
4975 Add 2004 to copyright date
4976 Minor changes to avoid -gnatwa warnings
4977 Correct some instances of using OR instead of OR ELSE (noted while
4980 * sprint.adb: Minor updates to avoid -gnatwa warnings
4982 * s-secsta.ads, s-secsta.adb:
4983 (SS_Get_Max): New function to obtain high water mark for ss stack
4984 Default_Secondary_Stack is not a constant since it may be modified by
4985 the binder generated main program if the -D switch is used.
4987 * switch-b.adb: New -Dnnn switch for binder
4990 Make -gnatg imply all warnings currently in -gnatwa
4992 * vms_conv.adb: Minor reformatting
4993 Add 2004 to copyright notice
4994 Add 2004 to printed copyright notice
4996 * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb,
4997 3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb,
4998 5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb,
4999 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb,
5000 5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb,
5001 5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb,
5002 5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb,
5003 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb,
5004 5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb,
5005 5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb,
5006 6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb,
5007 vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb,
5008 xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads,
5009 sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb,
5010 checks.adb, clean.adb, cstand.adb, einfo.ads,
5011 einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb,
5012 exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb,
5013 prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb,
5014 sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb,
5015 g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb,
5016 lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb:
5017 Minor reformatting and code clean ups.
5018 Minor changes to prevent -gnatwa warnings
5020 * ali.adb: Minor reformatting and cleanup of code
5021 Acquire new SS indication of secondary stack use from ali files
5023 * a-numaux.ads: Add Pure_Function pragmas for all imported functions
5024 (since now we expect this to be done for imported functions)
5026 * bindgen.adb: Generate call to modify default secondary stack size if
5029 * bindusg.adb: Add line for new -D switch
5031 * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate
5032 replacement name for Type_May_Have_Non_Bit_Aligned_Components!
5033 Add circuitry for both records and arrays to avoid gigi
5034 processing if the type involved has non-bit-aligned components
5036 * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that
5037 N_String_Literal node always references an E_String_Literal_Subtype
5038 entity. This may not be true in the future.
5039 (Possible_Bit_Aligned_Component): Move processing of
5040 Component_May_Be_Bit_Aligned from exp_ch5 to exp_util
5042 * exp_ch6.adb (Expand_Thread_Body): Pick up
5043 Default_Secondary_Stack_Size as variable so that we get value modified
5044 by possible -Dnnn binder parameter.
5046 * exp_util.adb (Component_May_Be_Bit_Aligned): New function.
5047 (Type_May_Have_Bit_Aligned_Components): New function.
5049 * exp_util.ads (Component_May_Be_Bit_Aligned): New function.
5050 (Type_May_Have_Bit_Aligned_Components): New function.
5052 * fe.h: (Set_Identifier_Casing): Fix prototype.
5053 Add declaration for Sem_Elim.Eliminate_Error_Msg.
5056 * freeze.adb (Freeze_Entity): Add RM reference to error message about
5057 importing constant atomic/volatile objects.
5058 (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram
5059 unless explicit Pure_Function pragma given, to avoid insidious bug of
5060 call to non-pure imported function getting eliminated.
5062 * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb,
5063 gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb,
5064 gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting
5065 Add 2004 to printed copyright notice
5067 * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary
5070 * Makefile.rtl: Add entry for g-sestin.o
5071 g-sestin.ads: New file.
5073 * mdll.adb: Minor changes to avoid -gnatwa warnings
5075 * mlib-tgt.adb: Minor reformatting
5077 * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND)
5078 New switch Sec_Stack_Used (GNAT, GNATBIND)
5079 Make Default_Secondary_Stack_Size a variable instead of a constant,
5080 so that it can be modified by the new -Dnnn bind switch.
5082 * rtsfind.adb (Load_Fail): Give full error message in configurable
5083 run-time mode if all_errors mode is set. This was not done in the case
5084 of a file not found, which was an oversight.
5085 Note if secondary stack unit is used by compiler.
5087 * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put
5088 ineffective elaborate all pragmas on non-visible packages (this
5089 happened when a renamed subprogram was called). Now the elaborate all
5090 always goes on the package containing the renaming rather than the one
5091 containing the renamed subprogram.
5093 * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure
5094 (Process_Eliminate_Pragma): Add parameter to capture pragma location.
5096 * sem_eval.adb (Eval_String_Literal): Do not assume that string literal
5097 has an Etype that references an E_String_Literal.
5098 (Eval_String_Literal): Avoid assumption that N_String_Literal node
5099 always references an E_String_Literal_Subtype entity. This may not
5100 be true in the future.
5102 * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture
5105 * sem_res.adb (Resolve): Specialize msg for function name used in proc
5108 2004-01-05 Ed Falis <falis@gnat.com>
5110 * g-debuti.adb: Replaced direct boolean operator with short-circuit
5113 2004-01-05 Vincent Celier <celier@gnat.com>
5115 * bld.adb: Minor comment updates
5116 (Process_Declarative_Items): Correct incorrect name (Index_Name instead
5119 * make.adb (Gnatmake): Special process for files to compile/check when
5120 -B is specified. Fail when there are only foreign mains in attribute
5121 Main of the project file and -B is not specified. Do not skip bind/link
5122 steps when -B is specified.
5124 * makeusg.adb: Document new switch -B
5126 * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag
5128 * switch-m.adb: (Scan_Make_Switches): Process -B switch
5130 * vms_data.ads: Add new GNAT PRETTY qualifier
5131 /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff
5133 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5135 * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer
5138 * misc.c (gnat_printable_name): If VERBOSITY is 2, call
5139 Set_Identifier_Casing.
5141 * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type
5142 has size that overflows.
5144 2004-01-05 Gary Dismukes <dismukes@gnat.com>
5146 * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid
5147 -gnatwa warning on static condition.
5149 2004-01-05 Doug Rupp <rupp@gnat.com>
5151 * link.c: (shared_libgnat_default) [VMS]: Change to STATIC.
5153 2004-01-05 Arnaud Charlet <charlet@act-europe.fr>
5155 * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve
5156 all attributes, including read-only attribute.
5158 2004-01-05 Pascal Obry <obry@gnat.com>
5160 * bindgen.adb (Gen_Object_Files_Options): Generate the new shared
5161 library naming scheme.
5163 * mlib-prj.adb (Build_Library): Generate different names for the static
5164 or dynamic version of the GNAT runtime. This is needed to support the
5165 new shared library naming scheme.
5166 (Process_Binder_File): Add detection of shared library in binder file
5167 based on the new naming scheme.
5169 * gnatlink.adb (Process_Binder_File): Properly detect the new naming
5170 scheme for the shared runtime libraries.
5173 (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming
5175 (install-gnatlib): Do not create symlinks for shared libraries.
5176 (gnatlib-shared-default): Idem.
5177 (gnatlib-shared-dual-win32): New target. Not used for now as the
5178 auto-import feature does not support arrays/records.
5179 (gnatlib-shared-win32): Do not create copy for the shared libraries.
5180 (gnatlib-shared-vms): Fix shared runtime libraries names.
5182 * osint.ads, osint.adb (Shared_Lib): New routine, returns the target
5183 dependent runtime shared library name.
5185 2004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr>
5187 * osint.adb (Read_Library_Info): Remove bogus check if ALI is older
5190 2004-01-05 Ed Schonberg <schonberg@gnat.com>
5192 * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic
5193 protected objects when allocator has a subtype indication, not a
5194 qualified expression. Note that qualified expressions may have to be
5195 checked when limited aggregates are implemented.
5197 * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is
5199 (Analyze_Pragma, case Pure_Function): If enclosing package is pure and
5200 subprogram is imported, remove warning.
5202 2004-01-05 Geert Bosch <bosch@gnat.com>
5204 * s-poosiz.adb: Update copyright notice.
5205 (Allocate): Use Task_Lock to protect against concurrent access.
5206 (Deallocate): Likewise.
5208 2004-01-05 Joel Brobecker <brobecker@gnat.com>
5210 * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ???
5213 2003-12-23 Kelley Cook <kcook@gcc.gnu.org>
5215 * gnat_ug.texi: Force a CVS commit by updating copyright.
5216 * gnat_ug_vxw.texi: Regenerate.
5217 * gnat_ug_wnt.texi: Regenerate.
5218 * gnat_ug_vms.texi: Regenerate.
5219 * gnat_ug_unx.texi: Regenerate.
5221 2003-12-20 Kazu Hirata <kazu@cs.umass.edu>
5223 * trans.c: Remove uses of "register" specifier in
5224 declarations of local variables.
5226 2003-12-18 Kelley Cook <kcook@gcc.gnu.org>
5228 * stamp-xgnatug: New stamp file.
5229 * Make-lang.in (stamp-xgnatug): New stamp file and comment.
5230 (ada/doctools/xgnatug): Add $(build_exeext).
5231 (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
5232 ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.
5234 2003-12-17 Ed Falis <falis@gnat.com>
5236 * a-elchha.adb (Tailored_Exception_Information): made Info constant to
5239 * a-exextr.adb: Add context clause for
5240 Ada.Exceptions.Last_Chance_Handler.
5242 2003-12-17 Sergey Rybin <rybin@act-europe.fr>
5244 * cstand.adb (Create_Standard): Change the way how the declaration of
5245 the Duration type is created (making it the same way as it is for all
5246 the other standard types).
5248 2003-12-17 Robert Dewar <dewar@gnat.com>
5250 * s-crtl.ads: Fix header format
5251 Change Pure to Preelaborate
5253 2003-12-17 Ed Schonberg <schonberg@gnat.com>
5255 * checks.adb (Selected_Length_Checks): Generate an Itype reference for
5256 the expression type only if it is declared in the current unit.
5258 * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds
5259 are universal and already analyzed, as can occur in constrained
5260 subcomponents that depend on discriminants, when one constraint is a
5263 * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of
5264 type Any_Fixed is legal as the argument of a conversion, if only one
5265 fixed-point type is in context.
5267 2003-12-17 GNAT Script <nobody@gnat.com>
5269 * Make-lang.in: Makefile automatically updated
5271 2003-12-15 Robert Dewar <dewar@gnat.com>
5273 * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default
5276 2003-12-15 Vincent Celier <celier@gnat.com>
5278 * gnatchop.adb: (Error_Msg): Do not exit on error for a warning
5279 (Gnatchop): Do not set failure status when reporting the number of
5282 2003-12-15 Doug Rupp <rupp@gnat.com>
5284 * s-ctrl.ads: New file.
5286 * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext).
5288 * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o.
5289 (GNATBIND_OBJS): Add ada/s-crtl.o.
5291 * Makefile.in [VMS]: Clean up ifeq rules.
5293 * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb,
5294 a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb,
5295 g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb,
5296 s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb,
5297 s-tasdeb.adb: Update copyright.
5299 Make minor modifications to use System.CRTL declared functions instead
5300 of importing locally.
5302 2003-12-15 GNAT Script <nobody@gnat.com>
5304 * Make-lang.in: Makefile automatically updated
5306 2003-12-11 Ed Falis <falis@gnat.com>
5308 * 5zinit.adb: Clean up.
5310 * 5zintman.adb (Notify_Exception): replaced case statement with a call
5311 to __gnat_map_signal, imported from init.c to support
5312 signal -> exception mappings that depend on the vxWorks version.
5315 Created and exported __gnat_map_signal to support signal -> exception
5316 mapping that is dependent on the VxWorks version.
5317 Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks
5319 2003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr>
5321 * 5wosinte.ads: Link with -mthreads switch.
5323 2003-12-11 Arnaud Charlet <charlet@act-europe.fr>
5325 * init.c (__gnat_install_handler [NetBSD]): Set
5326 __gnat_handler_installed, as done on all other platforms.
5327 Remove duplicated code.
5329 2003-12-11 Jerome Guitton <guitton@act-europe.fr>
5331 * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a.
5333 2003-12-11 Thomas Quinot <quinot@act-europe.fr>
5335 * sinfo.ads: Fix inconsistent example code in comment.
5337 2003-12-11 Robert Dewar <dewar@gnat.com>
5339 * a-tiinau.adb: Add a couple of comments
5341 * sem_ch3.adb: Minor reformatting
5344 Fix bad prototype of Same_Base_Type in body (code reading cleanup)
5345 Minor reformatting throughout
5347 2003-12-11 Ed Schonberg <schonberg@gnat.com>
5349 * exp_ch7.adb (Establish_Transient_Scope): If the call is within the
5350 bounds of a loop, create a separate block in order to generate proper
5351 cleanup actions to prevent memory leaks.
5353 * sem_res.adb (Resolve_Call): After a call to
5354 Establish_Transient_Scope, the call may be rewritten and relocated, in
5355 which case no further processing is needed.
5357 * sem_util.adb: (Wrong_Type): Refine previous fix.
5358 Fixes ACATS regressions.
5362 * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always
5365 2003-12-08 Jerome Guitton <guitton@act-europe.fr>
5367 * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb,
5368 i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of
5371 * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a.
5374 2003-12-08 Robert Dewar <dewar@gnat.com>
5376 * 7sintman.adb: Minor reformatting
5378 * bindgen.adb: Configurable_Run_Time mode no longer suppresses the
5379 standard linker options to get standard libraries linked. We now plan
5380 to provide dummy versions of these libraries to match the appropriate
5381 configurable run-time (e.g. if a library is not needed at all, provide
5382 a dummy empty library).
5384 * targparm.ads: Configurable_Run_Time mode no longer affects linker
5385 options (-L parameters and standard libraries). What we plan to do is
5386 to provide dummy libraries where the libraries are not required.
5388 * gnatbind.adb: Minor comment improvement
5390 2003-12-08 Javier Miranda <miranda@gnat.com>
5392 * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded
5393 aggregate in the parent. Otherwise constants with limited aggregates
5394 are not supported. Add new formal to pass the component type (Ctype).
5395 It is required to call the corresponding IP subprogram in case of
5396 default initialized components.
5397 (Gen_Assign): In case of default-initialized component, generate a
5398 call to the IP subprogram associated with the component.
5399 (Build_Record_Aggr_Code): Remove the aggregate from the parent in case
5400 of aggregate with default initialized components.
5401 (Has_Default_Init_Comps): Improve implementation to recursively check
5402 all the present expressions.
5404 * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal
5405 to indicate that the initialization call corresponds to a
5406 default-initialized component of an aggregate.
5407 In case of default initialized aggregate with tasks this parameter is
5408 used to generate a null string (this is just a workaround that must be
5409 improved later). In case of discriminants, this parameter is used to
5410 generate a selected component node that gives access to the discriminant
5413 * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New
5414 subprogram, based on Build_Task_Allocate_Block, but adapted to expand
5415 allocated aggregates with default-initialized components.
5417 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if
5418 the box notation is used in positional aggregates.
5420 2003-12-08 Samuel Tardieu <tardieu@act-europe.fr>
5422 * lib.ads: Fix typo in comment
5424 2003-12-08 Vincent Celier <celier@gnat.com>
5426 * prj.adb (Project_Empty): New component Unkept_Comments
5427 (Scan): Remove procedure; moved to Prj.Err.
5429 * prj.ads (Project_Data): New Boolean component Unkept_Comments
5430 (Scan): Remove procedure; moved to Prj.Err.
5432 * prj-dect.adb: Manage comments for the different declarations.
5434 * prj-part.adb (With_Record): New component Node
5435 (Parse): New Boolean parameter Store_Comments, defaulted to False.
5436 Set the scanner to return ends of line and comments as tokens, if
5437 Store_Comments is True.
5438 (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that
5439 comments are associated with these nodes. Store the node IDs in the
5441 (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the
5443 (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating
5444 the N_Project node. Call Tree.Save and Tree.Reset before scanning the
5445 current project. Call Tree.Restore afterwards. Set the various nodes
5446 for comment storage (Next_End, End_Of_Line, Previous_Line,
5449 * prj-part.ads (Parse): New Boolean parameter Store_Comments,
5452 * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted
5453 to False. When Truncated is True, truncate the string, never go to the
5455 (Write_End_Of_Line_Comment): New procedure
5456 (Print): Process comments for nodes N_With_Clause,
5457 N_Package_Declaration, N_String_Type_Declaration,
5458 N_Attribute_Declaration, N_Typed_Variable_Declaration,
5459 N_Variable_Declaration, N_Case_Construction, N_Case_Item.
5460 Process nodes N_Comment.
5462 * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node
5463 without comments and there are some comments, set the flag
5464 Unkept_Comments to True.
5465 (Scan): If there are comments, set the flag Unkept_Comments to True and
5467 (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment
5468 (Next_End_Nodes: New table
5469 (Comment_Zones_Of): New function
5470 (Scan): New procedure; moved from Prj. Accumulate comments in the
5471 Comments table and set end of line comments, comments after, after end
5473 (Add_Comments): New procedure
5474 (Save, Restore, Seset_State): New procedures
5475 (There_Are_Unkept_Comments): New function
5476 (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures
5477 (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New
5479 (First_Comment_After, First_Comment_After_End): New functions
5480 (First_Comment_Before, First_Comment_Before_End): New functions
5481 (Next_Comment): New function
5482 (End_Of_Line_Comment, Follows_Empty_Line,
5483 Is_Followed_By_Empty_Line): New functions
5484 (Set_First_Comment_After, Set_First_Comment_After_End): New procedures
5485 (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures
5486 (Set_Next_Comment): New procedure
5487 (Default_Project_Node): Associate comment before if the node can store
5490 * scans.ads (Token_Type): New enumeration value Tok_Comment
5491 (Comment_Id): New global variable
5493 * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable,
5495 (Scan): Store position of start of comment. If comments are tokens, set
5496 Comment_Id and set Token to Tok_Comment when scanning a comment.
5497 (Set_Comment_As_Token): New procedure
5499 * sinput-p.adb: Update Copyright notice
5500 (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan
5501 that no longer exists.
5503 2003-12-08 Javier Miranda <miranda@gnat.com>
5505 * sem_aggr.adb: Add dependence on Exp_Tss package
5506 Correct typo in comment
5507 (Resolve_Aggregate): In case of array aggregates set the estimated
5508 type of the aggregate before calling resolve. This is needed to know
5509 the name of the corresponding IP in case of limited array aggregates.
5510 (Resolve_Array_Aggregate): Delay the resolution to the expansion phase
5511 in case of default initialized array components.
5513 * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited
5514 types. Required to give support to limited aggregates in generic
5517 2003-12-08 Ed Schonberg <schonberg@gnat.com>
5519 * sem_ch3.adb (Check_Initialization): For legality purposes, an
5520 inlined body functions like an instantiation.
5521 (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype
5522 until bounds are analyzed, to diagnose premature use of type.
5524 * sem_util.adb (Wrong_Type): Improve error message when the type of
5525 the expression is used prematurely.
5527 2003-12-08 GNAT Script <nobody@gnat.com>
5529 * Make-lang.in: Makefile automatically updated
5531 2003-12-08 Arnaud Charlet <charlet@act-europe.fr>
5533 * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since
5534 they are automatically generated by Make-lang.in and cause nothing but
5535 maintenance troubles.
5537 2003-12-05 Thomas Quinot <quinot@act-europe.fr>
5539 * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare,
5540 version of this unit).
5542 2003-12-05 Olivier Hainque <hainque@act-europe.fr>
5544 * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads,
5545 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads,
5546 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from
5547 the body of System.Interrupt_Management common to several targets.
5548 Update copyright notice when appropriate.
5550 * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO
5553 * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags,
5554 to ensure that the kernel fills in the interrupted context structure
5555 before calling a signal handler, which is necessary to be able to
5556 unwind past it. Update the copyright notice.
5558 2003-12-05 Jerome Guitton <guitton@act-europe.fr>
5560 * a-elchha.ads: New file.
5562 * a-elchha.adb: New default last chance handler. Contents taken from
5563 Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate.
5565 * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine
5566 is moved to a-elchha.adb to provide a target-independent default last
5569 * Makefile.rtl: Add a-elchha.o
5571 * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o.
5573 2003-12-05 Ed Schonberg <schonberg@gnat.com>
5575 * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is
5576 declared in an instance, do not inline the call if the instance is not
5577 frozen yet, to prevent order of elaboration problems.
5579 * sem_prag.adb: Add comments for previous fix.
5581 2003-12-05 Samuel Tardieu <tardieu@act-europe.fr>
5583 * g-table.adb: Use the right variable in Set_Item.
5584 Update copyright notice.
5586 2003-12-05 Arnaud Charlet <charlet@act-europe.fr>
5588 * Makefile.in: Remove unused rules.
5590 2003-12-05 Vincent Celier <celier@gnat.com>
5592 * switch-c.adb (Scan_Front_End_Switches): Remove processing of
5593 -nostdlib. Not needed here after all.
5595 2003-12-03 Thomas Quinot <quinot@act-europe.fr>
5599 * adaint.h, adaint.c, g-os_lib.ads:
5600 Do not assume that the offset argument to lseek(2) is a 32 bit integer,
5601 on some platforms (including FreeBSD), it is a 64 bit value.
5602 Introduce a __gnat_lseek wrapper in adaint.c to allow for portability.
5604 2003-12-03 Arnaud Charlet <charlet@act-europe.fr>
5606 * gnatvsn.ads (Library_Version): Now contain only the relevant
5608 (Verbose_Library_Version): New constant.
5610 * g-spipat.adb, g-awk.adb, g-debpoo.adb,
5611 g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb,
5612 s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa.
5614 * gnatlbr.adb: Clean up: replace Library_Version by
5615 Verbose_Library_Version.
5617 * make.adb, lib-writ.adb, exp_attr.adb:
5618 Clean up: replace Library_Version by Verbose_Library_Version.
5620 * 5lintman.adb: Removed.
5623 Update and simplify computation of LIBRARY_VERSION.
5624 Fix computation of GSMATCH_VERSION.
5625 5lintman.adb is no longer used: replaced by 7sintman.adb.
5627 2003-12-03 Robert Dewar <dewar@gnat.com>
5630 (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new
5631 name. Modified to consider small non-bit-packed arrays as troublesome
5632 and in need of component-by-component assigment expansion.
5634 2003-12-03 Vincent Celier <celier@gnat.com>
5636 * lang-specs.h: Process nostdlib as nostdinc
5638 * back_end.adb: Update Copyright notice
5639 (Scan_Compiler_Arguments): Process -nostdlib directly.
5641 2003-12-03 Jose Ruiz <ruiz@act-europe.fr>
5644 When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the
5645 redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always
5646 included in HIE_NONE_TARGET_PAIRS.
5648 2003-12-03 Ed Schonberg <schonberg@gnat.com>
5651 (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it
5652 is legal in an instance, because legality is cheched in the template.
5655 (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be
5656 appplied to an unchecked conversion of a formal parameter.
5659 (Output_Unreferenced_Messages): Suppress "not read" warnings on imported
5662 2003-12-03 Olivier Hainque <hainque@act-europe.fr>
5664 * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New
5665 routines. The second one is new functionality to deal with backtracing
5666 through signal handlers.
5667 (unwind): Split into the two separate subroutines above.
5668 Update the documentation, and deal properly with sizeof (REG) different
5669 from sizeof (void*).
5671 2003-12-01 Nicolas Setton <setton@act-europe.fr>
5673 * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point,
5674 so that the debugger can reliably access the value of the parameter,
5675 and therefore is able to display the exception name when an exception
5676 breakpoint is reached.
5678 2003-12-01 Thomas Quinot <quinot@act-europe.fr>
5680 * fmap.adb: Fix typo in warning message.
5682 * g-socket.ads, g-socket.adb: Make Free a visible instance of
5683 Ada.Unchecked_Deallocation (no need to wrap it in a subprogram).
5685 2003-12-01 Vincent Celier <celier@gnat.com>
5687 * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if
5689 (Build_Library): Get the switches only if Default_Switches is declared
5692 2003-12-01 Ed Schonberg <schonberg@gnat.com>
5694 * exp_ch6.adb (Expand_Actuals): When applying validity checks to
5695 actuals that are indexed components, reanalyze actual to ensure that
5696 packed array references are properly expanded.
5698 * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for
5699 attempted assignment to a discriminant.
5701 2003-12-01 Robert Dewar <dewar@gnat.com>
5703 * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor
5706 * switch-c.adb: Minor reformatting of comments
5708 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
5710 * Makefile.in: Clean ups.
5712 2003-12-01 GNAT Script <nobody@gnat.com>
5714 * Make-lang.in: Makefile automatically updated
5716 2003-12-01 Arnaud Charlet <charlet@act-europe.fr>
5718 * 5wsystem.ads: Disable zero cost exception, not ready yet.
5720 2003-11-29 Ulrich Weigand <uweigand@de.ibm.com>
5722 * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb
5723 to force serialization.
5725 2003-11-26 Thomas Quinot <quinot@act-europe.fr>
5727 * g-socket.ads, g-socket.adb:
5728 Clarify documentation of function Stream. Introduce a Free procedure
5729 to release the returned Stream once it becomes unused.
5731 * 5asystem.ads: For Alpha Tru64, enable ZCX by default.
5733 2003-11-26 Arnaud Charlet <charlet@act-europe.fr>
5735 (Cond_Timed_Wait): Introduce new constant Time_Out_Max,
5736 since NT 4 cannot handle timeout values that are too large,
5737 e.g. DWORD'Last - 1.
5739 2003-11-26 Ed Schonberg <schonberg@gnat.com>
5742 (Expand_N_Slice): Recognize all cases of slices that appear as actuals
5743 in procedure calls and whose expansion must be deferred.
5745 * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix
5749 (Build_Derived_Array_Type): Create operator for unconstrained type
5750 if ancestor is unconstrained.
5752 2003-11-26 Vincent Celier <celier@gnat.com>
5754 * make.adb (Project_Object_Directory): New global variable
5755 (Change_To_Object_Directory): New procedure
5756 (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead
5757 of Change_Dir directly. Do not change working directory to object
5758 directory of main project after each compilation.
5759 (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir
5761 Change to object directory of main project before binding step.
5762 (Initialize): Initialize Project_Object_Directory to No_Project
5765 (Build_Library): Take into account Builder'Default_Switches ("Ada") when
5766 binding a Stand-Alone Library.
5768 * output.adb: Update Copyright notice
5769 (Write_Char): Output buffer when full
5771 2003-11-26 Robert Dewar <dewar@gnat.com>
5773 * sem_ch13.adb: (Check_Size): Reset size if size is too small
5776 (Check_Size): Fix documentation to include bit-packed array case
5778 * sem_res.adb: Implement restriction No_Direct_Boolean_Operators
5780 * s-rident.ads: Put No_Direct_Boolean_Operators in proper order
5782 * s-rident.ads: Add new restriction No_Direct_Boolean_Operators
5784 2003-11-24 Arnaud Charlet <charlet@act-europe.fr>
5787 * utils.c (init_gigi_decls): Change name of built-in setjmp to
5788 __builtin_setjmp, since this is apparently needed by recent
5791 2003-11-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5793 * adadecode.c: Only include ctype.h if not IN_GCC.
5794 (__gnat_decode): Use ISDIGIT from safe-ctype.h.
5796 2003-11-24 Jose Ruiz <ruiz@act-europe.fr>
5799 Use 5zintman.ads for VxWorks targets. This file avoid confusion between
5800 signals and interrupts.
5802 * 5zintman.ads: New File.
5804 * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
5805 add exception signals to the set of unmasked signals.
5808 Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
5809 between signals and interrupts.
5810 Add to Unblocked_Signal_Mask the set of signals that are in
5814 Adding a check to see whether the Interrupt_ID we want to unmask is in
5815 the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
5816 reason is that the index type of the Keep_Unmasked array is not always
5817 Interrupt_ID; it may be a subtype of Interrupt_ID.
5819 2003-11-24 Gary Dismukes <dismukes@gnat.com>
5822 (Remove_Side_Effects): Condition constantness of object created for a
5823 an unchecked type conversion on the constantness of the expression
5824 to ensure the correct value for 'Constrained when passing components
5825 of view-converted class-wide objects.
5827 2003-11-24 Robert Dewar <dewar@gnat.com>
5829 * par-load.adb (Load): Improve handling of misspelled and missing units
5830 Removes several cases of compilation abandoned messages
5832 * lib.adb: (Remove_Unit): New procedure
5834 * lib.ads: (Remove_Unit): New procedure
5836 * lib-load.adb: Minor reformatting
5838 2003-11-24 Vincent Celier <celier@gnat.com>
5841 (Gnatmake, Initialize): Call Usage instead of Makeusg directly
5842 (Marking_Label): Label to mark processed source files. Incremented for
5844 (Gnatmake): Increase Marking_Labet for each executable
5845 (Is_Marked): Compare against marking label
5846 (Mark): Mark with marking label
5848 2003-11-24 Jerome Guitton <guitton@act-europe.fr>
5851 Move the declaration of the TSD for System.Threads to System.Soft_Links.
5854 * Makefile.in: Added target pair for s-thread.adb for cert runtime.
5855 (rts-cert): build a single relocatable object for the run-time lib.
5858 2003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr>
5861 Use gnatls rather than gcc to obtain the location of GNAT RTL for
5864 2003-11-24 Sergey Rybin <rybin@act-europe.fr>
5866 * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
5867 can not use it as before (that is, as a variable) when dumping it into
5868 the tree file. Add a local variable to store the result of this
5869 function and to be used as the string to be written into the tree.
5871 * scn.adb (Initialize_Scanner): Add comments explaining the recent
5874 * sinput.adb (Source_First, Source_Last): In case of
5875 Internal_Source_File, replace returning attributes of
5876 Internal_Source_Ptr (which is wrong) with returning attributes of
5879 2003-11-24 Ed Schonberg <schonberg@gnat.com>
5882 (New_Concatenation_Op): Proper name for New_Binary_Operator, only
5883 used for implicit concatenation operators.
5887 (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
5888 task bodies that are in the scope of a Suppress pragma.
5889 (Check_A Call): Use the flag to prevent spurious elaboration checks.
5891 * sinfo.ads, sinfo.adb:
5892 New flag No_Elaboration_Check on function/procedure calls, to properly
5893 suppress checks on calls in task bodies that are within a local suppress
5897 (Expand_Concatenate_Other): Use the proper integer type for the
5898 expression for the upper bound, to avoid universal_integer computations
5901 2003-11-21 Kelley Cook <kcook@gcc.gnu.org>
5903 * .cvsignore: Delete.
5905 2003-11-21 Andreas Schwab <schwab@suse.de>
5907 * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
5909 2003-11-21 Vasiliy Fofanov <fofanov@act-europe.fr>
5911 * 5wsystem.ads: Enable zero cost exception.
5913 2003-11-21 Jerome Guitton <guitton@act-europe.fr>
5915 * 5ztiitho.adb: Remove an unreferenced variable.
5917 2003-11-21 Thomas Quinot <quinot@act-europe.fr>
5919 * adaint.c: For FreeBSD, use mkstemp.
5921 2003-11-21 Arnaud Charlet <charlet@act-europe.fr>
5923 * gnatlbr.adb: Now reference Gnat_Static_Version_String.
5925 2003-11-21 Robert Dewar <dewar@gnat.com>
5927 * bld.adb: Remove useless USE of gnatvsn
5929 * gnatchop.adb: Minor reformatting
5930 Clean up version handling to be more consistent
5932 * gnatxref.adb: Minor reformatting
5934 * gprcmd.adb: Minor reformatting
5935 Fix output of copyright to be more consistent with other tools
5937 2003-11-21 Vincent Celier <celier@gnat.com>
5939 * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink
5941 2003-11-21 Sergey Rybin <rybin@act-europe.fr>
5943 * atree.adb (Initialize): Add initializations for global variables
5944 used in New_Copy_Tree.
5946 * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
5947 Internal_Source_File as the actual).
5948 Put the set of statements creating Any_Character before the set of
5949 statements creating Any_Array to have Any_Character fully initialized
5950 when it is used in creating Any_Array.
5952 * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
5953 not call Scan in case if the actual is Internal_Source_File
5954 Add 2003 to copyright note.
5956 * sinput.adb (Source_First, Source_Last, Source_Text): Add code for
5957 processing Internal_Source_File.
5959 * types.ads: Add the constant Internal_Source_File representing the
5960 source buffer for artificial source-code-like strings created within
5961 the compiler (the definition of Source_File_Index is changed).
5963 2003-11-20 Arnaud Charlet <charlet@act-europe.fr>
5965 * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads,
5966 56system.ads: New file, FreeBSD version.
5968 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk>
5970 * Make-lang.in (ada.extraclean): Delete.
5972 2003-11-19 Arnaud Charlet <charlet@act-europe.fr>
5974 * gnatmem.adb: Clean up verbose output.
5976 * gprcmd.adb: Change copyright to FSF.
5978 2003-11-19 Vincent Celier <celier@gnat.com>
5980 * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy
5981 and Version (ignored).
5983 * symbols.ads: (Policy): New type
5984 (Initialize): New parameter Reference, Symbol_Policy and
5986 Remove parameter Force.
5989 * snames.ads, snames.adbadb: New standard names
5990 Library_Reference_Symbol_File and Library_Symbol_Policy
5993 (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the
5997 (Build_Dynamic_Library): New parameter Symbol_Data (ignored)
5999 * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data
6001 * prj.adb: (Project_Empty): New component Symbol_Data
6003 * prj.ads: (Policy, Symbol_Record): New types
6004 (Project_Data): New component Symbol_Data
6007 New attributes Library_Symbol_File, Library_Symbol_Policy and
6008 Library_Reference_Symbol_File.
6011 (Ada_Check): When project is a Stand-Alone library project, process
6012 attribute Library_Symbol_File, Library_Symbol_Policy and
6013 Library_Reference_Symbol_File.
6015 * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb,
6016 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb,
6017 5sml-tgt.adb (Build_Dynamic_Library): New parameter
6018 Symbol_Data (ignored).
6020 * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0
6021 (Build_Dynamic_Library): New parameter Symbol_Data. New internal
6022 functions Option_File_Name and Version_String. Set new options of
6023 gnatsym related to symbol file, symbol policy and reference symbol
6027 Extensive modifications to take into account the reference symbol file,
6028 the symbol policy, the library version and to put in the symbol file the
6029 minor and major IDs.
6031 * bld.adb (Process_Declarative_Items): Put second argument of
6032 gprcmd to_absolute between single quotes, to avoid problems with
6035 * bld-io.adb: Update Copyright notice.
6036 (Flush): Remove last character of a line, if it is a back slash, to
6037 avoid make problems.
6040 Implement new scheme with reference symbol file and symbol policy.
6042 * g-os_lib.ads: (Is_Directory): Clarify comment
6044 2003-11-19 Robert Dewar <dewar@gnat.com>
6046 * atree.adb: Move New_Copy_Tree global variables to head of package
6048 * errout.adb: Minor reformatting
6050 2003-11-19 Javier Miranda <miranda@gnat.com>
6052 * sem_ch4.adb: (Diagnose_Call): Improve error message.
6053 Add reference to Ada0Y (AI-50217)
6055 * sem_ch6.adb, sem_ch8.adb, sem_type.adb,
6056 sem_util.adb: Add reference to AI-50217
6058 * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217
6060 * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287)
6062 * sem_aggr.adb: Complete documentation of AI-287 changes
6064 * par-ch4.adb: Document previous changes.
6066 * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb,
6067 sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to
6070 * exp_aggr.adb: Add references to AI-287 in previous changes
6072 2003-11-19 Ed Schonberg <schonberg@gnat.com>
6075 (Add_Call_By_Copy_Node): Do not original node of rewritten expression
6076 in the rewriting is the result of an inlined call.
6078 * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out
6079 parameter is a type conversion, use original node to construct the
6080 post-call assignment, because expression may have been rewritten, e.g.
6081 if it is a packed array.
6084 (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined
6085 body, just as it is in an instance.
6086 Categorization routines
6088 * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram,
6089 Instantiate_Object): Set proper sloc reference for message on missing
6092 2003-11-19 Thomas Quinot <quinot@act-europe.fr>
6094 * Makefile.in: Add FreeBSD libgnat pairs.
6096 * usage.adb: Fix typo in usage message.
6098 2003-11-19 Jerome Guitton <guitton@act-europe.fr>
6100 * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?,
6101 s-thrini.ad? and s-tiitho.adb to the full runtime, to support the
6103 Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore.
6105 * s-thread.adb: This file is now a dummy implementation of
6108 2003-11-19 Sergey Rybin <rybin@act-europe.fr>
6110 * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available
6112 2003-11-19 Emmanuel Briot <briot@act-europe.fr>
6114 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
6115 instanciation references in the parent type description.
6117 2003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6119 * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
6121 * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
6122 TYPE_PRECISION directly from esize.
6124 2003-11-18 Thomas Quinot <quinot@act-europe.fr>
6127 Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
6129 * init.c: Initialization routines for FreeBSD
6131 * link.c: Link info for FreeBSD
6133 * sysdep.c: Add the case of FreeBSD
6135 2003-11-17 Jerome Guitton <guitton@act-europe.fr>
6137 * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
6138 already called in System.Threads.
6140 * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
6141 environment task, as it has been moved to System.Threads.Initialization.
6143 2003-11-17 Arnaud Charlet <charlet@act-europe.fr>
6145 * adaint.c (__gnatlib_install_locks): Only reference
6146 __gnat_install_locks on VMS, since other platforms can avoid using
6147 --enable-threads=gnat
6149 2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6151 * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
6153 * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
6154 TYPE_PACKED_ARRAY_TYPE_P.
6155 (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
6157 Part of PR ada/12806
6158 * utils.c (float_type_for_precision): Renamed from float_type_for_size.
6159 Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
6161 2003-11-17 Vincent Celier <celier@gnat.com>
6163 * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
6165 Do not set exit status to Failure when Warning is True.
6166 (Gnatchop): Make errors "no compilation units found" and
6167 "no source files written" warnings only.
6169 * make.adb (Gnatmake): When using a project file, set
6170 Look_In_Primary_Dir to False.
6171 (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
6172 and Local_Configuration_Pragmas in the project where they are declared
6173 not an extending project which might have inherited them.
6175 * osint.adb (Locate_File): If Name is already an absolute path, do not
6176 look for a directory.
6178 * par-ch10.adb (P_Compilation_Unit): If source contains no token, and
6179 -gnats (Check_Syntax) is used, issue only a warning, not an error.
6181 * prj.adb (Register_Default_Naming_Scheme): Add new component Project
6182 in objects of type Variable_Value.
6184 * prj.ads: (Variable_Value): New component Project
6186 * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
6187 is in a project extended by Project.
6189 * prj-proc.adb (Add_Attributes): New parameter Project. Set component
6190 Project of Variable_Values to this new parameter value.
6191 (Expression): Set component Project of Variable_Values.
6192 (Process_Declarative_Items): Call Add_Attributes with parameter Project.
6193 Set the component Project in array elements.
6195 2003-11-17 Sergey Rybin <rybin@act-europe.fr>
6197 * errout.adb: (Initialize): Add initialization for error nodes.
6199 * sem_ch12.adb (Initialize): Add missing initializations for
6200 Exchanged_Views and Hidden_Entities.
6202 2003-11-17 Ed Schonberg <schonberg@gnat.com>
6204 * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
6205 already instantiated tree for use in subsequent inlining.
6206 (Analyze_Associations, Instantiate_Formal_Subprogram,
6207 Instantiate_Object): improve error message for mismatch in
6210 * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
6211 instantiations of subprograms declared in instances.
6213 2003-11-17 Javier Miranda <miranda@gnat.com>
6215 * sem_ch4.adb (Analyze_Allocator): Previous modification must be
6216 executed only under the Extensions_Allowed flag.
6218 2003-11-17 Robert Dewar <dewar@gnat.com>
6220 * a-exexda.adb (Address_Image): Fix documentation to indicate leading
6222 (Address_Image): Fix bug of returning 0x instead of 0x0
6223 Minor reformatting (function specs).
6225 * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
6226 (missed case of 33-63)
6228 * freeze.adb, sem_ch13.adb: Properly check size of packed bit array
6230 * s-thread.adb: Add comments for pragma Restriction
6232 * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
6233 sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
6235 2003-11-17 Ed Falis <falis@gnat.com>
6237 * s-thread.adb: Added No_Tasking restriction for this implementation.
6239 2003-11-17 Emmanuel Briot <briot@act-europe.fr>
6241 * xref_lib.adb (Parse_Identifier_Info): Add handling of generic
6242 instanciation references in the parent type description.
6244 2003-11-17 GNAT Script <nobody@gnat.com>
6246 * Make-lang.in: Makefile automatically updated
6248 2003-11-16 Jason Merrill <jason@redhat.com>
6250 * Make-lang.in (ada.tags): Create TAGS.sub files in each directory
6251 and TAGS files that include them for each front end.
6253 2003-11-14 Andreas Jaeger <aj@suse.de>
6255 * lang.opt: Change -Wno-long-long to -Wlong-long since the latter
6256 is the canonical version.
6257 * misc.c (gnat_handle_option): Likewise.
6259 * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
6261 * 5nsystem.ads: New file for x86_64-linux-gnu.
6263 2003-11-14 Arnaud Charlet <charlet@act-europe.fr>
6265 * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated.
6267 * comperr.adb: Fix logic in previous change.
6269 2003-11-13 Vincent Celier <celier@gnat.com>
6271 * 5bml-tgt.adb (Build_Dynamic_Library): Use
6272 Osint.Include_Dir_Default_Prefix instead of
6273 Sdefault.Include_Dir_Default_Name.
6275 * gnatlbr.adb: Update Copyright notice
6276 (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of
6277 Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix
6278 instead of Sdefault.Object_Dir_Default_Name
6281 (Process_Binder_File): Never suppress the option following -Xlinker
6284 (Gcc): Use Osint.Object_Dir_Default_Prefix instead of
6285 Sdefault.Object_Dir_Default_Name.
6287 * osint.ads, osint.adb:
6288 (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions
6291 * vms_conv.ads: Minor reformating
6292 Remove GNAT STANDARD and GNAT PSTA
6295 Allow GNAT MAKE to have several files on the command line.
6296 (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of
6297 Sdefault.Object_Dir_Default_Name.
6299 Remove data for GNAT STANDARD
6302 Add new compiler qualifier /PRINT_STANDARD (-gnatS)
6303 Remove data for GNAT STANDARD
6304 Remove options and documentation for -gnatwb/-gnatwB: these warning
6305 options no longer exist.
6307 2003-11-13 Ed Falis <falis@gnat.com>
6309 * 5zthrini.adb: (Init_RTS): Made visible
6312 (Register): Removed unnecessary call to taskVarGet that checked whether
6313 an ATSD was already set as a task var for the argument thread.
6316 Updated comment to reflect that this is a VxWorks version
6317 Added context clause for System.Threads.Initialization
6318 Added call to System.Threads.Initialization.Init_RTS
6320 2003-11-13 Jerome Guitton <guitton@act-europe.fr>
6323 (Init_RTS): New procedure, for the initialization of the run-time lib.
6326 Remove dependancy on System.Init, so that this file can be used in the
6327 AE653 sequential run-time lib.
6329 2003-11-13 Robert Dewar <dewar@gnat.com>
6331 * bindgen.adb: Minor reformatting
6333 2003-11-13 Ed Schonberg <schonberg@gnat.com>
6336 (Apply_Discriminant_Check): Do no apply check if target type is derived
6337 from source type with no applicable constraint.
6340 (Ensure_System_Dependency): Do not apply the style checks that may have
6341 been specified for the main unit.
6344 (Find_Selected_Component): Further improvement in error message, with
6348 (Resolve): Handle properly the case of an illegal overloaded protected
6351 2003-11-13 Javier Miranda <miranda@gnat.com>
6354 (Has_Default_Init_Comps): New function to check the presence of
6355 default initialization in an aggregate.
6356 (Build_Record_Aggr_Code): Recursively expand the ancestor in case of
6357 extension aggregate of a limited record. In addition, a new formal
6358 was added to do not initialize the record controller (if any) during
6359 this recursive expansion of ancestors.
6360 (Init_Controller): Add support for limited record components.
6361 (Expand_Record_Aggregate): In case of default initialized components
6362 convert the aggregate into a set of assignments.
6364 * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment
6365 describing the new syntax.
6366 Nothing else needed to be done because this subprogram delegates part of
6367 its work to P_Precord_Or_Array_Component_Association.
6368 (P_Record_Or_Array_Component_Association): Give support to the new
6369 syntax for default initialization of components.
6372 (Resolve_Aggregate): Relax the strictness of the frontend in case of
6374 (Resolve_Record_Aggregate): Give support to default initialized
6376 (Get_Value): In case of default initialized components, duplicate
6377 the corresponding default expression (from the record type
6378 declaration). In case of default initialization in the *others*
6379 choice, do not check that all components have the same type.
6380 (Resolve_Extension_Aggregate): Give support to limited extension
6384 (Check_Initialization): Relax the strictness of the front-end in case
6385 of aggregate and extension aggregates. This test is now done in
6386 Get_Value in a per-component manner.
6388 * sem_ch4.adb (Analyze_Allocator): Don't post an error if the
6389 expression corresponds to a limited aggregate. This test is now done
6392 * sinfo.ads, sinfo.adb (N_Component_Association): Addition of
6395 * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if
6396 present in an N_Component_Association node
6398 2003-11-13 Thomas Quinot <quinot@act-europe.fr>
6400 * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a
6401 type-conformant entry only if they are homographs.
6403 2003-11-13 GNAT Script <nobody@gnat.com>
6405 * Make-lang.in: Makefile automatically updated
6407 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6409 * adadecode.c: Use <> form of include for ctype.h.
6410 * sysdep.c [IN_RTS]: Use <> form of include for time.h.
6412 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6414 * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
6415 Works around PR middle-end/6552.
6417 2003-11-10 Ed Falis <falis@gnat.com>
6419 * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted
6421 * 5zinit.adb: (Install_Handler): Moved back to spec
6422 (Install_Signal_Handlers): Deleted
6424 * 5zthrini.adb: Added context clause for System.Storage_Elements
6425 (Register): Only handles creation of taskVar; initialization moved to
6427 (Reset_TSD): Deleted; replaced by Thread_Body_Enter
6428 Added declaration of environment task secondary stack and
6431 * s-thread.adb: Implement bodies for thread body processing
6434 Added comment identifying supported targets for pragma Thread_Body.
6436 2003-11-10 Pascal Obry <obry@gnat.com>
6438 * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
6442 (Open): Properly check for string length before copying into the buffer.
6443 Raises Name_Error if buffer is too small. Note that this was a potential
6446 2003-11-10 Romain Berrendonner <berrendo@act-europe.fr>
6448 * bindgen.adb, comperr.adb: Code clean ups.
6449 * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.
6451 2003-11-10 Sergey Rybin <rybin@act-europe.fr>
6453 * gnat1drv.adb: Add call to Sem_Elim.Initialize.
6455 2003-11-10 Vincent Celier <celier@gnat.com>
6458 (Gprcmd): Add new command "prefix" to get the prefix of the GNAT
6461 * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler
6463 * prj.adb: (Project_Empty): Add new boolean component Virtual
6465 * prj.ads: (Virtual_Prefix): New constant string
6466 (Project_Data): New boolean component Virtual
6468 * prj-nmsc.adb (Language_Independent_Check): Adjust error message when
6469 a library project is extended by a virtual extending project.
6472 Modifications throughout to implement extending-all project, including:
6473 (Virtual_Hash, Processed_Hash): New hash tables
6474 (Create_Virtual_Extending_Project): New procedure
6475 (Look_For_Virtual_Projects_For): New procedure
6478 (Process): After checking the projects, if main project is an
6479 extending-all project, set the object directory of all virtual extending
6480 project to the object directory of the main project.
6481 Adjust error message when a virtual extending project has the same
6482 object directory as an project being extended.
6483 (Recursive_Process): If name starts with the virtual prefix, set Virtual
6484 to True in the project data.
6487 (Default_Project_Node): Add new boolean component Extending_All
6488 (Is_Extending_All): New function
6489 (Set_Is_Extending_All): New procedure
6491 * prj-tree.ads: (Is_Extending_All): New function
6492 (Set_Is_Extending_All): New procedure
6493 (Project_Node_Record): New boolean component Extending_All
6495 * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib
6498 Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler
6500 * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
6501 "gprcmd prefix" to define it.
6503 2003-11-10 Thomas Quinot <quinot@act-europe.fr>
6505 * einfo.ads: Fix a typo and remove an extraneous word in comments.
6508 (Create_Dummy_Package_Unit): Set the scope of the entity for the
6509 created dummy package to Standard_Standard, not to itself, to
6510 defend other parts of the front-end against encoutering a cycle in
6514 (Analyze_With_Clause): When setting the entities for the successive
6515 N_Expanded_Names that constitute the name of a child unit, do not
6516 attempt to go further than Standard_Standard in the chain of scopes.
6517 This case arises from the placeholder units created by
6518 Create_Dummy_Package_Unit in the case of a with_clause for a
6519 nonexistent child unit.
6521 2003-11-10 Ed Schonberg <schonberg@gnat.com>
6524 (Expand_Thread_Body): Place subprogram on scope stack, so that new
6525 declarations are given the proper scope.
6528 (Check_Expr_Constants): Reject an expression that contains a constant
6529 created during expansion, and that appears after the object to which
6530 the address clause applies.
6532 * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
6533 Analyze_Iteration_Scheme, to rewrite a loop parameter specification
6534 that uses 'Range of a function call with controlled components, so
6535 that the function result can be finalized before starting the loop.
6538 (Find_Selected_Component): Improve error message when prefix is
6539 an implicit dereference of an incomplete type.
6541 2003-11-10 Robert Dewar <dewar@gnat.com>
6543 * opt.ads: New Print_Standard flag for -gnatS switch
6545 * sem_ch13.adb: Remove some additional checks for unaligned arrays
6547 * cstand.adb (Create_Standard): Print out package standard if -gnatS
6550 * debug.adb: Update doc for -gnatds to discuss relationship with new
6553 * sinfo.adb: Add new field Entity_Or_Associated_Node
6555 * sinfo.ads: Add new field Entity_Or_Associated_Node
6556 Update documentation for Associated_Node and Entity fields to clarify
6557 relationship and usage.
6560 (Write_Id): Properly process Associated_Node field in generic template
6563 Recognize new -gnatS switch for printing package Standard
6564 This replaces gnatpsta
6567 Add line for new -gnatS switch for printing package Standard
6568 This replaces gnatpsta
6570 2003-11-10 Andreas Jaeger <aj@suse.de>
6572 * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
6575 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
6577 * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
6580 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
6582 * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
6585 * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.
6587 * sysdep.c: Add handling of cygwin.
6589 2003-11-10 GNAT Script <nobody@gnat.com>
6591 * Make-lang.in: Makefile automatically updated
6593 2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
6596 * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
6597 functions. Used to handle dynamic prefix relocation, via set_std_prefix.
6598 Replace GNAT_ROOT by GCC_ROOT.
6600 * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb
6602 2003-11-06 Zack Weinberg <zack@codesourcery.com>
6604 * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION
6605 and update for changed meaning of GET_MODE_BITSIZE.
6607 2003-11-04 Doug Rupp <rupp@gnat.com>
6609 * sysdep.c: Problem discovered during IA64 VMS port.
6610 [VMS] #include <unixio.h> to get proper prototypes.
6613 Issues discovered/problems fixed during IA64 VMS port.
6614 [VMS] #define _POSIX_EXIT for proper semantics.
6615 [VMS] #include <unixio.h> for proper prototypes.
6616 [VMS] (fork): #define IA64 version.
6617 (__gnat_os_exit): Remove unnecessary VMS specific code.
6619 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6621 Part of PR ada/12806
6623 * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as
6627 (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree,
6630 * targtyps.c, decl.c, misc.c,
6631 gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary
6632 routines to work around change in FP sizing semantics in GCC.
6635 (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer.
6637 * gigi.h: (enumerate_modes): New function.
6639 * Make-lang.in: (ada/misc.o): Add real.h.
6641 * misc.c: (enumerate_modes): New function.
6643 2003-11-04 Robert Dewar <dewar@gnat.com>
6645 * 3vtrasym.adb: Minor reformatting
6646 Use terminology encoded/decoded name, rather than C++ specific notion
6647 of mangling (this is the terminology used throughout GNAT).
6649 * einfo.h: Regenerated
6651 * einfo.ads, einfo.adb: Add new flag Is_Thread_Body
6654 (Expand_N_Subprogram_Body): Handle expansion of thread body procedure
6656 * par-prag.adb: Add dummy entry for Thread_Body pragma
6659 Add entries for System.Threads entities for thread body processing
6662 (Analyze_Pragma, Access attributes): Check these are not applied to a
6663 thread body, since this is not permitted
6665 * sem_prag.adb: Add processing for Thread_Body pragma.
6669 (Resolve_Call): Check for incorrect attempt to call a thread body
6670 procedure with a direct call.
6672 * snames.ads, snames.adb: Add entry for Thread_Body pragma
6673 Add names associated with thread body expansion
6675 * snames.h: Add entry for Thread_Body pragma
6677 * s-thread.adb: Add entries for thread body processing
6678 These are dummy bodies so far
6680 * s-thread.ads: Add documentation on thread body handling.
6681 Add entries for thread body processing.
6683 2003-11-04 Javier Miranda <miranda@gnat.com>
6686 (Build_Limited_Views): Return after posting an error in case of limited
6687 with_clause on subprograms, generics, instances or generic renamings
6688 (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause
6689 on subprograms, generics, instances or generic renamings
6691 2003-11-04 Arnaud Charlet <charlet@act-europe.fr>
6693 * raise.c (setup_to_install): Correct mistake in last revision; two
6694 arguments out of order.
6696 * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c,
6697 gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright
6698 notice, missed in previous change.
6699 Remove trailing blanks and other style errors introduced in previous
6702 2003-11-04 Olivier Hainque <hainque@act-europe.fr>
6704 * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get
6705 rid of the wrapper for a LJM type, ensuring we don't do that if the
6706 field is addressable. This avoids potential low level type view
6707 mismatches later on, for instance in a by-reference argument passing
6710 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6712 * decl.c (gnat_to_gnu_field): No longer check for BLKmode being
6713 aligned at byte boundary.
6715 2003-11-04 Joel Brobecker <brobecker@gnat.com>
6717 * decl.c (components_to_record): Do not delete the empty variants from
6718 the end of the union type.
6720 2003-11-04 Ed Schonberg <schonberg@gnat.com>
6722 * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive
6723 operation for a derived type, an explicit declaration may use a local
6726 2003-11-04 Vincent Celier <celier@gnat.com>
6728 * make.adb (Gnatmake): Allow main sources on the command line with a
6729 library project when it is only for compilation (no binding or
6732 2003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6734 * Makefile.in: Remove many duplicate variables.
6736 2003-11-03 Kelley Cook <kcook@gcc.gnu.org>
6738 * Make-lang.in (dvi): Move targets to $(docobjdir).
6739 (gnat_ug_vms.dvi): Simplify rule and adjust target.
6740 (gnat_ug_wnt.dvi): Likewise.
6741 (gnat_ug_unx.dvi): Likewise.
6742 (gnat_ug_vxw.dvi): Likewise.
6743 (gnat_rm.dvi): Likewise.
6744 (gnat-style.dvi): Likewise.
6746 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
6748 * gigi.h: Missed commit from update for C90.
6750 2003-10-31 Kelley Cook <kcook@gcc.gnu.org>
6752 * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
6754 2003-10-31 Andreas Schwab <schwab@suse.de>
6756 * raise.c (get_action_description_for): Fix typo in last change.
6758 2003-10-31 Nathanael Nerode <neroden@gcc.gnu.org>
6761 * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
6762 T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.
6764 2003-10-30 Kelley Cook <kcook@gcc.gnu.org>
6766 * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c,
6767 ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c,
6768 gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c,
6769 sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c,
6770 trans.c, utils.c, utils2.c: Convert function prototypes to C90.
6772 2003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr>
6775 Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
6776 numbers when symbol name is too long.
6778 2003-10-30 Ed Falis <falis@gnat.com>
6780 * g-signal.ads, g-signal.adb: New files
6782 * impunit.adb: (Non_Imp_File_Names): Added "g-signal"
6784 * Makefile.rtl: Introduce GNAT.Signals
6786 2003-10-30 Robert Dewar <dewar@gnat.com>
6788 * freeze.adb: Minor reformatting
6790 * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified
6792 * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
6793 par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
6794 New handling of Id_Check parameter to improve recognition of keywords
6795 used as identifiers.
6796 Update copyright notice to include 2003
6798 2003-10-29 Robert Dewar <dewar@gnat.com>
6800 * 3vtrasym.adb, 5vtraent.ads, sprint.adb,
6801 sem_ch10.adb: Minor reformatting
6803 * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands
6804 (Expand_Assign_Record): Test right hand side for bit unaligned as well
6806 2003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr>
6808 * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c:
6809 Support for TBK$SYMBOLIZE-based symbolic traceback.
6811 2003-10-29 Jose Ruiz <ruiz@act-europe.fr>
6814 Revert previous change, that did not work well when pragma No_Run_Time
6815 was used in conjunction with a run-time other than ZFP.
6817 2003-10-29 Vincent Celier <celier@gnat.com>
6820 (Gnatmake): When there are no Ada mains in attribute Main, disable the
6821 bind and link steps only is switch -z is not used.
6823 2003-10-29 Arnaud Charlet <charlet@act-europe.fr>
6825 * Makefile.generic: Remove duplicated setting of CC.
6827 * Makefile.prolog: Set CC to gcc by default, to override make's
6830 * einfo.h: Regenerated.
6832 2003-10-29 Ed Schonberg <schonberg@gnat.com>
6834 * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for
6835 current body, after compiling subunit.
6837 * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype
6838 when in deleted code, because gigi needs properly ordered freeze
6839 actions to annotate types.
6841 * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to
6842 prevent the premature freezing of record type that contains
6843 subcomponents with a private type that does not yet have a completion.
6845 2003-10-29 Javier Miranda <miranda@gnat.com>
6848 (Analyze_Package_Instantiation): Check that instances can not be used in
6849 limited with_clauses.
6852 (Analyze_Package_Renaming): Check that limited withed packages cannot
6853 be renamed. Improve text on error messages related to limited
6856 * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute.
6858 * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses.
6859 Update copyright notice.
6861 * sem_ch10.adb: (Build_Limited_Views): Complete its documentation.
6862 (Install_Limited_Context_Clauses): New subprogram that isolates all the
6863 checks required for limited context_clauses and installs the limited
6865 (Install_Limited_Withed_Unit): Complete its documentation.
6866 (Analyze_Context): Check that limited with_clauses are only allowed in
6868 (Install_Context): Call Install_Limited_Context_Clauses after the
6869 parents have been installed.
6870 (Install_Limited_Withed_Unit): Add documentation. Mark the installed
6871 package as 'From_With_Type'; this mark indicates that the limited view
6872 is installed. Used to check bad usages of limited with_clauses.
6873 (Build_Limited_Views): Do not add shadow entities to the scope's list
6874 of entities. Do not add real entities to the Non_Limited_Views chain.
6875 Improve error notification.
6876 (Remove_Context_Clauses): Remove context clauses in two phases:
6877 limited views first and regular views later (to maintain the
6879 (Remove_Limited_With_Clause): If the package is analyzed then reinstall
6880 its visible entities.
6882 2003-10-29 Thomas Quinot <quinot@act-europe.fr>
6884 * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible
6885 with any type that Is_Fixed_Point_Type.
6887 * sinfo.ads: Fix documentation for Associated_Node attribute.
6889 2003-10-29 Sergey Rybin <rybin@act-europe.fr>
6891 * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when
6892 both '-gnatc' and '-gnatt' are specified.
6894 * atree.adb (Initialize): Add initialization for Node_Count (set to
6897 2003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6899 * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value,
6900 do not consider as Pure.
6902 Part of implementation of function-at-a-time:
6904 * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt.
6905 (tree_transform): Add new argument to build_component_ref.
6906 (tree_transform, case N_Assignment_Statement): Make and return an
6908 (tree_transform): If result IS_STMT, set flags and return it.
6909 (gnat_expand_stmt, set_lineno_from_sloc): New functions.
6911 * utils2.c (build_simple_component_ref, build_component_ref): Add new
6913 (build_binary_op, case EQ_EXPR): Pass additional arg to it.
6914 (build_allocator): Likewise.
6916 * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert):
6917 Add new arg to build_component_ref.
6918 (maybe_unconstrained_array, unchecked_convert): Likewise.
6920 * ada-tree.def (EXPR_STMT): New code.
6922 * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros.
6924 * decl.c (gnat_to_gnu_entity, case object): Add extra arg to
6925 build_component_ref calls.
6927 * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt.
6929 * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions.
6930 (build_component_ref): Add new argument, NO_FOLD_P.
6932 2003-10-27 Arnaud Charlet <charlet@act-europe.fr>
6934 * Makefile.generic: Add missing substitution on object_deps handling.
6937 * Make-lang.in (check-ada): Enable ACATS test suite.
6939 2003-10-27 Robert Dewar <dewar@gnat.com>
6942 (Freeze_Array_Type): We do not need an initialization routine for types
6943 derived from String or Wide_String. They should be treated the same
6944 as String and Wide_String themselves. This caused problems with the
6945 use of Initialize_Scalars.
6948 (Expand_Assign_Record): Do component-wise assignment of non-byte aligned
6949 composites. This allows use of component clauses that are not byte
6953 (Analyze_Pragma, case Pack): Generate warning and ignore pack if there
6954 is an attempt to pack an array of atomic objects.
6956 * make.adb, prj-env.adb, prj-env.ads: Minor reformatting
6958 2003-10-27 Pascal Obry <obry@gnat.com>
6961 (Basename): Check for drive letters in a pathname only on DOS based OS.
6963 2003-10-27 Vincent Celier <celier@gnat.com>
6966 (Gnatmake): When unable to change dir to the object dir, display the
6967 content of the parent dir of the obj dir, to try to understand why this
6970 2003-10-27 GNAT Script <nobody@gnat.com>
6972 * Make-lang.in: Makefile automatically updated
6974 2003-10-27 Ed Schonberg <schonberg@gnat.com>
6977 (Inline_Instance_Body): Indicate that the save/restore of use_clauses
6978 should not be done in Save/Restore_Scope_Stack, because it is performed
6982 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
6983 whether use clauses should be removed/restored.
6986 (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate
6987 whether use clauses should be removed/restored.
6989 2003-10-26 Andreas Jaeger <aj@suse.de>
6991 * Makefile.in: Remove duplicated lines.
6993 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
6995 * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to
6996 minimize the differences with ACT tree.
6998 * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb,
6999 gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of
7000 Gnatvsn.Gnat_Static_Version_String to reduce differences between
7003 2003-10-24 Pascal Obry <obry@gnat.com>
7005 * adadecode.c (ostrcpy): New function.
7006 (__gnat_decode): Use ostrcpy of strcpy.
7007 (has_prefix): Set first parameter a const.
7008 (has_suffix): Set first parameter a const.
7009 Update copyright notice. Fix source name in header.
7010 Removes a trailing space.
7013 2003-10-24 Jose Ruiz <ruiz@act-europe.fr>
7016 Remove the test against being in No_Run_Time_Mode before generating a
7017 call to Register_Tag. It is redundant with the test against the
7018 availability of the function Register_Tag.
7020 2003-10-24 Vincent Celier <celier@gnat.com>
7022 * g-catiio.adb: (Month_Name): Correct spelling of February
7024 * make.adb: (Mains): New package
7025 (Initialize): Call Mains.Delete
7026 (Gnatmake): Check that each main on the command line is a source of a
7027 project file and, if there are several mains, each of them is a source
7028 of the same project file.
7029 (Gnatmake): When a foreign language is specified in attribute Languages,
7030 no main is specified on the command line and attribute Mains is not
7031 empty, only build the Ada main. If there is no Ada main, just compile
7032 the Ada sources and their closure.
7033 (Gnatmake): If a main is specified on the command line with directory
7034 information, check that the source exists and, if it does, that the path
7035 is the actual path of a source of a project.
7038 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When
7039 Full_Path is True, return the full path instead of the simple file name.
7040 (Project_Of): New function
7043 (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path,
7045 (Project_Of): New function
7047 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
7050 Ensure objects of main project are always checked and rebuilt if needed.
7051 Set CC to gcc by default.
7052 Prepare new handling of link by creating a global archive (not activated
7055 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
7056 stringt.h: Update copyright notice. Remove trailing blanks.
7057 Fix source name in header.
7059 2003-10-24 Robert Dewar <dewar@gnat.com>
7061 * sem_ch12.adb: Minor reformatting
7064 Minor reformatting (including new function return style throughout)
7067 Minor reformatting (including new function return style throughout)
7069 2003-10-24 Arnaud Charlet <charlet@act-europe.fr>
7071 * adadecode.h, atree.h, elists.h, nlists.h, raise.h,
7072 stringt.h: Update copyright notice. Remove trailing blanks.
7073 Fix source name in header.
7075 2003-10-24 GNAT Script <nobody@gnat.com>
7077 * Make-lang.in: Makefile automatically updated
7079 2003-10-23 Nathanael Nerode <neroden@gcc.gnu.org>
7081 * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h,
7082 stringt.h: Convert to ISO C90 declarations and definitions.
7084 2003-10-23 Thomas Quinot <quinot@act-europe.fr>
7087 * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited
7088 External_Tag attribute definition clauses.
7090 2003-10-23 Ed Schonberg <schonberg@gnat.com>
7093 * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a
7094 child unit, generate a fully qualified name to avoid spurious errors
7095 when the context contains renamings of different child units with
7096 the same simple name.
7098 * exp_dbug.ads: Add documentation on name qualification for renamings
7101 2003-10-23 Robert Dewar <dewar@gnat.com>
7103 * g-regpat.ads, g-regpat.adb: Minor reformatting
7105 2003-10-23 Jose Ruiz <ruiz@act-europe.fr>
7107 * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times.
7109 2003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7111 * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to
7114 * urealp.h: (Machine): Update to proper definition.
7116 2003-10-23 Arnaud Charlet <charlet@act-europe.fr>
7118 * init.c, adaint.c: Minor reformatting.
7120 2003-10-23 Danny Smith <dannysmith@users.sourceforge.net>
7122 * adaint.c (w32_epoch_offset): Define static const at file level.
7123 (win32_filetime): Replace offset with w32_epoch_offset. Use NULL
7124 rather than t_create, t_access in call to GetFileTime. Use union
7125 to convert between FILETIME and unsigned long long.
7126 (__gnat_file_time_name): Test for invalid file handle.
7127 (__gnat_set_filetime_name): Support win32 targets using
7130 2003-10-22 Danny Smith <dannysmith@users.sourceforge.net>
7132 * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW.
7134 * ctrl_c.c (__gnat_int_handler): Remove declaration.
7136 * decl.c (creat_concat_name): Const-ify prefix.
7138 * adaint.c: Include ctype.h if __MINGW32__.
7139 (__gnat_readlink): Mark arguments as possibly unused.
7140 (__gnat_symlink): Likewise.
7141 (__gnat_is_symbolic_link): Likewise.
7142 (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match
7144 (__gnat_file_time_name): Don't declare struct stat statbuf when
7146 (__gnat_is_absolute_path): Add parenthesis around condition of
7147 'if' statement to avoid warning.
7148 (__gnat_plist_init): Specify void as parameter.
7149 (plist_enter): Likewise.
7150 (plist_leave): Likewise.
7151 (remove_handle): Make static. Initialize prev.
7153 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
7155 * Makefile.in: Disable build of gnatpsta. PR ada/10110.
7156 * cstreams.c (__gnat_full_name): Minor improvements and clean up
7159 2003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7161 * tracebak.c (MAX): Avoid redefinition warning.
7163 * init.c [sgi] (__gnat_error_handler): Remove i, unused.
7164 Change msg to const char *.
7165 (__gnat_install_handler): Remove ss, unused.
7166 [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
7168 * cstreams.c (__gnat_full_name): Declare p only when used.
7169 (__gnat_full_name) [sgi] Return buffer.
7171 2003-10-22 Arnaud Charlet <charlet@act-europe.fr>
7173 * mingw32.h: New file.
7174 * gnat_wrapper.adb: New file.
7176 2003-10-22 Jerome Roussel <roussel@act-europe.fr>
7178 * g-regpat.ads, g-regpat.adb (Match): new function, to know if a
7179 string match a pre compiled regular expression (the corresponding
7180 version of the function working on a raw regular expression)
7181 Fix typos in various comments
7182 Update copyright notice in spec
7184 2003-10-21 Gary Dismukes <dismukes@gnat.com>
7187 (Component_Needs_Simple_Initialization): Return False when the type is a
7188 packed bit array. Revise spec comments to document this case.
7191 (Expand_Pragma_Import): Set any expression on the imported object to
7192 empty to avoid initializing imported objects (in particular this
7193 covers the case of zero-initialization of bit arrays).
7194 Update copyright notice.
7196 2003-10-21 Ed Schonberg <schonberg@gnat.com>
7199 (Load_Parent_Of_Generic): If parent is compilation unit, stop search,
7200 a subunit is missing.
7201 (Instantiate_Subprogram_Body): If body of function is missing, set type
7202 of return expression explicitly in dummy body, to prevent cascaded
7203 errors when a subunit is missing.
7207 (Access_Subprogram_Declaration): Verify that return type is valid.
7211 (Check_Elab_Calls): Do not apply elaboration checks if the main unit is
7216 (Corresponding_Discriminant): If the scope of the discriminant is a
7217 private type without discriminant, use its full view.
7220 2003-10-21 Arnaud Charlet <charlet@act-europe.fr>
7222 * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
7223 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
7224 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
7225 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
7226 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
7227 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
7228 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
7229 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
7230 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
7231 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
7232 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
7233 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
7234 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
7235 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
7236 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
7237 a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
7238 a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
7239 a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
7240 bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
7241 erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
7242 err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
7243 g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
7244 g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
7245 g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
7246 g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
7247 g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
7248 g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
7249 gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
7250 g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
7251 g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
7252 i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
7253 prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
7254 prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
7255 s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
7256 s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
7257 s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
7258 s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
7259 s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
7260 s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
7261 s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
7262 s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
7263 socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
7264 s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
7265 s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
7266 s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
7267 styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
7268 s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
7269 tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
7270 vms_conv.ads, vms_conv.adb, vms_data.ads,
7271 vxaddr2line.adb: Files added. Merge with ACT tree.
7273 * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
7274 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
7275 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
7276 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
7277 g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
7278 s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
7279 s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
7280 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
7281 s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
7282 s-expssi.ads, style.adb: Files removed. Merge with ACT tree.
7284 * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
7285 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
7286 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
7287 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
7288 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
7289 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
7290 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
7291 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
7292 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
7293 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
7294 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
7295 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
7296 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
7297 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
7298 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
7299 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
7300 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
7301 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
7302 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
7303 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
7304 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
7305 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
7306 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
7307 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
7308 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
7309 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
7310 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
7311 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
7312 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
7313 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
7314 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
7315 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
7316 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
7317 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
7318 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
7319 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
7320 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
7321 a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
7322 a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
7323 a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
7324 a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
7325 a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
7326 ali.adb, ali.ads, ali-util.adb, ali-util.ads,
7327 a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
7328 a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
7329 a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
7330 a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
7331 a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
7332 a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
7333 a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
7334 a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
7335 a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
7336 a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
7337 a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
7338 a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
7339 atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
7340 a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
7341 a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
7342 bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
7343 checks.adb, checks.ads, cio.c, comperr.adb,
7344 comperr.ads, csets.adb, cstand.adb, cstreams.c,
7345 debug_a.adb, debug_a.ads, debug.adb, decl.c,
7346 einfo.adb, einfo.ads, errout.adb, errout.ads,
7347 eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
7348 expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
7349 exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
7350 exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
7351 exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
7352 exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
7353 exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
7354 exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
7355 exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
7356 fe.h, fmap.adb, fmap.ads, fname.adb,
7357 fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
7358 freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
7359 g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
7360 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
7361 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
7362 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
7363 g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
7364 g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
7365 g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
7366 g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
7367 g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
7368 g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
7369 g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
7370 g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
7371 gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
7372 gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
7373 gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
7374 gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
7375 gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
7376 g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
7377 g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
7378 g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
7379 g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
7380 g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
7381 g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
7382 g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
7383 g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
7384 i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
7385 i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
7386 inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
7387 itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
7388 layout.adb, lib.adb, lib.ads, lib-list.adb,
7389 lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
7390 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
7391 link.c, live.adb, make.adb, make.ads,
7392 Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
7393 mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
7394 mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
7395 misc.c, mkdir.c, mlib.adb, mlib.ads,
7396 mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
7397 mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
7398 namet.adb, namet.ads, namet.h, nlists.ads,
7399 nlists.h, nmake.adt, opt.adb, opt.ads,
7400 osint.adb, osint.ads, osint-b.adb, osint-c.adb,
7401 par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
7402 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
7403 par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
7404 par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
7405 prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
7406 prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
7407 prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
7408 prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
7409 prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
7410 prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
7411 prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
7412 prj-util.adb, prj-util.ads, raise.c, raise.h,
7413 repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
7414 rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
7415 s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
7416 s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
7417 scans.ads, scn.adb, scn.ads, s-crc32.adb,
7418 s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
7419 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
7420 sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
7421 sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
7422 sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
7423 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
7424 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
7425 sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
7426 sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
7427 sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
7428 sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
7429 sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
7430 s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
7431 s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
7432 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
7433 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
7434 s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
7435 s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
7436 s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
7437 sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
7438 sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
7439 sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
7440 s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
7441 s-memory.adb, s-memory.ads, snames.adb, snames.ads,
7442 snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
7443 s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
7444 s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
7445 s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
7446 s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
7447 s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
7448 s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
7449 s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
7450 s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
7451 s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
7452 s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
7453 s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
7454 s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
7455 s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
7456 s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
7457 s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
7458 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
7459 stringt.adb, stringt.ads, stringt.h, style.ads,
7460 stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
7461 s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
7462 s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
7463 switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
7464 s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
7465 table.adb, table.ads, targparm.adb, targparm.ads,
7466 targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
7467 trans.c, tree_io.adb, treepr.adb, treeprs.adt,
7468 ttypes.ads, types.ads, types.h, uintp.adb,
7469 uintp.ads, uintp.h, uname.adb, urealp.adb,
7470 urealp.ads, urealp.h, usage.adb, utils2.c,
7471 utils.c, validsw.adb, validsw.ads, widechar.adb,
7472 xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
7473 xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
7474 einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
7475 gnatvsn.ads: Merge with ACT tree.
7477 * gnatvsn.adb: Rewritten in a simpler and more efficient way.
7479 2003-10-20 Mark Mitchell <mark@codesourcery.com>
7481 * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
7482 (gnat_ug_vmx.info): Likewise.
7483 (gnat_ug_vxw.info): Likewise.
7484 (gnat_ug_wnt.info): Likewise.
7485 (gnat_rm.info): Likewise.
7486 (gnat-style.info): Likewise.
7488 * Make-lang.in (ada.install-info): Remove target.
7490 (install-info): Likewise.
7491 (gnat_ug_unx.info): Simplify rule.
7492 (gnat_ug_vmx.info): Likewise.
7493 (gnat_ug_vxw.info): Likewise.
7494 (gnat_ug_wnt.info): Likewise.
7495 (gnat_rm.info): Likewise.
7496 (gnat-style.info): Likewise.
7498 2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
7500 * Make-lang.in: Replace uses of $(target_alias) with
7501 $(target_noncanonical).
7502 * ada/Makefile.in: Remove unused mention of $(target_alias).
7504 2003-10-06 Mark Mitchell <mark@codesourcery.com>
7506 * Make-lang.in (ada.info): Replace with ...
7508 (ada.dvi): Replace with ...
7511 2003-09-29 Zack Weinberg <zack@codesourcery.com>
7513 * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
7514 initialize dconstp5 and dconstmp5.
7516 2003-09-28 Richard Henderson <rth@redhat.com>
7518 * trans.c (tree_transform): Update call to expand_asm_operands.
7520 2003-09-21 Richard Henderson <rth@redhat.com>
7522 * trans.c, utils.c: Revert.
7524 2003-09-21 Richard Henderson <rth@redhat.com>
7526 * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
7529 2003-09-04 Michael Matz <matz@suse.de>
7531 * misc.c: Include "target.h".
7532 * Make-lang.in (misc.o): Add dependency on target.h.
7534 2003-09-03 DJ Delorie <dj@redhat.com>
7536 * misc.c (default_pass_by_ref): Convert to calls.return_in_memory
7539 2003-08-30 Zack Weinberg <zack@codesourcery.com>
7541 * Makefile.in: Update substitutions to match changes to
7542 configure. Use include directives instead of @-insertions
7543 to read in host and target fragments. Add a rule to
7544 regenerate ada/Makefile.
7546 2003-07-18 Neil Booth <neil@daikokuya.co.uk>
7548 * lang-options.h: Remove.
7549 * lang.opt: Add help text.
7551 2003-07-07 Nathan Sidwell <nathan@codesourcery.com>
7553 * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note
7556 2003-07-06 Neil Booth <neil@daikokuya.co.uk>
7558 * misc.c (gnat_handle_option): Don't handle filenames.
7560 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
7562 * Make-lang.in: Replace PWD with PWD_COMMAND.
7563 * Makefile.adalib: Likewise.
7564 * Makefile.in: Likewise.
7566 2003-07-04 Matt Kraai <kraai@alumni.cmu.edu>
7568 * misc.c (gnat_argv): Revert last change.
7569 (gnat_handle_option, gnat_init_options): Copy arguments.
7571 2003-07-03 Neil Booth <neil@daikokuya.co.uk>
7573 * misc.c (gnat_argv): Make const.
7575 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
7577 * misc.c (save_argc, save_argv): Keep non-static!
7579 2003-07-02 Neil Booth <neil@daikokuya.co.uk>
7581 * misc.c (save_argc, save_argv): Make static.
7582 (gnat_init_options): New prototype.
7583 (gnat_init_options): Update.
7585 2003-07-01 Matt Kraai <kraai@alumni.cmu.edu>
7587 * gnat_ug.texi: Remove unlikely characters from @vars.
7588 * gnat_ug_vms.texi: Regenerate.
7590 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
7592 * misc.c (record_code_position): Adjust emit_note call.
7594 2003-06-26 Neil Booth <neil@daikokuya.co.uk>
7596 * misc.c (gnat_handle_option): Don't check for missing arguments.
7598 2003-06-20 Nathan Sidwell <nathan@codesourcery.com>
7600 * utils.c (end_subprog_body): Adjust expand_function_end call.
7602 2003-06-16 Matt Kraai <kraai@alumni.cmu.edu>
7604 * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
7607 2003-06-15 Neil Booth <neil@daikokuya.co.uk>
7609 * lang.opt: Declare Ada.
7610 * misc.c (gnat_init_options): Update.
7612 2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
7614 * utils.c (begin_subprog_body): Adjust init_function_start call.
7616 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
7618 * Make-lang.in: Update to use options.c and options.h.
7619 * misc.c: Include options.h not aoptions.h.
7620 (gnat_handle_option): Abort on unrecognized switch.
7621 (gnat_init_options): Request Ada switches.
7623 2003-06-14 Neil Booth <neil@daikokuya.co.uk>
7625 * lang.opt: Add -Wall.
7626 * misc.c (gnat_handle_option): Handle it.
7628 2003-06-12 Neil Booth <neil@daikokuya.co.uk>
7630 * misc.c (gnat_handle_option): Fix warnings.
7632 2003-06-11 Matt Kraai <kraai@alumni.cmu.edu>
7634 * Make-lang.in (gnatbind): Remove $(LIBIBERTY).
7636 2003-06-11 Neil Booth <neil@daikokuya.co.uk>
7638 * Make-lang.in: Update to handle command-line options.
7639 * lang.opt: New file.
7640 * misc.c: Include aoptions.h.
7641 (cl_options_count, cl_options): Remove.
7642 (gnat_handle_option): New.
7643 (gnat_decode_option): Remove.
7644 (LANG_HOOKS_DECODE_OPTION): Remove.
7645 (LANG_HOOKS_HANDLE_OPTION): Override.
7647 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
7649 * init.c, misc.c, trans.c, utils.c: Remove dead code.
7651 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
7653 * Makefile.in: Replace "host_canonical" with "host" for autoconf
7656 2003-06-08 Neil Booth <neil@daikokuya.co.uk>
7658 * Make-lang.in: Update.
7659 * misc.c: Include opts.h. Define cl_options_count and cl_options.
7661 2003-06-07 Neil Booth <neil@daikokuya.co.uk>
7663 * misc.c (gnat_init_options): Update.
7665 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
7667 * Make-lang.in (ada/b_gnatb.o-warn): Remove.
7668 * bindgen.adb (Gen_Main_C): Mark ensure_reference with
7669 __attribute__ ((__unused__)).
7671 2003-06-05 Jan Hubicka <jh@suse.cz>
7673 * Make-lang.in: Add support for stageprofile and stagefeedback
7675 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
7677 * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C)
7678 (Gen_Main_C, Gen_Output_File_C): Generate ISO C.
7680 2003-06-04 Matt Kraai <kraai@alumni.cmu.edu>
7682 * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr):
7683 Remove non-VMS directive.
7684 (Switches for gnatlbr, Optimization Levels): Remove non-VMS
7686 (Examples of gnatls Usage): Remove VMS alternative.
7688 2003-06-04 Olivier Hainque <hainque@act-europe.fr>
7691 * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
7692 and turn ZCX_By_Default back to False since the underlying support
7693 is not quite there yet.
7695 2003-06-01 Andreas Jaeger <aj@suse.de>
7697 * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE
7698 and ROUND_TYPE_SIZE_UNIT.
7700 2003-05-22 Geert Bosch <bosch@gnat.com>
7702 * gnat_rm.texi : Remove reference to Ada Core Technologies.
7704 2003-05-03 Nathan Sidwell <nathan@codesourcery.com>
7706 * trans.c (tree_transform): Use location_t and input_location
7708 (build_unit_elab): Likewise.
7709 * utils.c (create_label_decl): Likewise.
7711 2003-05-01 Nathan Sidwell <nathan@codesourcery.com>
7713 * trans.c (tree_transform, build_unit_elab,
7714 set_lineno): Rename lineno to input_line.
7715 * utils.c (pushdecl, create_label_decl, begin_subprog_body,
7716 end_subprog_body): Likewise.
7717 * utils2.c (build_call_raise): Likewise.
7719 2003-05-01 Laurent Guerby <guerby@acm.org>
7722 * 5iosinte.ads: Increase pthread_cond_t size to match recent
7723 LinuxThread and NPTL version, merge from ACT.
7725 2003-04-28 Zack Weinberg <zack@codesourcery.com>
7727 * utils.c (convert): No need to clear TREE_CST_RTL.
7729 2003-04-23 Geert Bosch <bosch@gnat.com>
7731 * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
7732 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
7733 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
7734 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
7735 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
7736 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb,
7737 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads,
7738 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads,
7739 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb,
7740 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb,
7741 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb,
7742 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb,
7743 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads,
7744 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads,
7745 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb,
7746 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads,
7747 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb,
7748 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb,
7749 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb,
7750 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
7751 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
7752 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads,
7753 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
7754 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads,
7755 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads,
7756 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb,
7757 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads,
7758 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads,
7759 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb,
7760 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads,
7761 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb,
7762 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb,
7763 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb,
7764 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads,
7765 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads,
7766 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb,
7767 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb,
7768 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads,
7769 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads,
7770 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb,
7771 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb,
7772 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads,
7773 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads,
7774 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb,
7775 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb,
7776 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads,
7777 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads,
7778 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb,
7779 a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb,
7780 a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads,
7781 a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads,
7782 a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads,
7783 a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads,
7784 a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads,
7785 a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads,
7786 a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb,
7787 a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads,
7788 a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads,
7789 a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads,
7790 a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads,
7791 a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads,
7792 a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads,
7793 a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads,
7794 a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads,
7795 a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads,
7796 a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads,
7797 a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads,
7798 a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb,
7799 a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads,
7800 a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads,
7801 a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads,
7802 a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads,
7803 a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb,
7804 a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads,
7805 a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads,
7806 a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads,
7807 a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads,
7808 a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads,
7809 a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads,
7810 a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb,
7811 a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb,
7812 a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb,
7813 a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb,
7814 a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb,
7815 a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb,
7816 a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb,
7817 a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb,
7818 a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb,
7819 a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb,
7820 a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb,
7821 a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads,
7822 a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb,
7823 a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb,
7824 a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb,
7825 a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb,
7826 a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb,
7827 a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb,
7828 a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb,
7829 a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb,
7830 a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb,
7831 a-wttest.ads, ada-tree.h, ada.ads, ada.h,
7832 adadecode.c, adadecode.h, ali-util.adb, ali-util.ads,
7833 ali.adb, ali.ads, alloc.ads, argv.c,
7834 atree.adb, atree.ads, atree.h, aux-io.c,
7835 back_end.adb, back_end.ads, bcheck.adb, bcheck.ads,
7836 binde.adb, binde.ads, binderr.adb, binderr.ads,
7837 bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads,
7838 butil.adb, butil.ads, cal.c, calendar.ads,
7839 casing.adb, casing.ads, ceinfo.adb, checks.adb,
7840 checks.ads, cio.c, comperr.adb, comperr.ads,
7841 config-lang.in, csets.adb, csets.ads, csinfo.adb,
7842 cstand.adb, cstand.ads, cuintp.c, debug.adb,
7843 debug.ads, debug_a.adb, debug_a.ads, dec-io.adb,
7844 dec-io.ads, dec.ads, deftarg.c, directio.ads,
7845 einfo.adb, einfo.ads, elists.adb, elists.ads,
7846 elists.h, errno.c, errout.adb, errout.ads,
7847 eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb,
7848 exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads,
7849 exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads,
7850 exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads,
7851 exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads,
7852 exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads,
7853 exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads,
7854 exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads,
7855 exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads,
7856 exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads,
7857 exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads,
7858 exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads,
7859 exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads,
7860 exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads,
7861 exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads,
7862 fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads,
7863 fname-uf.adb, fname-uf.ads, fname.adb, fname.ads,
7864 freeze.adb, freeze.ads, frontend.adb, frontend.ads,
7865 g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads,
7866 g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads,
7867 g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
7868 g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
7869 g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
7870 g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb,
7871 g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb,
7872 g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb,
7873 g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb,
7874 g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads,
7875 g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads,
7876 g-htable.adb, g-htable.ads, g-io.adb, g-io.ads,
7877 g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb,
7878 g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb,
7879 g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads,
7880 g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb,
7881 g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads,
7882 g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb,
7883 g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads,
7884 g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads,
7885 g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads,
7886 g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads,
7887 get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads,
7888 gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads,
7889 gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads,
7890 gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads,
7891 gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb,
7892 gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb,
7893 gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads,
7894 gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb,
7895 hlo.adb, hlo.ads, hostparm.ads, i-c.adb,
7896 i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads,
7897 i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads,
7898 i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads,
7899 i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb,
7900 i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb,
7901 i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads,
7902 inline.adb, inline.ads, interfac.ads, ioexcept.ads,
7903 itypes.adb, itypes.ads, krunch.adb, krunch.ads,
7904 layout.adb, layout.ads, lib-list.adb, lib-load.adb,
7905 lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads,
7906 lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
7907 lib.adb, lib.ads, live.adb, live.ads,
7908 machcode.ads, make.adb, make.ads, makeusg.adb,
7909 makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads,
7910 mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads,
7911 memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb,
7912 mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb,
7913 mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb,
7914 mlib.ads, namet.adb, namet.ads, nlists.adb,
7915 nlists.ads, opt.adb, opt.ads, osint-b.adb,
7916 osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb,
7917 osint-l.ads, osint-m.adb, osint-m.ads, osint.adb,
7918 osint.ads, output.adb, output.ads, par-ch10.adb,
7919 par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb,
7920 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
7921 par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb,
7922 par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb,
7923 par-tchk.adb, par-util.adb, par.adb, par.ads,
7924 prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads,
7925 prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads,
7926 prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads,
7927 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads,
7928 prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads,
7929 prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads,
7930 prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads,
7931 prj.adb, prj.ads, repinfo.adb, repinfo.ads,
7932 restrict.adb, restrict.ads, rident.ads, rtsfind.adb,
7933 rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb,
7934 s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb,
7935 s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb,
7936 s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads,
7937 s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads,
7938 s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb,
7939 s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads,
7940 s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads,
7941 s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
7942 s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads,
7943 s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads,
7944 s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads,
7945 s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb,
7946 s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
7947 s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads,
7948 s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads,
7949 s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads,
7950 s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads,
7951 s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads,
7952 s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads,
7953 s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads,
7954 s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads,
7955 s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads,
7956 s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads,
7957 s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads,
7958 s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads,
7959 s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb,
7960 s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb,
7961 s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads,
7962 s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads,
7963 s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads,
7964 s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads,
7965 s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads,
7966 s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads,
7967 s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads,
7968 s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads,
7969 s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads,
7970 s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads,
7971 s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads,
7972 s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads,
7973 s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads,
7974 s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads,
7975 s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads,
7976 s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads,
7977 s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads,
7978 s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads,
7979 s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads,
7980 s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads,
7981 s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads,
7982 s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads,
7983 s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads,
7984 s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads,
7985 s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads,
7986 s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads,
7987 s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads,
7988 s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads,
7989 s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads,
7990 s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads,
7991 s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads,
7992 s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb,
7993 s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads,
7994 s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads,
7995 s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads,
7996 s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads,
7997 s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads,
7998 s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads,
7999 s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb,
8000 s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb,
8001 s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb,
8002 s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads,
8003 s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
8004 s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads,
8005 s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads,
8006 s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb,
8007 s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
8008 s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb,
8009 s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb,
8010 s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb,
8011 s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads,
8012 s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads,
8013 s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads,
8014 s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads,
8015 s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads,
8016 s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads,
8017 s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads,
8018 s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads,
8019 s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads,
8020 s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb,
8021 s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb,
8022 s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb,
8023 s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb,
8024 s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb,
8025 s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb,
8026 s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb,
8027 scn-slit.adb, scn.adb, scn.ads, sdefault.ads,
8028 sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads,
8029 sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads,
8030 sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads,
8031 sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads,
8032 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads,
8033 sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads,
8034 sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
8035 sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
8036 sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads,
8037 sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads,
8038 sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads,
8039 sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads,
8040 sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads,
8041 sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads,
8042 sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads,
8043 sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads,
8044 sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb,
8045 sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb,
8046 sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb,
8047 sinput-p.ads, sinput.adb, sinput.ads, snames.adb,
8048 snames.ads, sprint.adb, sprint.ads, stand.adb,
8049 stand.ads, stringt.adb, stringt.ads, style.adb,
8050 style.ads, stylesw.adb, stylesw.ads, switch-b.adb,
8051 switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb,
8052 switch-m.ads, switch.adb, switch.ads, system.ads,
8053 table.adb, table.ads, targparm.adb, targparm.ads,
8054 tbuild.adb, tbuild.ads, text_io.ads, trans.c,
8055 tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads,
8056 tree_io.adb, tree_io.ads, treepr.adb, treepr.ads,
8057 ttypef.ads, ttypes.ads, types.adb, types.ads,
8058 uintp.adb, uintp.ads, uname.adb, uname.ads,
8059 unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads,
8060 usage.adb, usage.ads, validsw.adb, validsw.ads,
8061 widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb,
8062 xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads,
8063 xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header,
8064 formatting and other trivial changes from ACT.
8066 2003-04-12 Zack Weinberg <zack@codesourcery.com>
8068 * gigi.h, utils2.c (build_constructor):
8069 Rename gnat_build_constructor. Use build_constructor.
8070 * decl.c (gnat_to_gnu_entity)
8071 * trans.c (tree_transform, pos_to_constructor, extract_values)
8072 * ada/utils.c (build_template, convert_to_fat_pointer, convert)
8074 * ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
8075 (fill_vms_descriptor):
8078 2003-04-06 Zack Weinberg <zack@codesourcery.com>
8080 * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
8081 * misc.c (gnat_tree_size): New function.
8082 (LANG_HOOKS_TREE_SIZE): Override.
8084 2003-04-03 Jason Merrill <jason@redhat.com>
8086 * misc.c (gnat_adjust_rli): #if 0.
8088 2003-03-31 Geert Bosch <bosch@gnat.com>
8091 * link.c : Fix misspelled "const" keyword
8093 2003-03-23 Mark Mitchell <mark@codesourcery.com>
8096 * utils2.c: Adjust calls to put_var_into_stack.
8098 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
8100 * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC.
8102 2003-03-08 Neil Booth <neil@daikokuya.co.uk>
8104 * misc.c (gnat_init): Update for new prototype.
8106 2003-03-05 Olivier Hainque <hainque@gnat.com>
8109 * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid
8110 warning, and fix return type for the IN_RTS && !SJLJ case.
8112 2003-03-04 Tom Tromey <tromey@redhat.com>
8114 * Make-lang.in (ada.tags): New target.
8116 2003-03-04 Olivier Hainque <hainque@act-europe.fr>
8119 * a-except.adb (Unwind_RaiseException): Import a GNAT specific
8120 wrapper, which name remains constant whatever underlying GCC
8123 * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing
8124 the stable interface needed for a-except.
8126 2003-03-02 Andreas Jaeger <aj@suse.de>
8128 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8129 gnat_ug_wnt.texi: Regenerate.
8131 2003-03-02 Laurent Guerby <guerby@acm.org>
8133 * Makefile.in (install-gnatlib): Match previous change there
8136 2003-02-28 Andreas Schwab <schwab@suse.de>
8138 * Make-lang.in (install-gnatlib): Change to ada directory before
8139 running make instead of using ada/Makefile directly.
8141 2003-02-18 Ben Elliston <bje@redhat.com>
8143 Part of fix for PR ada/9406
8144 * gnat_ug.texi (Binder output file): Grammar fix.
8146 2003-02-18 Ben Elliston <bje@redhat.com>
8149 * 5qtaprop.adb (Sleep): Fix typo in comment.
8151 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
8153 * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
8154 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8155 gnat_ug_wnt.texi: Regenerate.
8157 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de>
8159 * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
8160 be created if necessary.
8161 (ada.install-common): Let $(DESTDIR)$(bindir) be created
8162 if necessary. Remove erroneous and redundant gnatchop
8163 installation commands. Test for gnatdll before attempting
8165 (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
8166 and gnatdll from all plausible locations.
8168 2003-02-01 Richard Sandiford <rsandifo@redhat.com>
8170 * utils2.c (build_unary_op): Don't check flag_volatile.
8171 * gnat_ug.texi: Remove -fvolatile from example.
8172 * gnat_ug_vxw.texi: Likewise.
8174 2003-01-29 Laurent Guerby <guerby@acm.org>
8177 * final.c: rename to adafinal.c to avoid file name conflicts with gcc file.
8178 * Makefile.in: match previous change.
8179 * Make-lang.in: match previous change.
8181 2003-01-29 Joel Sherrill <joel@OARcorp.com>
8183 * 5rosinte.ads: Add SIGXCPU.
8184 * 5rtpopsp.adb: New file.
8185 * Make-lang.in: Do not build gnatpsta and gnatpsys when cross.
8186 * Makefile.in: Recognize more RTEMS targets and add the RTEMS
8187 specific file 5rtpopsp.adb.
8188 * adaint.h: Add include of <stdio.h> when target is RTEMS. This
8189 is likely needed for all newlib targets.
8190 * init.c: Add RTEMS specific version of __gnat_initialize().
8192 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8194 * adaint.c, adaint.h, gmem.c, init.c: Update copyright year.
8196 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8198 * init.c (__gnat_error_handler): Make msg const.
8200 * gmem.c (convert_addresses): Move declaration ...
8201 * adaint.h: ... here.
8202 * adaint.c (convert_addresses): Adapt addrs type to match
8205 * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format.
8207 2003-01-24 Andreas Schwab <schwab@suse.de>
8209 * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to
8210 size_t to avoid warning.
8212 2003-01-21 Zack Weinberg <zack@codesourcery.com>
8214 * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c.
8216 2003-01-09 Geoffrey Keating <geoffk@apple.com>
8218 * gnat_rm.texi: Remove RCS version number.
8220 * ada-tree.h (union lang_tree_node): Add chain_next option.
8222 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
8224 * Make-lang.in (ada.install-info, ada.install-common,
8225 ada.uninstall): Prepend $(DESTDIR) to the destination
8226 directory in all (un)installation commands.
8227 * Makefile.in (install-gnatlib, install-rts): Ditto.
8229 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
8231 * gnat_rm.texi, gnat_ug.texi: Use @copying.
8232 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8233 gnat_ug_wnt.texi: Regenerate.
8235 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
8237 * gnat_rm.texi: Include gcc-common.texi. Use GCC version number
8239 * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info,
8240 $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info,
8241 $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info,
8242 ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi,
8243 ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on
8244 $(srcdir)/doc/include/gcc-common.texi.
8246 2002-12-15 Geert Bosch <bosch@gnat.com>
8248 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
8250 2002-12-14 Geert Bosch <bosch@gnat.com>
8252 * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
8253 case of a body created for a Renaming_As_Body, on which
8254 conformance checks are not performed. Fixes PR ada/5690.
8256 2002-11-30 Zack Weinberg <zack@codesourcery.com>
8258 * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c,
8259 utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when
8260 not already included.
8261 * Make-lang.in: Update dependencies.
8263 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org>
8264 * adaint.c (__gnat_tmp_name): Better, but good enough for now,
8265 solution to buffer overflow bug on GNU/Linux.
8267 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org>
8268 Closes PR ada/5856 and PR ada/6919 !
8269 * bindgen.adb: Remove all references to Public_Version.
8270 * comperr.adb: Remove all references to Public_Version and
8271 GNATPRO_Version; correct bug reporting instructions.
8272 * comperr.ads: Change to match bug box.
8273 * gnatvsn.ads: Remove all references to Public version and
8276 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org>
8278 * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on
8282 * config-lang.in: Remove diff_excludes.
8284 2002-11-05 Graham Stott <graham.stott@btinternet.com>
8286 * trans.c (gnu_pending_elaboration_lists): New GC root.
8287 (build_unit_elab): Use..
8289 2002-10-30 Geert Bosch <bosch@gnat.com>
8291 * misc.c : Include optabs.h
8293 * Make-lang.in (misc.o): Add dependency on optabs.h
8295 2002-10-29 Geert Bosch <bosch@gnat.com>
8297 * Make-lang.in (gnatbind): Depend on CONFIG_H
8299 2002-10-29 Geert bosch <bosch@gnat.com>
8301 * misc.c: Unrevert misc.c (1.13)
8303 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
8305 * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
8306 maintainership comments.
8308 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
8310 * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb
8311 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb
8312 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb
8313 7staprop.adb: Correct statements in comments about
8314 maintainership of GNAT.
8317 * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c
8318 gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads
8319 osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb
8320 osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads
8321 s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb
8322 s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb
8323 sinput-d.ads switch-b.adb switch-b.ads switch-c.adb
8324 switch-c.ads switch-m.adb switch-m.ads: Correct statements in
8325 comments about maintainership of GNAT.
8327 PR ada/6919 (forward port of patch for PR ada/5904)
8328 * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads
8329 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb
8330 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads
8331 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads
8332 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb
8333 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb
8334 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb
8335 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads
8336 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads
8337 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads
8338 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads
8339 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb
8340 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads
8341 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads
8342 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads
8343 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads
8344 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads
8345 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads
8346 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb
8347 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads
8348 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads
8349 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb
8350 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads
8351 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb
8352 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb
8353 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb
8354 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb
8355 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb
8356 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb
8357 a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb
8358 a-chahan.ads a-colien.adb a-colien.ads a-colire.adb
8359 a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads
8360 a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads
8361 a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads
8362 a-except.adb a-except.ads a-excpol.adb a-exctra.adb
8363 a-exctra.ads a-filico.adb a-filico.ads a-finali.adb
8364 a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads
8365 a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb
8366 a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads
8367 a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb
8368 a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb
8369 a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb
8370 a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads
8371 a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads
8372 a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads
8373 a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads
8374 a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb
8375 a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb
8376 a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads
8377 a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads
8378 a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads
8379 a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads
8380 a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads
8381 a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads
8382 a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads
8383 a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads
8384 a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads
8385 a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads
8386 a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads
8387 a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb
8388 a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads
8389 a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads
8390 a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads
8391 a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads
8392 a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads
8393 a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads
8394 a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb
8395 a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h
8396 adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads
8397 alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb
8398 back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads
8399 binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb
8400 bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads
8401 ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads
8402 csets.adb csets.ads csinfo.adb cstand.adb cstand.ads
8403 cstreams.c cuintp.c debug.adb debug.ads debug_a.adb
8404 debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c
8405 einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h
8406 errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c
8407 exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads
8408 exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb
8409 exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads
8410 exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb
8411 exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads
8412 exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb
8413 exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb
8414 exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb
8415 exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb
8416 exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb
8417 exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb
8418 exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads
8419 exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h
8420 final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads
8421 fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb
8422 freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb
8423 g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads
8424 g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h
8425 gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb
8426 gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb
8427 gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb
8428 gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads
8429 gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads
8430 gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads
8431 i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb
8432 i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads
8433 i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads
8434 i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads
8435 impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c
8436 itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h
8437 lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb
8438 lib-load.ads lib-sort.adb lib-util.adb lib-util.ads
8439 lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb
8440 lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb
8441 makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c
8442 namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h
8443 nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb
8444 osint.ads output.adb output.ads par-ch10.adb par-ch11.adb
8445 par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb
8446 par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb
8447 par-endh.adb par-labl.adb par-load.adb par-prag.adb
8448 par-sync.adb par-tchk.adb par-util.adb par.adb par.ads
8449 prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb
8450 prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads
8451 prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads
8452 prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads
8453 prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads
8454 prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h
8455 repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads
8456 rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads
8457 s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads
8458 s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb
8459 s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads
8460 s-direio.adb s-direio.ads s-except.ads s-exctab.adb
8461 s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads
8462 s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads
8463 s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads
8464 s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads
8465 s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads
8466 s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads
8467 s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb
8468 s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads
8469 s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads
8470 s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads
8471 s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb
8472 s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb
8473 s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb
8474 s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb
8475 s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb
8476 s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb
8477 s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb
8478 s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb
8479 s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads
8480 s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb
8481 s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads
8482 s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads
8483 s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads
8484 s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads
8485 s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads
8486 s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads
8487 s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads
8488 s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads
8489 s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads
8490 s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads
8491 s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads
8492 s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads
8493 s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads
8494 s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads
8495 s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads
8496 s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads
8497 s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads
8498 s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads
8499 s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads
8500 s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads
8501 s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads
8502 s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads
8503 s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads
8504 s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads
8505 s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads
8506 s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads
8507 s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads
8508 s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads
8509 s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads
8510 s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads
8511 s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads
8512 s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads
8513 s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads
8514 s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb
8515 s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb
8516 s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb
8517 s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb
8518 s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb
8519 s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb
8520 s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads
8521 s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads
8522 s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads
8523 s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads
8524 s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads
8525 s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads
8526 s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads
8527 s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads
8528 s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads
8529 s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads
8530 s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads
8531 s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads
8532 s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb
8533 s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb
8534 s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb
8535 s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb
8536 s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb
8537 s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb
8538 s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads
8539 scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb
8540 sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads
8541 sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb
8542 sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb
8543 sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads
8544 sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb
8545 sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads
8546 sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb
8547 sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb
8548 sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb
8549 sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb
8550 sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb
8551 sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads
8552 sem_type.adb sem_type.ads sem_util.adb sem_util.ads
8553 sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads
8554 sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb
8555 sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb
8556 sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads
8557 snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb
8558 stringt.ads stringt.h style.adb style.ads stylesw.adb
8559 stylesw.ads switch.adb switch.ads sysdep.c system.ads
8560 table.adb table.ads targparm.adb targparm.ads targtyps.c
8561 tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads
8562 tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb
8563 treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads
8564 types.adb types.ads types.h uintp.adb uintp.ads uintp.h
8565 uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb
8566 usage.ads utils.c utils2.c validsw.adb validsw.ads
8567 widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb
8568 xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb
8569 xtreeprs.adb: Correct statements in comments about maintainership
8572 2002-09-23 Zack Weinberg <zack@codesourcery.com>
8574 * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o.
8575 * Makefile.in (TOOLS_LIBS): Add ../../version.o.
8576 * gnatvsn.ads: Gnat_Version_String is now a function.
8577 * gnatvsn.adb: New file. When asked for Gnat_Version_String,
8578 copy the C version_string into a String and return it.
8579 * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb,
8580 gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb:
8581 Remove pragma Ident (Gnat_Version_String). If this was the
8582 sole use of package Gnatvsn, remove the with statement too.
8583 * gnat1drv.adb: Tweak -gnatv output.
8585 2002-09-17 Richard Henderson <rth@redhat.com>
8587 * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
8588 * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
8589 * config/mips/mips.md (fixuns_truncdfsi2): Likewise.
8590 (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
8591 * config/m68k/m68k.c (floating_exact_log2): Use real_exponent
8592 and real_2expN instead of a loop.
8593 * doc/tm.texi (REAL_VALUE_LDEXP): Remove.
8594 (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
8596 2002-08-25 Andre Leis <a.leis@gmx.net>
8597 David Billinghurst (David.Billinghurst@riotinto.com>
8599 * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
8601 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8603 * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
8604 Remove $(CONFIG_H) dependency.
8606 2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
8608 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
8610 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8612 * adadecode.c (ada_demangle): Use xstrdup in lieu of
8614 * misc.c (gnat_decode_option): Likewise.
8616 2002-07-15 Florian Weimer <fw@deneb.enyo.de>
8618 * make.adb (Add_Switch): Make Generic_Position a procedure. The
8619 function approach did not work well because of a side effect (the
8620 function call could reallocate the table which was being indexed
8621 using its result). Fixes ada/4851. [RESURRECTED]
8623 2002-07-01 Roger Sayle <roger@eyesopen.com>
8625 * ada/utils.c (builtin_function): Accept an additional parameter.
8627 2002-06-28 Andreas Jaeger <aj@suse.de>
8630 * Makefile.in: Fix typo in comment, patch by Adrian Knoth
8633 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8635 * Makefile.in (SHELL): Set to @SHELL@.
8637 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8639 * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit
8640 array size calculation.
8642 2002-06-04 Andreas Jaeger <aj@suse.de>
8644 * Make-lang.in (gnatbind): Readd rule that has been lost in last
8647 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
8649 Merge from pch-branch:
8651 * config-lang.in (gtfiles): Add ada-tree.h.
8652 * ada-tree.h (SET_TYPE_CI_CO_LIST): New.
8653 (SET_TYPE_MODULUS): New.
8654 (SET_TYPE_INDEX): New.
8655 (SET_TYPE_DIGITS_VALUE): New.
8656 (SET_TYPE_RM_SIZE): New.
8657 (SET_TYPE_UNCONSTRAINED_ARRAY): New.
8658 (SET_TYPE_ADA_SIZE): New.
8659 (SET_TYPE_ACTUAL_BOUNDS): New.
8660 (SET_DECL_CONST_CORRESPONDING_VAR): New.
8661 (SET_DECL_ORIGINAL_FIELD): New.
8662 (TREE_LOOP_ID): Correct typo.
8663 * decl.c: Use new macros.
8664 * utils.c: Include debug.h, use new macros.
8665 * utils2.c: Use new macros.
8667 * ada-tree.h: Update all macros for new tree description.
8668 (struct tree_loop_id): New.
8669 (union lang_tree_node): New.
8670 (struct lang_decl): New.
8671 (struct lang_type): New.
8672 * misc.c (gnat_mark_tree): Delete.
8673 (LANG_HOOKS_MARK_TREE): Delete.
8674 * trans.c (tree_transform): No longer any need to cast
8677 * utils.c (struct language_function): New dummy structure.
8679 * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir.
8681 (utils.o): Likewise; also gtype-ada.h.
8682 * Make-lang.in (gnat1): Add dependency on s-gtype.
8683 (gnatbind): Add dependency on $(CONFIG_H).
8684 * utils.c: Correct last #include.
8685 (stuct e_stack): Remove unnecessary 'static'.
8686 (mark_e_stack): Remove unused prototype.
8688 * scn-nlit.adb: Remove whitespace after version number to
8689 keep lines under 80 chars.
8690 * snames.adb: Likewise.
8691 * treepr.ads: Likewise.
8693 * Makefile.in (decl.o): Include gt-ada-<filename>.h.
8695 (utils.o): Include gt-ada-<filename>.h and gtype-ada.h.
8696 * config-lang.in (gtfiles): New.
8697 * decl.c: Use gengtype for roots.
8698 * gigi.h: Use gengtype for roots.
8699 * trans.c: Use gengtype for roots.
8700 * utils.c: Use gengtype for roots, marking. Include gtype-ada.h.
8702 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com>
8704 * misc.c (gnat_init): Adjust setting of internal_error_function.
8706 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk>
8708 * gnat_ug.texi: Use @ifnottex instead of @ifinfo.
8709 * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
8710 gnat_ug_wnt.texi: Regenerate.
8712 2002-05-31 Florian Weimer <fw@deneb.enyo.de>
8714 * 5ntaprop.adb (with System.OS_Primitives): Remove.
8716 * cstreams.c (max_path_len): Move from here ...
8717 * adaint.c (__gnat_max_path_len): ... to here.
8718 * adaint.c (__gnat_max_path_len): Declare.
8719 * g-dirope.adb (Max_Path): Adjust.
8720 * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust.
8721 * i-cstrea.ads (max_path_len): Adjust.
8722 * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust.
8723 * xr_tabls.adb (Dir_Name.Max_Path: Adjust.
8725 * Makefile.in, Make-lang.in: Documentation is now built in
8726 Make-lang.in. Store Info and generated Texinfo files in the
8728 * gnat_ug.texi: Remove CVS keywords, correct version number.
8729 Set file name correctly.
8731 * gnat_ug_*.texi: Add.
8732 * .cvsignore: Ignore generated Texinfo files.
8734 2002-05-30 Zack Weinberg <zack@codesourcery.com>
8736 * ada.h: Add MI guard macro.
8737 (SUBTYPE): Define constants with an anonymous enum, not static
8739 (IN): Cast constants to appropriate type before use.
8741 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk>
8743 * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
8746 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8748 * Make-lang.in (CP, ECHO): Copy from Makefile.in.
8749 (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
8750 (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
8751 (ALL_ADA_CFLAGS): Likewise.
8752 (ADA_INCLUDES): Likewise.
8753 Adapt for new working dir.
8754 (GNATBIND): Use Makefile.in version.
8755 (.SUFFIXES): Copy from Makefile.in.
8757 (.adb.o, .ads.o): Copy from Makefile.in.
8758 Added $(OUTPUT_OPTION).
8759 (GNAT1_C_OBJS): Moved from Makefile.in.
8760 Prefix with ada subdir.
8761 (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
8762 (EXTRA_GNAT1_OBJS): Moved from Makefile.in.
8763 Adapt for new working dir.
8764 (EXTRA_GNATBIND_OBJS): Likewise.
8765 (ADA_BACKEND): Moved from Makefile.in.
8766 Renamed to avoid conflict with global BACKEND.
8768 (TARGET_ADA_SRCS): Moved from Makefile.in.
8769 (gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
8771 (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
8772 (ada_extra_files): Moved from Makefile.in.
8773 Prefix with ada subdir.
8774 (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
8775 (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
8776 (ada/nmake.ads): Likewise.
8777 (update-sources): Moved from Makefile.in.
8778 Prefix with ada subdir.
8779 (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
8780 (ADA_TREE_H): Likewise.
8781 (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
8782 (ada/memtrack.o): Likewise.
8783 (ada/adadecode.o): Likewise.
8784 Update dependencies.
8785 (ada/adaint.o): New.
8786 (ada/argv.o): Moved from Makefile.in.
8787 Prefix with ada subdir.
8788 Update dependencies.
8789 (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
8790 (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
8791 (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
8792 Prefix with ada subdir.
8793 (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
8794 (GNAT DEPENDENCIES): Regenerate.
8795 * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
8796 toplevel Makefile.in.
8797 (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
8798 (TARGET_ADA_SRCS): Removed.
8799 (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
8800 (GNATBIND_OBJS): Likewise.
8801 (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
8803 (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
8805 (ada_extra_files): Likewise.
8806 (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
8807 (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
8808 (update-sources): Likewise.
8809 (sdefault.adb, stamp-sdefault, sdefault.o): Likewise
8810 (ADA_TREE_H): Likewise.
8811 (adadecoce.o): Likewise.
8812 (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
8813 (GNAT DEPENDENCIES): Likewise.
8815 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8817 * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
8818 * Makefile.in: Likewise.
8820 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8822 * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools):
8823 Restore $(CONFIG_H) and prefix.o dependencies.
8824 (ada.stage[1-4]): Depend on stage?-start.
8826 * Makefile.in (b_gnatb.c): Depend on interfac.o.
8828 2002-05-02 Jim Wilson <wilson@redhat.com>
8830 * utils.c (finish_record_type): Change record_size to record_type.
8832 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
8834 * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides.
8835 (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in
8836 ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC.
8838 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk>
8840 * misc.c (gnat_parse_file): Update.
8842 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk>
8844 * misc.c (gnat_init): Don't set lang_attribute_common.
8846 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk>
8848 * gnat_rm.texi: Use @ifnottex instead of @ifinfo.
8850 2002-04-21 Florian Weimer <fw@deneb.enyo.de>
8852 * gnat_ug.texi: New file.
8854 * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi
8855 instead of gfdl.texi
8857 * xgnatug.adb, ug_words: New files.
8859 * Makefile.in (doc, dvi): New targets. Build gnat_ug_*,
8860 gnat_rm and gnat-style manuals.
8862 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
8864 * gigi.h (incomplete_type_error): Remove.
8865 * utils.c (incomplete_type_error): Remove.
8867 2002-04-16 Mark Mitchell <mark@codesourcery.com>
8869 * trans.c (tree_transform): Add has_scope argument to
8870 expand_start_stmt_expr.
8872 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
8874 * gigi.h (truthvalue_conversion): Rename.
8875 * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
8876 * trans.c (tree_transform): Update.
8877 * utils2.c (truthvalue_conversion): Rename, update.
8878 (build_binary_op, build_unary_op): Update.
8880 2002-04-04 Laurent Guerby <guerby@acm.org>
8882 * make.adb: Implement -margs, remove restriction about file name placement.
8883 * makeusg.adb: Documentation update.
8884 * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
8885 * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.
8887 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
8889 * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
8890 (builtin_function): Similarly.
8892 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
8894 * decl.c (gnat_to_gnu_entity): Update.
8895 * gigi.h (mark_addressable): Rename.
8896 * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
8897 * trans.c (tree_transform): Update.
8898 * utils.c (create_var_decl): Update.
8899 * util2.c (build_binary_op, build_unary_op,
8900 fill_vms_descriptor): Update.
8901 (mark_addressable): Rename, update.
8903 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
8905 * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
8907 * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
8908 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
8909 * trans.c (tree_transform, convert_with_check): Update.
8910 * utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
8913 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
8915 * gigi.h (finish_incomplete_decl): Rename.
8916 * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine.
8917 * utils.c (gnat_init_decl_processing): Don't set hook.
8918 (finish_incomplete_decl): Rename.
8920 2002-03-29 Andreas Schwab <schwab@suse.de>
8922 * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts
8925 2001-03-28 Robert Dewar <dewar@gnat.com>
8928 (Remove_Checks): New procedure
8931 (Remove_Checks): New procedure
8934 Use new Duplicate_Subexpr functions
8935 (Duplicate_Subexpr_No_Checks): New procedure
8936 (Duplicate_Subexpr_No_Checks_Orig): New procedure
8937 (Duplicate_Subexpr): Restore original form (checks duplicated)
8938 (Duplicate_Subexpr): Call Remove_Checks
8941 (Duplicate_Subexpr_No_Checks): New procedure
8942 (Duplicate_Subexpr_No_Checks_Orig): New procedure
8943 Add 2002 to copyright notice
8945 * sem_util.adb: Use new Duplicate_Subexpr functions
8948 (Eval_Indexed_Component): This is the place to call
8949 Constant_Array_Ref and to replace the value. We simply merge
8950 the code of this function in here, since it is now no longer
8951 used elsewhere. This fixes the problem of the back end not
8952 realizing we were clever enough to see that this was
8954 (Expr_Val): Remove call to Constant_Array_Ref
8955 (Expr_Rep_Val): Remove call to Constant_Array_Ref
8957 (Constant_Array_Ref): Deal with string literals (patch
8958 suggested by Zack Weinberg on the gcc list)
8960 2001-03-28 Ed Schonberg <schonber@gnat.com>
8962 * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig =>
8963 Duplicate_Subexpr_Move_Checks.
8965 * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig =>
8966 Duplicate_Subexpr_Move_Checks.
8968 * sem_eval.adb: (Constant_Array_Ref): Verify that constant
8969 value of array exists before retrieving it (it may a private
8970 protected component in a function).
8972 2002-03-28 Geert Bosch <bosch@gnat.com>
8974 * prj-pp.adb : New file.
8976 * prj-pp.ads : New file.
8978 2002-03-28 Andreas Jaeger <aj@suse.de>
8980 * Makefile.in (stamp-sdefault): Fix path for Makefile.
8982 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk>
8984 * misc.c (gnat_expand_expr): Move prototype.
8986 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
8988 * misc.c (insert_default_attributes): Remove.
8990 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
8992 * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
8993 (gnat_init): Don't set hook.
8994 (gnat_expand_expr): Fix prototype.
8996 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
8998 * misc.c (ggc_p): Remove.
9000 2002-03-27 Geert Bosch <bosch@gnat.com>
9002 * prj-makr.ads, prj-makr.adb : New files.
9004 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
9006 * misc.c (LANG_HOOKS_MARK_TREE): Redefine.
9007 (lang_mark_tree): Make static, rename.
9009 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
9011 * misc.c (maybe_build_cleanup): Remove.
9013 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
9015 * gigi.h (yyparse): Remove.
9017 2002-03-23 Florian Weimer <fw@deneb.enyo.de>
9019 * gnat_rm.texi: Sync with ACT version.
9020 (From Ben Brosgol <brosgol@gnat.com>)
9022 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
9024 * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
9025 (gnat_init): Remove old hook.
9027 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
9029 * misc.c (LANG_HOOKS_PARSE_FILE): Redefine.
9030 (yyparse): Rename gnat_parse_file.
9032 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
9034 Delete all lines containing "$Revision:".
9035 * xeinfo.adb: Don't look for revision numbers.
9036 * xnmake.adb: Likewise.
9037 * xsinfo.adb: Likewise.
9038 * xsnames.adb: Likewise.
9039 * xtreeprs.adb: Likewise.
9041 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9043 * misc.c (gnat_tree_code_type, gnat_tree_code_length,
9044 gnat_tree_code_name): Delete.
9045 (tree_code_type, tree_code_length, tree_code_name): Define.
9046 (gnat_init): Don't try to copy into the various tree_code
9049 2002-03-11 Richard Henderson <rth@redhat.com>
9051 * Makefile.in (.NOTPARALLEL): Add fake tag.
9053 2002-03-07 Geert Bosch <bosch@gnat.com>
9055 * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads,
9056 s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads,
9057 switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads,
9058 switch-m.adb, switch-m.ads : New files.
9060 2002-03-07 Geert Bosch <bosch@gnat.com>
9062 * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads,
9063 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads,
9064 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads,
9065 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads,
9066 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb,
9067 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads,
9068 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb,
9069 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads,
9070 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb,
9071 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb,
9072 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads,
9073 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb,
9074 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads,
9075 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb,
9076 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb,
9077 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb,
9078 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb,
9079 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb,
9080 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
9081 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb,
9082 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb,
9083 Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads,
9084 a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb,
9085 a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads,
9086 a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb,
9087 a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb,
9088 a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb,
9089 a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb,
9090 a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h,
9091 adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb,
9092 atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb,
9093 bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb,
9094 csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c,
9095 einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads,
9096 eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb,
9097 exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads,
9098 exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
9099 exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads,
9100 exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb,
9101 exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads,
9102 expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb,
9103 freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb,
9104 g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads,
9105 g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb,
9106 g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb,
9107 g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb,
9108 g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb,
9109 g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c,
9110 gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb,
9111 gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads,
9112 gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb,
9113 i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads,
9114 impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb,
9115 lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb,
9116 lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb,
9117 memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads,
9118 mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb,
9119 nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads,
9120 output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb,
9121 par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb,
9122 prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb,
9123 prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb,
9124 prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads,
9125 rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb,
9126 s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads,
9127 s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb,
9128 s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb,
9129 s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb,
9130 s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb,
9131 s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb,
9132 s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads,
9133 s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads,
9134 s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb,
9135 s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
9136 s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
9137 s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb,
9138 s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb,
9139 s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
9140 s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb,
9141 sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
9142 sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb,
9143 sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads,
9144 sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb,
9145 sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb,
9146 sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb,
9147 sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb,
9148 sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb,
9149 sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb,
9150 sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads,
9151 snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads,
9152 stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads,
9153 table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb,
9154 tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb,
9155 treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads,
9156 types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb,
9157 utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb,
9158 xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes.
9160 * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads,
9161 g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads,
9162 mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads,
9163 osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files
9165 * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb,
9166 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed
9168 * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed
9169 to mdll-fil.ad[bs] and mdll-util.ad[bs]
9171 * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed
9172 from mdllfile.ad[bs] and mdlltool.ad[bs]
9174 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9176 * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
9177 lieu of explicit sizeof/sizeof.
9179 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
9181 * misc.c (copy_lang_decl): Remove.
9183 2002-02-27 Zack Weinberg <zack@codesourcery.com>
9185 * misc.c: Delete traditional-mode-related code copied from the
9186 C front end but not used, or used only to permit the compiler
9189 2002-02-07 Richard Henderson <rth@redhat.com>
9191 * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
9192 * adaint.h (__gnat_to_gm_time): Update prototype.
9194 2002-01-30 Richard Henderson <rth@redhat.com>
9196 * trans.c (tree_transform) [N_Loop_Statement]: Use
9197 expand_exit_loop_top_cond.
9199 2001-12-23 Richard Henderson <rth@redhat.com>
9201 * utils.c (end_subprog_body): Push GC context around
9202 rest_of_compilation for nested functions.
9204 2001-12-23 Richard Henderson <rth@redhat.com>
9206 * 5nosinte.ads: Get definition of "int" from Interfaces.C.
9208 2001-12-23 Florian Weimer <fw@deneb.enyo.de>
9210 * gnat-style.texi (Declarations and Types): Remove ancient style
9211 rule which was mandated by code generation issues.
9213 * gnat-style.texi (header): Add @dircategory, @direntry.
9214 (title page): Remove date.
9215 (general) Add @./@: where approriate, and two spaces after the
9216 full stop at the end of a sentence. Use @samp markup when
9217 referring concrete lexical entities (keywords, attribute names
9218 etc.), and @syntax for ARM grammar elements. Use @r for English
9219 text in comments. Use @emph for emphasis. Change "if-statements"
9220 etc. to "if statements" (without @samp). Break long lines. Make
9221 casing of section names consistent.
9222 (Identifiers): Use @samp markup for variable names.
9223 (Comments): Use @samp markup for comment characters. Line-end
9224 comments may follow any Ada code, not just statements. Fix
9225 misspelling of "Integer" as "integer".
9226 (Loop statements): Do not use variable name "I", use "J".
9227 (Subprogram Declarations): Document alignment.
9228 (Subprogram Bodies, Block statements): Document empty line before
9231 2001-12-22 Florian Weimer <fw@deneb.enyo.de>
9233 * make.adb (Add_Switch): Make Generic_Position a procedure. The
9234 function approach did not work well because of a side effect (the
9235 function call could reallocate the table which was being indexed
9236 using its result). Fixes ada/4851.
9238 2001-12-19 Robert Dewar <dewar@gnat.com>
9240 * bindgen.adb: Minor reformatting
9242 * cstand.adb: Minor reformatting
9244 * fmap.adb: Minor reformatting
9245 Change name from Add for Add_To_File_Map (Add is much too generic)
9246 Change Path_Name_Of to Mapped_Path_Name
9247 Change File_Name_Of to Mapped_File_Name
9248 Fix copyright dates in header
9251 Change name from Add for Add_To_File_Map (Add is much too generic)
9252 Change Path_Name_Of to Mapped_Path_Name
9253 Change File_Name_Of to Mapped_File_Name
9254 Fix copyright dates in header
9256 * fname-uf.adb: Minor reformatting. New names of stuff in Fmap.
9257 Add use clause for Fmap.
9259 * make.adb: Minor reformatting
9261 * osint.adb: Minor reformatting. Change of names in Fmap.
9262 Add use clause for Fmap.
9264 * prj-env.adb: Minor reformatting
9266 * prj-env.ads: Minor reformatting
9268 * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if
9269 error found (there were odd exceptions to this general rule in
9270 -gnatec/-gnatem processing)
9272 2001-12-19 Olivier Hainque <hainque@gnat.com>
9274 * raise.c (__gnat_eh_personality): Exception handling personality
9275 routine for Ada. Still in rough state, inspired from the C++ version
9276 and still containing a bunch of debugging artifacts.
9277 (parse_lsda_header, get_ttype_entry): Local (static) helpers, also
9278 inspired from the C++ library.
9280 * raise.c (eh_personality): Add comments. Part of work for the GCC 3
9281 exception handling integration.
9283 2001-12-19 Arnaud Charlet <charlet@gnat.com>
9285 * Makefile.in: Remove use of 5smastop.adb which is obsolete.
9286 (HIE_SOURCES): Add s-secsta.ad{s,b}.
9287 (HIE_OBJS): Add s-fat*.o
9288 (RAVEN_SOURCES): Remove files that are no longer required. Add
9289 interrupt handling files.
9290 (RAVEN_MOD): Removed, no longer needed.
9292 2001-12-19 Robert Dewar <dewar@gnat.com>
9294 * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always
9295 Add 2001 to copyright date
9297 * g-regpat.adb: Change pragma Inline_Always to Inline. There is no
9298 need to force universal inlining for these cases.
9300 2001-12-19 Arnaud Charlet <charlet@gnat.com>
9302 * s-taprob.adb: Minor clean ups so that this unit can be used in
9305 * exp_ch7.adb: Allow use of secondary stack in HI mode.
9306 Disallow it when pragma Restrictions (No_Secondary_Stack) is specified.
9308 2001-12-19 Vincent Celier <celier@gnat.com>
9310 * prj-tree.ads (Project_Node_Record): Add comments for components
9311 Pkg_Id and Case_Insensitive.
9313 2001-12-19 Pascal Obry <obry@gnat.com>
9315 * g-socket.adb: Minor reformatting. Found while reading code.
9317 2001-12-19 Robert Dewar <dewar@gnat.com>
9319 * prj-tree.ads: Minor reformatting
9321 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
9323 * config-lang.in (diff_excludes): Remove.
9325 2001-12-17 Ed Schonberg <schonber@gnat.com>
9327 * sem_res.adb (Resolve_Selected_Component): do not generate a
9328 discriminant check if the selected component is a component of
9329 the argument of an initialization procedure.
9331 * trans.c (tree_transform, case of arithmetic operators): If result
9332 type is private, the gnu_type is the base type of the full view,
9333 given that the full view itself may be a subtype.
9335 2001-12-17 Robert Dewar <dewar@gnat.com>
9337 * sem_res.adb: Minor reformatting
9339 * trans.c (tree_transform, case N_Real_Literal): Add missing third
9340 parameter in call to Machine (unknown horrible effects from this
9343 * urealp.h: Add definition of Round_Even for call to Machine
9344 Add third parameter for Machine
9346 2001-12-17 Ed Schonberg <schonber@gnat.com>
9348 * sem_warn.adb (Check_One_Unit): Suppress warnings completely on
9349 predefined units in No_Run_Time mode.
9351 2001-12-17 Richard Kenner <kenner@gnat.com>
9353 * misc.c (insn-codes.h): Now include.
9355 2001-12-17 Olivier Hainque <hainque@gnat.com>
9357 * a-except.adb: Preparation work for future integration of the GCC 3
9358 exception handling mechanism
9359 (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines
9360 to factorize previous code sequences and make them externally callable,
9361 e.g. for the Ada personality routine when the GCC 3 mechanism is used.
9362 (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler):
9363 Use the new notification routines.
9365 2001-12-17 Emmanuel Briot <briot@gnat.com>
9367 * prj-tree.ads (First_Choice_Of): Document the when others case
9369 2001-12-17 Arnaud Charlet <charlet@gnat.com>
9371 * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in
9372 HI-E mode, in order to support Ravenscar profile properly.
9374 * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E
9375 mode on 32 bits targets.
9377 2001-12-17 Vincent Celier <celier@gnat.com>
9379 * fmap.adb: Initial version.
9381 * fmap.ads: Initial version.
9383 * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped.
9384 If search is successfully done, add to mapping.
9386 * frontend.adb: Initialize the mapping if a -gnatem switch was used.
9389 (Gnatmake): Add new local variable Mapping_File_Name.
9390 Create mapping file when using project file(s).
9391 Delete mapping file before exiting.
9393 * opt.ads (Mapping_File_Name): New variable
9395 * osint.adb (Find_File): Use path name found in mapping, if any.
9397 * prj-env.adb (Create_Mapping_File): New procedure
9399 * prj-env.ads (Create_Mapping_File): New procedure.
9401 * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem
9404 * usage.adb: Add entry for new switch -gnatem.
9406 * Makefile.in: Add dependencies for fmap.o.
9408 2001-12-17 Ed Schonberg <schonber@gnat.com>
9410 * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit
9411 is a package instantiation rewritten as a package body.
9412 (Install_Withed_Unit): Undo previous change, now redundant.
9414 2001-12-17 Gary Dismukes <dismukes@gnat.com>
9417 (Compute_Length): Move conversion to Unsigned to callers.
9418 (Get_Max_Size): Convert Len expression to Unsigned after calls to
9419 Compute_Length and Determine_Range.
9420 (Layout_Array_Type): Convert Len expression to Unsigned after calls to
9421 Compute_Length and Determine_Range.
9422 Above changes fix problem with length computation for supernull arrays
9423 where Max (Len, 0) wasn't getting applied due to the Unsigned
9424 conversion used by Compute_Length.
9426 2001-12-17 Arnaud Charlet <charlet@gnat.com>
9429 (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and
9430 System.Secondary_Stack.
9431 (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar
9433 Remove unused entity RE_Exception_Data.
9435 * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode.
9437 * rident.ads (No_Secondary_Stack): New restriction.
9439 2001-12-17 Joel Brobecker <brobecke@gnat.com>
9441 * gnat_rm.texi: Fix minor typos. Found while reading the section
9442 regarding "Bit_Order Clauses" that was sent to a customer.
9443 Very interesting documentation!
9445 2001-12-17 Robert Dewar <dewar@gnat.com>
9447 * sem_case.adb (Choice_Image): Avoid creating improper character
9448 literal names by using the routine Set_Character_Literal_Name. This
9449 fixes bombs in certain error message cases.
9451 2001-12-17 Arnaud Charlet <charlet@gnat.com>
9453 * a-reatim.adb: Minor reformatting.
9455 2001-12-17 Ed Schonberg <schonber@gnat.com>
9457 * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the
9458 case where the formal is an extension of another formal in the current
9459 unit or in a parent generic unit.
9461 2001-12-17 Arnaud Charlet <charlet@gnat.com>
9463 * s-tposen.adb: Update comments. Minor reformatting.
9464 Minor code clean up.
9466 * s-tarest.adb: Update comments. Minor code reorganization.
9468 2001-12-17 Gary Dismukes <dismukes@gnat.com>
9470 * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag
9473 2001-12-17 Robert Dewar <dewar@gnat.com>
9475 * exp_attr.adb: Minor reformatting
9477 2001-12-17 Ed Schonberg <schonber@gnat.com>
9479 * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle
9480 derivations nested within a child unit: verify that the parent
9481 type is declared in an outer scope.
9483 2001-12-17 Robert Dewar <dewar@gnat.com>
9485 * sem_ch12.adb: Minor reformatting
9487 2001-12-17 Ed Schonberg <schonber@gnat.com>
9489 * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post
9490 warning if current unit is a predefined one, from which bodies may
9493 2001-12-17 Robert Dewar <dewar@gnat.com>
9495 * eval_fat.ads: Add comment that Round_Even is referenced in Ada code
9496 Fix header format. Add 2001 to copyright date.
9498 * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference,
9499 which caused CE during compilation if checks were enabled.
9501 2001-12-17 Vincent Celier <celier@gnat.com>
9504 (Switches_Of): New function
9505 (Test_If_Relative_Path): New procedure
9506 (Add_Switches): Use new function Switches_Of
9507 (Collect_Arguments_And_Compile): Use new function Switches_Of.
9508 When using a project file, test if there are any relative
9509 search path. Fail if there are any.
9510 (Gnatmake): Only add switches for the primary directory when not using
9511 a project file. When using a project file, change directory to the
9512 object directory of the main project file. When using a project file,
9513 test if there are any relative search path. Fail if there are any.
9514 When using a project file, fail if specified executable is relative
9515 path with directory information, and prepend executable, if not
9516 specified as an absolute path, with the exec directory. Make sure
9517 that only one -o switch is transmitted to the linker.
9519 * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir
9522 (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc,
9523 when using a non standard naming scheme.
9524 (Check_Ada_Naming_Scheme): Make sure that error messages
9525 do not raise exceptions.
9526 (Is_Illegal_Append): Return True if there is no dot in the suffix.
9527 (Language_Independent_Check): Check the exec directory.
9529 * prj.adb (Project_Empty): Add new component Exec_Directory
9532 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults.
9533 (Project_Data): Add component Exec_Directory
9535 * snames.adb: Updated to match snames.ads revision 1.215
9537 * snames.ads: Added Exec_Dir
9539 2001-12-17 Robert Dewar <dewar@gnat.com>
9541 * make.adb: Minor reformatting
9543 * prj-nmsc.adb: Minor reformatting
9545 * snames.adb: Updated to match snames.ads
9547 * snames.ads: Alphebetize entries for project file
9549 2001-12-17 Ed Schonberg <schonber@gnat.com>
9551 * trans.c (process_freeze_entity): Do nothing if the entity is a
9552 subprogram that was already elaborated.
9554 2001-12-17 Richard Kenner <kenner@gnat.com>
9556 * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment
9557 and Esize if object is referenced via pointer.
9559 2001-12-17 Ed Schonberg <schonber@gnat.com>
9561 * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant
9562 is discrete before analyzing choices.
9564 2001-12-17 Joel Brobecker <brobecke@gnat.com>
9566 * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string
9567 containing the name of the Ada Main Program. This string is mainly
9568 intended for the debugger.
9569 (Gen_Output_File_C): Do the equivalent change when generating a C file.
9571 2001-12-17 Robert Dewar <dewar@gnat.com>
9573 * ali.adb: Set new Dummy_Entry field in dependency entry
9575 * ali.ads: Add Dummy_Entry field to source dependency table
9577 * bcheck.adb (Check_Consistency): Ignore dummy D lines
9579 * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files
9581 * lib-writ.ads: Document dummy D lines for missing files.
9583 * types.ads: (Dummy_Time_Stamp): New value for non-existant files
9585 2001-12-17 Robert Dewar <dewar@gnat.com>
9587 * ali.adb: Type reference does not reset current file.
9589 * ali.adb: Recognize and scan renaming reference
9591 * ali.ads: Add spec for storing renaming references.
9593 * lib-xref.ads: Add documentation for handling of renaming references
9595 * lib-xref.adb: Implement output of renaming reference.
9598 (Determine_Range): Document local variables
9599 (Determine_Range): Make sure Hbound is initialized. It looks as though
9600 there could be a real problem here with an uninitialized reference
9601 to Hbound, but no actual example of failure has been found.
9603 2001-12-17 Laurent Pautet <pautet@gnat.com>
9606 Fix comment of Shutdown_Socket and Close_Socket. These functions
9607 should not fail silently because if they are called twice, this
9608 probably means that there is a race condition in the user program.
9609 Anyway, this behaviour is consistent with the rest of this unit.
9610 When an error occurs, an exception is raised with the error message
9611 as exception message.
9613 2001-12-17 Robert Dewar <dewar@gnat.com>
9615 * frontend.adb: Move call to Check_Unused_Withs from Frontend, so
9616 that it happens before modification of Sloc values for -gnatD.
9618 * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend,
9619 so that it happens before modification of Sloc values for -gnatD.
9621 * switch.adb: Minor reformatting
9623 2001-12-15 Richard Henderson <rth@redhat.com>
9625 * sem_ch7.adb: Wrap comment.
9627 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
9629 * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb,
9630 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb,
9631 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb,
9632 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb,
9633 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb,
9634 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in,
9635 a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb,
9636 a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb,
9637 cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb,
9638 exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb,
9639 exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads,
9640 g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb,
9641 gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c,
9642 make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads,
9643 par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb,
9644 repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads,
9645 s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb,
9646 s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads,
9647 s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads,
9648 s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb,
9649 sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb,
9650 sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb,
9651 sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads,
9652 sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix
9655 2001-12-14 Vincent Celier <celier@gnat.com>
9657 * osint.adb(Create_Debug_File): When an object file is specified,
9658 put the .dg file in the same directory as the object file.
9660 2001-12-14 Robert Dewar <dewar@gnat.com>
9662 * osint.adb: Minor reformatting
9664 * lib-xref.adb (Output_Instantiation): New procedure to generate
9665 instantiation references.
9667 * lib-xref.ads: Add documentation of handling of generic references.
9669 * ali.adb (Read_Instantiation_Ref): New procedure to read
9670 instantiation references
9672 * ali.ads: Add spec for storing instantiation references
9674 * bindusg.adb: Minor reformatting
9676 * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
9678 * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
9680 * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
9682 * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5)
9686 Add 2001 to copyright date
9687 Add entry for Latin-5 (Cyrillic ISO-8859-5)
9689 2001-12-14 Matt Gingell <gingell@gnat.com>
9691 * adaint.c: mktemp is a macro on Lynx and can not be used as an
9694 2001-12-14 Richard Kenner <kenner@gnat.com>
9696 * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR
9697 if operand is CONSTRUCTOR.
9699 2001-12-14 Ed Schonberg <schonber@gnat.com>
9701 * trans.c (tree_transform, case N_Assignment_Statement): Set lineno
9702 before emiting check on right-hand side, so that exception information
9705 2001-12-14 Richard Kenner <kenner@gnat.com>
9707 * utils.c (create_var_decl): Throw away initializing expression
9708 if just annotating types and non-constant.
9710 2001-12-14 Vincent Celier <celier@gnat.com>
9712 * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to
9715 * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
9717 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec.
9719 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
9721 (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body.
9723 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
9725 * ChangeLog: Remove piece of diff output.
9727 2001-12-14 Geert Bosch <bosch@gnat.com>
9729 * config-lang.in: Update copyright notice
9731 * layout.adb: Remove commented out code.
9733 * mdllfile.ads: Update copyright notice. Fix header format.
9735 * sem_case.ads: Likewise.
9737 * sem_ch3.adb: Minor reformatting.
9739 2001-12-12 Geert Bosch <bosch@gnat.com>
9741 * freeze.ads: Update copyright date.
9743 * g-comlin.ads: Minor reformatting.
9745 * gnat-style.texi: Fix typo.
9747 2001-12-12 Geert Bosch <bosch@gnat.com>
9749 * einfo.h: Regenerate.
9751 2001-12-12 Ed Schonberg <schonber@gnat.com>
9753 * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names
9754 on known node types, rather than untyped fields. Further cleanups.
9756 2001-12-12 Robert Dewar <dewar@gnat.com>
9759 (Save_Entity_Descendant): Minor comment update.
9760 (Copy_Generic_Node): Deal with incorrect reference to Associated_Node
9761 of an N_Attribute_Reference node. As per note below, this does not
9762 eliminate need for Associated_Node in attribute ref nodes.
9763 (Associated_Node): Documentation explicitly mentions attribute
9764 reference nodes, since this field is used in such nodes.
9766 * sem_ch12.adb (Associated_Node): Minor documentation cleanup.
9768 2001-12-12 Robert Dewar <dewar@gnat.com>
9770 * s-stalib.adb: Add more comments on with statements being needed
9772 * par-ch12.adb: Minor reformatting
9774 * prj-dect.ads: Fix copyright header
9776 * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both
9777 inputs fit in 32 bits, but the result still overflows.
9779 * s-fatgen.ads: Minor comment improvement
9781 2001-12-12 Ed Schonberg <schonber@gnat.com>
9783 * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a
9784 formal derived type, look for an inherited component from the full
9785 view of the parent, if any.
9787 2001-12-12 Robert Dewar <dewar@gnat.com>
9789 * checks.ads (Apply_Alignment_Check): New procedure.
9791 * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to
9792 ensure that the alignment of objects with address clauses is
9793 appropriate, and raise PE if not.
9795 * exp_util.ads (Must_Be_Aligned): Removed, replaced by
9796 Exp_Pakd.Known_Aligned_Enough
9798 * mdllfile.ads: Minor reformatting
9800 * mlib-fil.ads: Minor reformatting
9802 2001-12-12 Ed Schonberg <schonber@gnat.com>
9804 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous
9805 fix to any component reference if enclosing record has non-standard
9808 2001-12-12 Vincent Celier <celier@gnat.com>
9810 * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package
9813 2001-12-12 Ed Schonberg <schonber@gnat.com>
9815 * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in
9818 2001-12-12 Robert Dewar <dewar@gnat.com>
9820 * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration
9822 2001-12-12 Emmanuel Briot <briot@gnat.com>
9824 * g-regexp.adb: Remove all debug code, since it isn't required anymore,
9825 and it adds dependencies to system.io.
9827 2001-12-12 Pascal Obry <obry@gnat.com>
9829 * g-dirope.adb (Expand_Path.Var): Correctly detect end of
9832 2001-12-11 Ed Schonberg <schonber@gnat.com>
9834 * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance
9835 that is the parent of other generics, the instance body replaces the
9836 instance node. Retrieve the instance of the spec, which is the one
9837 that is visible in clients and within the body.
9839 2001-12-11 Vincent Celier <celier@gnat.com>
9841 * gnatmain.adb: Initial version.
9843 * gnatmain.ads: Initial version.
9845 * prj-attr.adb (Initialisation_Data): Add package Gnatstub.
9847 * snames.adb: Updated to match snames.ads.
9849 * snames.ads: Added Gnatstub.
9851 2001-12-11 Vincent Celier <celier@gnat.com>
9853 * prj-attr.adb (Initialization_Data): Change name from
9854 Initialisation_Data.
9856 2001-12-11 Emmanuel Briot <briot@gnat.com>
9858 * g-regpat.adb (Parse_Literal): Properly handle simple operators ?,
9859 + and * applied to backslashed expressions like \r.
9861 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com>
9863 * g-os_lib.ads: String_List type added, Argument_List type is now
9864 subtype of String_List.
9866 2001-12-11 Robert Dewar <dewar@gnat.com>
9868 * g-os_lib.ads: Change copyright to FSF
9869 Add comments for String_List type
9871 2001-12-11 Vincent Celier <celier@gnat.com>
9873 * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a
9874 string to the buffer).
9876 2001-12-11 Ed Schonberg <schonber@gnat.com>
9878 * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in
9881 * sem_attr.adb: Simplify previous fix for Address.
9882 (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now,
9883 to avoid anomalies where the bound of the type appears to raise
9886 2001-12-11 Robert Dewar <dewar@gnat.com>
9888 * lib-xref.adb (Output_Refs): Make sure pointers are always properly
9891 2001-12-11 Ed Schonberg <schonber@gnat.com>
9893 * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a
9894 renamed unit before checking for recursive instantiations.
9896 2001-12-11 Emmanuel Briot <briot@gnat.com>
9898 * prj.ads: Add comments for some of the fields.
9900 2001-12-11 Robert Dewar <dewar@gnat.com>
9902 * lib-xref.adb (Output_Refs): Don't output type references outside
9903 the main unit if they are not otherwise referenced.
9905 2001-12-11 Ed Schonberg <schonber@gnat.com>
9907 * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify
9908 code and diagnose additional illegal uses
9910 * sem_util.adb (Is_Object_Reference): An indexed component is an
9911 object only if the prefix is.
9913 2001-12-11 Vincent Celier <celier@gnat.com>
9915 * g-diopit.adb: Initial version.
9917 * g-diopit.ads: Initial version.
9920 (Expand_Path): Avoid use of Unbounded_String
9921 (Find, Wildcard_Iterator): Moved to child package Iteration
9923 * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS
9925 2001-12-11 Robert Dewar <dewar@gnat.com>
9927 * sem_attr.adb: Minor reformatting
9929 2001-12-11 Ed Schonberg <schonber@gnat.com>
9931 * sem_ch3.adb: Clarify some ???.
9933 2001-12-11 Robert Dewar <dewar@gnat.com>
9935 * exp_util.adb (Must_Be_Aligned): Removed, replaced by
9936 Exp_Pakd.Known_Aligned_Enough
9938 * sem_ch13.adb (Check_Address_Alignment): Removed, extended
9939 version is moved to Exp_Ch13.
9941 2001-12-11 Robert Dewar <dewar@gnat.com>
9943 * einfo.ads: Minor reformatting
9945 * exp_ch5.adb: Add comment for previous.change
9947 * ali.adb: New interface for extended typeref stuff.
9949 * ali.ads: New interface for typeref stuff.
9951 * checks.adb (Apply_Alignment_Check): New procedure.
9953 * debug.adb: Add -gnatdM for modified ALI output
9955 * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough.
9957 * lib-xref.adb: Extend generation of <..> notation to cover
9958 subtype/object types. Note that this is a complete rewrite,
9959 getting rid of the very nasty quadratic algorithm previously
9960 used for derived type output.
9962 * lib-xref.ads: Extend description of <..> notation to cover
9963 subtype/object types. Uses {..} for these other cases.
9964 Also use (..) for pointer types.
9966 * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup.
9968 * exp_pakd.adb: Minor reformatting. Note that prevous RH should say:
9969 (Known_Aligned_Enough): Replaces Must_Be_Aligned.
9971 2001-12-11 Vincent Celier <celier@gnat.com>
9974 Changed /COMPILE_ONLY to /ACTIONS=COMPILE
9975 Changed /BIND_ONLY to /ACTIONS=BIND
9976 Changed /LINK_ONLY to /ACTIONS=LINK
9978 2001-12-11 Ed Schonberg <schonber@gnat.com>
9980 * sem_ch8.adb (Find_Selected_Component): improved search for a
9981 candidate package in case of error.
9983 * sem_ch12.adb (Inline_Instance_Body): place head of use_clause
9984 chain back on scope stack before reinstalling use clauses.
9986 * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings
9987 is enabled, do not kill the code for the condition, to preserve
9990 2001-12-11 Robert Dewar <dewar@gnat.com>
9992 * checks.adb (Insert_Valid_Check): Apply validity check to expression
9993 of conversion, not to result of conversion.
9995 2001-12-11 Ed Schonberg <schonber@gnat.com>
9997 * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag
9998 before freezing parent. If the declarations are mutually recursive,
9999 an access to the current record type may be frozen before the
10000 derivation is complete.
10002 2001-12-05 Vincent Celier <celier@gnat.com>
10004 * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY,
10005 -c /COMPILE_ONLY, -l /LINK_ONLY
10008 (Bind_Only): New Flag
10009 (Link_Only): New flag
10011 * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only)
10014 * makeusg.adb: Add new switches -b and -l. Update Copyright notice.
10017 (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags.
10018 (Gnatmake): Set the step flags. Only perform a step if the
10019 corresponding step flag is True.
10020 (Scan_Make_Arg): Reset the bind and link step flags when -u
10021 or -gnatc has been specified.
10023 2001-12-05 Ed Schonberg <schonber@gnat.com>
10025 * sem_eval.adb (Eval_Concatenation): If left operand is a null string,
10026 get bounds from right operand.
10028 * sem_eval.adb: Minor reformatting
10030 * exp_util.adb (Make_Literal_Range): use bound of literal rather
10031 than Index'First, its lower bound may be different from 1.
10033 * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B
10036 2001-12-05 Vincent Celier <celier@gnat.com>
10038 * prj-nmsc.adb Minor reformatting
10040 * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if
10041 set and libraries are not supported.
10043 2001-12-05 Ed Schonberg <schonber@gnat.com>
10045 * sem_ch3.adb (Build_Derived_Private_Type): set Public status of
10046 private view explicitly, so the back-end can treat as a global
10049 2001-12-05 Ed Schonberg <schonber@gnat.com>
10051 * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation
10052 unit, always replace instance node with new body, for ASIS use.
10054 2001-12-05 Vincent Celier <celier@gnat.com>
10056 * prj-nmsc.adb (Language_Independent_Check): Issue a warning if
10057 libraries are not supported and both attributes Library_Name and
10058 Library_Dir are specified.
10060 * prj-proc.adb (Expression): Set location of Result to location of
10063 * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS.
10064 (prj-nmsc is now importing MLib.Tgt)
10066 * prj-proc.adb: Put the change indicated above that was forgotten.
10068 2001-12-05 Robert Dewar <dewar@gnat.com>
10070 * Makefile.in: Add dependencies for System.IO for GNAT.Regexp
10072 2001-12-05 Ed Schonberg <schonber@gnat.com>
10074 * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a
10075 constraint, introduce explicit subtype declaration and derive from it.
10077 * sem_ch3.adb: Minor reformatting
10079 2001-12-05 Robert Dewar <dewar@gnat.com>
10081 * checks.adb (Determine_Range): Increase cache size for checks.
10084 * exp_ch6.adb: Minor reformatting
10085 (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has
10086 a parameter whose root type is System.Address, since treating such
10087 subprograms as pure in the code generator is almost surely a mistake
10088 that will lead to unexpected results.
10090 * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and
10091 change handling of conversions.
10093 * g-regexp.adb: Use System.IO instead of Ada.Text_IO.
10095 2001-12-05 Ed Schonberg <schonber@gnat.com>
10097 * sem_ch3.adb (Analyze_Object_Declaration): If expression is an
10098 aggregate with static wrong size, attach generated Raise node to
10101 2001-12-05 Robert Dewar <dewar@gnat.com>
10103 * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute.
10104 Fixes compilation abandoned bomb in B24009B.
10106 2001-12-05 Ed Schonberg <schonber@gnat.com>
10109 Document use of Associated_Node on Selected_Components.
10110 (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants,
10111 to clarify use of untyped descendant fields.
10113 2001-12-05 Robert Dewar <dewar@gnat.com>
10115 * prj-dect.ads: Add ??? comment
10116 Add 2001 to copyright notice (was not done in after all)
10118 * prj-part.adb: Minor reformatting. Reword one awkward error message.
10120 * prj.ads: Minor reformatting throughout, and add some ??? comments
10122 * snames.ads: Minor reformatting
10124 2001-12-05 Geert Bosch <bosch@gnat.com>
10126 * snames.adb: Autoupdate
10128 2001-12-05 Vincent Celier <celier@gnat.com>
10130 * prj-dect.adb (Parse): Rename parameter Modifying to Extends.
10132 * prj-dect.ads (Parse): Rename parameter Modifying to Extends.
10134 * prj-env.adb: Minor comment changes (modifying -> extends).
10136 * prj-nmsc.adb: Minor comment changes (modifying -> extends).
10138 * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to
10141 * prj.adb (Initialize): Change Modifying to Extends.
10143 * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends.
10145 * prj.ads: Minor comment change (Modifying -> extending).
10147 * snames.ads: Change modifying to extends.
10149 2001-12-05 Robert Dewar <dewar@gnat.com>
10151 * sem_warn.adb: Remove stuff for conditionals, we are not going to
10154 * sem_warn.ads: Remove stuff for conditionals, we are not going to
10155 do this after all. Add 2001 to copyright notice
10157 2001-12-04 Geert Bosch <bosch@gnat.com>
10159 * einfo.h, sinfo.h, treeprs.ads: Regenerate.
10161 2001-12-04 Robert Dewar <dewar@gnat.com>
10163 * errout.adb (Error_Msg): Ignore attempt to put error msg at junk
10164 location if we already have errors. Stops some cases of cascaded
10167 * errout.adb: Improve comment.
10169 2001-12-04 Robert Dewar <dewar@gnat.com>
10172 (Analyze_Formal_Type_Definition): Defend against Error.
10173 (Analyze_Formal_Subprogram): Defend against Error.
10175 * par-ch12.adb (F_Formal_Type_Declaration): In case of error,
10176 remove following semicolon if present. Removes cascaded error.
10178 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
10181 (Gen_Exception_Table_Ada): Write "begin" and then return if Num
10182 exceptions equals 0.
10183 (Gen_Exception_Table_C): Return if Num exceptions equals 0.
10184 Fixes PIWG E tests (which have to be run with -gnatL).
10186 2001-12-04 Robert Dewar <dewar@gnat.com>
10188 * einfo.ads: Minor reformatting
10190 2001-12-04 Ed Schonberg <schonber@gnat.com>
10192 * einfo.ads: Block_Node points to the identifier of the block, not to
10193 the block node itself, to preserve the link when the block is
10194 rewritten, e.g. within an if-statement with a static condition.
10196 * inline.adb (Cleanup_Scopes): recover block statement from block
10197 entity using new meaning of Block_Node.
10199 * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to
10200 identifier of block node, rather than to node itself.
10202 2001-12-04 Gary Dismukes <dismukes@gnat.com>
10205 (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size.
10206 (Discrimify): Go back to setting the Etypes of the selected component
10207 because the Vname component does not exist at this point and will
10208 fail name resolution. Also set Analyzed.
10209 Remove with and use of Sem_Res.
10211 2001-12-04 Arnaud Charlet <charlet@gnat.com>
10213 * Makefile.in: (HIE_SOURCES): add s-fat*.
10215 2001-12-04 Robert Dewar <dewar@gnat.com>
10218 (Compile_Time_Known_Attribute): New procedure.
10219 (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure
10220 proper range check.
10222 2001-12-04 Ed Schonberg <schonber@gnat.com>
10224 * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before
10225 processing discriminants to diagnose illegal default values.
10227 2001-12-04 Ed Schonberg <schonber@gnat.com>
10229 * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide
10230 access discriminant within a type extension that constrains its
10231 parent discriminants.
10233 2001-12-04 Ed Schonberg <schonber@gnat.com>
10235 * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication
10236 is malformed, use instance of Any_Id to allow analysis to proceed.
10238 * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if
10239 type definition is illegal.
10240 (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is
10243 2001-12-04 Ed Schonberg <schonber@gnat.com>
10245 * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to
10248 2001-12-04 Robert Dewar <dewar@gnat.com>
10250 * errout.adb: Minor reformatting
10252 2001-12-04 Robert Dewar <dewar@gnat.com>
10254 * exp_util.adb: Minor reformatting from last change
10256 * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node
10257 which is a rewriting of an expression, traverse the original
10258 expression to remove warnings that may have been posted on it.
10260 2001-12-04 Ed Schonberg <schonber@gnat.com>
10262 * exp_util.adb (Must_Be_Aligned): Return false for a component of a
10263 record that has other packed components.
10265 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
10267 * adaint.c: Minor cleanups.
10269 2001-12-04 Douglass B. Rupp <rupp@gnat.com>
10271 * adaint.c: Do not use utime.h on vxworks.
10273 2001-12-04 Arnaud Charlet <charlet@gnat.com>
10275 * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes
10276 more confusion than it solves.
10278 2001-12-04 Geert bosch <bosch@gnat.com>
10280 * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate.
10282 2001-12-04 Geert Bosch <bosch@gnat.com>
10284 * Makefile.in (update-sources): New target.
10285 For use by gcc_release script.
10287 2001-12-04 Ed Schonberg <schonber@gnat.com>
10289 * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as
10290 a configuration pragma, it is now legal wherever a pragma can appear.
10292 2001-12-04 Zack Weinberg <zack@codesourcery.com>
10294 * Makefile.in: Don't set ALL. Delete @cross_defines@,
10295 @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS
10296 is now @CROSS@ -DIN_GCC; update comment.
10298 2001-12-04 Robert Dewar <dewar@gnat.com>
10300 * einfo.adb (Has_Pragma_Pure_Function): New flag.
10301 Fix problem that stopped ceinfo from working
10303 * einfo.ads (Has_Pragma_Pure_Function): New flag.
10305 * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function.
10307 2001-12-04 Douglas B. Rupp <rupp@gnat.com>
10310 (File_Time_Stamp): New procedure.
10311 (Preserve_Mode): New boolean.
10312 (Write_Unit): Pass time stamp.
10313 Implement -p switch (preserve time stamps).
10315 * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE).
10317 * gnatchop.adb: Do usage info for -p switch
10319 * adaint.h (__gnat_set_file_time_name): New function
10321 * adaint.c (__gnat_set_file_time_name): Implement
10323 * adaint.h: Fix typo
10325 2001-12-03 Robert Dewar <dewar@gnat.com>
10327 * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
10328 have Associated_Node.
10330 2001-12-03 Robert Dewar <dewar@gnat.com>
10332 * prj-proc.adb: Minor reformatting
10334 * make.adb: Minor reformatting
10336 2001-12-03 Geert Bosch <bosch@gnat.com>
10338 * make.adb: Minor reformatting.
10340 2001-12-03 Robert Dewar <dewar@gnat.com>
10342 * sem_ch12.adb: Minor reformatting
10344 2001-12-03 Ed Schonberg <schonber@gnat.com>
10346 * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
10347 push Standard on the stack before analyzing the instance body,
10348 in order to have a clean visibility environment.
10350 * sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
10352 2001-12-03 Ed Schonberg <schonber@gnat.com>
10354 * sem_ch12.adb (Instantiate_Package_Body): Protect against double
10355 instantiation of a body that contains an inlined body.
10357 2001-12-03 Ed Schonberg <schonber@gnat.com>
10360 (Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
10361 to prevent freezing within formal packages.
10362 (Freeze_Subprogram_Body): If body comes from another instance that
10363 appeared before its own body, place freeze node at end of current
10364 declarative part, to prevent a back-end crash.
10365 (Inline_Instance_Body): Handle properly a package instance within
10366 a subprogram instance that is a child unit.
10368 2001-12-01 Graham Stott <grahams@redhat.com>
10370 * Makefile.in (misc.o): Add missing $(srcdir) prefix
10371 and add optabs.h dependency.
10373 * misc.c: Include optabs.h
10374 (gnat_tree_code_type): Make static and const.
10375 (gnat_tree_code_length): Likewise.
10376 (gnat_tree_code_name): Likewise.
10377 (update_setjmp_buf): Obtain operands mode from insn_data.
10379 2001-11-29 Richard Henderson <rth@redhat.com>
10381 * init.c: Remove obsolete dwarf2 frame.h section.
10383 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
10385 * Make-lang.in (ada.generated-manpages): New dummy target.
10387 2001-11-29 Ed Schonberg <schonber@gnat.com>
10389 * g-os_lib.adb (Add_To_Command): use explicit loop to move string
10390 into Command, an array conversion is illegal here. Uncovered by
10393 2001/11/28 Geert Bosch <bosch@gnat.com>
10395 * init.c: Minor whitespace changes.
10397 2001-11-28 Doug Rupp <rupp@gnat.com>
10399 * init.c: (__gnat_install_handler,VMS): Increase size of alternate
10402 2001-11-28 Zack Weinberg <zack@codesourcery.com>
10404 * misc.c (gnat_expand_constant): Move declaration above
10405 definition of lang_hooks.
10406 (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
10407 (gnat_init): lang_expand_constant no longer exists.
10409 (internal_error_function): Remove #ifdef HAVE_VPRINTF. We
10410 always have vprintf.
10411 (gnat_init): Always call set_internal_error_function.
10413 2001-11-27 Andreas Jaeger <aj@suse.de>
10415 * Makefile.in (stamp-tool_src_dir): Use symbolic link.
10417 2001-11-27 Laurent Guerby <guerby@acm.org>
10419 * Makefile.in: Regenerate Ada dependencies.
10421 2001-11-26 Richard Henderson <rth@redhat.com>
10423 * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
10424 gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
10425 gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.
10427 2001-11-25 Laurent Guerby <guerby@acm.org>
10429 * sysdep.c (rts_get_*): Fix style.
10431 2001-11-19 Laurent Guerby <guerby@acm.org>
10433 * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
10434 since it is of no apparent use and cause warnings.
10436 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
10438 * misc.c (gnat_decode_option, gnat_init_options): Make definitions
10440 (gnat_init): Don't return NULL.
10441 (finish_parse): Remove.
10443 2001-11-17 Laurent Guerby <guerby@acm.org>
10445 * Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
10446 * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
10447 * io-aux.c: Provide K&R prototypes to all functions, reformat code.
10448 * lang-spec.h: Add missing struct field to silence warnings.
10449 * sysdep.c (rts_get_*): Provide K&R prototype.
10450 * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
10451 * traceback.c (Unlock_Task, Lock_Task): Likewise.
10452 * tracebak.c (__gnat_backtrace): Remove unused variable.
10453 * utils.c (end_subprog_body): Move to K&R style.
10455 Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10457 * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference.
10459 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
10461 * misc.c (gnat_init): Change prototype. Include the
10462 functionality of the old init_parse and init_decl_processing.
10463 (gnat_init_decl_processing): New prototype.
10464 (init_parse): Remove.
10465 * utils.c (init_decl_processing): Rename gnat_init_decl_processing.
10467 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
10469 * misc.c (gnat_print_decl, gnat_print_type): Renamed.
10470 (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
10471 (print_lang_statistics, lang_print_xnode, print_lang_identifier,
10472 set_yydebug): Remove.
10474 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk>
10476 * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
10477 (struct lang_hooks): Constify.
10478 (language_string, lang_identify): Remove.
10479 * utils.c (init_decl_processing): Update.
10481 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk>
10483 * misc.c: Include langhooks-def.h.
10484 * Makefile.in: Update.
10486 2001-10-30 Robert Dewar <dewar@gnat.com>
10489 (Check_Identifier): Rewrite circuit to be compatible with use of letters
10490 in the upper half of ASCII.
10491 (Check_Identifier): Minor reformatting
10493 2001-10-30 Geert Bosch <bosch@gnat.com>
10495 * (Associated_Node, Set_Associated_Node): Do not check for
10498 2001-10-30 Robert Dewar <dewar@gnat.com>
10500 * a-reatim.ads: Minor reformatting
10502 2001-10-30 Robert Dewar <dewar@gnat.com>
10504 * gnatdll.adb: Minor reformatting throughout. Many ??? added for
10505 undocumented declarations.
10507 2001-10-30 Pascal Obry <obry@gnat.com>
10509 * gnatdll.adb (Parse_Command_Line): handle -g option to be passed
10510 to the binder and linker.
10513 * mdll.ads: Fix layout. Update copyright notice.
10515 * mdll.adb: Fix layout. Update copyright notice.
10517 2001-10-30 Robert Dewar <dewar@gnat.com>
10519 * usage.adb: Minor fix to output for -gnaty.
10521 2001-10-30 Ed Schonberg <schonber@gnat.com>
10523 * a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
10524 to accommodate all its possible values.
10526 * a-reatim.adb (Split): Special-case handling of Time_Span_First
10527 and of small absolute values of T.
10529 2001-10-30 Richard Kenner <kenner@gnat.com>
10531 * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
10532 set_mem_attributes since not needed and wrong if RESULT if a REG;
10533 fixes ACATS failures.
10535 2001-10-30 Geert Bosch <bosch@gnat.com>
10537 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
10538 s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
10540 2001-10-30 Robert Dewar <dewar@gnat.com>
10542 * bindusg.adb: Undocument -f switch.
10544 * gnatcmd.adb: Remove /FULL_ELABORATION.
10546 * opt.ads (Force_RM_Elaboration_Order): Document that this is
10549 * gnatbind.adb: Output new warning for use of obsolescent -f switch.
10551 * gnatbind.adb: Minor update of warning msg.
10553 2001-10-30 Vincent Celier <celier@gnat.com>
10555 * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
10556 for project file switches (-P (/PROJECT_FILE=),
10557 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
10560 2001-10-30 Geert Bosch <bosch@gnat.com>
10562 * decl.c: Minor whitespace fixes.
10564 2001-10-30 Richard Kenner <kenner@gnat.com>
10566 * utils2.c (build_allocator): Test for SIZE overflow in array case too
10568 2001-10-30 Geert Bosch <bosch@gnat.com>
10570 * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
10571 Found due to GCC 3.0 warning of using uninitialized value.
10574 (Get_Max_Size): Use variant record for tracking value/expression.
10575 Makes logic clearer and prevents warnings for uninitialized variables.
10576 (Layout_Array_Type): Use variant record for tracking value/expression.
10577 Makes logic clearer and prevents warnings for uninitialized variables.
10579 2001-10-30 Robert Dewar <dewar@gnat.com>
10581 * lib.adb: Minor reformatting
10583 * s-taprop.ads: Minor reformatting
10585 2001-10-29 Laurent Guerby <guerby@acm.org>
10588 (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
10590 (_gnat_error_handler): Make MSG const.
10592 2001-10-29 Richard Kenner <kenner@gnat.com>
10594 * sysdep.c: Fix localtime_r problem on LynxOS.
10595 Also remove #elif to avoid warnings.
10597 * misc.c (yyparse): Don't set up and register jmpbuf; remove decls
10600 * decl.c (annotate_value): Make SIZE unsigned to avoid warning.
10602 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
10604 * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
10605 exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
10606 g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
10607 g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
10608 layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
10609 s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
10610 sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
10611 sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
10612 sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
10613 types.ads, urealp.adb: Fix spelling errors.
10615 2001-10-27 Laurent Guerby <guerby@acm.org>
10617 * trans.c (gigi): Fix non determinism leading to bootstrap
10618 comparison failures for debugging information.
10620 2001-10-26 Florian Weimer <fw@deneb.enyo.de>
10622 * gnat_rm.texi: Use @./@: where appropriate.
10624 2001-10-26 Robert Dewar <dewar@gnat.com>
10626 * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
10628 2001-10-26 Richard Kenner <kenner@gnat.com>
10630 * gmem.c (__gnat_gmem_read_next): Properly check for EOF
10632 2001-10-26 Richard Kenner <kenner@gnat.com>
10634 * decl.c (validate_size): Modify message for bad size to avoid
10635 implication that compiler is modifying the size.
10637 2001-10-26 Robert Dewar <dewar@gnat.com>
10639 * prj-util.adb: Minor reformatting. Fix bad header format.
10641 2001-10-26 Robert Dewar <dewar@gnat.com>
10643 * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
10645 * sinfo.ads: Clarify use of Associated_Node (documentation only).
10647 * sem_ch12.adb: Change Node4 to Associated_Node. Change
10648 Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
10649 much more narrowly in places where needed. These are cleanups.
10651 2001-10-26 Joel Brobecker <brobecke@gnat.com>
10653 * 5zosinte.ads (null_pthread): new constant.
10656 (Initialize_TCB): Initialize thread ID to null, to be able to verify
10657 later that this field has been set.
10658 (Finalize_TCB): ditto.
10659 (Suspend_Task): Verify that the thread ID is not null before using it.
10660 (Resume_Task): ditto.
10663 (Resume_All_Tasks): Lock the tasks list before using it.
10664 (Suspend_All_Tasks): ditto.
10666 2001-10-26 Richard Kenner <kenner@gnat.com>
10668 * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
10669 Make constant variant of designated type for Is_Access_Constant.
10670 Call update_pointer_to with main variant.
10672 * trans.c (process_freeze_entity, process_type):
10673 Call update_pointer_to on main variant.
10675 * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
10676 If main variant, update all other variants.
10678 * utils2.c (build_unary_op, case INDIRECT_REF): No longer set
10681 2001-10-26 Robert Dewar <dewar@gnat.com>
10683 * prj-util.adb: Minor reformatting
10685 2001-10-26 Robert Dewar <dewar@gnat.com>
10687 * prj-util.adb: Minor reformatting
10689 2001-10-26 Robert Dewar <dewar@gnat.com>
10691 * prj-attr.adb: Minor reformatting throughout
10693 2001-10-26 Robert Dewar <dewar@gnat.com>
10695 * prj-attr.ads: Minor reformatting
10696 Add ??? comment (this whole spec has almost no comments)
10698 2001-10-26 Vincent Celier <celier@gnat.com>
10700 * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
10701 ("//") that precede the drive letter on Interix.
10703 2001-10-26 Geert Bosch <bosch@gnat.com>
10705 * gnat_rm.texi: Add GNAT Reference Manual.
10707 2001-10-25 Robert Dewar <dewar@gnat.com>
10709 * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
10710 is Error. Similar change for other renaming cases.
10712 2001-10-25 Robert Dewar <dewar@gnat.com>
10714 * s-atacco.ads: Add pragma Inline_Always for functions.
10715 Fix header format. Add copyright 2001
10717 2001-10-25 Ed Schonberg <schonber@gnat.com>
10719 * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
10720 return Error rather than Empty so that analysis can proceed.
10722 2001-10-25 Ed Schonberg <schonber@gnat.com>
10724 * sem_util.adb (Enter_Name): better handling of cascaded error
10725 messages when a unit appears in its own context.
10727 2001-10-25 Ed Schonberg <schonber@gnat.com>
10729 * sem_util.adb (Defining_Entity): in case of error, attach created
10730 entity to specification, so that semantic analysis can proceed.
10732 2001-10-25 Robert Dewar <dewar@gnat.com>
10735 (Defining_Entity): Deal with Error.
10736 (Process_End_Label): Deal with bad end label for.
10738 2001-10-25 Ed Schonberg <schonber@gnat.com>
10740 * sem_elab.adb (Check_A_Call): refine message when call is in an
10741 instance but callee is not declared in the generic unit.
10743 2001-10-25 Ed Schonberg <schonber@gnat.com>
10745 * sem_elab.adb (Check_A_Call): check for renaming before finding the
10746 enclosing unit, which may already be different from the calling unit.
10748 2001-10-25 Geert Bosch <bosch@gnat.com>
10750 * 4gintnam.ads: fix header format.
10752 2001-10-25 Ed Schonberg <schonber@gnat.com>
10754 * sem_res.adb (Resolve_Call): if the call is actually an indexing
10755 operation on the result of a parameterless call, perform elaboration
10756 check after the node has been properly rewritten.
10758 * sem_ch12.adb (Copy_Generic_Node): after the proper body has been
10759 inlined within the generic tree, the defining identifier is not a
10762 2001-10-25 Ed Schonberg <schonber@gnat.com>
10764 * sem_res.adb (Resolve): special-case resolution of Null in an
10765 instance or an inlined body to avoid view conflicts.
10767 * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
10768 compatibility by retrieving the access type of the generic copy.
10770 2001-10-25 Robert Dewar <dewar@gnat.com>
10773 (Analyze_Number_Declaration): Handle error expression.
10774 (Signed_Integer_Type_Declaration): Handle error bound.
10775 (Analyze_Subtype_Indication): Handle error range.
10777 * sem_util.adb (Get_Index_Bounds): Check for Error.
10779 2001-10-25 Robert Dewar <dewar@gnat.com>
10781 * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
10782 in no run time mode.
10784 2001-10-25 Pascal Obry <obry@gnat.com>
10786 * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
10787 mode case for ALLOC case.
10789 * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
10790 all platforms. Improvement of last change.
10792 2001-10-25 Robert Dewar <dewar@gnat.com>
10794 * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
10796 2001-10-25 Geert Bosch <bosch@gnat.com>
10798 * osint.adb (Is_Relative): Remove duplicate.
10800 2001-10-25 Pascal Obry <obry@gnat.com>
10802 * osint.adb (Read_Default_Search_Dirs): correctly detect relative
10803 pathnames in UNIX and DOS style with drive letter.
10804 (Is_Relative): new routine.
10806 * osint.adb: Minor reformatting
10808 * osint.adb (Is_Relative): implementation using
10809 GNAT.OS_Lib.Is_Absolute_Path. Better fix.
10811 2001-10-25 Pascal Obry <obry@gnat.com>
10813 * g-dirope.adb (Basename): correctly compute offset between the
10814 original Path and the translated one.
10816 * g-dirope.adb: (Base_Name): add some comments.
10818 2001-10-25 Robert Dewar <dewar@gnat.com>
10820 * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
10821 in HIE mode, avoids compilation abandoned message
10823 * exp_imgv.adb: Correct typo in previous change
10825 * exp_imgv.adb: Correct typo in previous change (not my day!)
10827 2001-10-25 Robert Dewar <dewar@gnat.com>
10829 * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
10831 2001-10-25 Pascal Obry <obry@gnat.com>
10833 * g-awk.ads: Move all pragma inlines next to the routine
10834 declarations. This is more uniform with other GNAT spec.
10836 2001-10-22 Geert Bosch <bosch@gnat.com>
10838 * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem.
10840 2001-10-19 Geert Bosch <bosch@gnat.com>
10842 * Makefile.in (tools, gnattools): Remove gnatmem.
10844 2001-10-17 Richard Henderson <rth@redhat.com>
10846 * Makefile.in (misc.o): Depend on langhooks.h.
10847 * misc.c: Include it.
10848 (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
10849 (LANG_HOOKS_DECODE_OPTION): New.
10850 (lang_hooks): Use LANG_HOOKS_INITIALIZER.
10852 2001-10-16 Florian Weimer <fw@deneb.enyo.de>
10854 * trans.c (tree_transform): Adjust to recent change in
10855 expand_asm_operands to implement named asm operands.
10857 2001-10-11 Ed Schonberg <schonber@gnat.com>
10859 * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
10860 renaming of discriminant for mutable record type.
10862 2001-10-11 Robert Dewar <dewar@gnat.com>
10864 * validsw.adb: Properly save -gnatVn status.
10866 2001-10-11 Robert Dewar <dewar@gnat.com>
10868 * usage.adb: Add lines for V switch.
10870 * gnatcmd.adb (COMPILE): Revise translations for -gnatV
10871 (/VALIDITY_CHECKING).
10873 2001-10-11 Ed Schonberg <schonber@gnat.com>
10875 * sem_type.adb (Add_One_Interp): an operator for a type declared in
10876 an extension of System is known to be visible.
10878 2001-10-11 Ed Schonberg <schonber@gnat.com>
10880 * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal
10881 properly. Fixes regression on ACATS C34005G.
10883 2001-10-11 Robert Dewar <dewar@gnat.com>
10885 * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null
10886 loop in generic instance, since this is likely not very useful.
10888 2001-10-11 Robert Dewar <dewar@gnat.com>
10890 * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize
10891 the error message for high integrity mode.
10893 * rtsfind.adb (RTE): Give message if we try to find an entity that
10894 is not available in high integrity mode.
10897 (OK_To_Use_In_HIE_Mode): New array.
10898 (RTE): May return Empty in high integrity mode.
10900 * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for
10901 OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx.
10903 * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined
10904 unit if not inlined always and in no runtime mode. Fixes problem
10905 caused by new Rtsfind changes.
10907 * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if
10910 * rtsfind.adb (RTE): Make sure we do not try to load unit after
10911 giving message for entity not available in high integrity mode.
10913 2001-10-11 Pascal Obry <obry@gnat.com>
10915 * impunit.adb: Add GNAT.CRC32.
10917 2001-10-11 Ed Schonberg <schonber@gnat.com>
10919 * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle
10920 properly the case where one universal operand in a non-static
10921 exponentiation of a real literal.
10923 2001-10-11 Ed Schonberg <schonber@gnat.com>
10925 * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type
10926 clause, return the gobal finalization list, for lack of anthing else.
10928 2001-10-11 Ed Schonberg <schonber@gnat.com>
10930 * exp_ch7.adb (Make_Transient_Block): if statement is within
10931 exception handler, always use new transient scope to place Clean
10934 2001-10-11 Pascal Obry <obry@gnat.com>
10937 (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o
10938 (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o
10939 (GNATLS_RTL_OBJS): add g-crc32.o
10940 (GNATMAKE_RTL_OBJS): add g-crc32.o
10943 (CRC_Match): new function.
10944 (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit
10945 instead of the previous simple checksum algorithm.
10946 (Time_Stamp_Mismatch): use CRC_Match for comparison.
10947 (Set_Source_Table): idem.
10950 (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC
10951 instead of simple checksum.
10952 (CRC_Match): new function.
10953 (CRC_Error): new constant.
10955 * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling
10956 a CRC now and not a simple checksum. A CRC uses lower-case hex
10957 letters, fixes ambiguity in parsing.
10959 * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this
10960 is what this variable will store.
10962 * bcheck.adb: Change reference to chechsum in comments by CRC.
10963 (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC.
10964 rename All_Checksum_Match to All_CRC_Match. Change due to API
10965 renaming since now GNAT does not use a simple checksum but a
10966 CRC using GNAT.CRC32.
10968 * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC
10969 now and not anymore a simple checksum.
10971 * lib-load.adb: Use Source_CRC instead of Source_Checksum in many
10974 * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum.
10977 (Restore_Scan_State): rename Checksum to CRC.
10978 (Save_Scan_State): idem.
10982 (Checksum): rename to CRC.
10983 (Saved_Scan_State): Save_Checksum field renamed to Save_CRC
10985 * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from
10986 GNAT.CRC32). Update copyright notice.
10988 * scn-slit.adb: Rename many Accumulate_Checksum to Update (from
10989 GNAT.CRC32). Update copyright notice.
10992 (Accumulate_Checksum): removed.
10993 (Update): new procedure. Add a wide-character into the CRC.
10996 (Complete_Source_File_Entry): use CRC32 instead of simple checksum.
10997 (Load_File): fix initialization of S (change Source_Checksum to
11000 * sinput-p.adb (Load_Project_File): rename Source_Checksum to
11001 Source_CRC in S initialization.
11003 * sinput.adb (Source_Checksum): renamed to Source_CRC.
11005 * sinput.ads (Source_Checksum): renamed to Source_CRC.
11006 Update comments for the CRC.
11008 * types.adb (Hex): Use lowercase for the letter part.
11010 * types.ads (Get_Hex_String): Returns the hexadecimal representation
11011 for a word. This is currently used only for CRC. In previous version,
11012 the checksum was using a representation with all letter being
11013 upper-case. With the new implementation (using CRC) we do not remove
11014 the 32th bit of the CRC, so we can have an upper-case starting letter
11015 in the CRC. This is not possible to parse in Scan_ALI (ali.adb).
11016 It is ambigous since the CRC was optional and could be followed by
11017 options like EB, EE. So now this routines uses lower-case letter for
11018 the hexadecimal representation. Strange enough only lower case letters
11019 where checked in Scan_ALI (even if this was not a possible case).
11021 * gnatvsn.ads (Library_Version): changed to 3.15a.
11023 * s-crc32.ads: Initial version from GNAT.CRC32. This is the version
11026 * s-crc32.adb: Initial version from GNAT.CRC32. This is the version
11029 * ali-util.adb: Redo previous change to avoid using word CRC everywhere
11030 Add 2001 to copyright notice
11031 (Accumulate_Checksum): Modify to use System.CRC32.
11033 * ali-util.ads: Redo changes of previous revision to continue to use
11034 the word Checksum. Add 2001 to copyright notice.
11036 * ali.adb: Undo some of previous changes, not needed.
11037 Keep the change for lower case letters in the checksum.
11039 * ali.ads: Undo previous change not needed.
11041 * bcheck.adb: Undo most of previous change, not needed.
11042 But do use Checksums_Match for checksum comparison.
11044 * gnatls.adb: Undo most of previous change, not needed.
11045 But do use Checksums_Match for comparing checksums.
11047 * lib-load.adb: Undo previous change, not needed.
11049 * lib-writ.adb: Undo previous change, not needed.
11051 * lib-writ.ads: Document that checksums use lower case,
11052 not upper case letters.
11054 * scans.adb: Undo previous change, not needed
11056 * scans.ads: Undo previous change, not needed.
11058 * scn-nlit.adb: Undo previous changes, not needed.
11060 * scn-slit.adb: Undo previous change, not needed. Fix header format.
11063 (Accumulate_Checksum): Use System.CRC32.
11064 (Initialize_Checksum): New procedure.
11065 Remove other changes of previous revision.
11067 * sinput-p.adb: Undo previous change, not needed.
11069 * sinput.adb: Undo previous change, not needed.
11071 * sinput-l.adb: Undo previous change, not needed.
11073 * sinput.ads: Undo previous change, not needed. Keep only comment
11074 on new checksum algorithm
11076 * Makefile.in: Add s-crc32 as needed, remove g-crc32.
11077 Also remove a-tags and a-stream from GNAT sources.
11079 * ali.adb (Scan_ALI): fix typo introduce in latest check-in.
11081 * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o.
11083 2001-10-11 Geert Bosch <bosch@gnat.com>
11085 * einfo.h: Regenerate.
11087 * nmake.ads: Regenerate.
11089 * nmake.adb: Regenerate.
11091 * sinfo.h: Regenerate.
11093 * treeprs.adb: Regenerate.
11095 2001-10-10 Geert Bosch <bosch@gnat.com>
11097 * gnat-style.texi: New file describing coding guidelines for Ada.
11099 2001-10-10 Ed Schonberg <schonber@gnat.com>
11101 * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required
11104 2001-10-10 Geert Bosch <bosch@gnat.com>
11106 * snames.ads: Add new names for project facility.
11108 * snames.adb: Update to reflect snames.ads changes.
11110 * snames.h: Update to reflect snames.ads changes.
11112 2001-10-10 Vincent Celier <celier@gnat.com>
11115 (Add_Switches): reflect the changes for the switches attributes
11116 Default_Switches indexed by the programming language,
11117 Switches indexed by the file name.
11118 (Collect_Arguments_And_Compile): Idem.
11119 Reflect the attribute name changes.
11122 (Initialisation_Data): Change the names of some packages and
11124 (Initialize): process case insensitive associative arrays.
11127 (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array.
11130 (Parse_Attribute_Declaration): For case insensitive associative
11131 arrays, set the index string to lower case.
11134 Reflect the changes of the project attributes.
11137 Replace Check_Naming_Scheme by Ada_Check and
11138 Language_Independent_Check.
11141 Replaced Check_Naming_Scheme by 2 procedures:
11142 Ada_Check and Language_Independent_Check.
11145 (Process_Declarative_Items): For case-insensitive associative
11146 arrays, set the index string to lower case.
11147 (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of
11148 Prj.Nmsc.Check_Naming_Scheme.
11151 (Case_Insensitive): New function
11152 (Set_Case_Insensitive): New procedure
11155 (Case_Insensitive): New function
11156 (Set_Case_Insensitive): New procedure
11157 (Project_Node_Record): New flag Case_Insensitive.
11160 (Value_Of): new function to get the string value of a single
11161 string variable or attribute.
11164 (Value_Of): new function to get the string value of a single
11165 string variable or attribute.
11168 (Ada_Default_Spec_Suffix): New function
11169 (Ada_Default_Impl_Suffix): New function
11170 Change definitions of several constants to reflect
11171 new components of record types.
11174 (Naming_Data): Change several components to reflect new
11175 elements of naming schemes.
11176 (Project_Data): New flags Sources_Present and
11177 Language_Independent_Checked.
11178 (Ada_Default_Spec_Suffix): New function.
11179 (Ada_Default_Impl_Suffix): New function.
11182 Modification of predefined names for project manager: added
11183 Implementation, Specification_Exceptions, Implementation_Exceptions,
11184 Specification_Suffix, Implementation_Suffix, Separate_Suffix,
11185 Default_Switches, _Languages, Builder, Cross_Reference,
11186 Finder. Removed Body_Part, Specification_Append, Body_Append,
11187 Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind,
11190 * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix):
11193 * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted,
11194 not that it is Nil_Variable_Value.
11196 * prj.ads: Add ??? for uncommented declarations
11198 2001-10-10 Ed Schonberg <schonber@gnat.com>
11200 * sem_prag.adb: (Analyze_Pragma, case External): If entity is a
11201 constant, do not indicate possible modification, so that gigi can
11202 treat it as a bona fide constant.
11204 2001-10-10 Robert Dewar <dewar@gnat.com>
11206 * sem_prag.adb: Add processing for pragma External.
11208 * snames.ads: Add entry for pragma External.
11210 * par-prag.adb: Add pragma External.
11212 * snames.adb: Updated to match snames.ads.
11214 2001-10-10 Ed Schonberg <schonber@gnat.com>
11216 * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for
11217 a dynamic task if the allocator appears in an indexed assignment
11218 or selected component assignment.
11220 * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image):
11221 For a dynamic task in an assignment statement, use target of
11222 assignment to generate meaningful name.
11224 2001-10-10 Ed Schonberg <schonber@gnat.com>
11226 * einfo.adb (Write_Field19_Name): Body_Entity is also defined for
11229 * einfo.ads: Body_Entity is also defined for generic package.
11230 Documentation change only
11232 * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
11233 others_choice for a discriminated component initialization,
11234 convert discriminant references into the corresponding discriminals.
11236 * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
11237 only if original type is private and expression has to be wrapped
11241 (Apply_Constraint_Check): Do not perform length check
11242 if expression is an aggregate with only an others_choice.
11243 (Length_N_Cond): two references to the same in_parameter
11244 (typically the discriminal in an init_proc) denote the same value.
11245 Two useful optimization uncovered by bugfixes above.
11247 2001-10-10 Robert Dewar <dewar@gnat.com>
11249 * xeinfo.adb: Change int to char in translation of enumeration types.
11250 This fixes a problem in the C representation of component alignment.
11251 Add 2001 to copyright notice
11253 2001-10-10 Richard Kenner <kenner@gnat.com>
11255 * decl.c: (validate_size): Do check size of object of integral type
11256 if it is a packed array type.
11258 2001-10-10 Richard Kenner <kenner@gnat.com>
11260 * decl.c: (gnat_to_gnu_entity, case object): Also materialize
11261 VAR_DECL for constant if not Is_Public but -O0.
11263 2001-10-10 Richard Kenner <kenner@gnat.com>
11265 * misc.c (struct lang_hooks): Add new initializer to match GCC change.
11267 2001-10-10 Geert Bosch <bosch@gnat.com>
11269 * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer
11270 use '/' as switch character, allowing for absolute file names.
11272 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk>
11274 * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update
11277 2001-10-08 Geert Bosch <bosch@gnat.com>
11279 * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
11280 Automatically build utilities when files need to be regenerated.
11282 2001-10-08 Geert Bosch <bosch@gnat.com>
11284 * xsnames.adb: New utility for updating snames.ads and snames.adb
11286 2001-10-08 Zack Weinberg <zack@codesourcery.com>
11288 * Make-lang.in (ADAFLAGS): Add -W -Wall.
11289 (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also.
11290 (gnat1): Also depend on attribs.o.
11291 (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make.
11292 * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New.
11293 (ADAC): Set to @ADAC@ in stage1, $(CC) later.
11294 (ADAFLAGS): Add -W -Wall.
11295 (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS;
11298 (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o,
11299 s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o,
11300 s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o):
11301 Use $(ADAC), not $(CC), as compilation command.
11303 (gnattools): Depend directly on tools to build, don't use
11305 (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make.
11307 * einfo.h, sinfo.h: New files (autogenerated).
11309 2001-10-08 Richard Henderson <rth@redhat.com>
11311 * comperr.adb (Abort_In_Progress): New.
11312 (Compiler_Abort): Use it to prevent recursion.
11314 2001-10-08 Robert Dewar <dewar@gnat.com>
11316 * atree.adb: Set Error_Posted in Error node, helps error recovery.
11318 * par-endh.adb (Output_End_Expected): We should also not test
11319 Error_Posted on the Error node, since now it is always set.
11321 * cstand.adb (Create_Standard): Set Etype of Error to Any_Type
11322 to help error recovery. Part of general work on 9407-004.
11324 * par.adb: Add ??? for misuse of error
11327 (Resolve): Defend against Error, fixes 9407-003.
11328 (Resolve_Discrete_Subtype_Indication): Defend against Error.
11330 * sinfo.ads (N_Error): Now has Etype field (which will be set
11331 to Any_Type to help error recovery).
11333 2001-10-08 Richard Kenner (kenner@gnat.com)
11335 * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR):
11336 Consistently set MEM attributes from expression; fixes
11337 bootstrap failure on x86.
11339 2001-10-08 Geert Bosch (bosch@gnat.com)
11341 * 5oosinte.adb: Add 2001 to copyright notice.
11343 2001-10-08 Geert Bosch (bosch@gnat.com)
11345 * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs].
11347 * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs].
11349 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
11351 * 5oosinte.adb: Fix spelling error of "separate" as "seperate".
11353 2001-10-05 Geert Bosch (bosch@gnat.com)
11355 * adaint.h: Small formatting fix.
11357 2001-10-04 Geert Bosch <bosch@gnat.com>
11359 * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
11360 Arg is int, not FILE *, in dummy version of functions.
11362 * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
11363 Arg is int, not FILE *.
11365 2001-10-04 Geert Bosch <bosch@gnat.com>
11367 * 3lsoccon.ads: Added file, missed with initial check ins.
11369 * 4lintnam.ads: Fix header format.
11370 Change Linux to GNU/Linux.
11372 * 5iosinte.adb: Change Linux to GNU/Linux.
11374 * 5iosinte.ads: Change Linux to GNU/Linux.
11376 * 5itaprop.adb: Change Linux to GNU/Linux.
11378 * 5itaspri.ads: Change Linux to GNU/Linux.
11379 Update copyright notice.
11381 * 5lintman.adb: Change Linux to GNU/Linux.
11383 * 5lml-tgt.adb: Change Linux to GNU/Linux.
11385 * 5losinte.ads: Change Linux to GNU/Linux.
11387 * 5lsystem.ads: Change Linux to GNU/Linux.
11389 * 5qosinte.adb: Change Linux to GNU/Linux.
11391 * 5qosinte.ads: Change Linux to GNU/Linux.
11393 * 5qparame.ads: Change Linux to GNU/Linux.
11395 * 5qtaprop.adb: Change Linux to GNU/Linux.
11397 * 5qtaspri.ads: Change Linux to GNU/Linux.
11398 Add 2001 to copyright notice.
11400 * 5vintman.ads: Change Linux to GNU/Linux.
11401 Fix header format. Add 2001 to copyright notice.
11403 * g-soccon.ads: Change Linux to GNU/Linux.
11405 * g-trasym.ads: Change Linux to GNU/Linux.
11406 Add 2001 to copyright notice.
11408 * memtrack.adb: Change Linux to GNU/Linux.
11410 * s-intman.ads: Change Linux to GNU/Linux.
11411 Add 2001 to copyright notice. Fix header format.
11413 * s-stache.adb: Change Linux to GNU/Linux.
11415 * adaint.c: Change Linux to GNU/Linux.
11417 * cio.c: Change Linux to GNU/Linux.
11419 * cstreams.c: Change Linux to GNU/Linux.
11421 * init.c: Change Linux to GNU/Linux.
11423 * gmem.c: Change Linux to GNU/Linux.
11425 * tracebak.c: Change Linux to GNU/Linux.
11428 2001-10-02 Geert Bosch <bosch@gnat.com>
11430 * misc.c (insert_default_attributes): Add dummy version.