1 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
3 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>
4 For packed array types, make the original array type a parallel type
5 for the modular type and its JM wrapper if the type is bit-packed.
6 <E_Array_Subtype>: Likewise. Do not generate the special XA parallel
7 record type for packed array types. Remove kludge.
9 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
11 * gcc-interface/gigi.h (create_index_type): Adjust head comment.
12 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
13 Use front-end predicates to compute signedness and precision.
14 <E_String_Literal_Subtype>: Fold range type.
15 Make sure to set longest_float_type_node to a scalar type.
16 (elaborate_entity): Use consistent Constraint_Error spelling.
17 (substitute_in_type) <INTEGER_TYPE>: Always copy the type.
18 * gcc-interface/misc.c (gnat_print_type) <INTEGER_TYPE>: Use brief
19 output for the modulus, if any.
20 <ENUMERAL_TYPE>: Likewise for the RM size.
21 * gcc-interface/trans.c (gnat_to_gnu): Use consistent Constraint_Error
23 * gcc-interface/utils.c (finish_record_type): Really test the alignment
24 of BLKmode bit-fields to compute their addressability.
25 (create_index_type): Adjust comments.
26 (create_param_decl): Create the biased subtype manually.
27 * gcc-interface/utils2.c (build_component_ref): Use consistent
28 Constraint_Error spelling.
30 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
32 * gcc-interface/cuintp.c: Clean up include directives.
33 * gcc-interface/targtyps.c: Likewise.
34 * gcc-interface/decl.c: Likewise.
35 * gcc-interface/misc.c: Likewise.
36 * gcc-interface/trans.c: Likewise.
37 * gcc-interface/utils.c: Likewise.
38 * gcc-interface/utils2.c: Likewise.
39 * gcc-interface/Make-lang.in: Adjust dependencies accordingly.
41 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
43 * gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom.
44 (SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting.
45 (SET_DECL_LANG_SPECIFIC): Likewise.
47 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
48 Update comment about use of build_range_type.
49 <E_Array_Type, E_Array_Subtype>: Use consistent naming convention.
50 <E_Array_Subtype>: Rework comments about TYPE_ACTUAL_BOUNDS and add
51 check for other cases of overloading.
52 * gcc-interface/trans.c (gigi): Use size_int in lieu of build_int_cst.
53 * gcc-interface/utils2.c (build_call_raise): Fix off-by-one error.
54 Use size_int in lieu of build_int_cst.
55 (build_call_alloc_dealloc): Use build_index_2_type in lieu of
58 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
60 * gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's
61 type is an enumeral or a boolean type, change it to an integer type
62 with the same mode and signedness.
64 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
66 * gcc-interface/utils.c (create_var_decl_1): Do not emit debug info
67 for an external constant whose initializer is not absolute.
69 2009-04-22 Taras Glek <tglek@mozilla.com>
71 * gcc-interface/ada-tree.h: Update GTY annotations to new syntax.
72 * gcc-interface/trans.c: Likewise.
73 * gcc-interface/utils.c: Likewise.
75 2009-04-22 Ed Schonberg <schonberg@adacore.com>
77 * sem_res.adb: Create block around procedure call when actual is a
80 2009-04-22 Thomas Quinot <quinot@adacore.com>
82 * s-soflin.ads: Fix typos
84 2009-04-22 Vincent Celier <celier@adacore.com>
86 * prj-env.adb: Minor comment change
88 * prj-nmsc.adb (Check_Common): Add guard to avoid calling
89 Get_Name_String with No_File.
91 * tempdir.adb (Create_Temp_File): Output diagnostic when temp file
92 cannot be created even when not in verbose mode.
94 2009-04-22 Emmanuel Briot <briot@adacore.com>
96 * make.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj.adb,
97 prj.ads (Create_Mapping_File): merge the two versions for Ada_Only and
98 Multi_Language modes, to avoid code duplication.
99 (Project_Data.Include_Language): Removed.
101 2009-04-22 Vincent Celier <celier@adacore.com>
103 * tempdir.adb (Create_Temp_File): Add a diagnostic in verbose mode when
104 the temporary file cannot be created, indicating the directory when the
105 creation was attempted.
107 2009-04-22 Emmanuel Briot <briot@adacore.com>
109 * prj-env.adb, prj-env.ads (Create_Mapping_File): we need to compare
110 the language names, not their indices.
112 2009-04-22 Emmanuel Briot <briot@adacore.com>
114 * prj.ads, prj-nmsc.adb, prj-env.adb, prj-env.ads
115 (Source_Data.Language_Name): Field removed.
117 2009-04-22 Emmanuel Briot <briot@adacore.com>
119 * prj.adb, prj.ads, prj-nmsc.adb (Project_Data.Unit_Based_Language_*):
122 2009-04-22 Emmanuel Briot <briot@adacore.com>
124 * prj-nmsc.adb (Check_Naming_Ada_Only): Properly initialize the
125 separate_suffix to the same value as the body_suffix.
127 2009-04-22 Robert Dewar <dewar@adacore.com>
129 * prj.adb: Minor code reorganization
132 * prj-proc.adb: Minor code reorganization, clean up.
134 * prj-nmsc.adb: Minor reformatting
135 Minor code reorganization
137 * gnat_ugn.texi: Add to doc on strict aliasing
139 2009-04-22 Pascal Obry <obry@adacore.com>
141 * s-osinte-mingw.ads: Rename Reserved field in CRITICAL_SECTION to
144 * s-tasini.adb: Minor reformatting.
146 * s-tassta.adb: Minor reformatting.
148 2009-04-22 Emmanuel Briot <briot@adacore.com>
150 * prj-proc.adb, prj-nmsc.adb (Check_Naming_Schemes): split into several
152 Renamed to Check_File_Naming_Schemes to avoid confusion with the
153 other Check_Naming_Schemes functions that plays a totally different
155 (Check_Unit_Based_Lang, Check_File_Based_Lang): new subprograms,
156 extracted from the above. These were partially rewritten to avoid
157 unnecessary code and temporary variables.
158 (Compute_Unit_Name): new subprogram, merge of Check_Unit_Based_Lang
159 and Get_Unit (which for now still exist since they contain mode-specific
162 2009-04-22 Emmanuel Briot <briot@adacore.com>
164 * prj.ads, prj.adb, prj-nmsc.adb, prj-proc.adb (Recursive_Process):
165 Remove duplicated code.
166 (Canonical_Case_File_Name): new subprogram
167 (Check_And_Normalize_Unit_Names): new subprogram
168 (Write_Attr): new subprogram
169 Better sharing of code
170 (Check_Naming_Ada_Only, Check_Naming_Multi_Lang): new subprogram, to
171 split Check_Naming and help find duplicated code
172 (Check_Common): new subprogram, sharing code between ada_only and
174 (Naming_Data.Dot_Repl_Loc): field removed
176 2009-04-22 Emmanuel Briot <briot@adacore.com>
178 * prj-proc.adb, prj-nmsc.adb (Load_Naming_Exceptions): New subprogram.
179 Minor refactoring to reduce the size of
180 Process_Sources_In_Multi_Language_Mode.
181 Avoid extra copied of Source_Data, which we found in the past could be
183 (Mark_Excluded_Sources): new subprogram.
184 (Remove_Locally_Removed_Files_From_Units): merged into the above
185 Refactors Process_Sources_In_Multi_Language_Mode to reduce its size,
186 and allow better sharing of code between multi_lang and ada_only modes
187 (Project_Extends): removed, since exact duplicate of Prj.Is_Extending
189 2009-04-22 Emmanuel Briot <briot@adacore.com>
191 * prj-proc.adb, prj.adb, prj.ads (Project_Data.First_Referred_By):
192 Removed, since unused.
194 2009-04-22 Vincent Celier <celier@adacore.com>
196 * prj-attr.adb: New single project level attribute
197 Separate_Run_Path_Options.
199 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process
200 attribute Seperate_Run_Path_Options.
202 * prj.ads: (Project_Configuration): New Boolean component
203 Separate_Run_Path_Options, defaulted to False.
205 * snames.ads-tmpl: New standard name Seperate_Run_Path_Options
207 2009-04-22 Robert Dewar <dewar@adacore.com>
209 * sem_type.adb: Minor reformatting
211 * mlib.adb: Minor reformatting
213 * sem_aggr.adb: Minor reformatting. Defend against junk aggregate from
216 2009-04-22 Nicolas Setton <setton@adacore.com>
218 * link.c: Add flag __gnat_separate_run_path_options.
220 * mlib.adb (Separate_Run_Path_Options): New subprogram.
222 * mlib.ads (Separate_Run_Path_Options): Declare.
224 * gnatcmd.adb (Process_Link): Add support for emitting one "rpath"
225 switch per directory, rather than one "rpath" switch listing all
228 * gnatlink.adb (Process_Binder_File): Likewise.
230 * make.adb (Gnatmake): Likewise.
232 2009-04-22 Hristian Kirtchev <kirtchev@adacore.com>
234 * exp_ch6.adb (Make_Build_In_Place_Call_In_Assignment): Code cleanup.
235 Add a call to Move_Final_List when the target of the assignment is a
236 return object that needs finalization and the expression is a
237 controlled build-in-place function.
239 2009-04-22 Vincent Celier <celier@adacore.com>
241 * make.adb (Gnatmake, Bind_Step): call Set_Ada_Paths with
242 Including_Libraries set to True.
244 2009-04-22 Ed Schonberg <schonberg@adacore.com>
246 * lib-load.ads, lib-load.adb (Make_Child_Decl_Unit): New subprogram, to
247 create a unit table entry for the subprogram declaration created for a
248 child suprogram body that has no separate specification.
250 * sem_ch10.adb (Analyze_Compilation_Unit): For a child unit that is a
251 subprogram body, call Make_Child_Decl_Unit.
253 * lib.adb (Get_Cunit_Unit_Number): Verify that an entry not yet in the
254 table can only be the created specification of a child subprogram body
255 that is the main unit, which has not been entered in the table yet.
257 * errout.adb (Output_Messages): Ignore created specification of a
258 child subprogram body to prevent repeated listing of error messages.
260 * gnat1drv.adb (gnat1drv): The generated specification for a child
261 subprogram body does not generate code.
263 2009-04-22 Arnaud Charlet <charlet@adacore.com>
265 * s-bitops.adb, s-bitops.ads (Raise_Error): Do not use Ada 05 syntax,
266 since this unit is now part of bootstrap units, so must use Ada 95
269 2009-04-22 Thomas Quinot <quinot@adacore.com>
271 * a-tasatt.adb: Minor reformatting
273 2009-04-22 Bob Duff <duff@adacore.com>
275 * s-stalib.ads: Remove "with System;" since we're inside System, so
278 2009-04-22 Vincent Celier <celier@adacore.com>
280 * prj-nmsc.adb (Add_Source): Always put the dependency file name in
281 the source record, as there may be a dependency file even if no object
284 2009-04-22 Robert Dewar <dewar@adacore.com>
286 * lib-load.adb: Minor reformatting
288 * lib-load.ads: Minor reformatting
290 * sinfo.ads: Minor reformatting
292 2009-04-22 Bob Duff <duff@adacore.com>
294 * exp_pakd.adb: Minor comment fixes.
296 * sinfo.ads, par-load.adb, sem_ch10.adb, lib-load.ads, lib-load.adb
297 sem_ch12.adb: Change the meaning of the Library_Unit attribute to
298 include units containing instantiations, as well as units that are
299 generic instantiations.
301 * sem.adb: Include dependents and corresponding specs/bodies in the
304 * gcc-interface/Make-lang.in:
305 sem now depends on s-bitops, because of the packed array of Booleans.
307 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
309 * gcc-interface/ada-tree.def: Fix formatting nits.
310 (REGION_STMT): Delete.
311 (HANDLER_STMT): Likewise.
312 * gcc-interface/ada-tree.h: Fix formatting nits.
314 (REGION_STMT_BODY): Likewise.
315 (REGION_STMT_HANDLE): Likewise.
316 (REGION_STMT_BLOCK): Likewise.
317 (HANDLER_STMT_ARG): Likewise.
318 (HANDLER_STMT_LIST): Likewise.
319 (HANDLER_STMT_BLOCK): Likewise.
320 * gcc-interface/gigi.h (fp_prec_to_size): Update comment.
321 (fp_size_to_prec): Likewise.
322 (largest_move_alignment): Delete.
323 (gnat_compute_largest_alignment): Likewise.
325 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
326 Remove redundant code.
327 <E_Array_Type>: Remove redundant assert.
328 <E_Array_Subtype>: Exit early from index computation in pathological
330 Rewrite conditional assignment.
331 (make_type_from_size): Likewise.
332 * gcc-interface/misc.c (largest_move_alignment): Delete.
333 (gnat_finish_incomplete_decl): Likewise.
334 (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Likewise.
335 (asm_out_file): Likewise
336 (gnat_print_type) <INTEGER_TYPE>: Fall through to ENUMERAL_TYPE case.
337 (gnat_dwarf_name): Move around.
338 * gcc-interface/trans.c (Attribute_to_gnu): Fix minor nits.
339 (gigi): Remove call to gnat_compute_largest_alignment.
340 * utils.c (create_field_decl): Rewrite conditional assignment.
343 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
345 * gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate
346 on entry. Defer common processing for types. Reorder and clean up.
347 Compute the equivalent GNAT node and the default size for types only.
348 <E_Modular_Integer_Type>: Directly use Esize for the type's precision.
349 <E_Access_Type>: For an unconstrained designated type, do not pretend
350 that a dummy type is always made.
351 <all> Fix nits in comments.
352 (validate_size): Fix formatting nits and comments.
353 (set_rm_size): Likewise.
354 * gcc-interface/utils.c (create_param_decl): Replace bogus argument
355 passed to TARGET_PROMOTE_PROTOTYPES hook.
357 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
359 * fe.h (Get_External_Name): Declare.
360 * gcc-interface/gigi.h (concat_id_with_name): Rename to...
361 (concat_name): ...this.
362 * gcc-interface/decl.c (gnat_to_gnu_entity): Rename gnu_entity_id to
363 gnu_entity_name and adjust for above renaming.
364 <E_Access_Type>: Use create_concat_name to get the name of the various
365 types associated with unconstrained array types.
366 (make_aligning_type): Adjust for above renaming.
367 (maybe_pad_type): Likewise.
368 (components_to_record): Likewise. Use get_identifier_with_length for
369 the encoding of the variant.
370 (get_entity_name): Use get_identifier_with_length.
371 (create_concat_name): Likewise. Use Get_External_Name if no suffix.
372 Do not fiddle with Name_Buffer.
373 (concat_id_with_name): Rename to...
374 (concat_name): ...this. Use get_identifier_with_length. Do not fiddle
376 * gcc-interface/utils.c (rest_of_record_type_compilation): Adjust for
379 2009-04-21 Joseph Myers <joseph@codesourcery.com>
381 * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
384 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
386 * gcc-interface/trans.c (gnat_to_gnu): Do not overwrite location info.
388 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
390 * gcc-interface/ada-tree.h (TYPE_RM_SIZE_NUM): Delete.
391 (TYPE_RM_SIZE): Access TYPE_LANG_SLOT_1 directly for integral types.
392 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>:
393 Remove useless support code for packed array types and assert its
395 <E_Signed_Integer_Subtype>: Reuse entity identifier in more places and
396 adjust for TYPE_RM_SIZE change.
397 <all> Fix nits in comments. Use Original_Array_Type accessor instead
398 of Associated_Node_For_Itype accessor for packed array types.
399 (make_packable_type): Likewise.
400 (maybe_pad_type): Likewise.
401 (set_rm_size): Likewise. Rework conditional statement. Adjust for
403 (make_type_from_size): Adjust for TYPE_RM_SIZE change.
404 (rm_size): Fix nits in comments. Rework conditional statements.
405 * gcc-interface/misc.c (gnat_print_type): Adjust for TYPE_RM_SIZE
407 * gcc-interface/trans.c (Attribute_to_gnu): Fix nits in comments.
408 * gcc-interface/utils.c (gnat_init_decl_processing): Use more
409 appropriate function to initialize the size_type_node. Adjust for
412 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
414 * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set force_global
415 for imported subprograms.
417 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
419 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not make
420 constant objects covered by 13.3(19) volatile.
422 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
424 * gcc-interface/utils.c (create_type_decl): Do not pass declarations
425 of dummy fat pointer types to the debug back-end.
427 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
429 * gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation.
430 <E_Signed_Integer_Subtype>: Set the RM size on the integer type
431 before wrapping it up in the record type. Do not overwrite the
432 Ada size of the record type with the Esize.
434 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
436 * gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate.
437 (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression
438 if the conversion is on the LHS of an assignment and a no-op.
439 <all> Do not convert the result to the result type if the Parent
440 node is such a conversion.
442 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
444 * gcc-interface/ada-tree.h (DECL_HAS_REP_P): Delete.
445 * gcc-interface/decl.c (gnat_to_gnu_entity): Add support for extension
446 of types with unknown discriminants.
447 (substitute_in_type): Rewrite and restrict to formal substitutions.
448 * gcc-interface/utils.c (create_field_decl): Do not set DECL_HAS_REP_P.
449 (update_pointer_to): Update comment.
451 2009-04-20 Ed Schonberg <schonberg@adacore.com>
453 * sem_ch8.adb (Use_One_Package): In an instance, if two
454 potentially_use_visible and non-overloadable homonyms are available
455 from the actuals of distinct formal packages, retain the current one,
456 which was visible in the generic, to prevent spurious visibility
458 (End_Use_Package): Restore use_visibility when needed.
460 2009-04-20 Sergey Rybin <rybin@adacore.com>
462 * gnat_ugn.texi, vms_data.ads: Update doc.
464 2009-04-20 Arnaud Charlet <charlet@adacore.com>
466 * gcc-interface/Make-lang.in: Update dependencies
468 * gcc-interface/Makefile.in: Link run-time against winsock2 lib under
471 2009-04-20 Robert Dewar <dewar@adacore.com>
473 * checks.ads: Fix documentation of range check handling
475 2009-04-20 Ed Schonberg <schonberg@adacore.com>
477 * sem_ch8.adb (Use_One_Type): Use proper entity on warning message for
478 a redundant use_type clause.
480 2009-04-20 Robert Dewar <dewar@adacore.com>
482 * sem_attr.adb (Eval_Attribute, case Length): Catch more cases where
483 this attribute can be evaluated at compile time.
484 (Eval_Attribute, case Range_Length): Same improvement
486 * sem_eval.ads, sem_eval.adb (Compile_Time_Compare): New procedure
488 2009-04-20 Ed Schonberg <schonberg@adacore.com>
490 * sem_ch6.adb (Analye_Subprogram_Declaration): Code reorganization,
491 for better handling of null procedures.
492 (Check_Overriding_Indicator): Do not emit a warning on a missing
493 overriding indicator on an operator when the type of which the operator
494 is a primitive is private.
496 2009-04-20 Bob Duff <duff@adacore.com>
498 * sem.adb, gnat1drv.adb, debug.adb: Use the -gnatd.W switch to control
501 2009-04-20 Robert Dewar <dewar@adacore.com>
503 * sem_attr.adb: Minor reformatting
505 * gnatcmd.adb: Minor reformatting
507 2009-04-20 Ed Schonberg <schonberg@adacore.com>
509 * sem_ch4.adb (Analyze_User_Defined_Binary_Op): If left operand is
510 overloaded and one interpretation matches the context, label the
511 operand with the type of first formal.
513 2009-04-20 Bob Duff <duff@adacore.com>
515 * debug.ads: Minor comment fix.
517 * debug.adb: Minor comment fixes.
519 2009-04-20 Javier Miranda <miranda@adacore.com>
521 * rtsfind.ads (RE_Null_Id): New entity of package Ada.Exceptions
523 * exp_ch6.adb (Expand_Inlined_Call): Undo previous patch.
525 * exp_ch11.adb (Expand_N_Raise_Statement): When the raise stmt
526 is expanded into a call to Raise_Exception, avoid passing the
527 exception-name'identity in runtimes in which this argument
530 2009-04-20 Jerome Lambourg <lambourg@adacore.com>
532 * impunit.adb: Add i-cil and i-cilobj packages, now needed by the
533 generated bindings for cil.
535 2009-04-20 Ed Schonberg <schonberg@adacore.com>
537 * sem_aggr.adb (Resolve_Record_Aggregate): If the type has unknown
538 discriminants, collect components from the Underlying_Record_View,
539 which will be used in the expansion of the aggregate into assignments.
541 * sem_ch3.adb: Do not label derived type with unknown discriminants as
542 having a private declaration.
544 2009-04-20 Ed Schonberg <schonberg@adacore.com>
546 * exp_util.adb (Expand_Subtype_From_Expr): use the
547 underlying_record_view when available, to create the proper constrained
548 subtype for an object of a derived type with unknown discriminants.
550 2009-04-20 Javier Miranda <miranda@adacore.com>
552 * exp_ch6.adb (Expand_Inlined_Call): Avoid generation of temporaries for
553 formals that have pragma unreferenced.
555 2009-04-20 Pascal Obry <obry@adacore.com>
557 * a-direct.adb (To_Lower_If_Case_Insensitive): Removed.
558 Remove all calls to To_Lower_If_Case_Insensitive to preserve
559 the pathname original casing.
561 2009-04-20 Robert Dewar <dewar@adacore.com>
563 * g-trasym.adb: Minor reformatting
565 * s-os_lib.adb: Minor reformatting
567 * sem.adb: Minor reformatting
568 Minor code reorganization
570 * sem_ch3.adb: Minor reformatting
572 * sem_ch4.adb: Minor reformatting
574 * sem_ch8.adb: Minor reformatting
576 * sem_type.adb: Minor reformatting
578 2009-04-20 Javier Miranda <miranda@adacore.com>
580 * sem_disp.adb (Find_Dispatching_Type): For subprograms internally
581 generated by derivations of tagged types use the aliased subprogram a
582 reference to locate their controlling type.
584 2009-04-20 Tristan Gingold <gingold@adacore.com>
586 * g-trasym.adb: Set size of result buffer before calling
589 2009-04-20 Ed Schonberg <schonberg@adacore.com>
591 * sem_ch4.adb (Valid_Candidate): When checking whether a prefixed call
592 to a function returning an array can be interpreted as a call with
593 defaulted parameters whose result is indexed, take into account the
594 types of all the indices of the array result type.
596 2009-04-20 Pascal Obry <obry@adacore.com>
598 * a-direct.adb, s-os_lib.adb: Minor reformatting.
600 2009-04-20 Ed Schonberg <schonberg@adacore.com>
602 * sem_ch8.adb (Analyze_Object_Renaming): Proper checks on incorrect
603 null exclusion qualifiers for object renaming declarations.
605 2009-04-20 Nicolas Roche <roche@adacore.com>
607 * sysdep.c (__gnat_localtime_tzoff): on Windows, manipulated times are
608 unsigned long long. So compare local_time and utc_time before computing
611 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
613 * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration
614 of the Underlying_Record_View before that of the derived type.
616 * exp_ch3.adb (Expand_Record_Extension): Do not special-case types
617 with unknown discriminants with regard to the parent subtype.
619 2009-04-20 Bob Duff <duff@adacore.com>
621 * sem.adb (Semantics, Walk_Library_Items): Include dependents of bodies
622 that are not included. This is necessary if the main unit is a generic
625 * gnat1drv.adb (Gnat1drv): Comment out the call to Check_Library_Items,
626 because it doesn't work if -gnatn is used.
628 2009-04-20 Ed Schonberg <schonberg@adacore.com>
630 * rtsfind.adb (RTE, RTE_Record_Component): In
631 Configurable_Run_Time_Mode, do not enable front-end inlining.
633 2009-04-20 Thomas Quinot <quinot@adacore.com>
635 * g-socthi-vms.adb: Remove now unnecessary WITH clause on
636 System.Address_To_Access_Conversions.
638 2009-04-20 Ed Schonberg <schonberg@adacore.com>
640 * sem.adb: Guard against ill-formed subunits.
642 2009-04-20 Bob Duff <duff@adacore.com>
644 * output.adb (Flush_Buffer): Do not indent blank lines.
645 (Ignore_Output): New procedure for output suppression.
647 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
649 * a-calfor.adb (Image): Subtract 0.5 from the sub second component only
650 when it is positive. This avoids a potential constraint error raised
651 by the conversion to Natural.
653 2009-04-20 Gary Dismukes <dismukes@adacore.com>
655 * exp_ch5.adb (Expand_Assign_Array): For the case where the assignment
656 involves a target that has a specified address, don't set Forward_OK
657 and Backward_OK to False if the rhs is an aggregate, since overlap
660 2009-04-20 Ed Schonberg <schonberg@adacore.com>
662 * sem_ch8.adb (Analyze_Object_Renaming): Reject ambiguous expressions
663 in an object renaming declaration when the expected type is an
664 anonymous access type.
666 * sem_type.adb (Disambiguate): Use anonymousness to resolve a potential
667 ambiguity when one interpretation is an anonymous access type and the
668 other is a named access type, and the context itself is anonymous
670 2009-04-20 Thomas Quinot <quinot@adacore.com>
672 * einfo.ads: Minor comment rewording
674 * sem_aggr.adb: Minor comment rewording
676 * sem_ch3.adb, sem_ch6.adb: Minor reformatting
678 2009-04-20 Pascal Obry <obry@adacore.com>
680 * adaint.c (__gnat_is_readable_file): Check for file existence
681 when not using ACL (always the case on remote drives).
683 2009-04-20 Robert Dewar <dewar@adacore.com>
685 * sinfo.ads: Minor comment fixes
687 * exp_disp.adb: Minor reformatting
689 * gnat1drv.adb: Minor reformatting
691 * output.adb: Minor reformatting
693 * s-vxwext-kernel.ads: Minor reformatting
695 * sem.ads: Minor reformatting
697 * sem.adb: Minor reformatting
699 * sem_elim.adb: Minor reformatting
701 * uname.ads: Minor reformatting
703 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
705 * init.c (__gnat_adjust_context_for_raise): On x86{-64}/Linux, add
706 a small dope of 4 words to the adjustment to the stack pointer.
708 2009-04-20 Thomas Quinot <quinot@adacore.com>
710 * xoscons.adb: generate C header s-oscons.h in
711 addition to s-oscons.ads.
713 * socket.c: On VMS, use s-oscons.h.
715 * sem_ch3.adb: Minor reformatting
717 * exp_ch9.adb: Minor reformatting
719 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
721 * gcc-interface/trans.c (check_for_eliminated_entity): Remove.
722 (Attribute_to_gnu): Do not call check_for_eliminated_entity.
723 (call_to_gnu): Likewise.
725 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
727 * gcc-interface/trans.c (gigi): Declare the name of the compilation
728 unit as the first global name at the very beginning.
730 2009-04-20 Thomas Quinot <quinot@adacore.com>
732 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads,
733 s-oscons-tmplt.c, gsocket.h, g-socthi-mingw.ads, g-socthi.ads,
734 g-sothco.ads (__gnat_inet_pton): Needs to be enabled for HP-UX as well,
735 since HP-UX supports neither inet_aton nor inet_pton (altough the
736 latter is part of the Single UNIX Specification!).
737 So reorganize code, and share C implementation based on inet_addr(3)
738 with VMS (instead of having a VMS specific Ada implementation in
741 2009-04-20 Gary Dismukes <dismukes@adacore.com>
743 * osint-c.ads, osint-c.adb (Get_Object_Output_File_Name): New function
744 to return the object file name saved by Set_Object_Output_File_Name.
746 2009-04-20 Emmanuel Briot <briot@adacore.com>
748 * g-comlin.adb (Initialize_Option_Scan): Fix initialization of parsers
749 for the standard command line, when argc has been modified since the
750 start of the application.
752 2009-04-20 Thomas Quinot <quinot@adacore.com>
754 * socket.c (__gnat_inet_pton, Windows case): Adjust return value.
755 WSAStringToAddress returns 0 for success and SOCKET_ERROR for failure.
757 2009-04-20 Bob Duff <duff@adacore.com>
759 * gnat1drv.adb (Gnat1drv): Put call to Check_Library_Items inside
762 2009-04-20 Ed Schonberg <schonberg@adacore.com>
764 * exp_ch9.adb (Build_Protected_Sub_Specification): Mark generated
765 subprogram as Eliminated when source operation is.
766 (Expand_N_Protected_Type_Declaration): Generate protected and
767 unprotected specs for the internal operations, even if the source
768 operation is eliminated.
770 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
772 * exp_ch3.adb (Make_Predefined_Primitive_Specs,
773 Predefined_Primitive_Bodies): Do not create the declarations and bodies
774 of the primitive subprograms associated with dispatching select
775 statements when the runtime is in configurable mode.
777 2009-04-20 Ed Falis <falis@adacore.com>
779 * s-vxwext-kernel.ads (tickGet): Use tick64Get.
781 2009-04-20 Thomas Quinot <quinot@adacore.com>
783 * s-oscons-tmplt.c: Add support for generating a dummy version of
784 s-oscons.ads providing all possible constants.
786 * g-socthi-mingw.ads: Fix calling convention for __gnat_inet_pton.
788 * socket.c (__gnat_inet_pton): On Windows make sure we always use the
789 ANSI version (not the UNICODE version) of WSAStringToAddress.
791 2009-04-20 Pascal Obry <obry@adacore.com>
793 * adaint.c (__gnat_set_OWNER_ACL): properly free memory
794 allocated for the security descriptor and make sure all
795 handles are closed before leaving this procedure.
797 2009-04-20 Javier Miranda <miranda@adacore.com>
799 * einfo.ads, einfo.adb (Is_Underlying_Record_View): New subprogram
800 (Set_Is_Underlying_Record_View): New subprogram
802 * sem_aggr.adb (Discr_Present, Resolve_Record_Aggregate): In case of
803 private types with unknown discriminants use the underlying record view
806 * sem_ch3.adb (Build_Derived_Private_Type): Enable construction of the
807 underlying record view in the full view of private types whose parent
808 has unknown discriminants.
809 (Build_Derived_Record_Type): Avoid generating the class-wide entity
810 associated with an underlying record view.
811 (Derived_Type_Declaration): Avoid deriving parent primitives in
812 underlying record views.
814 * sem_ch6.adb (Check_Return_Subtype_Indication): Add support for
815 records with unknown discriminants.
817 * sem_type.adb (Covers): Handle underlying record views.
818 (Is_Ancestor): Add support for underlying record views.
820 * exp_attr.adb (Expand_Attribute): Expand attribute 'size into a
821 dispatching call if the type of the target object is tagged and has
822 unknown discriminants.
824 * exp_aggr.adb (Resolve_Record_Aggregate): Add support for records with
825 unknown discriminants.
827 * exp_disp.adb (Build_Dispatch_Tables): Avoid generating dispatch
828 tables for internally built underlying record views.
830 * sprint.adb (sprint_node_actual): Improve output of aggregates with an
831 empty list of component associations.
833 2009-04-20 Thomas Quinot <quinot@adacore.com>
835 * sem_ch10.adb: Minor reformatting
837 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads,
838 g-socthi-mingw.ads, g-socthi.ads, g-socket.adb
839 (GNAT.Sockets.Inet_Addr): Do not use non-portable inet_aton, instead use
840 standard inet_pton API (and emulate it on platforms that do not
842 (GNAT.Sockets.Thin.Inet_Pton, VMS case): Implement in terms of
843 DECC$INET_ADDR, imported in Ada.
844 (GNAT.Sockets.Thin.Inet_Pton, VxWorks and Windows cases): Use C
845 implementation provided by GNAT runtime.
846 (__gnat_inet_pton): C implementation of inet_pton(3) for VxWorks and
849 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
851 * gnat_ugn.texi: Add documentation for -fno-ivopts.
853 2009-04-20 Ed Schonberg <schonberg@adacore.com>
855 * sem_ch10.adb (Analyze_Context): Do not analyze a unit in a
856 with_clause if it is the main unit.
858 2009-04-20 Thomas Quinot <quinot@adacore.com>
860 * sem_type.adb, ali.adb, erroutc.adb: Minor code reorganization
861 (no behaviour change): Use Append instead of Increment_Last followed
864 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
866 * exp_ch3.adb (Make_Predefined_Primitive_Specs): Do not generate the
867 declarations of all primitives associated with dispatching asynchronous,
868 conditional and timed selects when dispaching calls are forbidden and
869 select statements are not allowed (such as in Ravenscar).
870 (Predefined_Primitive_Bodies): Ditto for bodies.
872 * exp_disp.ad (Make_DT): Do not create and populate the
873 Select_Specific_Data of the dispatch table when dispatching calls are
874 forbidden and select statements are not allowed (such as in Ravenscar).
876 2009-04-20 Robert Dewar <dewar@adacore.com>
878 * a-tifiio.adb: Minor reformatting
880 2009-04-20 Thomas Quinot <quinot@adacore.com>
882 * g-socthi-vms.adb, g-socket.adb, g-socket.ads: inet_aton(3), unlike
883 other C library functions, report *failure* with a zero status, and
884 success with a non-zero status.
886 2009-04-20 Bob Duff <duff@adacore.com>
888 * sem.ads, sem.adb (Walk_Library_Items): New generic procedure.
889 (Semantics): After analyzing each unit, Append it to the
890 Comp_Unit_List, if appropriate.
892 * gnat1drv.adb (Check_Library_Items): New procedure for debugging
894 (Gnat1drv): Correct comment regarding Back_End_Mode.
896 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
898 * gnat_ugn.texi: Add documentation for -fno-inline-small-functions.
900 2009-04-20 Thomas Quinot <quinot@adacore.com>
902 * s-taprop-irix.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
903 output.adb, output.ads, s-taprop-hpux-dce.adb,
904 s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-posix.adb: Minor
907 2009-04-20 Thomas Quinot <quinot@adacore.com>
909 * g-socket.adb, g-socket.ads, g-socthi-mingw.ads, g-socthi-vms.adb,
910 g-socthi-vms.ads, g-socthi-vxworks.ads, g-socthi.ads
911 (GNAT.Sockets.Thin.C_Inet_Addr): Remove.
912 (GNAT.Sockets.Thin.Inet_Aton): New function, imported from C library
913 except for VMS where it is reimplemented in Ada using DECC$INET_ADDR.
914 (GNAT.Sockets.Inet_Addr): Use inet_aton(3) instead of inet_addr(3).
916 * debug.adb: Fix typo
918 * gnat_rm.texi: Minor doc fix.
920 * sem_ch7.adb, freeze.adb: Minor reformatting
922 2009-04-20 Thomas Quinot <quinot@adacore.com>
924 * g-socket.ads: Add new constants:
926 Unspecified_Group_Inet_Addr
927 All_Hosts_Group_Inet_Addr
928 All_Routers_Group_Inet_Addr
930 * s-oscons-tmplt.c, g-sttsne-vxworks.adb (System.OS_Constants): Add
931 ERANGE (Result too large).
932 (GNAT.Sockets.Thin.Task_Safe_NetDB, VxWorks version): Add missing
933 propagation of errno to caller.
935 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
937 * a-calend.adb, a-calend-vms.adb: Increase the number of leap seconds
938 to 24. Increment Leap_Seconds_Count and add an entry to aggregate
941 2009-04-20 Gary Dismukes <dismukes@adacore.com>
943 * sem_elim.ads (Check_For_Eliminated_Subprogram): New procedure for
944 checking for references to eliminated subprograms that should be
946 (Eliminate_Error_Message): Update comment to say "references" rather
947 than "calls" (since attribute cases are handled here as well).
949 * sem_elim.adb (Check_For_Eliminated_Subprogram): New procedure for
950 checking for references to eliminated subprograms that should be
951 flagged. Add with and use of Sem and Sem_Util.
953 * sem_res.adb (Resolve_Call): Reject calls to eliminated subprograms.
954 Add with and use of Sem_Elim.
956 * sem_attr.adb (Analyze_Access_Attribute): Reject access attributes
957 applied to eliminated subprograms.
958 (Analyze_Attribute): Reject 'Address and 'Code_Address applied to
959 eliminated subprograms.
960 Add with and use of Sem_Elim.
962 * sem_disp.adb (Check_Dispatching_Call): Remove error check for calls
963 to eliminated subprograms, now handled during Resolve_Call.
964 Remove with and use of Sem_Elim.
966 * exp_disp.adb (Make_DT): Get Ultimate_Alias of primitive before
967 testing Is_Eliminated, for proper handling of primitive derived from
968 eliminated subprograms.
970 2009-04-20 Vincent Celier <celier@adacore.com>
972 * mlib-prj.adb (Build_Library): Use the shared library linker, if one
973 has been declared (Library_GCC or Linker'Driver), for the driver name.
975 * prj-nmsc.adb (Process_Linker): If Library_GCC is not declared and
976 Linker'Driver is, use Linker'Driver as the shared library linker.
977 (Process_Project_Level_Simple_Attributes): Issue a warning if attribute
978 Library_GCC is declared.
979 (Check_Library_Attributes): Set up the shared linker driver: either
980 Library_GCC or Linker'Driver. Issue a warning if Library_GCC is
983 2009-04-20 Thomas Quinot <quinot@adacore.com>
985 * g-socket.ads (Send_Socket): Fix misleading comment.
987 2009-04-20 Arnaud Charlet <charlet@adacore.com>
989 * switch-c.adb (Scan_Front_End_Switches): Disable inspector mode in
992 2009-04-20 Geert Bosch <bosch@adacore.com>
994 * a-tifiio.adb (Put): Avoid generating too many digits for certain
995 fixed types with smalls that are neither integer or the reciprocal
998 2009-04-20 Bob Duff <duff@adacore.com>
1000 * uname.ads: Minor comment fix.
1002 * types.ads: Minor comment fix.
1004 2009-04-20 Pascal Obry <obry@adacore.com>
1006 * adaint.c (__gnat_get_libraries_from_registry): Fix code to
1007 avoid warning. At the same time fix a memory leak.
1009 * osint.adb (Get_Libraries_From_Registry): Properly free memory
1010 returned by the above routine.
1012 2009-04-20 Robert Dewar <dewar@adacore.com>
1014 * s-conca5.adb, s-conca5.ads, s-conca7.adb, s-conca7.ads, s-conca9.adb,
1015 s-conca9.ads, rtsfind.ads, s-conca2.adb, s-conca2.ads, s-conca4.adb,
1016 s-conca4.ads, s-conca6.adb, s-conca6.ads, s-conca8.adb, s-conca8.ads,
1017 s-conca3.adb, s-conca3.ads (Str_Concat_Bounds_x): New functions.
1019 * exp_ch4.adb (Expand_Concatenate): Minor code reorganization
1021 2009-04-20 Pascal Obry <obry@adacore.com>
1023 * initialize.c (__gnat_initialize): Add braces to kill warning.
1025 * adaint.c: Minor reformatting, remove trailing spaces.
1027 2009-04-17 Arnaud Charlet <charlet@adacore.com>
1029 * gcc-interface/Make-lang.in: Update dependencies.
1031 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
1033 * adaint.h (__gnat_lwp_self): Declare on Linux.
1035 * adaint.c (__gnat_os_filename): Add ATTRIBUTE_UNUSED on 'filename'.
1037 2009-04-20 Robert Dewar <dewar@adacore.com>
1039 * exp_ch5.adb, usage.adb, back_end.adb, opt.ads: Implement
1040 front-end part of -fpreserve-control-flow switch.
1042 2009-04-20 Bob Duff <duff@adacore.com>
1044 * rtsfind.adb: Minor comment fix
1046 2009-04-20 Robert Dewar <dewar@adacore.com>
1048 * exp_aggr.adb: Minor reformatting
1049 Minor code reorganization (use Nkind_In)
1051 * g-socket.adb: Minor reformatting
1053 * g-socket.ads: Minor comment fix
1055 * s-auxdec.ads: Minor comment and organization update.
1057 * s-auxdec-vms_64.ads: Minor comment and organization update.
1059 * sem_ch10.adb: Minor addition of ??? comment
1061 * sem_disp.adb: Minor reformatting
1063 2009-04-20 Ed Schonberg <schonberg@adacore.com>
1065 * inline.adb (Add_Inlined_Subprogram): Do not place on the back-end
1066 list a caller of an inlined subprogram, if the caller itself is not
1069 2009-04-20 Pascal Obry <obry@adacore.com>
1071 * adaint.c: Disable use of ACL on network drives.
1073 2009-04-20 Arnaud Charlet <charlet@adacore.com>
1075 * gnat_ugn.texi: Add examples.
1077 2009-04-20 Thomas Quinot <quinot@adacore.com>
1079 * g-socket.ads (Abort_Selector): Clarify documentation.
1081 2009-04-20 Arnaud Charlet <charlet@adacore.com>
1083 * opt.ads (Inspector_Mode): Update documentation of this flag.
1085 2009-04-20 Thomas Quinot <quinot@adacore.com>
1087 * g-socket.ads: Minor reformatting
1089 * socket.c, gsocket.h (__gnat_get_h_errno, VxWorks case): No need to
1090 consider S_resolvLib error codes since we only use the hostLib wrappers.
1092 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
1094 * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration
1095 of the Underlying_Record_View after that of the derived type.
1097 2009-04-20 Arnaud Charlet <charlet@adacore.com>
1099 * switch-c.adb (Scan_Front_End_Switches): Disable front-end inlining
1102 2009-04-20 Javier Miranda <miranda@adacore.com>
1104 * sem_ch6.adb (New_Overloaded_Entity): Minor reformating.
1106 * sem_ch6.ads (Subtype_Conformant, Type_Conformant): Add missing
1109 * exp_aggr.adb (Build_Record_Aggr_Code): Code cleanup.
1112 (Check_Dispatching_Operation): Set attribute Is_Dispatching_Operation
1113 in internally built overriding subprograms.
1115 2009-04-20 Doug Rupp <rupp@adacore.com>
1117 * s-auxdec-vms_64.ads (Integer_{8,16,32,64}_Array): New array types.
1119 * s-auxdec.ads: Likewise
1121 2009-04-20 Ed Schonberg <schonberg@adacore.com>
1123 * sem_ch3.adb (Find_Type_Name): Reject the completion of a private
1124 type by an interface.
1126 * exp_ch6.adb (Expand_Call): Inline To_Address unconditionally, to
1127 minimze difference in expanded tree when compiled as spec of the main
1128 unit, or as a spec in the context of another unit.
1130 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
1132 * a-calend.adb: Remove types char_Pointer, int, tm and tm_Pointer.
1133 (localtime_tzoff): This routine no longer accepts an actual of type
1135 (UTC_Time_Offset): Remove local variable Secs_TM.
1137 * sysdep.c (__gnat_localtime_tzoff): This routine no longer accepts an
1138 actual of type struct tm*. Add local variable of type struct tm for all
1139 targets that provide localtime_r and need to invoke it.
1141 2009-04-20 Thomas Quinot <quinot@adacore.com>
1143 * s-oscons-tmplt.c, g-socket.adb, g-socket.ads
1144 (GNAT.Sockets.Resolve_Error): Add case of EPIPE
1145 Add case of EAGAIN for platforms where it is not equal to EWOULDBLOCK
1147 2009-04-20 Robert Dewar <dewar@adacore.com>
1149 * sem_ch3.adb: Minor reformatting
1151 * lib-load.adb: Minor reformatting
1153 * sem_ch4.adb: Minor reformatting
1155 2009-04-20 Robert Dewar <dewar@adacore.com>
1157 * namet-sp.ads, namet-sp.adb (Is_Bad_Spelling_Of): Implement new spec
1158 (equal values => False).
1160 2009-04-20 Ed Schonberg <schonberg@adacore.com>
1162 * exp_ch6.adb (Is_Null_Procedure): predicate is global, so that calls
1163 to null procedures can be inlined unconditionally.
1165 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
1167 * gcc-interface/trans.c (call_to_gnu): When creating the copy for a
1168 non-addressable parameter passed by reference, do not convert the
1169 actual if its type is already the nominal type, unless it is of
1170 self-referential size.
1172 2009-04-20 Arnaud Charlet <charlet@adacore.com>
1174 * gnat_ugn.texi: Fix typos.
1176 2009-04-20 Robert Dewar <dewar@adacore.com>
1178 * debug.adb, gnat1drv.adb, sem_ch13.adb: Add circuitry to
1179 Validate_Unchecked_Warnings to suppress warnings about size or
1180 alignment or extra bits if either type involved has pragma Warnings
1181 (Off) set for the type entity.
1183 2009-04-19 Eric Botcazou <ebotcazou@adacore.com>
1185 * gcc-interface/trans.c (gigi): Make the special IA-64 descriptor type
1186 a builtin type and give it a name.
1188 2009-04-17 Diego Novillo <dnovillo@google.com>
1190 * gcc-interface/misc.c (gnat_expand_expr): Remove.
1191 (LANG_HOOKS_EXPAND_EXPR): Remove.
1193 2009-04-17 Robert Dewar <dewar@adacore.com>
1195 * sem_ch3.adb: Minor reformatting
1197 2009-04-17 Pascal Obry <obry@adacore.com>
1199 * adaint.c: Add __gnat_use_acl global variable to control use of ACL.
1201 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1203 * sem_ch3.adb (Build_Derived_Enumeration_Type): Diagnose properly
1204 illegal constraints on type derived from formal discrete types.
1206 2009-04-17 Thomas Quinot <quinot@adacore.com>
1210 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
1211 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
1212 g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb,
1213 g-socket.ads (GNAT.Sockets.Thin.C_Send,
1214 GNAT.Sockets.Thin.Syscall_Send): Remove unused subprograms.
1215 Replace calls to send(2) with equivalent sendto(2) calls.
1216 (GNAT.Sockets.Send_Socket): Factor common code in inlined subprogram.
1217 (GNAT.Sockets.Write): Account for the case of hyper-empty arrays, do not
1218 report an error in that case. Factor code common to the two versions
1219 (datagram and stream) in common routine Stream_Write.
1221 2009-04-17 Robert Dewar <dewar@adacore.com>
1223 * exp_disp.adb: Minor reformatting
1224 Minor code reorganization (use Nkind_In)
1226 * prepcomp.adb: Minor reformatting
1228 * sem_ch3.adb: Minor reformatting
1230 * sem_res.adb: Minor comment addition
1232 * exp_ch5.adb (Expand_Assign_Array): Use Has_Address_Clause to test
1235 * lib-xref.adb (Generate_Reference): Exclude recursive calls from
1236 setting Is_Referenced
1238 * types.ads: Minor reformatting
1240 2009-04-17 Arnaud Charlet <charlet@adacore.com>
1242 * gnat_ugn.texi: Initial documentation on binding generator.
1244 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1246 * einfo.ads, einfo.adb: New attribute Underlying_Record_View, to handle
1247 type extensions whose parent is a type with unknown discriminants.
1249 * exp_aggr.adb (Expand_Record_Aggregate): If the type of an extension
1250 aggregate has unknown discriminants, use the Underlying_Record_View to
1251 obtain the discriminants of the ancestor part.
1253 * exp_disp.adb (Build_Dispatch_Tables): Types that are
1254 Underlying_Record_Views share the dispatching information of the
1255 original record extension.
1257 * exp_ch3.adb (Expand_Record_Extension): If the type inherits unknown
1258 discriminants, propagate dispach table information to the
1259 Underlying_Record_View.
1261 * sem_ch3.adb (Build_Derived_Private_Type): If parent type has unknown
1262 discriminants and declaration is not a completion, generate
1263 Underlying_Record_View to provide proper discriminant information to
1264 the front-end and to gigi.
1266 2009-04-17 Robert Dewar <dewar@adacore.com>
1268 * s-conca5.adb, g-sercom.adb, s-conca5.ads, s-conca7.adb, exp_imgv.adb,
1269 s-conca7.ads, s-crc32.adb, s-crc32.ads, s-conca9.adb, s-conca9.ads,
1270 s-addope.adb, i-cstrin.ads, s-addope.ads, s-carun8.adb, s-carun8.ads,
1271 g-htable.ads, g-hesora.adb, g-hesora.ads, s-htable.adb, s-htable.ads,
1272 s-conca2.adb, s-conca2.ads, a-except.adb, s-conca4.adb, a-except.ads,
1273 s-conca4.ads, s-except.adb, s-except.ads, s-conca6.adb, s-conca6.ads,
1274 g-spchge.adb, g-spchge.ads, g-u3spch.adb, g-u3spch.ads, s-conca8.adb,
1275 s-conca8.ads, g-byorma.adb, g-byorma.ads, s-memory.adb, s-memory.ads,
1276 g-speche.adb, g-speche.ads, g-stsifd-sockets.adb, exp_dist.adb,
1277 s-imgenu.adb, s-imgenu.ads, s-mastop.adb, s-mastop.ads, s-exctab.adb,
1278 s-exctab.ads, s-imenne.adb, s-imenne.ads, s-casuti.adb, osint.adb,
1279 s-assert.adb, s-casuti.ads, s-assert.ads, s-os_lib.adb, s-conca3.adb,
1280 s-conca3.ads: Remove unneeded pragma Warnings
1282 2009-04-17 Robert Dewar <dewar@adacore.com>
1284 * g-moreex.adb: Add comments.
1286 * s-auxdec.ads: Add ??? comment for uncommented pragma Warnings (Off)
1288 * s-auxdec-vms_64.ads: Add ??? comment for uncommented pragma
1291 * prepcomp.adb: Add ??? comment
1293 * a-tasatt.adb: Minor reformatting
1295 * g-trasym-vms-alpha.adb: Add ??? comment
1297 * g-trasym-vms-ia64.adb: Add ??? comment
1299 * xoscons.adb: Minor reformatting
1301 * s-tassta.adb: Minor reformatting
1303 * s-scaval.adb: Add ??? comment
1305 * stand.ads: Minor code clean up (remove junk with of Namet)
1307 * s-strcom.adb, s-strcom.ads, s-string.adb, s-string.ads, s-sopco3.adb,
1308 s-sopco3.ads, s-strops.adb, s-strops.ads, s-sopco5.adb, s-sopco5.ads,
1309 s-wchcnv.adb, s-wchcnv.ads, s-ststop.adb, s-ststop.ads, s-soflin.adb,
1310 s-soflin.ads, s-traceb.adb, s-traceb.ads, s-traent.adb, s-traent.ads,
1311 s-secsta.adb, s-secsta.ads, s-utf_32.adb, s-utf_32.ads, s-wchcon.adb,
1312 s-wchjis.adb, s-wchcon.ads, s-wchjis.ads, s-sopco4.adb, s-sopco4.ads,
1313 s-stache.adb, s-stache.ads, s-stoele.adb, s-stoele.ads, s-stalib.adb,
1314 s-stalib.ads, s-os_lib.ads, s-purexc.ads: Remove no longer needed
1315 Warnings off pragmas.
1317 2009-04-17 Pascal Obry <obry@adacore.com>
1319 * initialize.c: Fix test for reallocating the arguments array.
1321 2009-04-17 Geert Bosch <bosch@adacore.com>
1323 * exp_fixd.adb (Expand_Convert_Float_To_Fixed): Have float to fixed
1324 conversion truncate only for decimal fixed point types.
1326 2009-04-17 Jerome Lambourg <lambourg@adacore.com>
1328 * g-comlin.adb (Initialize_Scan_Option): Make sure the sections are
1331 2009-04-17 Robert Dewar <dewar@adacore.com>
1333 * exp_ch5.adb (Expand_Assign_Array): Do not set Forwards_OK and
1334 Backwards_OK if either operand has an address clause.
1336 2009-04-17 Pascal Obry <obry@adacore.com>
1338 * initialize.c: Code clean up, use realloc.
1340 2009-04-17 Pascal Obry <obry@adacore.com>
1342 * initialize.c: Do not get Unicode command line if Unicode support not
1344 Add support for wildcard expansion for Unicode parameters on Win32.
1346 * mingw32.h: Add missing macros when Unicode support not activated.
1348 2009-04-17 Javier Miranda <miranda@adacore.com>
1350 * sem_ch6.adb (Check_Anonymous_Return): Add missing checks to
1351 avoid generating code that references the Current_Master
1352 when compiling without tasks.
1354 2009-04-17 Vincent Celier <celier@adacore.com>
1356 * prj-attr.adb: New project level attribute Target
1358 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process
1361 * prj.ads (Project_Configuration): New component Target
1363 2009-04-17 Thomas Quinot <quinot@adacore.com>
1365 * exp_ch7.adb (Expand_Ctrl_Function_Call): Remove incorrect special
1366 case for the case of an aggregate component, the attach call for the
1367 result is actually needed.
1369 * exp_aggr.adb (Backend_Processing_Possible): Backend processing for
1370 an array aggregate must be disabled if the component type requires
1373 * exp_ch3.adb: Minor reformatting
1375 2009-04-17 Bob Duff <duff@adacore.com>
1377 * output.ads (Indent,Outdent): New procedures for indenting the output.
1378 (Write_Char): Correct comment -- LF _is_ allowed.
1380 * output.adb (Indent,Outdent): New procedures for indenting the output.
1381 Keep track of the indentation level, and make sure it doesn't get too
1383 (Flush_Buffer): Insert spaces at the beginning of each line, if
1384 indentation level is nonzero.
1385 (Save_Output_Buffer,Restore_Output_Buffer): Save and restore the current
1387 (Set_Standard_Error,Set_Standard_Output): Remove superfluous
1388 "Next_Col := 1;". Flush_Buffer does that.
1390 * sem_ch6.adb, sem_ch7.adb (Debug_Flag_C): Reorganize the output
1391 controlled by the -gnatdc switch. It now occurs on entry/exit to the
1392 relevant analysis routines, and calls Indent/Outdent to make the
1393 indentation reflect the nesting level. Add "helper" routines, since
1394 otherwise lots of "return;" statements would skip the debugging output.
1396 2009-04-17 Arnaud Charlet <charlet@adacore.com>
1398 * s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-linux.adb,
1399 s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-hpux-dce.adb,
1400 s-taprop-posix.adb (Suspend_Until_True): Protect against early wakeup.
1402 2009-04-17 Thomas Quinot <quinot@adacore.com>
1404 * exp_aggr.adb: Minor code reorganization, no behaviour change.
1406 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1408 * sem_ch8.adb (Use_One_Type): Handle properly a redundant use type
1409 clause in a unit that is a package body or a subunit, when the previous
1410 clause appears in a spec or a parent.
1412 2009-04-17 Thomas Quinot <quinot@adacore.com>
1414 * sinfo.ads, exp_aggr.adb, exp_aggr.ads: Minor reformatting
1416 * exp_ch7.adb: Minor reformatting
1418 2009-04-17 Bob Duff <duff@adacore.com>
1420 * exp_ch4.adb (Expand_Allocator_Expression): In an initialized
1421 allocator, check that the expression of the qualified expression obeys
1422 the constraints of the subtype of the qualified expression.
1424 2009-04-17 Thomas Quinot <quinot@adacore.com>
1426 * sprint.adb (Write_Itype): Add handling of enumeration subtypes.
1428 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1430 * exp_ch4.adb (Expand_Allocator_Expression): Apply constraint check to
1431 aggregate, using context imposed by subtype mark in allocator.
1433 2009-04-17 Pascal Obry <obry@adacore.com>
1435 * gnat_rm.texi: Document GNAT_CODE_PAGE environment variable
1437 2009-04-17 Nicolas Roche <roche@adacore.com>
1439 * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each
1442 2009-04-17 Gary Dismukes <dismukes@adacore.com>
1444 * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to
1445 cover both calls and attribute references ("call" => "reference").
1447 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1449 * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access
1450 type for which Storage_Size is set to 0 is legal in a pure unit.
1452 2009-04-17 Thomas Quinot <quinot@adacore.com>
1454 * exp_ch7.adb: Minor reformatting
1456 2009-04-17 Robert Dewar <dewar@adacore.com>
1458 * restrict.adb (Check_Restriction_No_Dependence): Don't check
1459 restriction if outside main extended source unit.
1461 * sem_ch10.adb (Analyze_With_Clause): Check No_Dependence restriction
1462 for parents of child units as well as the child unit itself.
1464 2009-04-17 Bob Duff <duff@adacore.com>
1466 * checks.ads: Minor comment fix
1468 * exp_aggr.ads: Minor comment fix
1470 2009-04-17 Nicolas Roche <roche@adacore.com>
1472 * adaint.c: Improve cross compiler detection and handling.
1474 2009-04-17 Eric Botcazou <ebotcazou@adacore.com>
1476 * exp_ch4.adb (Expand_Concatenation): Do not use calls at -Os.
1478 2009-04-17 Pascal Obry <obry@adacore.com>
1480 * mingw32.h: Add S2WSC and WS2SC macros to convert to/from
1483 * adaint.h: Encoding_Unspecified is now defined. Corresponds to the
1484 value when no encoding form paramter is set on Text_IO services.
1486 * adaint.c: CurrentCodePage new variable on Windows.
1487 Use new macros S2WSC and WS2SC instead of the UTF-8 oriented
1490 * mkdir.c: Use new macros S2WSC and WS2SC instead of the UTF-8 oriented
1493 * initialize.c: Initialize CurrentCodePage depending on GNAT_CODE_PAGE
1494 environment variable value. Default is UTF-8.
1496 * s-crtl.ads: Filename_Encoding add Unspecified in the enumeration type.
1497 fopen and freopen encoding parameter is now set to Unspecified.
1498 The default value is in this case UTF-8 (as it was before) but
1499 use the new macros that convert to/from the code page set
1500 at runtime (CurrentCodePage).
1502 * s-fileio.adb: When no encoding specified use Unspecified value.
1504 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1506 * atree.adb, atree.ads: Remove dead code.
1508 2009-04-17 Arnaud Charlet <charlet@adacore.com>
1510 * gcc-interface/Make-lang.in: Update dependencies.
1512 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1514 * sem_ch3.adb (Access_Subprogram_Definition): Additional checks on
1515 illegal uses of incomplete types in formal parts and return types.
1517 * sem_ch6.adb (Process_Formals): Taft-amendment types are legal in
1518 access to subprograms.
1520 * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to use
1521 Taft-amendment types as the return type of an access_to_function type.
1523 * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete
1524 type for access_to_subprograms. The check is performed on package exit.
1526 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1528 * atree.ads, atree.adb: Move New_Copy_Tree.to sem_util.
1530 * nlists.ads, nlists.adb: Move New_Copy_List to sem_util.
1532 * lib-load.adb: Use Copy_Separate_Tree rather than New_Copy_Tree
1534 * sem_util.ads, sem_util.adb: New_Copy_Tree and New_Copy_List belong in
1535 semantic units, because the handling of itypes in the copied tree
1536 requires semantic information that does not belong in atree.
1538 2009-04-17 Robert Dewar <dewar@adacore.com>
1540 * par-ch6.adb: Minor reformatting
1542 * prj.adb: Minor reformatting
1544 2009-04-17 Gary Dismukes <dismukes@adacore.com>
1546 * par-ch6.adb (P_Subprogram): Overriding indicators should be allowed
1547 on protected subprogram bodies, so exclude the case where Pf_Flags is
1548 Pf_Decl_Pbod from the error check.
1550 * par-ch9.adb (P_Protected_Operation_Items): Permit overriding
1551 indicators on subprograms in protected bodies, and proceed with parsing
1554 * sem_ch6.adb (Verify_Overriding_Indicator): Exclude protected
1555 subprograms from the check for primitiveness on subprograms with
1556 overriding indicators.
1557 (Check_Overriding_Indicator): Include protected subprograms in the
1558 style check for missing overriding indicators.
1560 2009-04-17 Tristan Gingold <gingold@adacore.com>
1562 * init.c: Fix stack checking for x86 Darwin.
1564 2009-04-17 Vincent Celier <celier@adacore.com>
1566 * prj-attr.adb: New project level attribute Object_File_Suffix
1569 * prj-nmsc.adb (Add_Source): Use the object file suffix to get the
1571 (Process_Compiler): Process attribute Object_File_Suffix
1573 * prj.adb (Object_Name): Use suffix Object_File_Suffix instead of
1574 platform suffix, when specified.
1576 * prj.ads (Language_Config): New component Object_File_Suffix,
1577 defaulted to No_Name.
1578 (Object_Name): New parameter Object_File_Suffix, defaulted to No_Name
1580 * snames.ads-tmpl: New standard name Object_File_Suffix
1582 2009-04-17 Robert Dewar <dewar@adacore.com>
1584 * gnat_rm.texi: Add documentation about No_Streams restriction
1586 * sem_attr.adb (Check_Stream_Attribute): Exclude implicit stream
1587 attributes when checking No_Streams restriction.
1589 2009-04-17 Thomas Quinot <quinot@adacore.com>
1591 * rtsfind.ads (RE_Request_Destroy): New PolyORB s-parint entity.
1593 * exp_dist.adb (PolyORB_Support.Build_General_Calling_Stubs): Add
1594 missing calls to RE_Request_Destroy to deallocate request objects after
1597 2009-04-17 Nicolas Setton <setton@adacore.com>
1599 * link.c: Fix support for passing a response file under Darwin.
1601 2009-04-17 Emmanuel Briot <briot@adacore.com>
1603 * prj.adb (Free): new subprogram.
1605 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1607 * sem_ch3.adb: additional initialization on incomplete subtypes.
1609 * sem_ch6.adb (Process_Formals): if the subprogram is in the private
1610 part and one of the formals is an incomplete tagged type, attach to
1611 list of private dependends of the type for later validation.
1613 * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to declare
1614 primitive operations of a Taft-amendmment type.
1616 * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete
1617 type. The check is performed on package exit, possibly after the
1618 subprogram is frozen.
1620 2009-04-17 Vincent Celier <celier@adacore.com>
1622 * prj-nmsc.adb (Get_Directories): Get the object and exec directory
1623 before looking for source directories, but make sure that there are nil
1624 if they are not explicitely declared and there is explicitely no
1625 sources in the project.
1627 2009-04-17 Pascal Obry <obry@adacore.com>
1629 * initialize.c: Set gnat_argv with UTF-8 encoded strings on Windows.
1631 * init.c: Fix minor typo and style fix.
1633 2009-04-17 Robert Dewar <dewar@adacore.com>
1635 * a-except.adb, a-except-2005.adb: Add PE_Address_Of_Intrinsic
1637 * sem_attr.adb (Analyze_Attribute, case Address): Use
1638 PE_Address_Of_Intrinsic.
1640 * types.ads: Add PE_Address_Of_Intrinsic
1642 * types.h: Add PE_Address_Of_Intrinsic
1644 2009-04-17 Nicolas Setton <setton@adacore.com>
1646 * gcc-interface/Makefile.in: Under darwin, build shared libraries
1647 with install_name starting with "@rpath/".
1649 2009-04-17 Nicolas Setton <setton@adacore.com>
1651 * link.c: Add darwin section
1653 2009-04-16 Robert Dewar <dewar@adacore.com>
1655 * g-pehage.adb: Minor reformatting
1657 * sem_ch12.adb: Minor reformatting
1659 * exp_dist.adb: Minor reformatting
1661 * bindgen.adb: Minor style fixes.
1663 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1665 * sem_eval.adb (Eval_Indexed_Component): Extend constant-folding of
1666 indexed components to the case where the prefix is a static string
1669 2009-04-16 Javier Miranda <miranda@adacore.com>
1671 * exp_ch3.adb (Expand_N_Object_Declaration): In case of build-in-place
1672 objects avoid any further expansion of the expression initializing the
1675 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1677 * sem_ch12.adb (Preanalyze_Actuals): If the instance is a child unit
1678 that hides an outer homograph, make that homograph invisible when
1679 analyzing the actuals, to to prevent illegal direct visibility on it.
1681 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
1683 * g-pehage.adb (Initialize): Fix off-by-one error.
1685 2009-04-16 Tristan Gingold <gingold@adacore.com>
1687 * init.c: Detect real stack overflow on Darwin.
1689 * system-darwin-x86.ads: Use stack probing on darwin x86.
1691 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1693 * sem_attr.adb (Analyze_Attribute, case 'Address): It is illegal to
1694 take the address of an intrinsic subprogram.
1696 2009-04-16 Arnaud Charlet <charlet@adacore.com>
1698 * gcc-interface/Makefile.in: Change g-trasym to g-trasym-unimplemented
1699 for the targets where GNAT.Traceback.Symbolic is not supported.
1701 2009-04-16 Vincent Celier <celier@adacore.com>
1703 * g-trasym-unimplemented.ads, g-trasym-unimplemented.adb: New file.
1705 * g-trasym.ads: Update comments.
1707 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com>
1709 * tracebak.c (STOP_FRAME): Verify validity of the current address
1710 before dereferencing.
1712 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1714 * sprint.adb (Write_Itype): If the itype is an array subtype, preserve
1715 the original location of the index expressions and the index subtypes,
1716 to prevent spurious out-of-scope references in gigi.
1718 2009-04-16 Tristan Gingold <gingold@adacore.com>
1720 * init.c, s-osinte-darwin.ads, system-darwin-x86_64.ads:
1721 Add support for stack checking on darwin.
1723 2009-04-16 Vincent Celier <celier@adacore.com>
1725 * prj-attr.adb: New attribute Runtime_Source_Dir
1727 * prj-nmsc.adb (Process_Project_Level_Array_Attributes): Process
1728 attribute Runtime_Source_Dir.
1729 (Check_Naming_Schemes): Give default values to out parameters to avoid
1732 * prj.ads (Language_Config): New component Runtime_Source_Dir
1734 * snames.ads-tmpl: New standard name Runtime_Source_Dir
1736 2009-04-16 Pascal Obry <obry@adacore.com>
1738 * adaint.h, adaint.c (__gnat_rmdir): New routine.
1739 Simple wrapper routines used to convert to proper encoding on
1742 * s-crtl.ads: Use __gnat_rmdir instead of direct call to the C library.
1744 * g-dirope.adb (Remove_Dir): Fix a bug, the root directory was removed
1747 2009-04-16 Pascal Obry <obry@adacore.com>
1749 * s-crtl.ads, s-os_lib.adb: Minor code clean-up.
1751 2009-04-16 Thomas Quinot <quinot@adacore.com>
1753 * snames.ads-tmpl (Name_Defined): New predefined name for use by the
1754 integrated preprocessor.
1756 * prep.ads, prep.adb (Setup_Hooks): New subprogram.
1757 (Initialize): Split into two subprograms, Initialize (to be called
1758 prior to compiler command line processing) and Setup_Hooks (to be called
1759 later on when the first source file is loaded).
1761 * gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks.
1762 Add call to Prep.Initialize.
1764 * sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call
1765 to Prep.Setup_Hooks.
1767 2009-04-16 Pascal Obry <obry@adacore.com>
1769 * adaint.h, adaint.c (__gnat_chdir): New routine.
1770 Simple wrapper routines used to convert to proper encoding on
1773 * s-crtl.ads: Use __gnat_chdir instead of direct call to the C library.
1775 * a-direct.adb, g-dirope.adb: Use chdir from System.CRTL.
1777 2009-04-16 Quentin Ochem <ochem@adacore.com>
1779 * sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead
1782 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
1784 * a-convec.ads (Is_Empty): Mark inline.
1786 2009-04-16 Nicolas Roche <roche@adacore.com>
1788 * init.c (__gnat_init_float): Initialize FPU on x86_64 windows
1790 2009-04-16 Thomas Quinot <quinot@adacore.com>
1792 * prepcomp.adb: Minor reformatting
1794 2009-04-16 Jerome Lambourg <lambourg@adacore.com>
1796 * sem_prag.adb (Process_Import_Or_Interface): With .NET,
1797 Access_Subprogram types can also be imported.
1798 (Check_Form_Of_Interface_Name): Accept '/' character in entity CIL
1801 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1803 * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration):
1804 preserve homonym chain when the declaration is rewritten into a
1805 renaming declaration, in order to preserve visibility structure.
1807 2009-04-16 Jerome Lambourg <lambourg@adacore.com>
1809 * sem_prag.adb (Analyze_Pragma): Make sure that pragma pack is not
1810 taken into account for VM targets.
1812 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com>
1814 * g-calend.ads, g-calend.adb (Week_In_Year): Now calls
1816 (Year_Week_In_Year): New routine which contains the original code from
1817 Week_In_Year. Add the missing special case for January 1st falling on
1820 2009-04-16 Thomas Quinot <quinot@adacore.com>
1822 * exp_dist.adb (Build_From_Any_Call): For a subtype that is a generic
1823 actual type, use the base type to build the To_Any function.
1824 (Build_From_Any_Function): Remove junk, useless subtype conversion.
1826 2009-04-16 Thomas Quinot <quinot@adacore.com>
1828 * exp_ch9.adb, exp_code.adb, tbuild.adb, sem_case.adb,
1829 restrict.adb: Minor code reorganization (use
1830 Add_{Char,Str}_To_Name_Buffer instead of inlining it by hand).
1832 2009-04-16 Bob Duff <duff@adacore.com>
1834 * exp_ch6.ads, exp_ch6.adb (Is_Build_In_Place_Function_Return): Remove,
1837 2009-04-16 Thomas Quinot <quinot@adacore.com>
1839 * sem_ch4.adb: Minor reformatting
1841 * adaint.c: Remove junk duplicated code.
1843 * sem_ch3.adb: Minor reformatting
1845 * exp_dist.adb: Minor comment rewording
1847 2009-04-16 Robert Dewar <dewar@adacore.com>
1849 * gnat_rm.texi: Document effect of Assume_No_Invalid_Values and -gnatVa
1852 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1854 * sem_ch4.adb (Find_Equality_Types): Filter out types that are not
1855 usable before calling Add_One_Interp, to resolve spurious ambiguities.
1857 2009-04-16 Robert Dewar <dewar@adacore.com>
1859 * Make-lang.in: Add entries for s-conca?.o
1861 * Makefile.rtl: Add entries for s-conca?
1863 * debug.adb: Add debug flags -gnatd.c and -gnatd.C to control behavior
1864 of concatenation expansion
1866 * exp_ch4.adb (Expand_Concatenation): Generate calls for certain
1867 string cases instead of expanding assignments inline.
1869 * opt.ads (Optimize_Size): New flag
1871 * s-conca2.ads, s-conca2.adb, s-conca3.adb, s-conca3.ads,
1872 s-conca4.adb, s-conca4.ads, s-conca5.adb, s-conca5.ads, s-conca6.adb,
1873 s-conca6.ads, s-conca7.ads, s-conca7.adb, s-conca8.adb, s-conca8.ads,
1874 s-conca9.adb, s-conca9.ads: New file.
1876 2009-04-16 Robert Dewar <dewar@adacore.com>
1878 * exp_ch6.adb: Add comments
1880 * rtsfind.ads: Add entries for s-conca? routines
1882 2009-04-16 Arnaud Charlet <charlet@adacore.com>
1884 * gcc-interface/Make-lang.in: Update dependencies.
1886 * gcc-interface/Makefile.in: Update translation for vms.
1888 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1890 * sem_ch12.adb (Map_Formal_Package_Entities): renamed from Map_Entities
1891 and made global, to be used when installing parents of a child
1892 instance, to provide mappings for entities declared in formal packages
1893 of ancestor units. Now called from Install_Formal_Packages.
1895 2009-04-16 Doug Rupp <rupp@adacore.com>
1897 * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events with others
1898 notation for clarity.
1900 * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
1901 s-taprop-mingw.adb, s-taprop-linux.adb, s-taprop-solaris.adb,
1902 s-taprop-irix.adb, s-taprop-hpux-dce.adb, s-taprop-posix.adb
1903 (Initialize): Initialize Known_Tasks with Environment task.
1905 * s-taskin.ads (Task_States): Move new states to end for the sake of
1908 * s-tassta.adb (Task_Wrapper): Fix comment about Enter_Task.
1910 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1912 * exp_ch9.adb (Expand_N_Protected_Type_Declaration): If a protected
1913 operation has an inline pragma, propagate the flag to the internal
1914 unprotected subprogram.
1916 2009-04-16 Doug Rupp <rupp@adacore.com>
1918 * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-mingw.adb,
1919 s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb,
1920 s-taprop-hpux-dce.adb, s-taprop-posix.adb
1921 (Enter_Task): Move Known_Tasks initialization to s-tassta.adb
1923 * s-taprop-vms.adb (Enter_Task): Likewise.
1924 (Initialize): Import DBEXT, Debug_Register. Register DBGEXT callback.
1926 * s-tassta.adb (Activate_Tasks): After task creation set state to
1927 Activating, vice Runnable. Initialize Known_Tasks, moved here from
1928 s-taprop.adb (Enter_Task). Set Debug_Event_Activating for debugger.
1929 Set state to Runnable after above.
1930 (Task_Wrapper): Set Debug_Event_Run. In exception block set
1931 Debug_Event_Terminated.
1933 * s-taskin.ads (Task_States): Add new states Activiting and
1934 Activator_Delay_Sleep.
1935 (Bit_Array, Debug_Event_Array): New types.
1936 (Global_Task_Debug_Event_Set: New flag.
1937 (Common_ATCB): New field Debug_Events.
1939 * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events.
1941 * s-tasren.adb (Timed_Selective_Wait): Set Activator_Delay_Sleep vice
1944 * s-tasini.adb (Locked_Abort_To_Level): Add case alternatives for when
1945 Activating and when Acceptor_Delay_Sleep.
1947 * s-tasdeb.ads: Add constants for Debug_Events.
1948 (Debug_Event_Kind_Type): New subtype.
1949 (Signal_Debug_Event): New subprogram.
1951 * s-tasdeb.adb (Signal_Debug_Event): New null subprogram.
1953 2009-04-16 Thomas Quinot <quinot@adacore.com>
1955 * sem_elim.adb: Minor reformatting
1957 * freeze.adb: Minor reformatting
1959 * exp_ch4.adb: Minor reformatting
1961 2009-04-16 Emmanuel Briot <briot@adacore.com>
1963 * prj-nmsc.adb (Path_Name_Of): fix memory leak
1965 2009-04-16 Robert Dewar <dewar@adacore.com>
1967 * sinfo.ads (Backwards_OK, Forwards_OK): Clarify documentation
1969 2009-04-16 Vincent Celier <celier@adacore.com>
1971 * fmap.adb (Initialize): Show the current line when the mapping file
1972 is detected as "incorrectly formatted".
1974 2009-04-16 Robert Dewar <dewar@adacore.com>
1976 * sem_ch12.adb: Minor reformatting
1978 * sem_ch5.adb: Minor comment addition
1980 * sem_util.adb: Minor reformatting
1982 * sinput-p.adb: Minor reformatting
1983 Add missing pragma Warnings (On)
1985 2009-04-16 Ed Falis <falis@adacore.com>
1987 * s-vxwext-kernel.adb: (ERROR): deleted unused constant
1989 2009-04-16 Vincent Celier <celier@adacore.com>
1991 * ali-util.adb: Minor comment spelling error fix
1993 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
1995 * exp_ch5.adb (Expand_Assign_Array): For the GCC back-end, do not
1996 generate an assignment loop in case of overlap.
1998 2009-04-16 Olivier Hainque <hainque@adacore.com>
2000 * gnat_ugn.texi (gnatmem description): Make it explicit that
2001 gnatmem is designed to work in association with static runtime
2004 2009-04-16 Thomas Quinot <quinot@adacore.com>
2006 * sem_type.adb: Minor reformatting
2008 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com>
2010 * s-osprim-darwin.adb, s-osprim-posix.adb (Clock): Add comment
2011 concerning return codes of gettimeofday and return value check.
2013 2009-04-16 Ed Falis <falis@adacore.com>
2015 * s-vxwext-kernel.ads (Int_Lock, Int_Unlock): set to convention C so
2016 body can be renaming of imported routines.
2018 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com>
2020 * s-asthan-vms-alpha.adb: Disable warnings on alignment in a more
2023 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
2025 * exp_ch9.adb: Comment improvements.
2026 (Build_Entry_Family_Name): Add parentheses around the index of a entry
2029 2009-04-15 Bob Duff <duff@adacore.com>
2031 * sem_warn.adb (Check_Infinite_Loop_Warning): Catch cases like
2032 "while X /= null loop" where X is unchanged inside the loop. We were
2033 not warning in this case, because of the pointers -- we feared that the
2034 loop variable could be updated via a pointer, if there are any pointers
2035 around the place. But that is impossible in this case.
2037 * sem_util.adb (May_Be_Lvalue): This routine was overly pessimistic in
2038 the case of dereferences. In X.all, X cannot be an l-value. We now
2039 catch that case (and implicit dereferences, too).
2041 2009-04-15 Vincent Celier <celier@adacore.com>
2043 * sinput-p.ads, sinput-p.adb (Clear_Source_File_Table): New procedure
2045 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2047 * sem_ch12.adb (Is_Actual_Of_Previous_Formal): Make fully recursive.
2049 (Analyze_Package_Instantiation): If generic unit in child instance is
2050 the same as generic unit in parent instance, look for an outer homonym
2051 to locate the desired generic.
2053 2009-04-15 Bob Duff <duff@adacore.com>
2055 * sem_ch5.adb (Analyze_Loop_Statement): Don't check for infinite loop
2056 warnings unless the loop comes from source, because checking generated
2057 loops is a waste of time, and makes it harder to debug
2058 Check_Infinite_Loop_Warning.
2060 * sem_warn.adb (Check_Infinite_Loop_Warning): If the local variable
2061 tested in the while loop is a renaming, do not warn. Otherwise, we get
2062 false alarms, because it's usually renaming something that we can't
2063 deal with (an indexed component, a global variable, ...).
2065 * gnat_rm.texi: Fix typo
2067 2009-04-15 Thomas Quinot <quinot@adacore.com>
2069 * sem_ch6.adb: Minor reformatting
2071 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
2073 * exp_ch7.adb (Expand_Ctrl_Function_Call): Check for the case where the
2074 immediate parent of the controlled function call is a component
2077 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2079 * sem_ch8.adb (Use_One_Type): If the type is tagged, indicate that the
2080 corresponding class-wide type is also in use.
2082 2009-04-15 Thomas Quinot <quinot@adacore.com>
2084 * frontend.adb: Minor comment fix
2086 2009-04-15 Robert Dewar <dewar@adacore.com>
2088 * gnatchop.adb (BOM_Length): New global variable
2089 (Write_Unit): Add new parameter Write_BOM
2090 (Write_Chopped_Files): Check for BOM and set Write_BOM for call
2093 * gnat_ugn.texi: Add note on propagation of BOM by gnatchop
2095 2009-04-15 Geert Bosch <bosch@adacore.com>
2097 * system-mingw-x86_64.ads, system-darwin-x86_64.ads
2098 (Backend_Overflow_Checks): Set to True.
2100 2009-04-15 Gary Dismukes <dismukes@adacore.com>
2102 * par-ch3.adb (P_Type_Declaration): Issue an error if the synchronized
2103 keyword is given in a record extension.
2105 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
2107 * exp_ch7.adb (Expand_Ctrl_Function_Call): Procede with the expansion
2108 of a controlled function call in the context of a record aggregate.
2109 This does not apply to array aggregates since the call will be expanded
2112 2009-04-15 Ed Falis <falis@adacore.com>
2114 * s-osinte-vxworks-kernel.adb, s-osinte-vxworks.adb,
2115 s-osinte-vxworks.ads s-vxwext.ads, s-vxwext-kernel.adb,
2116 s-vxwext-kernel.ads, s-vxwext-rtp.ads, s-vxwext-rtp.adb: Reorganize
2117 s-osinte-vxworks* and s-vxwext*.
2119 2009-04-15 Arnaud Charlet <charlet@adacore.com>
2121 * gcc-interface/Make-lang.in: Update dependencies.
2123 * gcc-interface/Makefile.in: Reorganization of s-osinte-vxworks*
2126 2009-04-15 Robert Dewar <dewar@adacore.com>
2128 * sem_ch13.adb (Unchecked_Conversions): Store source location instead
2129 of node for location for warning messages.
2131 * gnatchop.adb: Minor reformatting
2133 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2135 * exp_ch6.adb: additional guard for renaming declarations for in
2136 parameters of an array type.
2138 2009-04-15 Robert Dewar <dewar@adacore.com>
2140 * sem_eval.adb (Get_Static_Length): Go to origin node for array bounds
2141 in case they were rewritten by expander (Force_Evaluation).
2143 * targparm.adb (Get_Target_Parameters): Correct check for
2144 Suppress_Exception_Locations.
2146 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2148 * exp_ch6.adb (Expand_Inlined_Call): If an in-parameter in a call to be
2149 inlined is of an array type that is not bit-packed, use a renaming
2150 declaration to capture its value, rather than a constant declaration.
2152 2009-04-15 Robert Dewar <dewar@adacore.com>
2154 * rtsfind.adb: Minor reformatting.
2156 2009-04-15 Emmanuel Briot <briot@adacore.com>
2158 * prj-part.adb, prj-tree.adb, prj-tree.ads (Restore_And_Free): renames
2159 Restore, and free the saved context.
2161 2009-04-15 Gary Dismukes <dismukes@adacore.com>
2163 * sem_ch3.adb (Analyze_Private_Extension_Declaration): Move error check
2164 for illegal private extension from a synchronized interface parent in
2165 front of check for illegal limited extension so that limited extension
2166 from a synchronized interface will be rejected.
2167 (Check_Ifaces): Check that a private extension that has a synchronized
2168 interface as a progenitor must be explicitly declared synchronized.
2169 Also check that a record extension cannot derive from a synchronized
2172 2009-04-15 Pascal Obry <obry@adacore.com>
2174 * adaint.h (__gnat_unlink): Add spec.
2175 (__gnat_rename): Likewise.
2177 2009-04-15 Vincent Celier <celier@adacore.com>
2179 * prj-nmsc.adb: Minor spelling error corrections in error messages
2181 2009-04-15 Robert Dewar <dewar@adacore.com>
2183 * sinfo.ads: Minor comment update
2185 * opt.ads: Minor comment updates
2187 * checks.adb (Enable_Overflow_Check): Do not set Do_Overflow_Check for
2190 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2192 * exp_disp.ads, exp_disp.adb (Register_Primitive): Is now a function
2193 that generates the code needed to update a dispatch table when a
2194 primitive operation is declared with a subprogram body without previous
2195 spec. Insertion of the generated code is responsibility of the caller.
2196 (Make_DT): When building static tables, append the code created by
2197 Register_Primitive to update a secondary table after it has been
2200 * exp_ch3.adb, exp_ch6.adb: use new version of Register_Primitive.
2202 * sem_disp.adb (Check_Dispatching_Operation): Call Register_Primitive
2203 on an overriding operation that implements an interface operation only
2204 if not building static dispatch tables.
2206 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
2208 * a-caldel-vms.adb (To_Duration): Declare a "safe" end of time which
2209 does not cause overflow when converted to Duration. Use the safe value
2210 as the maximum allowable time delay..
2212 2009-04-15 Jerome Lambourg <lambourg@adacore.com>
2214 * g-comlin.adb (Set_Command_Line): When adding a switch with attached
2215 parameter, specify that the delimiter is NUL, otherwise "-j2" will be
2216 translated to "-j 2".
2218 2009-04-15 Bob Duff <duff@adacore.com>
2220 * rtsfind.adb (Maybe_Add_With): Split out procedure to add implicit
2221 with_clauses, to avoid code duplication. Change this processing so we
2222 always add a with_clause on the main unit if needed.
2224 2009-04-15 Pascal Obry <obry@adacore.com>
2226 Add support for Win32 native encoding for delete/rename routines.
2228 * adaint.c (__gnat_unlink): New routine.
2229 (__gnat_rename): New routine.
2230 Simple wrapper routines used to convert to proper encoding on
2233 * s-os_lib.adb: Use __gnat_unlink and __gnat_rename instead of direct
2234 call to the C library.
2236 * g-sercom-mingw.adb, s-win32.ads: Update Win32 binding.
2238 2009-04-15 Robert Dewar <dewar@adacore.com>
2240 * s-tassta.adb: Minor reformatting
2242 2009-04-15 Robert Dewar <dewar@adacore.com>
2244 * frontend.adb (Frontend): Set proper default for
2245 Warn_On_Non_Local_Exception.
2247 * opt.ads (Exception_Handler_Encountered): New flag
2248 (No_Warn_On_Non_Local_Exception): New flag
2250 * par-ch11.adb (P_Exception_Handler): Set Exception_Handler_Encountered
2252 * sem_warn.adb (Set_Warning_Switch): Set No_Warn_On_Non_Local_Exception
2253 (Set_Dot_Warning_Switch): Set No_Warn_On_Non_Local_Exception
2255 2009-04-15 Cyrille Comar <comar@adacore.com>
2257 * s-tassta.adb, a-exextr.adb, a-elchha.adb
2258 (Ada.Exception.Last_Chance_Handler): Do not print unhandled exception
2259 message when exception traces are active since it would generate
2260 redundant information.
2261 (Exception_Traces.Notify_Exception): put message output by a critical
2262 section to avoid unsynchronized output.
2263 (Trace_Unhandled_Exception_In_Task): put message output by a critical
2264 section to avoid unsynchronized output.
2266 2009-04-15 Emmanuel Briot <briot@adacore.com>
2268 * g-comlin.adb, prj-tree.adb, prj-tree.ads, prj.adb, prj.ads
2269 (Free): New subprogram.
2271 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
2273 * a-calend.adb: Add new constant Nanos_In_Four_Years.
2274 (Formatting_Operations.Time_Of): Change the way four year chunks of
2275 nanoseconds are added to the intermediate result.
2277 2009-04-15 Nicolas Setton <setton@adacore.com>
2279 * sysdep.c: Add __APPLE__ in the list of systems where get_immediate
2280 does not need to wait for a carriage return.
2282 2009-04-15 Tristan Gingold <gingold@adacore.com>
2284 * bindgen.adb: Do not generate adafinal if No_Finalization restriction
2287 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2289 * freeze.adb (Freeze_Entity): improve error message for improper use of
2291 Diagnose additional illegal uses of incomplete types in formal parts.
2292 appearing in formal parts.
2294 * sem_ch6.adb (Process_Formals, Analyze_Return_Type): ditto.
2296 2009-04-15 Robert Dewar <dewar@adacore.com>
2298 * exp_ch4.adb (Expand_N_Allocator): Install test for object too large.
2300 2009-04-15 Nicolas Roche <roche@adacore.com>
2302 * adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the
2305 * s-osinte-linux.ads: Import the __gnat_lwp_self function as lwp_self
2307 * s-taprop-linux.adb (Enter_Task): Store the LWP in the TCB
2309 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2311 * sem_ch4.adb: improve error message on exponentiation.
2313 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
2315 * a-calend.adb: Move constant Epoch_Offset from package
2316 Conversion_Operations to top level.
2317 (Delay_Operations.To_Duration): Define a constant which represents
2318 "end of time" and use it as a guard against very distant delay dates.
2319 Protect the code against overflow when performing the origin shift to
2322 2009-04-15 Robert Dewar <dewar@adacore.com>
2324 * sem_prag.adb: Minor reformatting.
2326 * sem_type.adb: Minor reformatting
2328 2009-04-15 Javier Miranda <miranda@adacore.com>
2330 * sem_ch6.adb (Analyze_Abstract_Subprogram_Declaration): Add missing
2331 support to check eliminated subprograms.
2333 * sem_elim.ads (Eliminate_Error_Msg): Update documentation.
2335 * sem_elim.adb (Set_Eliminated): Add support for elimination of
2336 dispatching subprograms.
2338 * exp_disp.adb (Make_DT): Minor code cleanup when freezing primitive
2339 operations. Initialize with "null" the slots of eliminated dispaching
2341 (Write_DT): Add output for eliminated primitives.
2343 * sem_disp.adb (Check_Dispatching_Call): Check eliminated primitives.
2345 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2347 * sem_ch8.adb (Use_One_Type): If both clauses appear on the same unit,
2348 the second is redundant, regardless of scopes.
2350 2009-04-15 Vincent Celier <celier@adacore.com>
2352 * prj-nmsc.adb (Get_Directories): Check for sources before checking
2353 the object directory as when there are no sources, they may not be any
2356 * make.adb (Gnatmake): Do not attempt to get the path name of the exec
2357 directory, when there are no exec directory.
2359 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2361 * sem_type.adb (Remove_Conversions): In order to resolve spurious
2362 ambiguities, refine removal of universal interpretations from complex
2363 expressions with literal arguments, when some numeric operators have
2364 been declared abstract.
2366 2009-04-15 Ed Falis <falis@adacore.com>
2368 * init.c: Map SIGSEGV to Storage_Error for all targets for uniformity
2369 and backward compatibility for targets using probing for stack overflow
2371 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2373 * sem_prag.adb (Analyze_Pragma, case 'Obsolescent): Pragma is legal
2374 after any declaration, including renaming declarations.
2376 2009-04-15 Arnaud Charlet <charlet@adacore.com>
2378 * gcc-interface/Make-lang.in: Update dependencies.
2380 * gcc-interface/Makefile.in: Fix VxWorks target pairs.
2381 Update xenomai target pairs.
2383 2009-04-15 Javier Miranda <miranda@adacore.com>
2385 * exp_ch4.adb (Expand_N_Allocator): Code cleanup.
2387 * sem_ch6.adb (Check_Anonymous_Return): Add missing support for
2388 functions returning anonymous access to class-wide limited types. Mark
2389 also the containing scope as a task master.
2391 * sem_ch8.adb (Restore_Scope_Stack): Add missing management for
2392 limited-withed packages. Required to restore their visibility after
2393 processing packages associated with implicit with-clauses.
2395 * exp_ch3.adb (Build_Class_Wide_Master): Avoid marking masters
2396 associated with return statements because this work is now done by
2397 Check_Anonymous_Return.
2398 (Build_Master): Code cleanup.
2400 2009-04-15 Thomas Quinot <quinot@adacore.com>
2402 * sem_warn.ads: Minor reformatting
2404 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2406 * sem_ch3.adb: better error message for illegal interfaces
2408 * sem_ch6.adb (Possible_Freeze): Delay freezing a subprogram if a
2409 formal is an incomplete type from a limited_with clause.
2411 2009-04-15 Vincent Celier <celier@adacore.com>
2413 * prj-nmsc.adb (Locate_Directory): New Boolean parameter
2414 Externally_Built indicating if the project is externally built. If it
2415 is, and --subdirs is specified, but the subdir does not exist, look
2416 for the specified directory, without the subdir.
2418 2009-04-15 Gary Dismukes <dismukes@adacore.com>
2420 * a-tasatt.adb: Fix typo, plus minor reformatting
2422 * sem_ch3.ads: Add missing hyphen ("class wide" => "class-wide").
2424 * sem_ch10.adb: Add missing hyphen ("use visible" => "use-visible").
2426 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2428 * sem_ch3.adb (Analyze_Private_Extension_Declaration): Verify that a
2429 private extension whose parent is a synchronized interface carries an
2430 explicit synchronized keyword.
2432 2009-04-15 Thomas Quinot <quinot@adacore.com>
2434 * exp_smem.adb (Make_Shared_Var_Procs): For a protected type,
2435 instantiate generic shared object package with the corresponding
2438 2009-04-15 Arnaud Charlet <charlet@adacore.com>
2440 * system-linux-sparc.ads: Remove obsolete entries.
2442 2009-04-15 Thomas Quinot <quinot@adacore.com>
2444 * s-tasuti.ads: Add ??? comment
2446 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2448 * sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access
2449 type even if the designated type comes from a limited_with clause, to
2450 ensure that the symbol for the finalization list of the access type is
2453 2009-04-10 Robert Dewar <dewar@adacore.com>
2455 * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): Catch more cases
2456 for warning suppression.
2458 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2460 * sem_ch8.adb (Use_One_Type): If the two use_type clauses are
2461 identical, there is no redudancy to check.
2463 2009-04-10 Gary Dismukes <dismukes@adacore.com>
2465 * exp_ch5.adb (Expand_N_Extended_Return_Statement): Delete redundant
2466 calls initializing SS_Allocator (which is initialized in following
2468 (Expand_Simple_Function_Return): Add comment about False value for
2469 Comes_From_Source on secondary-stack allocator.
2471 * exp_ch9.adb (Build_Entry_Family_Name): Add comment.
2472 (Build_Entry_Name): Add comment.
2474 2009-04-10 Robert Dewar <dewar@adacore.com>
2476 * einfo.ads, einfo.adb (Low_Bound_Tested): New name for Low_Bound_Known
2478 * sem_prag.adb (Analyze_Pragma, case Check): Remove check for lower
2479 bound tested, since this is now done more generally in Sem_Res.
2481 * sem_res.adb (Resolve_Comparison_Op): Add call to
2482 Check_Lower_Bound_Tested.
2483 (Resolve_Equality_Op): Add call to Check_Lower_Bound_Tested
2485 * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): New procedure
2486 (Low_Bound_Tested): New name for Low_Bound_Known flag
2488 * exp_ch5.adb: Minor reformatting
2491 Add comments on copying the Comes_From_Source flag for allocators
2494 Add comments on copying the Comes_From_Source flag for allocators
2496 * exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Copy
2497 Comes_From_Source flag from old allocator to new one.
2499 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2501 * sem_ch6.ads: Address missing documentation query
2503 2009-04-10 Vincent Celier <celier@adacore.com>
2506 Add new Linker attributes Max_Command_Line_Length, Response_File_Format
2507 and Response_File_Switches.
2509 * prj-nmsc.adb (Process_Linker): Process new attributes
2510 Max_Command_Line_Length, Response_File_Format and
2511 Response_File_Switches.
2513 * prj.ads (Response_File_Format): New enumeration type
2514 (Project_Configuration): New componants Max_Command_Line_Length,
2515 Resp_File_Format and Resp_File_Options.
2517 * snames.ads-tmpl: Add new standard names for linking response files
2518 for gprbuild: GNU, None, Object_List, Option_List,
2519 Max_Command_Line_Length, Response_File_Format and
2520 Response_File_Switches.
2522 2009-04-10 Geert Bosch <bosch@adacore.com>
2524 * system-aix.ads, system-darwin-ppc.ads, system-darwin-x86.ads,
2525 system-freebsd-x86.ads, system-hpux.ads, system-hpux-ia64.ads,
2526 system-irix-n32.ads, system-irix-o32.ads, system-linux-alpha.ads,
2527 system-linux-hppa.ads, system-linux-ia64.ads, system-linux-ppc.ads,
2528 system-linux-s390.ads, system-linux-s390x.ads, system-linux-sh4.ads,
2529 system-linux-sparc.ads, system-linux-x86_64.ads, system-linux-x86.ads,
2530 system-mingw.ads, system-solaris-sparc.ads, system-solaris-sparcv9.ads,
2531 system-solaris-x86.ads, system-tru64.ads, system-vms_64.ads,
2532 system-vms.ads, system-vms-ia64.ads, system-vms-zcx.ads,
2533 system-vxworks-arm.ads, system-vxworks-m68k.ads,
2534 system-vxworks-mips.ads, system-vxworks-ppc.ads,
2535 system-vxworks-sparcv9.ads, system-vxworks-x86.ads
2536 (Backend_Overflow_Checks): Set to True.
2538 2009-04-10 Thomas Quinot <quinot@adacore.com>
2540 * exp_attr.adb: Minor reformatting
2542 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2544 * sem_prag.adb (Check_Precondition_Postcondition): Within a generic,
2545 analyze the expression for a postcondition, even if the compiler mode
2548 2009-04-10 Robert Dewar <dewar@adacore.com>
2550 * sem_aux.adb: Minor reformatting
2552 2009-04-10 Ed Falis <falis@adacore.com>
2554 * init.c: Change VxWorks 6 stack overflow checking for kernel apps.
2556 * system-vxworks-ppc.ads, system-vxworks-x86.ads: Update header.
2558 2009-04-10 Thomas Quinot <quinot@adacore.com>
2560 * sem_ch6.ads (Check_Subtype_Conformant): Add ??? comment for
2561 undocumented formal.
2564 * a-direio.ads: Fix typo in comment
2566 * sem_ch3.adb, g-dirope.adb, sem_type.adb, sem_ch12.adb, sem_case.adb,
2567 errout.adb, sem_ch4.adb, sem_ch11.adb, exp_dist.adb, sem_ch13.adb:
2568 Use uniform phrasing for comment at start of subprogram body.
2570 * xsnamest.adb: Add note to explain why we use specific names for the
2571 newly generated files instead of generating snames.{ads,adb,h} directly
2573 2009-04-10 Sergey Rybin <rybin@adacore.com>
2576 Add qualifier for new gnatstub option '--no-exception'
2579 Add the description of the new gnatstub option '--no-exception'
2581 2009-04-10 Robert Dewar <dewar@adacore.com>
2583 * rtsfind.adb: Minor reformatting
2585 2009-04-10 Thomas Quinot <quinot@adacore.com>
2587 * sem_disp.adb: Minor reformatting.
2588 Add comment pointing to RM clause for the case of warning against a
2589 (failed) attempt at declaring a primitive operation elsewhere than in a
2592 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2594 * sem_ch12.adb (Denotes_Formal_Package): Check whether the package is
2595 an actual for a previous formal package of the current instance.
2597 2009-04-10 Bob Duff <duff@adacore.com>
2599 * rtsfind.adb (RTE): Put implicit with_clauses on whatever unit needs
2600 them first, rather than on the extended main unit.
2602 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2604 * sem_ch6.adb (Check_Discriminant_Conformance): If discriminant
2605 specification of full view carries a null exclusion indicator, create
2606 an itype for it, to check for conformance with partial view.
2608 2009-04-10 Bob Duff <duff@adacore.com>
2610 * rtsfind.ads: Minor code change: make RE_Unit_Table constant.
2612 * rtsfind.adb: Minor comment changes, and remove useless code.
2614 * sinfo.ads: Add ??? comment.
2616 2009-04-10 Vincent Celier <celier@adacore.com>
2618 * vms_data.ads: Add missing GNAT SYNC VMS qualifiers -main= and -U
2620 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2622 * exp_attr.adb (Expand_N_Attribute_Reference, case 'Tag): If the tagged
2623 type is a synchronized type, retrieve tag information from the
2624 corresponding record, which has the dispatch table link.
2626 2009-04-10 Jerome Lambourg <lambourg@adacore.com>
2628 * g-comlin.adb (Group_Analysis): Take care of switches that might be
2629 decomposed afterwards, but are present as-is in the command line
2630 configuration, and thus should be kept as-is.
2632 2009-04-10 Robert Dewar <dewar@adacore.com>
2634 * gnat_rm.texi: Document that postconditions are tested on implicit
2637 * sem_aux.adb: Minor reformatting
2639 2009-04-10 Gary Dismukes <dismukes@adacore.com>
2641 * itypes.adb (Create_Null_Excluding_Itype): Apply Base_Type when
2644 * par-ch3.adb (P_Access_Type_Definition): Set new attribute
2645 Null_Exclusion_In_Return_Present when an access-to-function type has a
2646 result type with an explicit not null.
2648 * sem_ch3.adb (Access_Subprogram_Definition): If a null exclusion is
2649 given on the result type, then create a null-excluding itype for the
2652 * sem_ch6.adb (Analyze_Return_Type): Create a null-excluding itype in
2653 the case where a null exclusion is imposed on a named access type.
2654 (Analyze_Subprogram_Specification): Push and pop the scope of the
2655 function around the call to Analyze_Return_Type in the case of no
2656 formals, for consistency with handling when formals are present
2657 (Process_Formals does this). Ensures that any itype created for the
2658 return type will be associated with the proper scope.
2660 * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): If a null
2661 exclusion is given on a generic function's result type, then create a
2662 null-excluding itype for the generic function.
2663 (Instantiate_Object): Set Null_Exclusion_Present of a constant created
2664 for an actual for a formal in object according to the setting on the
2665 formal. Ensures null exclusion checks are done when the association is
2668 * sinfo.ads: Add new flag Null_Exclusion_In_Return_Present on
2669 N_Access_Function_Definition.
2671 * sinfo.adb: Add Get_ and Set_ operations for
2672 Null_Exclusion_In_Return_Present.
2674 2009-04-10 Bob Duff <duff@adacore.com>
2676 * exp_ch5.adb, exp_ch6.adb, sem_ch6.adb: Move the code that creates a
2677 call to the _Postconditions procedure in the case of implicit returns
2678 from analysis to expansion. This eliminates some duplicated code. Use
2679 the Postcondition_Proc to find the identity of this procedure during
2682 2009-04-10 Robert Dewar <dewar@adacore.com>
2684 * sem_ch6.adb: Minor code clean up.
2686 * einfo.ads, sem_attr.adb: Minor comment fixes.
2688 2009-04-10 Robert Dewar <dewar@adacore.com>
2690 * sem_ch8.adb: Minor reformatting
2692 2009-04-10 Robert Dewar <dewar@adacore.com>
2694 * einfo.ads, einfo.adb (Postcondition_Proc): New attribute for
2697 * sem_ch6.adb: Minor code clean up.
2699 2009-04-10 Robert Dewar <dewar@adacore.com>
2701 * mlib-tgt-specific-xi.adb: Minor reformatting
2703 2009-04-10 Bob Duff <duff@adacore.com>
2705 * einfo.ads: Minor comment fixes
2707 2009-04-10 Vincent Celier <celier@adacore.com>
2709 * snames.ads-tmpl: Remove names that are no longer used in the
2711 Mark specifically those that are used only in gprbuild
2713 2009-04-10 Eric Botcazou <ebotcazou@adacore.com>
2715 * init.c: Adjust EH support code on Alpha/Tru64.
2717 2009-04-10 Bob Duff <duff@adacore.com>
2719 * sem_ch6.adb (Process_PPCs): Add a call to the _Postconditions
2720 procedure on every path that could return implicitly (not via a return
2721 statement) from a procedure.
2723 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2725 * exp_ch9.adb (Build_Master_Entity): An extended return statement is a
2726 valid scope for a task declarations and therefore for a master id.
2728 2009-04-10 Robert Dewar <dewar@adacore.com>
2730 * sem_aux.adb: Minor reformatting
2732 2009-04-10 Vincent Celier <celier@adacore.com>
2734 * scn.adb (Obsolescent_Check_Flag): New Boolean flag, initialized to
2736 (Obsolescent_Check): Do nothing if Obsolescent_Check_Flag is False
2737 (Set_Obsolescent_Check): New procedure to change the value of
2738 Obsolescent_Check_Flag.
2740 * scn.ads (Set_Obsolescent_Check): New procedure to control
2743 * sinput-l.adb (Load_File): Do not check for pragma Restrictions on
2744 obsolescent features while preprocessing.
2746 2009-04-10 Thomas Quinot <quinot@adacore.com>
2748 * xsnamest.adb: Use XUtil to have uniform line endings (UNIX style) in
2749 generated files on all platforms.
2751 2009-04-10 Robert Dewar <dewar@adacore.com>
2753 * sem_aux.adb: Minor reformatting
2755 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2757 * sem_ch3.adb (Access_Definition): Handle properly the case of a
2758 protected function with formals that returns an anonymous access type.
2760 2009-04-10 Thomas Quinot <quinot@adacore.com>
2762 * sem_disp.adb: Minor reformatting
2764 2009-04-10 Vasiliy Fofanov <fofanov@adacore.com>
2766 * seh_init.c: Do not use the 32-bit specific implementation of
2767 __gnat_install_SEH_handler on 64-bit Windows target (64-bit specific
2770 2009-04-10 Jose Ruiz <ruiz@adacore.com>
2772 * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Target_Name may contain
2773 a '/' at the end so we better use the complete target name to determine
2774 whether it is a PowerPC 55xx target.
2776 2009-04-10 Thomas Quinot <quinot@adacore.com>
2778 * sem_eval.adb: Minor reformatting
2780 2009-04-10 Thomas Quinot <quinot@adacore.com>
2782 * snames.h, snames.ads, snames.adb: Remove files, now generated from
2785 * snames.h-tmpl, snames.ads-tmpl, snames.adb-tmpl: Templates for the
2788 * xsnamest.adb: New file.
2790 * gcc-interface/Make-lang.in: New target for automated generation of
2791 snames.ads, snames.adb and snames.h
2793 2009-04-10 Tristan Gingold <gingold@adacore.com>
2795 * gcc-interface/Makefile.in, gcc-interface/utils.c: Include "rtl.h" to
2796 avoid compile time warnings.
2797 Do not add gcc/config in include search list while compiling the RTS.
2798 Pragma Thread_Local_Storage is available on any target.
2800 2009-04-10 Bob Duff <duff@adacore.com>
2802 * sem.ads, par.adb, sem_ch6.adb, sem_ch8.adb: Minor comment fixes.
2804 2009-04-10 Tristan Gingold <gingold@adacore.com>
2806 * init.c: Install signal handler on Darwin.
2808 2009-04-10 Robert Dewar <dewar@adacore.com>
2810 * sem_prag.adb: Minor reformatting
2812 * exp_util.adb (Make_Non_Empty_Check): New function
2813 (Silly_Boolean_Array_Not_Test): Add call to Make_Non_Empty_Check
2814 (Silly_Boolean_Array_Xor_Test): Use Make_Non_Empty_Check
2816 2009-04-10 Arnaud Charlet <charlet@adacore.com>
2818 * make.adb, gnatlink.adb: Rename JGNAT toolchain.
2820 2009-04-10 Jose Ruiz <ruiz@adacore.com>
2822 * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Insert the appropriate
2823 tool prefix for AVR and PowerPC 55xx targets.
2825 2009-04-10 Robert Dewar <dewar@adacore.com>
2827 * sem_warn.adb (Within_Postcondition): New function
2828 (Check_Unset_Reference): Use Within_Postcondition to stop bad warning
2830 2009-04-10 Robert Dewar <dewar@adacore.com>
2832 * sem_warn.adb: Minor reformatting
2834 * make.adb: Minor reformatting.
2836 2009-04-10 Gary Dismukes <dismukes@adacore.com>
2838 * exp_ch7.adb (Find_Final_List): When creating a finalization-chain
2839 entity and the scope is a subprogram, retrieve the Sloc of the
2840 subprogram's body rather than using the sloc of the spec, for better
2841 line-stepping behavior in gdb.
2842 (Wrap_Transient_Declaration): For the Sloc of nodes created with a list
2843 controller, use the Sloc of the first declaration of the containing list
2844 rather than that of the node that triggered creation of the list
2847 2009-04-10 Vincent Celier <celier@adacore.com>
2849 * prj-nmsc.adb (Check_Naming_Schemes): Initialize local variable Casing
2850 to avoid gcc warning.
2852 2009-04-10 Robert Dewar <dewar@adacore.com>
2854 * g-comlin.adb: Add ??? comment
2856 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2858 * sem_warn.adb (Check_Unused_Withs): Do not emit message about
2859 unreferenced entities for a package with no visible declarations.
2861 2009-04-10 Robert Dewar <dewar@adacore.com>
2863 * exp_ch9.adb: Minor reformatting
2865 2009-04-10 Thomas Quinot <quinot@adacore.com>
2867 * sem_prag.adb: Minor reformatting
2869 2009-04-10 Vincent Celier <celier@adacore.com>
2872 (Check_Library_Attributes): For a project qualified as a library project
2873 that is not a library project, indicate in the error message which
2874 attributes are missing (Library_Dir and/or Library_Name).
2876 2009-04-10 Bob Duff <duff@adacore.com>
2878 * exp_ch5.adb, exp_ch9.adb: Avoid use of No_Position in Sloc of
2879 generated nodes, because it might confuse various circuits in the FE.
2881 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2883 * sem_prag.adb (Analyze_Pragma, case Task_Name): Do not expand argument
2884 of pragma. It will be recopied and analyzed when used in call to
2887 * sem_res.adb (Resolve_Call): Clarify use of secondary stack within
2888 initialization operations and recognize use of it in procedure calls
2891 * exp_ch9.adb (Make_Task_Create_Call): Copy full tree of Task_Name
2892 argument, because it may have side-effects.
2894 * exp_ch2.adb: Remove obsolete comments on default functions
2896 2009-04-10 Jose Ruiz <ruiz@adacore.com>
2898 * adaint.c (RTX section): Do for RTX the same thing as we do for
2899 Windows (include ctype.h and define a fallback ISALPHA if IN_RTS).
2901 2009-04-10 Robert Dewar <dewar@adacore.com>
2903 * sem_aux.ads, sem_aux.adb (Nearest_Current_Scope): New function.
2905 * sem_res.adb (Resolve_Call): Fix test for
2906 Suppress_Value_Tracking_On_Call (was wrong for the case of a call from
2907 a non-dynamic scope).
2909 2009-04-10 Robert Dewar <dewar@adacore.com>
2911 * make.adb: Add comment.
2914 2009-04-10 Nicolas Setton <setton@adacore.com>
2916 * s-osprim-darwin.adb: New file.
2918 * s-osinte-darwin.adb, s-osinte-darwin.ads: Fix binding to timespec.
2920 2009-04-10 Thomas Quinot <quinot@adacore.com>
2922 * g-socket.ads: Add comment clarifying alignment requirement for Fd_Set
2924 2009-04-09 Nick Clifton <nickc@redhat.com>
2926 * adadecode.h: Change copyright header to refer to version
2927 3 of the GNU General Public License with version 3.1 of the
2928 GCC Runtime Library Exception and to point readers at the
2929 COPYING3 and COPYING3.RUNTIME files and the FSF's license web
2931 * 9drpc.adb: Likewise.
2932 * a-assert.adb: Likewise.
2933 * a-astaco.adb: Likewise.
2934 * a-calari.adb: Likewise.
2935 * a-calcon.adb: Likewise.
2936 * a-calcon.ads: Likewise.
2937 * a-caldel.ads: Likewise.
2938 * a-calend-vms.adb: Likewise.
2939 * a-calend-vms.ads: Likewise.
2940 * a-calend.adb: Likewise.
2941 * a-calend.ads: Likewise.
2942 * a-calfor.adb: Likewise.
2943 * a-catizo.adb: Likewise.
2944 * a-cdlili.adb: Likewise.
2945 * a-cdlili.ads: Likewise.
2946 * a-cgaaso.adb: Likewise.
2947 * a-cgaaso.ads: Likewise.
2948 * a-cgarso.adb: Likewise.
2949 * a-cgcaso.adb: Likewise.
2950 * a-chacon.adb: Likewise.
2951 * a-chacon.ads: Likewise.
2952 * a-chahan.adb: Likewise.
2953 * a-chahan.ads: Likewise.
2954 * a-chlat9.ads: Likewise.
2955 * a-chtgke.adb: Likewise.
2956 * a-chtgke.ads: Likewise.
2957 * a-chtgop.adb: Likewise.
2958 * a-chtgop.ads: Likewise.
2959 * a-chzla1.ads: Likewise.
2960 * a-chzla9.ads: Likewise.
2961 * a-cidlli.adb: Likewise.
2962 * a-cidlli.ads: Likewise.
2963 * a-cihama.adb: Likewise.
2964 * a-cihama.ads: Likewise.
2965 * a-cihase.adb: Likewise.
2966 * a-cihase.ads: Likewise.
2967 * a-ciorma.adb: Likewise.
2968 * a-ciorma.ads: Likewise.
2969 * a-ciormu.adb: Likewise.
2970 * a-ciormu.ads: Likewise.
2971 * a-ciorse.adb: Likewise.
2972 * a-ciorse.ads: Likewise.
2973 * a-clrefi.adb: Likewise.
2974 * a-clrefi.ads: Likewise.
2975 * a-cohama.adb: Likewise.
2976 * a-cohama.ads: Likewise.
2977 * a-cohase.adb: Likewise.
2978 * a-cohase.ads: Likewise.
2979 * a-cohata.ads: Likewise.
2980 * a-coinve.adb: Likewise.
2981 * a-coinve.ads: Likewise.
2982 * a-colien.adb: Likewise.
2983 * a-colien.ads: Likewise.
2984 * a-colire.adb: Likewise.
2985 * a-colire.ads: Likewise.
2986 * a-comlin.adb: Likewise.
2987 * a-comlin.ads: Likewise.
2988 * a-convec.adb: Likewise.
2989 * a-convec.ads: Likewise.
2990 * a-coorma.adb: Likewise.
2991 * a-coorma.ads: Likewise.
2992 * a-coormu.adb: Likewise.
2993 * a-coormu.ads: Likewise.
2994 * a-coorse.adb: Likewise.
2995 * a-coorse.ads: Likewise.
2996 * a-coprnu.adb: Likewise.
2997 * a-coprnu.ads: Likewise.
2998 * a-crbltr.ads: Likewise.
2999 * a-crbtgk.adb: Likewise.
3000 * a-crbtgk.ads: Likewise.
3001 * a-crbtgo.adb: Likewise.
3002 * a-crbtgo.ads: Likewise.
3003 * a-crdlli.adb: Likewise.
3004 * a-crdlli.ads: Likewise.
3005 * a-cwila1.ads: Likewise.
3006 * a-cwila9.ads: Likewise.
3007 * a-decima.adb: Likewise.
3008 * a-decima.ads: Likewise.
3009 * a-diocst.adb: Likewise.
3010 * a-diocst.ads: Likewise.
3011 * a-direct.adb: Likewise.
3012 * a-direct.ads: Likewise.
3013 * a-direio.adb: Likewise.
3014 * a-direio.ads: Likewise.
3015 * a-dirval-mingw.adb: Likewise.
3016 * a-dirval-vms.adb: Likewise.
3017 * a-dirval.adb: Likewise.
3018 * a-dirval.ads: Likewise.
3019 * a-dynpri.adb: Likewise.
3020 * a-einuoc.adb: Likewise.
3021 * a-einuoc.ads: Likewise.
3022 * a-elchha.adb: Likewise.
3023 * a-elchha.ads: Likewise.
3024 * a-envvar.adb: Likewise.
3025 * a-excach.adb: Likewise.
3026 * a-except-2005.adb: Likewise.
3027 * a-except-2005.ads: Likewise.
3028 * a-except.adb: Likewise.
3029 * a-except.ads: Likewise.
3030 * a-excpol-abort.adb: Likewise.
3031 * a-excpol.adb: Likewise.
3032 * a-exctra.adb: Likewise.
3033 * a-exctra.ads: Likewise.
3034 * a-exetim-mingw.adb: Likewise.
3035 * a-exetim-mingw.ads: Likewise.
3036 * a-exexda.adb: Likewise.
3037 * a-exexpr-gcc.adb: Likewise.
3038 * a-exexpr.adb: Likewise.
3039 * a-exextr.adb: Likewise.
3040 * a-exstat.adb: Likewise.
3041 * a-filico.adb: Likewise.
3042 * a-filico.ads: Likewise.
3043 * a-finali.adb: Likewise.
3044 * a-finali.ads: Likewise.
3045 * a-interr.ads: Likewise.
3046 * a-intnam-aix.ads: Likewise.
3047 * a-intnam-darwin.ads: Likewise.
3048 * a-intnam-dummy.ads: Likewise.
3049 * a-intnam-freebsd.ads: Likewise.
3050 * a-intnam-hpux.ads: Likewise.
3051 * a-intnam-irix.ads: Likewise.
3052 * a-intnam-linux.ads: Likewise.
3053 * a-intnam-lynxos.ads: Likewise.
3054 * a-intnam-mingw.ads: Likewise.
3055 * a-intnam-rtems.ads: Likewise.
3056 * a-intnam-solaris.ads: Likewise.
3057 * a-intnam-tru64.ads: Likewise.
3058 * a-intnam-vms.ads: Likewise.
3059 * a-intnam-vxworks.ads: Likewise.
3060 * a-intsig.adb: Likewise.
3061 * a-intsig.ads: Likewise.
3062 * a-ngcefu.adb: Likewise.
3063 * a-ngcoar.adb: Likewise.
3064 * a-ngcoty.adb: Likewise.
3065 * a-ngcoty.ads: Likewise.
3066 * a-ngelfu.adb: Likewise.
3067 * a-ngrear.adb: Likewise.
3068 * a-ngrear.ads: Likewise.
3069 * a-nudira.adb: Likewise.
3070 * a-nudira.ads: Likewise.
3071 * a-nuflra.adb: Likewise.
3072 * a-nuflra.ads: Likewise.
3073 * a-numaux-darwin.adb: Likewise.
3074 * a-numaux-darwin.ads: Likewise.
3075 * a-numaux-libc-x86.ads: Likewise.
3076 * a-numaux-vxworks.ads: Likewise.
3077 * a-numaux-x86.adb: Likewise.
3078 * a-numaux-x86.ads: Likewise.
3079 * a-numaux.ads: Likewise.
3080 * a-rbtgso.adb: Likewise.
3081 * a-rbtgso.ads: Likewise.
3082 * a-reatim.ads: Likewise.
3083 * a-retide.adb: Likewise.
3084 * a-retide.ads: Likewise.
3085 * a-rttiev.adb: Likewise.
3086 * a-rttiev.ads: Likewise.
3087 * a-secain.adb: Likewise.
3088 * a-secain.ads: Likewise.
3089 * a-sequio.adb: Likewise.
3090 * a-sequio.ads: Likewise.
3091 * a-shcain.adb: Likewise.
3092 * a-shcain.ads: Likewise.
3093 * a-siocst.adb: Likewise.
3094 * a-siocst.ads: Likewise.
3095 * a-slcain.adb: Likewise.
3096 * a-slcain.ads: Likewise.
3097 * a-ssicst.adb: Likewise.
3098 * a-ssicst.ads: Likewise.
3099 * a-stboha.adb: Likewise.
3100 * a-stmaco.ads: Likewise.
3101 * a-storio.adb: Likewise.
3102 * a-strbou.adb: Likewise.
3103 * a-strbou.ads: Likewise.
3104 * a-stream.ads: Likewise.
3105 * a-strfix.adb: Likewise.
3106 * a-strhas.adb: Likewise.
3107 * a-strmap.adb: Likewise.
3108 * a-strmap.ads: Likewise.
3109 * a-strsea.adb: Likewise.
3110 * a-strsea.ads: Likewise.
3111 * a-strsup.adb: Likewise.
3112 * a-strsup.ads: Likewise.
3113 * a-strunb.adb: Likewise.
3114 * a-strunb.ads: Likewise.
3115 * a-ststio.adb: Likewise.
3116 * a-ststio.ads: Likewise.
3117 * a-stunau.adb: Likewise.
3118 * a-stunau.ads: Likewise.
3119 * a-stunha.adb: Likewise.
3120 * a-stwibo.adb: Likewise.
3121 * a-stwibo.ads: Likewise.
3122 * a-stwifi.adb: Likewise.
3123 * a-stwiha.adb: Likewise.
3124 * a-stwima.adb: Likewise.
3125 * a-stwima.ads: Likewise.
3126 * a-stwise.adb: Likewise.
3127 * a-stwise.ads: Likewise.
3128 * a-stwisu.adb: Likewise.
3129 * a-stwisu.ads: Likewise.
3130 * a-stwiun.adb: Likewise.
3131 * a-stwiun.ads: Likewise.
3132 * a-stzbou.adb: Likewise.
3133 * a-stzbou.ads: Likewise.
3134 * a-stzfix.adb: Likewise.
3135 * a-stzhas.adb: Likewise.
3136 * a-stzmap.adb: Likewise.
3137 * a-stzmap.ads: Likewise.
3138 * a-stzsea.adb: Likewise.
3139 * a-stzsea.ads: Likewise.
3140 * a-stzsup.adb: Likewise.
3141 * a-stzsup.ads: Likewise.
3142 * a-stzunb.adb: Likewise.
3143 * a-stzunb.ads: Likewise.
3144 * a-suteio.adb: Likewise.
3145 * a-suteio.ads: Likewise.
3146 * a-swbwha.adb: Likewise.
3147 * a-swmwco.ads: Likewise.
3148 * a-swunau.adb: Likewise.
3149 * a-swunau.ads: Likewise.
3150 * a-swuwha.adb: Likewise.
3151 * a-swuwti.adb: Likewise.
3152 * a-swuwti.ads: Likewise.
3153 * a-sytaco.adb: Likewise.
3154 * a-sytaco.ads: Likewise.
3155 * a-szbzha.adb: Likewise.
3156 * a-szmzco.ads: Likewise.
3157 * a-szunau.adb: Likewise.
3158 * a-szunau.ads: Likewise.
3159 * a-szuzha.adb: Likewise.
3160 * a-szuzti.adb: Likewise.
3161 * a-szuzti.ads: Likewise.
3162 * a-tags.adb: Likewise.
3163 * a-tags.ads: Likewise.
3164 * a-tasatt.ads: Likewise.
3165 * a-taside.adb: Likewise.
3166 * a-taside.ads: Likewise.
3167 * a-taster.adb: Likewise.
3168 * a-teioed.adb: Likewise.
3169 * a-teioed.ads: Likewise.
3170 * a-textio.adb: Likewise.
3171 * a-textio.ads: Likewise.
3172 * a-tiboio.adb: Likewise.
3173 * a-ticoau.adb: Likewise.
3174 * a-ticoau.ads: Likewise.
3175 * a-ticoio.adb: Likewise.
3176 * a-ticoio.ads: Likewise.
3177 * a-tideau.adb: Likewise.
3178 * a-tideau.ads: Likewise.
3179 * a-tideio.adb: Likewise.
3180 * a-tideio.ads: Likewise.
3181 * a-tienau.adb: Likewise.
3182 * a-tienau.ads: Likewise.
3183 * a-tienio.adb: Likewise.
3184 * a-tienio.ads: Likewise.
3185 * a-tifiio.adb: Likewise.
3186 * a-tifiio.ads: Likewise.
3187 * a-tiflau.adb: Likewise.
3188 * a-tiflau.ads: Likewise.
3189 * a-tiflio.adb: Likewise.
3190 * a-tiflio.ads: Likewise.
3191 * a-tigeau.adb: Likewise.
3192 * a-tigeau.ads: Likewise.
3193 * a-tiinau.adb: Likewise.
3194 * a-tiinau.ads: Likewise.
3195 * a-tiinio.adb: Likewise.
3196 * a-tiinio.ads: Likewise.
3197 * a-timoau.adb: Likewise.
3198 * a-timoau.ads: Likewise.
3199 * a-timoio.adb: Likewise.
3200 * a-timoio.ads: Likewise.
3201 * a-tiocst.adb: Likewise.
3202 * a-tiocst.ads: Likewise.
3203 * a-titest.adb: Likewise.
3204 * a-wichun.adb: Likewise.
3205 * a-wichun.ads: Likewise.
3206 * a-witeio.adb: Likewise.
3207 * a-witeio.ads: Likewise.
3208 * a-wtcoau.adb: Likewise.
3209 * a-wtcoau.ads: Likewise.
3210 * a-wtcoio.adb: Likewise.
3211 * a-wtcstr.adb: Likewise.
3212 * a-wtcstr.ads: Likewise.
3213 * a-wtdeau.adb: Likewise.
3214 * a-wtdeau.ads: Likewise.
3215 * a-wtdeio.adb: Likewise.
3216 * a-wtdeio.ads: Likewise.
3217 * a-wtedit.adb: Likewise.
3218 * a-wtedit.ads: Likewise.
3219 * a-wtenau.adb: Likewise.
3220 * a-wtenau.ads: Likewise.
3221 * a-wtenio.adb: Likewise.
3222 * a-wtenio.ads: Likewise.
3223 * a-wtfiio.adb: Likewise.
3224 * a-wtfiio.ads: Likewise.
3225 * a-wtflau.adb: Likewise.
3226 * a-wtflau.ads: Likewise.
3227 * a-wtflio.adb: Likewise.
3228 * a-wtflio.ads: Likewise.
3229 * a-wtgeau.adb: Likewise.
3230 * a-wtgeau.ads: Likewise.
3231 * a-wtinau.adb: Likewise.
3232 * a-wtinau.ads: Likewise.
3233 * a-wtinio.adb: Likewise.
3234 * a-wtmoau.adb: Likewise.
3235 * a-wtmoau.ads: Likewise.
3236 * a-wtmoio.adb: Likewise.
3237 * a-wtmoio.ads: Likewise.
3238 * a-wttest.adb: Likewise.
3239 * a-wwboio.adb: Likewise.
3240 * a-zchuni.adb: Likewise.
3241 * a-zchuni.ads: Likewise.
3242 * a-ztcoau.adb: Likewise.
3243 * a-ztcoau.ads: Likewise.
3244 * a-ztcoio.adb: Likewise.
3245 * a-ztcstr.adb: Likewise.
3246 * a-ztcstr.ads: Likewise.
3247 * a-ztdeau.adb: Likewise.
3248 * a-ztdeau.ads: Likewise.
3249 * a-ztdeio.adb: Likewise.
3250 * a-ztdeio.ads: Likewise.
3251 * a-ztedit.adb: Likewise.
3252 * a-ztedit.ads: Likewise.
3253 * a-ztenau.adb: Likewise.
3254 * a-ztenau.ads: Likewise.
3255 * a-ztenio.adb: Likewise.
3256 * a-ztenio.ads: Likewise.
3257 * a-ztexio.adb: Likewise.
3258 * a-ztexio.ads: Likewise.
3259 * a-ztfiio.adb: Likewise.
3260 * a-ztfiio.ads: Likewise.
3261 * a-ztflau.adb: Likewise.
3262 * a-ztflau.ads: Likewise.
3263 * a-ztflio.adb: Likewise.
3264 * a-ztflio.ads: Likewise.
3265 * a-ztgeau.adb: Likewise.
3266 * a-ztgeau.ads: Likewise.
3267 * a-ztinau.adb: Likewise.
3268 * a-ztinau.ads: Likewise.
3269 * a-ztinio.adb: Likewise.
3270 * a-ztmoau.adb: Likewise.
3271 * a-ztmoau.ads: Likewise.
3272 * a-ztmoio.adb: Likewise.
3273 * a-ztmoio.ads: Likewise.
3274 * a-zttest.adb: Likewise.
3275 * a-zzboio.adb: Likewise.
3276 * adadecode.c: Likewise.
3277 * adaint.c: Likewise.
3278 * adaint.h: Likewise.
3279 * alloc.ads: Likewise.
3281 * arit64.c: Likewise.
3282 * atree.adb: Likewise.
3283 * atree.ads: Likewise.
3284 * aux-io.c: Likewise.
3286 * casing.adb: Likewise.
3287 * casing.ads: Likewise.
3289 * csets.adb: Likewise.
3290 * csets.ads: Likewise.
3291 * cstreams.c: Likewise.
3292 * ctrl_c.c: Likewise.
3293 * debug.adb: Likewise.
3294 * debug.ads: Likewise.
3295 * dec.ads: Likewise.
3296 * einfo.adb: Likewise.
3297 * einfo.ads: Likewise.
3298 * elists.adb: Likewise.
3299 * elists.ads: Likewise.
3302 * errno.c: Likewise.
3305 * final.c: Likewise.
3306 * fname.adb: Likewise.
3307 * fname.ads: Likewise.
3308 * g-allein.ads: Likewise.
3309 * g-alleve.adb: Likewise.
3310 * g-alleve.ads: Likewise.
3311 * g-altcon.adb: Likewise.
3312 * g-altcon.ads: Likewise.
3313 * g-altive.ads: Likewise.
3314 * g-alveop.adb: Likewise.
3315 * g-alveop.ads: Likewise.
3316 * g-alvety.ads: Likewise.
3317 * g-alvevi.ads: Likewise.
3318 * g-arrspl.adb: Likewise.
3319 * g-arrspl.ads: Likewise.
3320 * g-calend.ads: Likewise.
3321 * g-comlin.adb: Likewise.
3322 * g-debpoo.adb: Likewise.
3323 * g-debpoo.ads: Likewise.
3324 * g-eacodu-vms.adb: Likewise.
3325 * g-eacodu.adb: Likewise.
3326 * g-excact.adb: Likewise.
3327 * g-excact.ads: Likewise.
3328 * g-locfil.adb: Likewise.
3329 * g-os_lib.ads: Likewise.
3330 * g-rannum.adb: Likewise.
3331 * g-rannum.ads: Likewise.
3332 * g-regist.adb: Likewise.
3333 * g-regist.ads: Likewise.
3334 * g-signal.adb: Likewise.
3335 * g-signal.ads: Likewise.
3336 * g-soccon.ads: Likewise.
3337 * g-string.adb: Likewise.
3338 * g-string.ads: Likewise.
3339 * g-strspl.ads: Likewise.
3340 * g-timsta.adb: Likewise.
3341 * g-timsta.ads: Likewise.
3342 * g-trasym-vms-alpha.adb: Likewise.
3343 * g-trasym-vms-ia64.adb: Likewise.
3344 * g-utf_32.adb: Likewise.
3345 * g-utf_32.ads: Likewise.
3346 * g-wistsp.ads: Likewise.
3347 * g-zstspl.ads: Likewise.
3349 * gnatvsn.adb: Likewise.
3350 * gnatvsn.ads: Likewise.
3351 * gsocket.h: Likewise.
3352 * hostparm.ads: Likewise.
3353 * i-c.adb: Likewise.
3354 * i-cexten.ads: Likewise.
3355 * i-cobol.adb: Likewise.
3356 * i-cobol.ads: Likewise.
3357 * i-cpoint.adb: Likewise.
3358 * i-cpoint.ads: Likewise.
3359 * i-cpp.adb: Likewise.
3360 * i-cpp.ads: Likewise.
3361 * i-cstrea-vms.adb: Likewise.
3362 * i-cstrea.adb: Likewise.
3363 * i-cstrea.ads: Likewise.
3364 * i-cstrin.adb: Likewise.
3365 * i-cstrin.ads: Likewise.
3366 * i-forbla-darwin.adb: Likewise.
3367 * i-forbla-unimplemented.ads: Likewise.
3368 * i-forbla.adb: Likewise.
3369 * i-forbla.ads: Likewise.
3370 * i-forlap.ads: Likewise.
3371 * i-fortra.adb: Likewise.
3372 * i-pacdec.adb: Likewise.
3373 * i-pacdec.ads: Likewise.
3374 * i-vxwoio.adb: Likewise.
3375 * i-vxwoio.ads: Likewise.
3376 * indepsw-aix.adb: Likewise.
3377 * indepsw-gnu.adb: Likewise.
3378 * indepsw-mingw.adb: Likewise.
3379 * indepsw.adb: Likewise.
3380 * indepsw.ads: Likewise.
3382 * initialize.c: Likewise.
3383 * interfac.ads: Likewise.
3384 * krunch.adb: Likewise.
3385 * krunch.ads: Likewise.
3386 * lib-list.adb: Likewise.
3387 * lib-sort.adb: Likewise.
3388 * lib.adb: Likewise.
3389 * lib.ads: Likewise.
3391 * math_lib.adb: Likewise.
3392 * memtrack.adb: Likewise.
3393 * mingw32.h: Likewise.
3394 * mkdir.c: Likewise.
3395 * namet-sp.adb: Likewise.
3396 * namet-sp.ads: Likewise.
3397 * namet.adb: Likewise.
3398 * namet.ads: Likewise.
3399 * nlists.adb: Likewise.
3400 * nlists.ads: Likewise.
3401 * opt.adb: Likewise.
3402 * opt.ads: Likewise.
3403 * output.adb: Likewise.
3404 * output.ads: Likewise.
3405 * raise-gcc.c: Likewise.
3406 * raise.c: Likewise.
3407 * raise.h: Likewise.
3408 * repinfo.adb: Likewise.
3409 * repinfo.ads: Likewise.
3410 * repinfo.h: Likewise.
3411 * rident.ads: Likewise.
3412 * s-addima.adb: Likewise.
3413 * s-addima.ads: Likewise.
3414 * s-addope.adb: Likewise.
3415 * s-addope.ads: Likewise.
3416 * s-arit64.adb: Likewise.
3417 * s-arit64.ads: Likewise.
3418 * s-assert.adb: Likewise.
3419 * s-assert.ads: Likewise.
3420 * s-asthan-vms-alpha.adb: Likewise.
3421 * s-asthan.adb: Likewise.
3422 * s-asthan.ads: Likewise.
3423 * s-atacco.adb: Likewise.
3424 * s-atacco.ads: Likewise.
3425 * s-auxdec-empty.adb: Likewise.
3426 * s-auxdec-empty.ads: Likewise.
3427 * s-auxdec-vms_64.ads: Likewise.
3428 * s-auxdec.adb: Likewise.
3429 * s-auxdec.ads: Likewise.
3430 * s-bitops.adb: Likewise.
3431 * s-bitops.ads: Likewise.
3432 * s-boarop.ads: Likewise.
3433 * s-carsi8.adb: Likewise.
3434 * s-carsi8.ads: Likewise.
3435 * s-carun8.adb: Likewise.
3436 * s-carun8.ads: Likewise.
3437 * s-casi16.adb: Likewise.
3438 * s-casi16.ads: Likewise.
3439 * s-casi32.adb: Likewise.
3440 * s-casi32.ads: Likewise.
3441 * s-casi64.adb: Likewise.
3442 * s-casi64.ads: Likewise.
3443 * s-casuti.ads: Likewise.
3444 * s-caun16.adb: Likewise.
3445 * s-caun16.ads: Likewise.
3446 * s-caun32.adb: Likewise.
3447 * s-caun32.ads: Likewise.
3448 * s-caun64.adb: Likewise.
3449 * s-caun64.ads: Likewise.
3450 * s-chepoo.ads: Likewise.
3451 * s-crc32.adb: Likewise.
3452 * s-crc32.ads: Likewise.
3453 * s-crtl.ads: Likewise.
3454 * s-direio.adb: Likewise.
3455 * s-direio.ads: Likewise.
3456 * s-dsaser.ads: Likewise.
3457 * s-except.adb: Likewise.
3458 * s-except.ads: Likewise.
3459 * s-exctab.adb: Likewise.
3460 * s-exctab.ads: Likewise.
3461 * s-exnint.adb: Likewise.
3462 * s-exnint.ads: Likewise.
3463 * s-exnllf.adb: Likewise.
3464 * s-exnllf.ads: Likewise.
3465 * s-exnlli.adb: Likewise.
3466 * s-exnlli.ads: Likewise.
3467 * s-expint.adb: Likewise.
3468 * s-expint.ads: Likewise.
3469 * s-explli.adb: Likewise.
3470 * s-explli.ads: Likewise.
3471 * s-expllu.adb: Likewise.
3472 * s-expllu.ads: Likewise.
3473 * s-expmod.adb: Likewise.
3474 * s-expmod.ads: Likewise.
3475 * s-expuns.adb: Likewise.
3476 * s-expuns.ads: Likewise.
3477 * s-fatflt.ads: Likewise.
3478 * s-fatgen.adb: Likewise.
3479 * s-fatgen.ads: Likewise.
3480 * s-fatlfl.ads: Likewise.
3481 * s-fatllf.ads: Likewise.
3482 * s-fatsfl.ads: Likewise.
3483 * s-ficobl.ads: Likewise.
3484 * s-fileio.adb: Likewise.
3485 * s-fileio.ads: Likewise.
3486 * s-filofl.ads: Likewise.
3487 * s-finimp.adb: Likewise.
3488 * s-finimp.ads: Likewise.
3489 * s-finroo.adb: Likewise.
3490 * s-finroo.ads: Likewise.
3491 * s-fishfl.ads: Likewise.
3492 * s-fore.adb: Likewise.
3493 * s-fore.ads: Likewise.
3494 * s-fvadfl.ads: Likewise.
3495 * s-fvaffl.ads: Likewise.
3496 * s-fvagfl.ads: Likewise.
3497 * s-gearop.adb: Likewise.
3498 * s-gearop.ads: Likewise.
3499 * s-gecobl.adb: Likewise.
3500 * s-gecobl.ads: Likewise.
3501 * s-gecola.adb: Likewise.
3502 * s-gecola.ads: Likewise.
3503 * s-gerebl.adb: Likewise.
3504 * s-gerebl.ads: Likewise.
3505 * s-gerela.adb: Likewise.
3506 * s-gerela.ads: Likewise.
3507 * s-geveop.adb: Likewise.
3508 * s-geveop.ads: Likewise.
3509 * s-gloloc.adb: Likewise.
3510 * s-gloloc.ads: Likewise.
3511 * s-hibaen.ads: Likewise.
3512 * s-imenne.adb: Likewise.
3513 * s-imenne.ads: Likewise.
3514 * s-imgbiu.adb: Likewise.
3515 * s-imgbiu.ads: Likewise.
3516 * s-imgboo.adb: Likewise.
3517 * s-imgboo.ads: Likewise.
3518 * s-imgcha.adb: Likewise.
3519 * s-imgcha.ads: Likewise.
3520 * s-imgdec.adb: Likewise.
3521 * s-imgdec.ads: Likewise.
3522 * s-imgenu.adb: Likewise.
3523 * s-imgenu.ads: Likewise.
3524 * s-imgint.adb: Likewise.
3525 * s-imgint.ads: Likewise.
3526 * s-imgllb.adb: Likewise.
3527 * s-imgllb.ads: Likewise.
3528 * s-imglld.adb: Likewise.
3529 * s-imglld.ads: Likewise.
3530 * s-imglli.adb: Likewise.
3531 * s-imglli.ads: Likewise.
3532 * s-imgllu.adb: Likewise.
3533 * s-imgllu.ads: Likewise.
3534 * s-imgllw.adb: Likewise.
3535 * s-imgllw.ads: Likewise.
3536 * s-imgrea.adb: Likewise.
3537 * s-imgrea.ads: Likewise.
3538 * s-imguns.adb: Likewise.
3539 * s-imguns.ads: Likewise.
3540 * s-imgwch.adb: Likewise.
3541 * s-imgwch.ads: Likewise.
3542 * s-imgwiu.adb: Likewise.
3543 * s-imgwiu.ads: Likewise.
3544 * s-inmaop-dummy.adb: Likewise.
3545 * s-inmaop-vms.adb: Likewise.
3546 * s-inmaop.ads: Likewise.
3547 * s-interr-hwint.adb: Likewise.
3548 * s-interr-sigaction.adb: Likewise.
3549 * s-interr-vms.adb: Likewise.
3550 * s-interr.adb: Likewise.
3551 * s-interr.ads: Likewise.
3552 * s-intman-dummy.adb: Likewise.
3553 * s-intman-mingw.adb: Likewise.
3554 * s-intman-posix.adb: Likewise.
3555 * s-intman-solaris.adb: Likewise.
3556 * s-intman-vms.adb: Likewise.
3557 * s-intman-vms.ads: Likewise.
3558 * s-intman-vxworks.adb: Likewise.
3559 * s-intman-vxworks.ads: Likewise.
3560 * s-intman.ads: Likewise.
3561 * s-io.adb: Likewise.
3562 * s-io.ads: Likewise.
3563 * s-linux-alpha.ads: Likewise.
3564 * s-linux-hppa.ads: Likewise.
3565 * s-linux.ads: Likewise.
3566 * s-maccod.ads: Likewise.
3567 * s-mantis.adb: Likewise.
3568 * s-mantis.ads: Likewise.
3569 * s-mastop-irix.adb: Likewise.
3570 * s-mastop.adb: Likewise.
3571 * s-mastop.ads: Likewise.
3572 * s-memcop.ads: Likewise.
3573 * s-memory-mingw.adb: Likewise.
3574 * s-memory.adb: Likewise.
3575 * s-memory.ads: Likewise.
3576 * s-os_lib.ads: Likewise.
3577 * s-oscons-tmplt.c: Likewise.
3578 * s-osinte-aix.adb: Likewise.
3579 * s-osinte-darwin.adb: Likewise.
3580 * s-osinte-freebsd.adb: Likewise.
3581 * s-osinte-irix.adb: Likewise.
3582 * s-osinte-lynxos-3.adb: Likewise.
3583 * s-osinte-rtems.ads: Likewise.
3584 * s-osinte-tru64.adb: Likewise.
3585 * s-osinte-vxworks-kernel.adb: Likewise.
3586 * s-osinte-vxworks.adb: Likewise.
3587 * s-osprim-mingw.adb: Likewise.
3588 * s-osprim-posix.adb: Likewise.
3589 * s-osprim-solaris.adb: Likewise.
3590 * s-osprim-unix.adb: Likewise.
3591 * s-osprim-vms.adb: Likewise.
3592 * s-osprim-vms.ads: Likewise.
3593 * s-osprim-vxworks.adb: Likewise.
3594 * s-osprim.ads: Likewise.
3595 * s-pack03.adb: Likewise.
3596 * s-pack03.ads: Likewise.
3597 * s-pack05.adb: Likewise.
3598 * s-pack05.ads: Likewise.
3599 * s-pack06.adb: Likewise.
3600 * s-pack06.ads: Likewise.
3601 * s-pack07.adb: Likewise.
3602 * s-pack07.ads: Likewise.
3603 * s-pack09.adb: Likewise.
3604 * s-pack09.ads: Likewise.
3605 * s-pack10.adb: Likewise.
3606 * s-pack10.ads: Likewise.
3607 * s-pack11.adb: Likewise.
3608 * s-pack11.ads: Likewise.
3609 * s-pack12.adb: Likewise.
3610 * s-pack12.ads: Likewise.
3611 * s-pack13.adb: Likewise.
3612 * s-pack13.ads: Likewise.
3613 * s-pack14.adb: Likewise.
3614 * s-pack14.ads: Likewise.
3615 * s-pack15.adb: Likewise.
3616 * s-pack15.ads: Likewise.
3617 * s-pack17.adb: Likewise.
3618 * s-pack17.ads: Likewise.
3619 * s-pack18.adb: Likewise.
3620 * s-pack18.ads: Likewise.
3621 * s-pack19.adb: Likewise.
3622 * s-pack19.ads: Likewise.
3623 * s-pack20.adb: Likewise.
3624 * s-pack20.ads: Likewise.
3625 * s-pack21.adb: Likewise.
3626 * s-pack21.ads: Likewise.
3627 * s-pack22.adb: Likewise.
3628 * s-pack22.ads: Likewise.
3629 * s-pack23.adb: Likewise.
3630 * s-pack23.ads: Likewise.
3631 * s-pack24.adb: Likewise.
3632 * s-pack24.ads: Likewise.
3633 * s-pack25.adb: Likewise.
3634 * s-pack25.ads: Likewise.
3635 * s-pack26.adb: Likewise.
3636 * s-pack26.ads: Likewise.
3637 * s-pack27.adb: Likewise.
3638 * s-pack27.ads: Likewise.
3639 * s-pack28.adb: Likewise.
3640 * s-pack28.ads: Likewise.
3641 * s-pack29.adb: Likewise.
3642 * s-pack29.ads: Likewise.
3643 * s-pack30.adb: Likewise.
3644 * s-pack30.ads: Likewise.
3645 * s-pack31.adb: Likewise.
3646 * s-pack31.ads: Likewise.
3647 * s-pack33.adb: Likewise.
3648 * s-pack33.ads: Likewise.
3649 * s-pack34.adb: Likewise.
3650 * s-pack34.ads: Likewise.
3651 * s-pack35.adb: Likewise.
3652 * s-pack35.ads: Likewise.
3653 * s-pack36.adb: Likewise.
3654 * s-pack36.ads: Likewise.
3655 * s-pack37.adb: Likewise.
3656 * s-pack37.ads: Likewise.
3657 * s-pack38.adb: Likewise.
3658 * s-pack38.ads: Likewise.
3659 * s-pack39.adb: Likewise.
3660 * s-pack39.ads: Likewise.
3661 * s-pack40.adb: Likewise.
3662 * s-pack40.ads: Likewise.
3663 * s-pack41.adb: Likewise.
3664 * s-pack41.ads: Likewise.
3665 * s-pack42.adb: Likewise.
3666 * s-pack42.ads: Likewise.
3667 * s-pack43.adb: Likewise.
3668 * s-pack43.ads: Likewise.
3669 * s-pack44.adb: Likewise.
3670 * s-pack44.ads: Likewise.
3671 * s-pack45.adb: Likewise.
3672 * s-pack45.ads: Likewise.
3673 * s-pack46.adb: Likewise.
3674 * s-pack46.ads: Likewise.
3675 * s-pack47.adb: Likewise.
3676 * s-pack47.ads: Likewise.
3677 * s-pack48.adb: Likewise.
3678 * s-pack48.ads: Likewise.
3679 * s-pack49.adb: Likewise.
3680 * s-pack49.ads: Likewise.
3681 * s-pack50.adb: Likewise.
3682 * s-pack50.ads: Likewise.
3683 * s-pack51.adb: Likewise.
3684 * s-pack51.ads: Likewise.
3685 * s-pack52.adb: Likewise.
3686 * s-pack52.ads: Likewise.
3687 * s-pack53.adb: Likewise.
3688 * s-pack53.ads: Likewise.
3689 * s-pack54.adb: Likewise.
3690 * s-pack54.ads: Likewise.
3691 * s-pack55.adb: Likewise.
3692 * s-pack55.ads: Likewise.
3693 * s-pack56.adb: Likewise.
3694 * s-pack56.ads: Likewise.
3695 * s-pack57.adb: Likewise.
3696 * s-pack57.ads: Likewise.
3697 * s-pack58.adb: Likewise.
3698 * s-pack58.ads: Likewise.
3699 * s-pack59.adb: Likewise.
3700 * s-pack59.ads: Likewise.
3701 * s-pack60.adb: Likewise.
3702 * s-pack60.ads: Likewise.
3703 * s-pack61.adb: Likewise.
3704 * s-pack61.ads: Likewise.
3705 * s-pack62.adb: Likewise.
3706 * s-pack62.ads: Likewise.
3707 * s-pack63.adb: Likewise.
3708 * s-pack63.ads: Likewise.
3709 * s-parame-ae653.ads: Likewise.
3710 * s-parame-hpux.ads: Likewise.
3711 * s-parame-rtems.adb: Likewise.
3712 * s-parame-vms-alpha.ads: Likewise.
3713 * s-parame-vms-ia64.ads: Likewise.
3714 * s-parame-vms-restrict.ads: Likewise.
3715 * s-parame-vxworks.adb: Likewise.
3716 * s-parame-vxworks.ads: Likewise.
3717 * s-parame.adb: Likewise.
3718 * s-parame.ads: Likewise.
3719 * s-parint.adb: Likewise.
3720 * s-parint.ads: Likewise.
3721 * s-pooglo.adb: Likewise.
3722 * s-pooglo.ads: Likewise.
3723 * s-pooloc.adb: Likewise.
3724 * s-pooloc.ads: Likewise.
3725 * s-poosiz.adb: Likewise.
3726 * s-poosiz.ads: Likewise.
3727 * s-powtab.ads: Likewise.
3728 * s-proinf-irix-athread.adb: Likewise.
3729 * s-proinf-irix-athread.ads: Likewise.
3730 * s-proinf.adb: Likewise.
3731 * s-proinf.ads: Likewise.
3732 * s-purexc.ads: Likewise.
3733 * s-rannum.adb: Likewise.
3734 * s-rannum.ads: Likewise.
3735 * s-restri.adb: Likewise.
3736 * s-restri.ads: Likewise.
3737 * s-rident.ads: Likewise.
3738 * s-rpc.adb: Likewise.
3739 * s-rpc.ads: Likewise.
3740 * s-scaval.adb: Likewise.
3741 * s-scaval.ads: Likewise.
3742 * s-secsta.adb: Likewise.
3743 * s-secsta.ads: Likewise.
3744 * s-sequio.adb: Likewise.
3745 * s-sequio.ads: Likewise.
3746 * s-shasto.adb: Likewise.
3747 * s-shasto.ads: Likewise.
3748 * s-soflin.adb: Likewise.
3749 * s-soflin.ads: Likewise.
3750 * s-solita.adb: Likewise.
3751 * s-solita.ads: Likewise.
3752 * s-sopco3.adb: Likewise.
3753 * s-sopco3.ads: Likewise.
3754 * s-sopco4.adb: Likewise.
3755 * s-sopco4.ads: Likewise.
3756 * s-sopco5.adb: Likewise.
3757 * s-sopco5.ads: Likewise.
3758 * s-stache.adb: Likewise.
3759 * s-stache.ads: Likewise.
3760 * s-stalib.adb: Likewise.
3761 * s-stalib.ads: Likewise.
3762 * s-stausa.adb: Likewise.
3763 * s-stausa.ads: Likewise.
3764 * s-stchop-limit.ads: Likewise.
3765 * s-stchop-rtems.adb: Likewise.
3766 * s-stchop-vxworks.adb: Likewise.
3767 * s-stchop.adb: Likewise.
3768 * s-stchop.ads: Likewise.
3769 * s-stoele.adb: Likewise.
3770 * s-stoele.ads: Likewise.
3771 * s-stopoo.adb: Likewise.
3772 * s-stopoo.ads: Likewise.
3773 * s-stratt.adb: Likewise.
3774 * s-stratt.ads: Likewise.
3775 * s-strcom.adb: Likewise.
3776 * s-strcom.ads: Likewise.
3777 * s-string.adb: Likewise.
3778 * s-string.ads: Likewise.
3779 * s-strops.adb: Likewise.
3780 * s-strops.ads: Likewise.
3781 * s-strxdr.adb: Likewise.
3782 * s-ststop.adb: Likewise.
3783 * s-ststop.ads: Likewise.
3784 * s-taasde.adb: Likewise.
3785 * s-taasde.ads: Likewise.
3786 * s-tadeca.adb: Likewise.
3787 * s-tadeca.ads: Likewise.
3788 * s-tadert.adb: Likewise.
3789 * s-tadert.ads: Likewise.
3790 * s-taenca.adb: Likewise.
3791 * s-taenca.ads: Likewise.
3792 * s-taprob.ads: Likewise.
3793 * s-taprop-dummy.adb: Likewise.
3794 * s-taprop-hpux-dce.adb: Likewise.
3795 * s-taprop-irix.adb: Likewise.
3796 * s-taprop-linux.adb: Likewise.
3797 * s-taprop-lynxos.adb: Likewise.
3798 * s-taprop-mingw.adb: Likewise.
3799 * s-taprop-posix.adb: Likewise.
3800 * s-taprop-solaris.adb: Likewise.
3801 * s-taprop-tru64.adb: Likewise.
3802 * s-taprop-vms.adb: Likewise.
3803 * s-taprop-vxworks.adb: Likewise.
3804 * s-taprop.ads: Likewise.
3805 * s-tarest.adb: Likewise.
3806 * s-tarest.ads: Likewise.
3807 * s-tasdeb.adb: Likewise.
3808 * s-tasdeb.ads: Likewise.
3809 * s-tasinf-irix.ads: Likewise.
3810 * s-tasinf-linux.adb: Likewise.
3811 * s-tasinf-linux.ads: Likewise.
3812 * s-tasinf-mingw.adb: Likewise.
3813 * s-tasinf-mingw.ads: Likewise.
3814 * s-tasinf-solaris.adb: Likewise.
3815 * s-tasinf-solaris.ads: Likewise.
3816 * s-tasinf-tru64.ads: Likewise.
3817 * s-tasinf.adb: Likewise.
3818 * s-tasinf.ads: Likewise.
3819 * s-tasini.adb: Likewise.
3820 * s-tasini.ads: Likewise.
3821 * s-taskin.adb: Likewise.
3822 * s-taskin.ads: Likewise.
3823 * s-taspri-dummy.ads: Likewise.
3824 * s-taspri-hpux-dce.ads: Likewise.
3825 * s-taspri-mingw.ads: Likewise.
3826 * s-taspri-solaris.ads: Likewise.
3827 * s-taspri-tru64.ads: Likewise.
3828 * s-taspri-vms.ads: Likewise.
3829 * s-taspri-vxworks.ads: Likewise.
3830 * s-tasque.adb: Likewise.
3831 * s-tasque.ads: Likewise.
3832 * s-tasren.adb: Likewise.
3833 * s-tasren.ads: Likewise.
3834 * s-tasres.ads: Likewise.
3835 * s-tassta.adb: Likewise.
3836 * s-tassta.ads: Likewise.
3837 * s-tasuti.adb: Likewise.
3838 * s-tasuti.ads: Likewise.
3839 * s-tfsetr-default.adb: Likewise.
3840 * s-tfsetr-vxworks.adb: Likewise.
3841 * s-tpinop.adb: Likewise.
3842 * s-tpinop.ads: Likewise.
3843 * s-tpoben.adb: Likewise.
3844 * s-tpoben.ads: Likewise.
3845 * s-tpobop.adb: Likewise.
3846 * s-tpobop.ads: Likewise.
3847 * s-tpopde-vms.adb: Likewise.
3848 * s-tpopde-vms.ads: Likewise.
3849 * s-tpopsp-lynxos.adb: Likewise.
3850 * s-tpopsp-posix-foreign.adb: Likewise.
3851 * s-tpopsp-posix.adb: Likewise.
3852 * s-tpopsp-solaris.adb: Likewise.
3853 * s-tpopsp-vxworks.adb: Likewise.
3854 * s-tporft.adb: Likewise.
3855 * s-tposen.adb: Likewise.
3856 * s-tposen.ads: Likewise.
3857 * s-traceb.adb: Likewise.
3858 * s-traceb.ads: Likewise.
3859 * s-traces-default.adb: Likewise.
3860 * s-traces.adb: Likewise.
3861 * s-traces.ads: Likewise.
3862 * s-traent-vms.adb: Likewise.
3863 * s-traent-vms.ads: Likewise.
3864 * s-traent.adb: Likewise.
3865 * s-traent.ads: Likewise.
3866 * s-trafor-default.adb: Likewise.
3867 * s-trafor-default.ads: Likewise.
3868 * s-tratas-default.adb: Likewise.
3869 * s-tratas.adb: Likewise.
3870 * s-tratas.ads: Likewise.
3871 * s-unstyp.ads: Likewise.
3872 * s-utf_32.adb: Likewise.
3873 * s-utf_32.ads: Likewise.
3874 * s-vaflop-vms-alpha.adb: Likewise.
3875 * s-vaflop.adb: Likewise.
3876 * s-vaflop.ads: Likewise.
3877 * s-valboo.adb: Likewise.
3878 * s-valboo.ads: Likewise.
3879 * s-valcha.adb: Likewise.
3880 * s-valcha.ads: Likewise.
3881 * s-valdec.adb: Likewise.
3882 * s-valdec.ads: Likewise.
3883 * s-valenu.adb: Likewise.
3884 * s-valenu.ads: Likewise.
3885 * s-valint.adb: Likewise.
3886 * s-valint.ads: Likewise.
3887 * s-vallld.adb: Likewise.
3888 * s-vallld.ads: Likewise.
3889 * s-vallli.adb: Likewise.
3890 * s-vallli.ads: Likewise.
3891 * s-valllu.adb: Likewise.
3892 * s-valllu.ads: Likewise.
3893 * s-valrea.adb: Likewise.
3894 * s-valrea.ads: Likewise.
3895 * s-valuns.adb: Likewise.
3896 * s-valuns.ads: Likewise.
3897 * s-valuti.adb: Likewise.
3898 * s-valuti.ads: Likewise.
3899 * s-valwch.adb: Likewise.
3900 * s-valwch.ads: Likewise.
3901 * s-veboop.adb: Likewise.
3902 * s-veboop.ads: Likewise.
3903 * s-vector.ads: Likewise.
3904 * s-vercon.adb: Likewise.
3905 * s-vercon.ads: Likewise.
3906 * s-vmexta.adb: Likewise.
3907 * s-vmexta.ads: Likewise.
3908 * s-vxwext-kernel.ads: Likewise.
3909 * s-vxwext-rtp.adb: Likewise.
3910 * s-vxwext-rtp.ads: Likewise.
3911 * s-vxwext.ads: Likewise.
3912 * s-vxwork-arm.ads: Likewise.
3913 * s-vxwork-m68k.ads: Likewise.
3914 * s-vxwork-mips.ads: Likewise.
3915 * s-vxwork-ppc.ads: Likewise.
3916 * s-vxwork-sparcv9.ads: Likewise.
3917 * s-vxwork-x86.ads: Likewise.
3918 * s-wchcnv.adb: Likewise.
3919 * s-wchcnv.ads: Likewise.
3920 * s-wchcon.adb: Likewise.
3921 * s-wchcon.ads: Likewise.
3922 * s-wchjis.adb: Likewise.
3923 * s-wchjis.ads: Likewise.
3924 * s-wchstw.adb: Likewise.
3925 * s-wchstw.ads: Likewise.
3926 * s-wchwts.adb: Likewise.
3927 * s-wchwts.ads: Likewise.
3928 * s-widboo.adb: Likewise.
3929 * s-widboo.ads: Likewise.
3930 * s-widcha.adb: Likewise.
3931 * s-widcha.ads: Likewise.
3932 * s-widenu.adb: Likewise.
3933 * s-widenu.ads: Likewise.
3934 * s-widlli.adb: Likewise.
3935 * s-widlli.ads: Likewise.
3936 * s-widllu.adb: Likewise.
3937 * s-widllu.ads: Likewise.
3938 * s-widwch.adb: Likewise.
3939 * s-widwch.ads: Likewise.
3940 * s-win32.ads: Likewise.
3941 * s-winext.ads: Likewise.
3942 * s-wwdcha.adb: Likewise.
3943 * s-wwdcha.ads: Likewise.
3944 * s-wwdenu.adb: Likewise.
3945 * s-wwdenu.ads: Likewise.
3946 * s-wwdwch.adb: Likewise.
3947 * s-wwdwch.ads: Likewise.
3948 * scans.adb: Likewise.
3949 * scans.ads: Likewise.
3950 * seh_init.c: Likewise.
3951 * sfn_scan.adb: Likewise.
3952 * sinfo.adb: Likewise.
3953 * sinfo.ads: Likewise.
3954 * sinput.adb: Likewise.
3955 * sinput.ads: Likewise.
3956 * snames.adb: Likewise.
3957 * snames.ads: Likewise.
3958 * socket.c: Likewise.
3959 * stand.adb: Likewise.
3960 * stand.ads: Likewise.
3961 * stringt.adb: Likewise.
3962 * stringt.ads: Likewise.
3963 * sysdep.c: Likewise.
3964 * system-aix.ads: Likewise.
3965 * system-darwin-ppc.ads: Likewise.
3966 * system-darwin-x86.ads: Likewise.
3967 * system-darwin-x86_64.ads: Likewise.
3968 * system-freebsd-x86.ads: Likewise.
3969 * system-hpux-ia64.ads: Likewise.
3970 * system-hpux.ads: Likewise.
3971 * system-irix-n32.ads: Likewise.
3972 * system-irix-n64.ads: Likewise.
3973 * system-irix-o32.ads: Likewise.
3974 * system-linux-alpha.ads: Likewise.
3975 * system-linux-hppa.ads: Likewise.
3976 * system-linux-ia64.ads: Likewise.
3977 * system-linux-mips.ads: Likewise.
3978 * system-linux-mipsel.ads: Likewise.
3979 * system-linux-ppc.ads: Likewise.
3980 * system-linux-ppc64.ads: Likewise.
3981 * system-linux-s390.ads: Likewise.
3982 * system-linux-s390x.ads: Likewise.
3983 * system-linux-sh4.ads: Likewise.
3984 * system-linux-sparc.ads: Likewise.
3985 * system-linux-sparcv9.ads: Likewise.
3986 * system-linux-x86.ads: Likewise.
3987 * system-linux-x86_64.ads: Likewise.
3988 * system-lynxos-ppc.ads: Likewise.
3989 * system-lynxos-x86.ads: Likewise.
3990 * system-mingw-x86_64.ads: Likewise.
3991 * system-mingw.ads: Likewise.
3992 * system-rtems.ads: Likewise.
3993 * system-solaris-sparc.ads: Likewise.
3994 * system-solaris-sparcv9.ads: Likewise.
3995 * system-solaris-x86.ads: Likewise.
3996 * system-solaris-x86_64.ads: Likewise.
3997 * system-tru64.ads: Likewise.
3998 * system-vms-ia64.ads: Likewise.
3999 * system-vms-zcx.ads: Likewise.
4000 * system-vms.ads: Likewise.
4001 * system-vms_64.ads: Likewise.
4002 * system-vxworks-arm.ads: Likewise.
4003 * system-vxworks-m68k.ads: Likewise.
4004 * system-vxworks-mips.ads: Likewise.
4005 * system-vxworks-ppc.ads: Likewise.
4006 * system-vxworks-sparcv9.ads: Likewise.
4007 * system-vxworks-x86.ads: Likewise.
4008 * system.ads: Likewise.
4009 * table.adb: Likewise.
4010 * table.ads: Likewise.
4011 * targext.c: Likewise.
4012 * targparm.ads: Likewise.
4013 * tree_in.adb: Likewise.
4014 * tree_in.ads: Likewise.
4015 * tree_io.adb: Likewise.
4016 * tree_io.ads: Likewise.
4017 * types.adb: Likewise.
4018 * types.ads: Likewise.
4019 * uintp.adb: Likewise.
4020 * uintp.ads: Likewise.
4021 * uname.adb: Likewise.
4022 * uname.ads: Likewise.
4023 * urealp.adb: Likewise.
4024 * urealp.ads: Likewise.
4025 * vx_stack_info.c: Likewise.
4026 * widechar.adb: Likewise.
4027 * widechar.ads: Likewise.
4028 * exp_attr.adb: Change copyright header to refer to version
4029 3 of the GNU General Public License and to point readers at the
4030 COPYING3 file and the FSF's license web page.
4031 * sem.adb: Likewise.
4032 * sem_attr.ads: Likewise.
4033 * freeze.adb: Likewise.
4034 * freeze.ads: Likewise.
4035 * errout.ads: Likewise.
4036 * erroutc.adb: Likewise.
4037 * exp_ch11.ads: Likewise.
4039 2009-04-09 Jakub Jelinek <jakub@redhat.com>
4041 * config-lang.in: Change copyright header to refer to version
4042 3 of the GNU General Public License and to point readers at the
4043 COPYING3 file and the FSF's license web page.
4044 * gcc-interface/trans.c: Likewise.
4045 * gnathtml.pl: Likewise.
4046 * gcc-interface/ada.h: Likewise. Remove runtime exception.
4047 * gcc-interface/gigi.h: Likewise.
4048 * gcc-interface/misc.c: Likewise.
4049 * gcc-interface/targtyps.c: Likewise.
4051 2009-04-09 Nicolas Setton <setton@adacore.com>
4053 * s-osinte-darwin.ads: Fix wrong binding to struc timeval.
4055 * s-osinte-darwin.adb (To_Timeval): Adapt to fixed implementation of
4058 2009-04-09 Bob Duff <duff@adacore.com>
4060 * exp_ch5.adb, exp_ch9.adb: Correct miscellaneous Slocs in
4061 internally-generated nodes related to select statements to avoid
4062 confusing the debugger.
4064 2009-04-09 Pascal Obry <obry@adacore.com>
4066 * make.adb: Ensure that all linker arguments are duplicated.
4068 2009-04-09 Robert Dewar <dewar@adacore.com>
4070 * sem_ch5.adb: Minor reformatting
4072 2009-04-09 Vincent Celier <celier@adacore.com>
4075 Change GNAT CHECK qualifier /DIAGNOSIS_LIMIT to /DIAGNOSTIC_LIMIT
4076 New qualifier /LEXPAND_SOURCE=nnn for -gnatGnnn
4077 New qualifier /LXDEBUG=nnn for -gnatDnnn
4081 Update documentation for VMS qualifiers equivalent to -gnatGnn and
4084 2009-04-09 Nicolas Setton <setton@adacore.com>
4086 * s-osinte-darwin.ads: (Pad_Type): Make this an array of unsigned_long,
4087 to match layout of siginfo_t in sys/signal.h.
4089 * gcc-interface/Makefile.in: Add section for x86_64 darwin.
4091 2009-04-09 Thomas Quinot <quinot@adacore.com>
4093 * g-socket.ads: (Fd_Set): Use Interfaces.C.long alignment.
4095 2009-04-09 Nicolas Setton <setton@adacore.com>
4097 * s-oscons-tmplt.c: Allow long lines in the generated spec.
4098 Add generation of Darwin-specific constants needed when binding to the
4101 2009-04-09 Robert Dewar <dewar@adacore.com>
4104 (Insert_Valid_Check): Avoid unnecessary generation of junk declaration
4105 when no invalid values exist, Avoid duplicate read of atomic variable.
4107 * cstand.adb (Build_Signed_Integer_Type): Set Is_Known_Valid
4108 (Standard_Unsigned): Set Is_Known_Valid
4110 * sem_ch3.adb (Analyze_Subtype_Declaration): Copy Is_Known_Valid on
4111 subtype declaration if no constraint.
4112 (Set_Modular_Size): Set Is_Known_Valid if appropriate
4113 (Build_Derived_Numeric_Type): Copy Is_Known_Valid if no constraint
4115 2009-04-09 Robert Dewar <dewar@adacore.com>
4117 * switch-c.adb, gnat_ugn.texi, vms_data.ads, switch.adb,
4118 switch.ads: for numeric switches, an optional equal sign is always
4121 2009-04-09 Vincent Celier <celier@adacore.com>
4123 * prj-nmsc.adb (Get_Unit): Do not consider Casing on platform where
4124 the case of file names is not significant.
4126 2009-04-09 Vincent Celier <celier@adacore.com>
4128 * errout.adb: Remove dependency on package Style
4130 * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function,
4133 * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from
4136 * errutil.adb, par.adb: Import Stylesw
4138 2009-04-09 Arnaud Charlet <charlet@adacore.com>
4140 * opt.ads: Fix typos.
4142 2009-04-09 Robert Dewar <dewar@adacore.com>
4144 * einfo.adb: Minor reformatting
4146 2009-04-09 Robert Dewar <dewar@adacore.com>
4148 * gcc-interface/Make-lang.in, style.ads, style.adb: Reorganize style
4151 * styleg-c.ads, styleg-c.adb: Removed, no longer used.
4153 2009-04-09 Robert Dewar <dewar@adacore.com>
4155 * g-comver.adb: Minor reformatting.
4157 2009-04-09 Thomas Quinot <quinot@adacore.com>
4159 * lib-load.ads (Load_Unit): Update documentation.
4161 2009-04-09 Ed Schonberg <schonberg@adacore.com>
4163 * lib-load.adb (Load_Unit): When loading the parent of a child unit
4164 named in a with_clause, retain the with_clause to preserve a
4165 limited_with indication.
4167 2009-04-09 Robert Dewar <dewar@adacore.com>
4169 * sem_ch7.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_util.adb,
4170 exp_ch13.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb,
4171 sem_cat.adb: Code clean up: use Is_Package_Or_Generic_Package where
4172 possible to replace an OR of two separate tests.
4174 2009-04-09 Robert Dewar <dewar@adacore.com>
4176 * binderr.adb, errout.adb, errutil.adb: New circuitry for handling
4179 * erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global
4180 warning status as well.
4182 * opt.ads (Maximum_Messages): New name for Maximum_Errors.
4184 * switch-b.adb, switch-c.adb: Change name Maximum_Errors to
4187 * bindusg.adb, usage.adb: Update line for -gnatm switch
4189 * gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and
4192 2009-04-09 Robert Dewar <dewar@adacore.com>
4194 * sem_ch10.adb: Minor reformatting.
4196 2009-04-09 Bob Duff <duff@adacore.com>
4198 * exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler):
4199 Set Sloc of generated nodes for calls to Undefer_Aborts and
4200 Save_Occurrence to No_Location, so the debugger ignores them and
4201 therefore does not jump back and forth when single stepping.
4203 2009-04-09 Robert Dewar <dewar@adacore.com>
4205 * switch-b.adb: Minor reformatting.
4207 2009-04-09 Robert Dewar <dewar@adacore.com>
4209 * sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, exp_atag.adb, layout.adb,
4210 sem_dist.adb, exp_ch7.adb, sem_ch5.adb, sem_type.adb, exp_imgv.adb,
4211 exp_util.adb, sem_aux.adb, sem_aux.ads, exp_attr.adb, exp_ch9.adb,
4212 sem_ch7.adb, inline.adb, fe.h, sem_ch9.adb, exp_code.adb, einfo.adb,
4213 einfo.ads, exp_pakd.adb, checks.adb, sem_ch12.adb, exp_smem.adb,
4214 tbuild.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb,
4215 exp_dbug.adb, sem_case.adb, exp_tss.adb, exp_ch4.adb, exp_ch6.adb,
4216 sem_smem.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, exp_disp.adb,
4217 sem_ch8.adb, exp_aggr.adb, sem_eval.adb, sem_cat.adb, exp_dist.adb,
4218 sem_ch13.adb, exp_strm.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb:
4219 Reorganize einfo/sem_aux, moving routines from einfo to sem_aux
4221 2009-04-09 Robert Dewar <dewar@adacore.com>
4223 * exp_util.adb (Silly_Boolean_Array_Xor_Test): Simplify existing code.
4225 * atree.h: Add Elist26
4227 * gnat_ugn.texi: Complete documentation deprecating -gnatN for non-gcc
4230 2009-04-09 Javier Miranda <miranda@adacore.com>
4232 * exp_disp.adb (Export_DT): Addition of a new argument (Index); used to
4233 retrieve from the Dispatch_Table_Wrappers list the external name.
4234 Addition of documentation.
4235 (Make_Secondary_DT): Addition of a new argument (Suffix_Index) that is
4236 used to export secondary dispatch tables (in the previous version of
4237 the frontend only primary dispatch tables were exported). Addition of
4239 (Import_DT): New subprogram (internal of Make_Tags). Used to import a
4240 dispatch table of a given tagged type.
4241 (Make_Tags): Modified to import secondary dispatch tables.
4243 * sem_ch3.adb (Analyze_Object_Declaration): Code cleanup.
4244 (Constant_Redeclaration): Code cleanup.
4246 * einfo.ads (Dispatch_Table_Wrapper): Renamed to
4247 Dispatch_Table_Wrappers. Update documentation.
4249 * einfo.adb (Dispatch_Table_Wrapper, Set_Dispatch_Table_Wrapper):
4250 Renamed to Dispatch_Table_Wrappers.
4252 * sem_util.adb (Collect_Interface_Components): Improve handling of
4255 * atree.ads (Elist26, Set_Elist26): New subprograms
4257 * atree.adb (Elist26, Set_Elist26): New subprograms
4259 2009-04-09 Javier Miranda <miranda@adacore.com>
4261 * sem_ch3.adb (Build_Derived_Record_Type): Fix typo.
4262 (Derive_Progenitor_Subprograms): Handle interfaces in subtypes of
4265 2009-04-09 Robert Dewar <dewar@adacore.com>
4267 * s-direio.adb: Minor reformatting
4269 * exp_ch4.adb (Expand_Concatenate): Avoid overflow checks for String
4271 2009-04-09 Robert Dewar <dewar@adacore.com>
4273 * exp_ch4.adb (Expand_Concatenate): Improve handling of overflow cases
4275 2009-04-09 Pascal Obry <obry@adacore.com>
4277 * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coinve.ads,
4278 s-tpoben.adb, s-tpoben.ads, s-finimp.adb, s-finimp.ads,
4279 a-convec.adb, a-convec.ads, a-finali.adb, a-finali.ads,
4280 a-filico.ads: Add some missing overriding keywords.
4282 2009-04-09 Pascal Obry <obry@adacore.com>
4284 * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb,
4285 a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads,
4286 a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor
4289 2009-04-09 Ed Schonberg <schonberg@adacore.com>
4291 * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on
4292 missing overriding indicator if the new declaration is not seen as
4295 2009-04-09 Thomas Quinot <quinot@adacore.com>
4297 * exp_ch4.adb (Expand_Concatenate): Add circuitry to properly handle
4298 overflows in computation of bounds.
4300 2009-04-09 Pascal Obry <obry@adacore.com>
4302 * a-cihama.adb, a-cgcaso.adb, a-cihase.adb, a-cohase.adb: Fix some
4305 2009-04-09 Robert Dewar <dewar@adacore.com>
4307 * sem_attr.adb (Check_Stream_Attribute): Check violation of
4308 restriction No_Streams
4310 * gnat_rm.texi: Clarify No_Streams restriction
4312 * g-socket.adb: Minor reformatting.
4314 2009-04-09 Thomas Quinot <quinot@adacore.com>
4316 * g-socket.ads: Mark Initialize and Finalize as obsolesent interfaces.
4318 2009-04-09 Geert Bosch <bosch@adacore.com>
4320 * exp_fixd.adb (Build_Conversion): Accept new optional Trunc argument.
4321 (Set_Result): Likewise.
4322 (Expand_Convert_Float_To_Fixed): Have Set_Result truncate the
4323 conversion, as required by RM 4.6(31).
4325 2009-04-08 Robert Dewar <dewar@adacore.com>
4327 * checks.adb (Enable_Overflow_Check): Do not enable if overflow checks
4330 * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all
4333 2009-04-08 Robert Dewar <dewar@adacore.com>
4335 * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for
4336 No_Local_Allocators restriction preventing local instantiation.
4338 2009-04-08 Thomas Quinot <quinot@adacore.com>
4340 * sem_eval.adb: Minor comment fix
4342 2009-04-08 Thomas Quinot <quinot@adacore.com>
4344 * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller):
4345 New limited controlled type used to automate the initialization and
4346 finalization of the sockets implementation.
4347 (GNAT.Sockets.Initialize, Finalize): Make these no-ops
4349 2009-04-08 Vincent Celier <celier@adacore.com>
4351 * prj-attr.adb: New read-only project-level attribute Project_Dir
4353 * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of
4354 read-only attribute of the same name.
4355 (Process_Declarative_Items): Call Add_Attributes with Project_Dir
4356 (Recursive_Process): Ditto
4358 * snames.adb: Add new standard name Project_Dir
4360 * snames.ads: Add new standard name Project_Dir
4362 2009-04-08 Thomas Quinot <quinot@adacore.com>
4364 * checks.adb: Minor reformatting
4366 2009-04-08 Vincent Celier <celier@adacore.com>
4368 * vms_data.ads: Add documentation for new style keyword
4369 OVERRIDING_INDICATORS
4371 2009-04-08 Robert Dewar <dewar@adacore.com>
4373 * sem_ch3.adb (Check_Completion.Post_Error): Post error on spec if the
4374 spec is in the current unit.
4376 2009-04-08 Ed Schonberg <schonberg@adacore.com>
4378 * sem_util.adb (Is_Protected_Self_Reference): Add guard to check for
4381 * usage.adb, gnat_ugn.texi: add info on -gnatyO: overriding indicators
4383 2009-04-08 Vincent Celier <celier@adacore.com>
4385 * vms_data.ads: Add VMS equivalent for -gnatyO (OVERRIDING_INDICATORS)
4387 2009-04-08 Thomas Quinot <quinot@adacore.com>
4389 * checks.ads: Minor reformatting
4391 2009-04-08 Robert Dewar <dewar@adacore.com>
4393 * gnat_rm.texi: Update documentation of pragma Obsolescent
4395 * sem_prag.adb (Analyze_Pragma, case Obsolescent): Allow identifiers to
4396 be omitted, and allow Entity parameter to be omitted.
4398 2009-04-08 Thomas Quinot <quinot@adacore.com>
4400 * exp_util.adb: Minor comment fix
4402 2009-04-08 Robert Dewar <dewar@adacore.com>
4404 * g-socket.ads: Fix bad syntax in pragma Obsolescent
4406 * par-ch2.adb (Scan_Pragma_Argument_Association): Check for error of
4407 argument with no identifier following one that has an identifier. Was
4408 missed in some cases.
4410 * sem_prag.adb (Analyze_Pragma, case Check_Policy): Allow Policy
4412 (Analyze_Pragma, case Obsolescent): Allow Message, Version identifiers
4414 * snames.adb: Add Name_Policy
4416 * snames.ads: Add Name_Policy
4418 2009-04-08 Robert Dewar <dewar@adacore.com>
4420 * gnat_rm.texi: Minor reformatting
4422 * par-ch2.adb: Minor reformatting
4424 2009-04-08 Robert Dewar <dewar@adacore.com>
4426 * exp_attr.adb, sem_attr.adb, sem_util.adb: Code clean up.
4428 2009-04-08 Robert Dewar <dewar@adacore.com>
4430 * sem_cat.adb (Check_Categorization_Dependencies): Handle Preelaborate
4431 properly in the presence of Remote_Types or Remote_Call_Interface.
4433 * sem_util.adb: Add comment.
4435 2009-04-08 Robert Dewar <dewar@adacore.com>
4437 * ug_words: Add /ASSUME_VALID for -gnatB
4439 * vms_data.ads: Add /ASSUME_VALID for -gnatB
4441 * sem_cat.adb: Add clarifying commment
4443 * a-direio.ads (Bytes): Make sure value is non-zero
4445 2009-04-08 Ed Schonberg <schonberg@adacore.com>
4447 * sem_util.adb (Is_Variable): If the prefix is an explicit dereference
4448 that does not come from source, check for a rewritten function call in
4449 prefixed notation before other forms of rewriting.
4451 2009-04-08 Robert Dewar <dewar@adacore.com>
4453 * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since
4454 these are now obsolescent units used only for bootrapping with an
4457 2009-04-08 Robert Dewar <dewar@adacore.com>
4459 * gnat_rm.texi: Add documentation for pragma Thread_Local_Storage
4461 * sem_ch3.adb: Minor comment updates
4463 2009-04-08 Ed Schonberg <schonberg@adacore.com>
4465 * inline.adb (Back_End_Cannot_Inline): restrict warning to subprograms
4466 that come from source.
4468 2009-04-08 Tristan Gingold <gingold@adacore.com>
4470 * gcc-interface/gigi.h (enum attr_type): Add ATTR_THREAD_LOCAL_STORAGE.
4471 * gcc-interface/decl.c (prepend_attributes): New case
4472 Pragma_Thread_Local_Storage.
4473 * gcc-interface/utils.c (process_attributes): New case
4474 ATTR_THREAD_LOCAL_STORAGE.
4476 2009-04-08 Ed Schonberg <schonberg@adacore.com>
4478 * inline.adb (Back_End_Cannot_Inline): Do not mark a body as inlineable
4479 by the back-end if it contains a call to a subprogram without a
4480 previous spec that is declared in the same unit.
4482 * errout.ads: Update comments on uses of dirs
4484 2009-04-08 Robert Dewar <dewar@adacore.com>
4486 * exp_ch4.adb (Expand_Concatenate): Make sure nodes are properly typed
4488 2009-04-08 Tristan Gingold <gingold@adacore.com>
4490 * sem_prag.adb: Restrict pragma Thread_Local_Storage to library level
4492 Set Has_Gigi_Rep_Item flag to TLS variables (to ease gigi work).
4494 2009-04-08 Vincent Celier <celier@adacore.com>
4497 (Add_Source): Add the mapping of the unit name to source file name in
4498 the Unit_Sources_HT hash table, if the unit name is not null.
4500 * prj.adb (Reset): Reset hash table Tree.Unit_Sources_HT
4502 * prj.ads (Unit_Sources_Htable): New hash table instantiation
4503 (Project_Tree_Data): New component Unit_Sources_HT
4505 2009-04-08 Thomas Quinot <quinot@adacore.com>
4507 * sem_ch8.adb: Minor reformatting.
4508 Minor code reorganization.
4510 2009-04-08 Robert Dewar <dewar@adacore.com>
4512 * snames.h, einfo.adb, einfo.ads, sem_prag.adb, snames.adb,
4513 snames.ads, freeze.adb, par-prag.adb: Add implementation of
4514 pragma Thread_Local_Storage, setting new flag
4515 Has_Pragma_Thread_Local_Storage in corresponding entities.
4517 2009-04-08 Emmanuel Briot <briot@adacore.com>
4519 * prj.ads: Update comment on switches file
4521 * prj-nmsc.adb: Code clean up. Use renaming clauses.
4523 2009-04-08 Robert Dewar <dewar@adacore.com>
4525 * exp_ch4.adb (Expand_Concatenate): Further fixes to bounds handling
4527 2009-04-08 Thomas Quinot <quinot@adacore.com>
4529 * ali-util.adb: Minor comment fix
4531 2009-04-08 Ed Schonberg <schonberg@adacore.com>
4533 * sem_ch8.adb (Analyze_Use_Type): Improve error message when clause
4534 appears in a context clause, and the enclosing package is mentioned in
4535 a limited_with_clause.
4536 (Use_One_Type): Reject clause if type is still incomplete.
4538 2009-04-08 Emmanuel Briot <briot@adacore.com>
4540 * prj-nmsc.adb (Check_File, Process_Sources_In_Multi_Language_Mode):
4541 avoid copies of Source_Data variables when possible, since these
4542 involve calls to memcpy() which are done too many times.
4544 2009-04-08 Robert Dewar <dewar@adacore.com>
4546 * exp_ch4.adb (Expand_Concatenate): Clean up code
4548 2009-04-07 Thomas Quinot <quinot@adacore.com>
4550 * exp_ch4.adb (Expand_Concatenate): Add missing conversion to index
4551 type for the case of concatenating a constrained array indexed by an
4554 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4556 * sem_ch6.adb (Check_Conformance): when checking conformance of an
4557 operation that overrides an abstract operation inherited from an
4558 interface, return False if only one of the controlling formals is an
4561 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4563 * sem_ch8.adb (Analyze_Object_Renaming): additional error messages
4564 mandated by AI05-105.
4566 2009-04-07 Vincent Celier <celier@adacore.com>
4568 * prj-nmsc.adb (Get_Mains): Warn if a main is an empty string
4570 2009-04-07 Thomas Quinot <quinot@adacore.com>
4572 * usage.adb: Minor fix in usage message.
4574 * sem_ch10.adb (Remove_Homonyms): Fix subtype of formal in body to
4575 match declaration; the correct subtype is Node_Id, not Entity_Id,
4576 because the expected node kind is an identifier, not a defining
4579 * switch-c.adb: Minor reformatting.
4581 * uintp.adb: Minor reformatting.
4583 2009-04-07 Robert Dewar <dewar@adacore.com>
4585 * exp_ch13.adb: Minor reformatting
4587 2009-04-07 Robert Dewar <dewar@adacore.com>
4589 * sem_warn.adb (Check_Infinite_Loop_Warning.Test_Ref): Add defence
4590 against missing parent.
4592 2009-04-07 Thomas Quinot <quinot@adacore.com>
4594 * xoscons.adb: Minor reformatting
4596 2009-04-07 Robert Dewar <dewar@adacore.com>
4598 * rtsfind.ads: Remove obsolete string concatenation entries
4600 2009-04-07 Robert Dewar <dewar@adacore.com>
4602 * exp_ch4.adb (Expand_Concatenate): Redo handling of bounds
4604 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4606 * sem_ch10.adb (Check_Body_Required): Handle properly imported
4609 2009-04-07 Gary Dismukes <dismukes@adacore.com>
4611 * exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case
4612 Attribute_Address): When Init_Or_Norm_Scalars is True and the object
4613 is of a scalar or string type then suppress the setting of the
4614 expression to Empty.
4616 * freeze.adb (Warn_Overlay): Also emit the warnings about default
4617 initialization for the cases of scalar and string objects when
4618 Init_Or_Norm_Scalars is True.
4620 2009-04-07 Bob Duff <duff@adacore.com>
4622 * s-secsta.ads, g-pehage.ads, s-fileio.ads: Minor comment fixes
4624 2009-04-07 Bob Duff <duff@adacore.com>
4626 * gnat_rm.texi, s-fileio.adb (System.File_IO.Open): New feature: A
4627 Form parameter of Text_Translation=No allows binary mode for Text_IO
4630 * gnat_rm.texi: Document Form parameter Text_Translation=xxx.
4632 2009-04-07 Javier Miranda <miranda@adacore.com>
4634 * exp_ch5.adb (Expand_Assign_Array): Add implicit conversion when
4635 processing the bounds for bit packed arrays or VM target machines.
4637 2009-04-07 Thomas Quinot <quinot@adacore.com>
4639 * g-sothco.ads (Int_Access): Remove extraneous access type (use
4640 anonymous access instead).
4641 (Get_Socket_From_Set): Fix incorrectly reverted formals
4642 Last and Socket to match the underlying C routine.
4644 * g-socket.adb, g-socket.ads
4645 (Get): Use named parameter associations instead of positional ones in
4646 call go Get_Socket_From_Set, since this routine has two formals of the
4648 (Image): New procedure.
4650 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
4651 g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads:
4652 (C_Ioctl, Syscall_Ioctl): use "access C.int" instead of "Int_Access"
4653 for type of Arg formal.
4655 * sem_warn.adb: Minor reformatting
4657 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4659 * sem_util.adb (Has_Tagged_Component): Fix typo in loop that iterates
4660 over record components.
4662 2009-04-07 Nicolas Roche <roche@adacore.com>
4665 Don't include resolvLib.h on VxWorks 6 (kernel and rtp). This library
4666 has disappeared between VxWorks 6.4 and VxWorks 6.5
4667 In RTP mode use time.h instead of times.h
4669 2009-04-07 Robert Dewar <dewar@adacore.com>
4671 * exp_ch4.adb (Expand_N_Op_Concat): Improve lower bound handling
4673 2009-04-07 Kevin Pouget <pouget@adacore.com>
4675 * exp_dist.adb: Modify Build_From_Any_Fonction procedure to correct
4676 expanded code for constrained types.
4678 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4680 * sem_ch4.adb (Analyze_Overloaded_Selected_Component): implement
4681 AI05-105: in an object renaming declaration, anonymousness is a name
4684 * sem_ch8.adb (Analyze_Object_Renaming): Ditto.
4686 2009-04-07 Arnaud Charlet <charlet@adacore.com>
4688 * g-comlin.adb (Expansion): Fix old regression: also return directory
4689 names when matching.
4691 2009-04-07 Robert Dewar <dewar@adacore.com>
4694 (Expand_N_Op_Concat): Call Expand_Concatenate for all cases
4695 (Expand_Concatenate): New name for Expand_Concatenate_String which has
4696 been rewritten to handle all types.
4697 (Expand_Concatenate_Other): Remove
4699 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4701 * lib-xref.adb (Generate_Reference): A default subprogram in an
4702 instance appears within the tree for the instance, but generates an
4703 implicit reference in the ALI.
4705 2009-04-07 Javier Miranda <miranda@adacore.com>
4707 * sem_ch3.adb (Build_Derived_Record_Type): When processing a tagged
4708 derived type that has discriminants, propagate the list of interfaces
4709 to the corresponding new base type. In addition, propagate also
4710 attribute Limited_Present (found working in this patch).
4712 2009-04-07 Robert Dewar <dewar@adacore.com>
4714 * exp_ch4.adb: Rewrite concatenation expansion.
4716 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4718 * sem_ch8.adb (Restore_Scope_Stack): First_Private_Entity is only
4719 relevant to packages.
4721 2009-04-07 Robert Dewar <dewar@adacore.com>
4723 * sem_attr.adb: Minor reformatting
4725 * sem_ch6.adb: Minor reformatting
4727 2009-04-07 Tristan Gingold <gingold@adacore.com>
4729 * socket.c: Add more protections against S_resolvLib_ macros.
4731 2009-04-07 Thomas Quinot <quinot@adacore.com>
4733 * sem_attr.adb: Minor reformatting
4735 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4737 * sem_ch6.adb (New_Overloaded_Entity): New predicate
4738 Is_Overriding_Alias to handle properly types that inherit two homonym
4739 operations that have distinct dispatch table entries.
4741 2009-04-07 Emmanuel Briot <briot@adacore.com>
4743 * s-regexp.adb (Create_Mapping): Ignore excaped open parenthesis when
4744 looking for the end of a parenthesis group
4746 2009-04-07 Tristan Gingold <gingold@adacore.com>
4748 * gsocket.h Don't #include resolvLib.h if __RTP__ is defined.
4750 * socket.c Don't use resolvLib_ macros if not defined.
4752 2009-04-07 Robert Dewar <dewar@adacore.com>
4754 * g-socket.adb: Minor reformatting.
4756 * g-socthi-mingw.adb: Minor reformatting
4758 * g-sothco.ads: Minor reformatting
4761 (Expand_Concatenate_String): Complete rewrite to generate efficient code
4762 inline instead of relying on external library routines.
4764 * s-strops.ads, s-sopco5.ads, s-sopco5.adb, s-sopco4.ads, s-sopco4.adb,
4765 s-sopco3.ads, s-sopco3.adb, s-strops.adb: Note that this unit is now
4768 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4771 (Eval_Attribute): for attributes of array objects that are not strings,
4772 attributes are not static if nominal subtype of object is unconstrained.
4774 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4776 * sem_ch6.adb (New_Overloaded_Entity): If two implicit homonym
4777 operations for a type T in an instance do not override each other,
4778 when T is derived from a formal private type, the corresponding
4779 operations inherited by a type derived from T outside
4780 of the instance do not override each other either.
4782 2009-04-07 Robert Dewar <dewar@adacore.com>
4784 (Osint.Fail): Change calling sequence to have one string arg
4785 (Make.Make_Failed): Same change
4786 All callers are adjusted to use concatenation
4788 2009-04-07 Robert Dewar <dewar@adacore.com>
4790 * exp_ch4.adb: Fix documentation typo
4792 2009-04-07 Robert Dewar <dewar@adacore.com>
4794 * tbuild.ads: Minor reformatting
4796 2009-04-07 Javier Miranda <miranda@adacore.com>
4798 * exp_disp.adb (Make_DT): Avoid the generation of the OSD_Table
4799 when compiling under ZFP runtime.
4801 2009-04-07 Robert Dewar <dewar@adacore.com>
4803 * g-comlin.adb: Minor reformatting
4805 2009-04-07 Thomas Quinot <quinot@adacore.com>
4807 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
4808 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
4809 g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads, g-sothco.ads:
4810 Remove dynamic allocation of Fd_Set in Socket_Set_Type objects.
4812 2009-04-07 Robert Dewar <dewar@adacore.com>
4814 * gnat_ugn.texi: Document -gnatDnn/-gnatGnn
4816 * opt.ads (Sprint_Line_Limit): New parameter
4818 * sprint.adb: Usa Sprint_Line_Limit instead of Line_Limit throughout
4820 * switch-c.adb: Recognize -gnatDnnn and -gnatGnnn switches
4822 * usage.adb: Output information for -gnatGnn -gnatDnn
4824 2009-04-07 Robert Dewar <dewar@adacore.com>
4826 * make.adb: Minor reformatting
4828 2009-04-07 Robert Dewar <dewar@adacore.com>
4830 * mlib-tgt-specific-vms-alpha.adb: Minor reformatting
4832 2009-04-07 Robert Dewar <dewar@adacore.com>
4834 * mlib-tgt-specific-vms-ia64.adb: Minor reformatting
4836 2009-04-07 Robert Dewar <dewar@adacore.com>
4839 Remove Assume_Valid parameter from In_Subrange_Of calls
4842 (Is_Subrange_Of): Remove Assume_Valid parameter, not needed
4843 (Is_In_Range): Remove incorrect use of Assume_Valid
4844 (Is_Out_Of_Range): Remove incorrect use of Assume_Valid
4847 (Is_Subrange_Of): Remove Assume_Valid parameter, not needed
4848 (Is_In_Range): Documentation cleanup
4849 (Is_Out_Of_Range): Documentation cleanup
4852 Add documentation for Assume_No_Invalid_Values pragma
4854 * sem_ch12.adb: Minor reformatting
4856 * sem_ch6.adb: (Check_Conformance): Avoid cascaded errors
4858 * sem_prag.adb: Improve error message.
4860 * gnatchop.adb, osint.ads, sinput.adb, sinput.ads, styleg.adb:
4861 LF/CR no longer recognized as line terminator
4863 * switch.ads: Minor documentation improvement
4865 * vms_data.ads: Minor reformatting
4867 2009-04-07 Robert Dewar <dewar@adacore.com>
4869 * checks.adb (Determine_Range): Add Assume_Valid parameter
4871 * checks.ads (Determine_Range): Add Assume_Valid parameter
4873 * errout.adb (Error_Msg_NEL): Use Suppress_Loop_Warnings rather than
4874 Is_Null_Loop to suppress warnings in a loop body.
4877 (Rewrite_Comparison): Major rewrite to accomodate invalid values
4880 (Expand_N_Loop_Statement): Delete loop known not to execute
4883 (Assume_No_Invalid_Values): Now set to False, and as documented, this
4884 fully enables the proper handling of invalid values.
4887 New calling sequence for Is_In_Range
4890 (Analyze_Iteration_Scheme): Accomodate possible invalid values
4891 in determining if a loop range is null.
4894 (Is_In_Range): Add Assume_Valid parameter
4895 (Is_Out_Of_Range): Add Assume_Valid_Parameter
4896 (Compile_Time_Compare): Major rewrite to accomodate invalid values and
4897 also to do more accurate and complete range analysis, catching more
4901 (Is_In_Range): Add Assume_Valid parameter
4902 (Is_Out_Of_Range): Add Assume_Valid_Parameter
4905 New calling sequence for Is_In_Range
4908 (Suppress_Loop_Warnings): New flag
4911 (Is_Null_Loop): Update documentation
4912 (Suppress_Loop_Warnings): New flag
4914 * gnat_ugn.texi: Document -gnatB switch
4916 2009-04-07 Arnaud Charlet <charlet@adacore.com>
4918 * gnatvsn.ads: Bump version number.
4920 2009-04-07 Thomas Quinot <quinot@adacore.com>
4922 * exp_ch3.adb: Minor rewording (comments)
4924 2009-04-07 Robert Dewar <dewar@adacore.com>
4926 * exp_disp.adb: Minor reformatting
4928 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4930 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Test the
4932 * gcc-interface/trans.c (lvalue_required_p): Likewise.
4934 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4936 * gcc-interface/trans.c (Attribute_to_gnu) <Max_Size_In_Storage_Elmts>:
4937 Do not convert the result. Remove obsolete comment.
4939 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4941 * gcc-interface/trans.c (establish_gnat_vms_condition_handler): Clear
4943 (Subprogram_Body_to_gnu): Fix pasto.
4945 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4947 * gcc-interface/gigi.h (standard_datatypes): Remove ADT_void_type_decl.
4948 (void_type_decl_node): Remove.
4949 (init_gigi_decls): Likewise.
4950 (gnat_install_builtins): Declare.
4951 (record_builtin_type): Likewise.
4952 (create_type_stub_decl): Likewise.
4953 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Void>: Use void_type.
4954 (gnat_to_gnu_entity) <E_Array_Type>: Make fat and thin pointer types
4956 <E_Array_Subtype>: Use the index types, not only their name, in the
4957 record giving the names of the bounds, if any.
4958 For a packed array type, make it artificial only if the base type
4959 was artificial as well. Remove redundant statement.
4960 (gnat_to_gnu_entity) <E_Incomplete_Type>: Do not create TYPE_DECL for
4962 Use create_type_stub_decl to build the TYPE_STUB_DECL of types.
4963 (rest_of_type_decl_compilation_no_defer): Likewise.
4964 * gcc-interface/misc.c (gnat_printable_name): Add missing guard.
4965 * gcc-interface/utils.c (make_dummy_type): Always create TYPE_STUB_DECL
4966 and use create_type_stub_decl to build it.
4967 (gnat_pushdecl): Rewrite condition.
4968 (gnat_install_builtins): Remove bogus declaration.
4969 (record_builtin_type): New function.
4970 (finish_record_type): Use create_type_stub_decl to build TYPE_STUB_DECL
4972 (create_type_stub_decl): New function.
4973 (create_type_decl): Assert that the type is not dummy. If the type
4974 hasn't been named yet, equate the TYPE_STUB_DECL to the created node.
4975 (build_vms_descriptor32): Do not create TYPE_DECL for the descriptor.
4976 (build_vms_descriptor): Likewise.
4977 (init_gigi_decls): Delete and move bulk of code to...
4978 * gcc-interface/trans.c (gigi): ...here. Use record_builtin_type.
4979 (emit_range_check): Add gnat_node parameter.
4980 (emit_index_check): Likewise.
4981 (emit_check): Likewise.
4982 (build_unary_op_trapv): Likewise.
4983 (build_binary_op_trapv): Likewise.
4984 (convert_with_check): Likewise.
4985 (Attribute_to_gnu): Adjust calls for above changes.
4986 (call_to_gnu): Likewise.
4987 (gnat_to_gnu): Likewise.
4988 (assoc_to_constructor): Likewise.
4989 (pos_to_constructor): Likewise.
4990 (Sloc_to_locus): Set BUILTINS_LOCATION for Standard_Location nodes.
4991 (process_type): Do not create TYPE_DECL for dummy types.
4993 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4995 * gcc-interface/decl.c (gnat_to_gnu_entity): Reorder local variables.
4996 * gcc-interface/trans.c: Fix formatting throughout. Fix comments.
4997 * gcc-interface/utils.c: Fix comments.
4999 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
5001 * gcc-interface/decl.c (compile_time_known_address_p): Rewrite and
5003 (gnat_to_gnu_type): Move around.
5004 (get_unpadded_type): Likewise.
5005 * gcc-interface/utils.c (update_pointer_to): Use synthetic macro.
5008 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
5010 * gcc-interface/trans.c (check_for_eliminated_entity): New function.
5011 (Attribute_to_gnu): Invoke it for Access- and Address-like attributes.
5012 (call_to_gnu): Invoke it instead of manually checking.
5014 2009-04-04 Eric Botcazou <ebotcazou@adacore.com>
5016 * gcc-interface/utils.c (finish_record_type): Force structural equality
5017 checks if the record type is discriminated.
5019 2009-03-31 Eric Botcazou <ebotcazou@adacore.com>
5021 * system-linux-alpha.ads (Functions_Return_By_DSP): Remove.
5022 * system-linux-mips.ads (Functions_Return_By_DSP): Likewise.
5023 * system-linux-mipsel.ads (Functions_Return_By_DSP): Likewise.
5024 * system-linux-s390.ads (Functions_Return_By_DSP): Likewise.
5025 * system-linux-s390x.ads (Functions_Return_By_DSP): Likewise.
5026 * system-linux-sparc.ads (Functions_Return_By_DSP): Likewise.
5027 * system-linux-sparcv9.ads (Functions_Return_By_DSP): Likewise.
5029 2009-03-30 Paolo Bonzini <bonzini@gnu.org>
5031 * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW instead
5032 of TREE_CONSTANT_OVERFLOW.
5034 2009-03-30 Joseph Myers <joseph@codesourcery.com>
5036 PR rtl-optimization/323
5037 * gcc-interface/misc.c (gnat_post_options): Set
5038 flag_excess_precision_cmdline. Give an error for
5039 -fexcess-precision=standard for processors where the option is
5042 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
5045 * gcc-interface/utils.c (create_field_decl): Use "unsigned int"
5048 2009-03-11 Olivier Hainque <hainque@adacore.com>
5050 * gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range
5051 checks processing, remove unintended TREE_TYPE walk on index type.
5053 2009-03-01 Eric Botcazou <ebotcazou@adacore.com>
5056 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no
5057 call make_packable_type on fat pointer types.
5058 <E_Array_Subtype>: Likewise.
5059 <E_Record_Subtype>: Call make_packable_type on all record types
5060 except for fat pointer types.
5061 (make_packable_type): Likewise.
5062 (gnat_to_gnu_field): Likewise.
5064 2009-02-28 Eric Botcazou <ebotcazou@adacore.com>
5066 * gcc-interface/Makefile.in (cygwin/mingw): Revert accidental
5067 EH_MECHANISM change made on 2007-12-06.
5069 2009-02-26 Andreas Schwab <schwab@suse.de>
5072 * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
5073 * gcc-interface/Makefile.in: Change all uses of $(srcdir),
5074 $(fsrcdir) and $(fsrcpfx) to add ada subdir.
5076 (target_cpu_default): Substitute.
5078 2009-02-25 Laurent GUERBY <laurent@guerby.net>
5081 * a-teioed.adb (Expand): Fix Result overflow.
5083 2009-02-25 Laurent GUERBY <laurent@guerby.net>
5085 * gcc-interface/Makefile.in: Fix multilib handling for
5088 2009-02-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5090 * s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6.
5092 2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
5094 * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi.
5096 2009-02-16 Eric Botcazou <ebotcazou@adacore.com>
5098 * gcc-interface/deftarg.c: Remove.
5100 2009-02-10 Olivier Hainque <hainque@adacore.com>
5101 Eric Botcazou <ebotcazou@adacore.com>
5103 * gcc-interface/decl.c (enum alias_set_op): New enumeration.
5104 (copy_alias_set): Rename into...
5105 (relate_alias_sets): ...this. Add third parameter OP. Retrieve the
5106 underlying array of unconstrained arrays for the new type as well.
5107 If the old and new alias sets don't conflict, make one a subset of
5108 the other as per the OP parameter.
5109 (gnat_to_gnu_entity): Adjust calls to copy_alias_set.
5110 <E_Record_Type>: Do not copy the alias set for derived types.
5111 For all types, make the alias set of derived types a superset of
5112 that of their parent type.
5113 (make_aligning_type): Adjust calls to copy_alias_set.
5114 (make_packable_type): Likewise.
5115 * gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>:
5116 Check for alias set conflict instead of strict equality to issue the
5119 2009-02-09 Eric Botcazou <ebotcazou@adacore.com>
5121 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>:
5122 Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate.
5123 (copy_alias_set): Assert that arrays have the same aliasing settings.
5124 (substitute_in_type) <ARRAY_TYPE>: Copy TYPE_NONALIASED_COMPONENT.
5126 2009-02-08 Eric Botcazou <ebotcazou@adacore.com>
5128 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>:
5129 Set TYPE_NONALIASED_COMPONENT on the array type.
5131 2009-01-31 Laurent GUERBY <laurent@guerby.net>
5133 * gcc-interface/Makefile.in: Fix mipsel linux handling.
5135 2009-01-16 Jakub Jelinek <jakub@redhat.com>
5137 * gcc-interface/Makefile.in: Fix multilib handling for
5140 2009-01-12 Eric Botcazou <ebotcazou@adacore.com>
5142 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip
5143 only useless conversions around renamed objects.
5145 2009-01-11 Eric Botcazou <ebotcazou@adacore.com>
5147 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put
5148 the _Tag field before any discriminants in the field list.
5149 (components_to_record): Remove obsolete comment.
5153 Copyright (C) 2009 Free Software Foundation, Inc.
5155 Copying and distribution of this file, with or without modification,
5156 are permitted in any medium without royalty provided the copyright
5157 notice and this notice are preserved.