]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/ada/ChangeLog
utils.c (create_var_decl_1): Do not emit debug info for an external constant whose...
[thirdparty/gcc.git] / gcc / ada / ChangeLog
1 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
2
3 * gcc-interface/utils.c (create_var_decl_1): Do not emit debug info
4 for an external constant whose initializer is not absolute.
5
6 2009-04-22 Taras Glek <tglek@mozilla.com>
7
8 * gcc-interface/ada-tree.h: Update GTY annotations to new syntax.
9 * gcc-interface/trans.c: Likewise.
10 * gcc-interface/utils.c: Likewise.
11
12 2009-04-22 Ed Schonberg <schonberg@adacore.com>
13
14 * sem_res.adb: Create block around procedure call when actual is a
15 concatenation.
16
17 2009-04-22 Thomas Quinot <quinot@adacore.com>
18
19 * s-soflin.ads: Fix typos
20
21 2009-04-22 Vincent Celier <celier@adacore.com>
22
23 * prj-env.adb: Minor comment change
24
25 * prj-nmsc.adb (Check_Common): Add guard to avoid calling
26 Get_Name_String with No_File.
27
28 * tempdir.adb (Create_Temp_File): Output diagnostic when temp file
29 cannot be created even when not in verbose mode.
30
31 2009-04-22 Emmanuel Briot <briot@adacore.com>
32
33 * make.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj.adb,
34 prj.ads (Create_Mapping_File): merge the two versions for Ada_Only and
35 Multi_Language modes, to avoid code duplication.
36 (Project_Data.Include_Language): Removed.
37
38 2009-04-22 Vincent Celier <celier@adacore.com>
39
40 * tempdir.adb (Create_Temp_File): Add a diagnostic in verbose mode when
41 the temporary file cannot be created, indicating the directory when the
42 creation was attempted.
43
44 2009-04-22 Emmanuel Briot <briot@adacore.com>
45
46 * prj-env.adb, prj-env.ads (Create_Mapping_File): we need to compare
47 the language names, not their indices.
48
49 2009-04-22 Emmanuel Briot <briot@adacore.com>
50
51 * prj.ads, prj-nmsc.adb, prj-env.adb, prj-env.ads
52 (Source_Data.Language_Name): Field removed.
53
54 2009-04-22 Emmanuel Briot <briot@adacore.com>
55
56 * prj.adb, prj.ads, prj-nmsc.adb (Project_Data.Unit_Based_Language_*):
57 Two fields removed.
58
59 2009-04-22 Emmanuel Briot <briot@adacore.com>
60
61 * prj-nmsc.adb (Check_Naming_Ada_Only): Properly initialize the
62 separate_suffix to the same value as the body_suffix.
63
64 2009-04-22 Robert Dewar <dewar@adacore.com>
65
66 * prj.adb: Minor code reorganization
67 Code clean up.
68
69 * prj-proc.adb: Minor code reorganization, clean up.
70
71 * prj-nmsc.adb: Minor reformatting
72 Minor code reorganization
73
74 * gnat_ugn.texi: Add to doc on strict aliasing
75
76 2009-04-22 Pascal Obry <obry@adacore.com>
77
78 * s-osinte-mingw.ads: Rename Reserved field in CRITICAL_SECTION to
79 SpinCount.
80
81 * s-tasini.adb: Minor reformatting.
82
83 * s-tassta.adb: Minor reformatting.
84
85 2009-04-22 Emmanuel Briot <briot@adacore.com>
86
87 * prj-proc.adb, prj-nmsc.adb (Check_Naming_Schemes): split into several
88 smaller subprograms.
89 Renamed to Check_File_Naming_Schemes to avoid confusion with the
90 other Check_Naming_Schemes functions that plays a totally different
91 role.
92 (Check_Unit_Based_Lang, Check_File_Based_Lang): new subprograms,
93 extracted from the above. These were partially rewritten to avoid
94 unnecessary code and temporary variables.
95 (Compute_Unit_Name): new subprogram, merge of Check_Unit_Based_Lang
96 and Get_Unit (which for now still exist since they contain mode-specific
97 code)
98
99 2009-04-22 Emmanuel Briot <briot@adacore.com>
100
101 * prj.ads, prj.adb, prj-nmsc.adb, prj-proc.adb (Recursive_Process):
102 Remove duplicated code.
103 (Canonical_Case_File_Name): new subprogram
104 (Check_And_Normalize_Unit_Names): new subprogram
105 (Write_Attr): new subprogram
106 Better sharing of code
107 (Check_Naming_Ada_Only, Check_Naming_Multi_Lang): new subprogram, to
108 split Check_Naming and help find duplicated code
109 (Check_Common): new subprogram, sharing code between ada_only and
110 multi_language mode.
111 (Naming_Data.Dot_Repl_Loc): field removed
112
113 2009-04-22 Emmanuel Briot <briot@adacore.com>
114
115 * prj-proc.adb, prj-nmsc.adb (Load_Naming_Exceptions): New subprogram.
116 Minor refactoring to reduce the size of
117 Process_Sources_In_Multi_Language_Mode.
118 Avoid extra copied of Source_Data, which we found in the past could be
119 quite slow.
120 (Mark_Excluded_Sources): new subprogram.
121 (Remove_Locally_Removed_Files_From_Units): merged into the above
122 Refactors Process_Sources_In_Multi_Language_Mode to reduce its size,
123 and allow better sharing of code between multi_lang and ada_only modes
124 (Project_Extends): removed, since exact duplicate of Prj.Is_Extending
125
126 2009-04-22 Emmanuel Briot <briot@adacore.com>
127
128 * prj-proc.adb, prj.adb, prj.ads (Project_Data.First_Referred_By):
129 Removed, since unused.
130
131 2009-04-22 Vincent Celier <celier@adacore.com>
132
133 * prj-attr.adb: New single project level attribute
134 Separate_Run_Path_Options.
135
136 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process
137 attribute Seperate_Run_Path_Options.
138
139 * prj.ads: (Project_Configuration): New Boolean component
140 Separate_Run_Path_Options, defaulted to False.
141
142 * snames.ads-tmpl: New standard name Seperate_Run_Path_Options
143
144 2009-04-22 Robert Dewar <dewar@adacore.com>
145
146 * sem_type.adb: Minor reformatting
147
148 * mlib.adb: Minor reformatting
149
150 * sem_aggr.adb: Minor reformatting. Defend against junk aggregate from
151 syntax error.
152
153 2009-04-22 Nicolas Setton <setton@adacore.com>
154
155 * link.c: Add flag __gnat_separate_run_path_options.
156
157 * mlib.adb (Separate_Run_Path_Options): New subprogram.
158
159 * mlib.ads (Separate_Run_Path_Options): Declare.
160
161 * gnatcmd.adb (Process_Link): Add support for emitting one "rpath"
162 switch per directory, rather than one "rpath" switch listing all
163 directories.
164
165 * gnatlink.adb (Process_Binder_File): Likewise.
166
167 * make.adb (Gnatmake): Likewise.
168
169 2009-04-22 Hristian Kirtchev <kirtchev@adacore.com>
170
171 * exp_ch6.adb (Make_Build_In_Place_Call_In_Assignment): Code cleanup.
172 Add a call to Move_Final_List when the target of the assignment is a
173 return object that needs finalization and the expression is a
174 controlled build-in-place function.
175
176 2009-04-22 Vincent Celier <celier@adacore.com>
177
178 * make.adb (Gnatmake, Bind_Step): call Set_Ada_Paths with
179 Including_Libraries set to True.
180
181 2009-04-22 Ed Schonberg <schonberg@adacore.com>
182
183 * lib-load.ads, lib-load.adb (Make_Child_Decl_Unit): New subprogram, to
184 create a unit table entry for the subprogram declaration created for a
185 child suprogram body that has no separate specification.
186
187 * sem_ch10.adb (Analyze_Compilation_Unit): For a child unit that is a
188 subprogram body, call Make_Child_Decl_Unit.
189
190 * lib.adb (Get_Cunit_Unit_Number): Verify that an entry not yet in the
191 table can only be the created specification of a child subprogram body
192 that is the main unit, which has not been entered in the table yet.
193
194 * errout.adb (Output_Messages): Ignore created specification of a
195 child subprogram body to prevent repeated listing of error messages.
196
197 * gnat1drv.adb (gnat1drv): The generated specification for a child
198 subprogram body does not generate code.
199
200 2009-04-22 Arnaud Charlet <charlet@adacore.com>
201
202 * s-bitops.adb, s-bitops.ads (Raise_Error): Do not use Ada 05 syntax,
203 since this unit is now part of bootstrap units, so must use Ada 95
204 syntax only.
205
206 2009-04-22 Thomas Quinot <quinot@adacore.com>
207
208 * a-tasatt.adb: Minor reformatting
209
210 2009-04-22 Bob Duff <duff@adacore.com>
211
212 * s-stalib.ads: Remove "with System;" since we're inside System, so
213 it's unnecessary.
214
215 2009-04-22 Vincent Celier <celier@adacore.com>
216
217 * prj-nmsc.adb (Add_Source): Always put the dependency file name in
218 the source record, as there may be a dependency file even if no object
219 file is created.
220
221 2009-04-22 Robert Dewar <dewar@adacore.com>
222
223 * lib-load.adb: Minor reformatting
224
225 * lib-load.ads: Minor reformatting
226
227 * sinfo.ads: Minor reformatting
228
229 2009-04-22 Bob Duff <duff@adacore.com>
230
231 * exp_pakd.adb: Minor comment fixes.
232
233 * sinfo.ads, par-load.adb, sem_ch10.adb, lib-load.ads, lib-load.adb
234 sem_ch12.adb: Change the meaning of the Library_Unit attribute to
235 include units containing instantiations, as well as units that are
236 generic instantiations.
237
238 * sem.adb: Include dependents and corresponding specs/bodies in the
239 unit walk.
240
241 * gcc-interface/Make-lang.in:
242 sem now depends on s-bitops, because of the packed array of Booleans.
243
244 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
245
246 * gcc-interface/ada-tree.def: Fix formatting nits.
247 (REGION_STMT): Delete.
248 (HANDLER_STMT): Likewise.
249 * gcc-interface/ada-tree.h: Fix formatting nits.
250 (IS_STMT): Delete.
251 (REGION_STMT_BODY): Likewise.
252 (REGION_STMT_HANDLE): Likewise.
253 (REGION_STMT_BLOCK): Likewise.
254 (HANDLER_STMT_ARG): Likewise.
255 (HANDLER_STMT_LIST): Likewise.
256 (HANDLER_STMT_BLOCK): Likewise.
257 * gcc-interface/gigi.h (fp_prec_to_size): Update comment.
258 (fp_size_to_prec): Likewise.
259 (largest_move_alignment): Delete.
260 (gnat_compute_largest_alignment): Likewise.
261 Fix minor nits.
262 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
263 Remove redundant code.
264 <E_Array_Type>: Remove redundant assert.
265 <E_Array_Subtype>: Exit early from index computation in pathological
266 cases.
267 Rewrite conditional assignment.
268 (make_type_from_size): Likewise.
269 * gcc-interface/misc.c (largest_move_alignment): Delete.
270 (gnat_finish_incomplete_decl): Likewise.
271 (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Likewise.
272 (asm_out_file): Likewise
273 (gnat_print_type) <INTEGER_TYPE>: Fall through to ENUMERAL_TYPE case.
274 (gnat_dwarf_name): Move around.
275 * gcc-interface/trans.c (Attribute_to_gnu): Fix minor nits.
276 (gigi): Remove call to gnat_compute_largest_alignment.
277 * utils.c (create_field_decl): Rewrite conditional assignment.
278 Fix minor nits.
279
280 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
281
282 * gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate
283 on entry. Defer common processing for types. Reorder and clean up.
284 Compute the equivalent GNAT node and the default size for types only.
285 <E_Modular_Integer_Type>: Directly use Esize for the type's precision.
286 <E_Access_Type>: For an unconstrained designated type, do not pretend
287 that a dummy type is always made.
288 <all> Fix nits in comments.
289 (validate_size): Fix formatting nits and comments.
290 (set_rm_size): Likewise.
291 * gcc-interface/utils.c (create_param_decl): Replace bogus argument
292 passed to TARGET_PROMOTE_PROTOTYPES hook.
293
294 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
295
296 * fe.h (Get_External_Name): Declare.
297 * gcc-interface/gigi.h (concat_id_with_name): Rename to...
298 (concat_name): ...this.
299 * gcc-interface/decl.c (gnat_to_gnu_entity): Rename gnu_entity_id to
300 gnu_entity_name and adjust for above renaming.
301 <E_Access_Type>: Use create_concat_name to get the name of the various
302 types associated with unconstrained array types.
303 (make_aligning_type): Adjust for above renaming.
304 (maybe_pad_type): Likewise.
305 (components_to_record): Likewise. Use get_identifier_with_length for
306 the encoding of the variant.
307 (get_entity_name): Use get_identifier_with_length.
308 (create_concat_name): Likewise. Use Get_External_Name if no suffix.
309 Do not fiddle with Name_Buffer.
310 (concat_id_with_name): Rename to...
311 (concat_name): ...this. Use get_identifier_with_length. Do not fiddle
312 with Name_Buffer.
313 * gcc-interface/utils.c (rest_of_record_type_compilation): Adjust for
314 above renaming.
315
316 2009-04-21 Joseph Myers <joseph@codesourcery.com>
317
318 * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
319 license notices.
320
321 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
322
323 * gcc-interface/trans.c (gnat_to_gnu): Do not overwrite location info.
324
325 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
326
327 * gcc-interface/ada-tree.h (TYPE_RM_SIZE_NUM): Delete.
328 (TYPE_RM_SIZE): Access TYPE_LANG_SLOT_1 directly for integral types.
329 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>:
330 Remove useless support code for packed array types and assert its
331 uselessness.
332 <E_Signed_Integer_Subtype>: Reuse entity identifier in more places and
333 adjust for TYPE_RM_SIZE change.
334 <all> Fix nits in comments. Use Original_Array_Type accessor instead
335 of Associated_Node_For_Itype accessor for packed array types.
336 (make_packable_type): Likewise.
337 (maybe_pad_type): Likewise.
338 (set_rm_size): Likewise. Rework conditional statement. Adjust for
339 TYPE_RM_SIZE change.
340 (make_type_from_size): Adjust for TYPE_RM_SIZE change.
341 (rm_size): Fix nits in comments. Rework conditional statements.
342 * gcc-interface/misc.c (gnat_print_type): Adjust for TYPE_RM_SIZE
343 change.
344 * gcc-interface/trans.c (Attribute_to_gnu): Fix nits in comments.
345 * gcc-interface/utils.c (gnat_init_decl_processing): Use more
346 appropriate function to initialize the size_type_node. Adjust for
347 TYPE_RM_SIZE change.
348
349 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
350
351 * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set force_global
352 for imported subprograms.
353
354 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
355
356 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not make
357 constant objects covered by 13.3(19) volatile.
358
359 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
360
361 * gcc-interface/utils.c (create_type_decl): Do not pass declarations
362 of dummy fat pointer types to the debug back-end.
363
364 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
365
366 * gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation.
367 <E_Signed_Integer_Subtype>: Set the RM size on the integer type
368 before wrapping it up in the record type. Do not overwrite the
369 Ada size of the record type with the Esize.
370
371 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
372
373 * gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate.
374 (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression
375 if the conversion is on the LHS of an assignment and a no-op.
376 <all> Do not convert the result to the result type if the Parent
377 node is such a conversion.
378
379 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
380
381 * gcc-interface/ada-tree.h (DECL_HAS_REP_P): Delete.
382 * gcc-interface/decl.c (gnat_to_gnu_entity): Add support for extension
383 of types with unknown discriminants.
384 (substitute_in_type): Rewrite and restrict to formal substitutions.
385 * gcc-interface/utils.c (create_field_decl): Do not set DECL_HAS_REP_P.
386 (update_pointer_to): Update comment.
387
388 2009-04-20 Ed Schonberg <schonberg@adacore.com>
389
390 * sem_ch8.adb (Use_One_Package): In an instance, if two
391 potentially_use_visible and non-overloadable homonyms are available
392 from the actuals of distinct formal packages, retain the current one,
393 which was visible in the generic, to prevent spurious visibility
394 errors.
395 (End_Use_Package): Restore use_visibility when needed.
396
397 2009-04-20 Sergey Rybin <rybin@adacore.com>
398
399 * gnat_ugn.texi, vms_data.ads: Update doc.
400
401 2009-04-20 Arnaud Charlet <charlet@adacore.com>
402
403 * gcc-interface/Make-lang.in: Update dependencies
404
405 * gcc-interface/Makefile.in: Link run-time against winsock2 lib under
406 Windows.
407
408 2009-04-20 Robert Dewar <dewar@adacore.com>
409
410 * checks.ads: Fix documentation of range check handling
411
412 2009-04-20 Ed Schonberg <schonberg@adacore.com>
413
414 * sem_ch8.adb (Use_One_Type): Use proper entity on warning message for
415 a redundant use_type clause.
416
417 2009-04-20 Robert Dewar <dewar@adacore.com>
418
419 * sem_attr.adb (Eval_Attribute, case Length): Catch more cases where
420 this attribute can be evaluated at compile time.
421 (Eval_Attribute, case Range_Length): Same improvement
422
423 * sem_eval.ads, sem_eval.adb (Compile_Time_Compare): New procedure
424
425 2009-04-20 Ed Schonberg <schonberg@adacore.com>
426
427 * sem_ch6.adb (Analye_Subprogram_Declaration): Code reorganization,
428 for better handling of null procedures.
429 (Check_Overriding_Indicator): Do not emit a warning on a missing
430 overriding indicator on an operator when the type of which the operator
431 is a primitive is private.
432
433 2009-04-20 Bob Duff <duff@adacore.com>
434
435 * sem.adb, gnat1drv.adb, debug.adb: Use the -gnatd.W switch to control
436 debugging output.
437
438 2009-04-20 Robert Dewar <dewar@adacore.com>
439
440 * sem_attr.adb: Minor reformatting
441
442 * gnatcmd.adb: Minor reformatting
443
444 2009-04-20 Ed Schonberg <schonberg@adacore.com>
445
446 * sem_ch4.adb (Analyze_User_Defined_Binary_Op): If left operand is
447 overloaded and one interpretation matches the context, label the
448 operand with the type of first formal.
449
450 2009-04-20 Bob Duff <duff@adacore.com>
451
452 * debug.ads: Minor comment fix.
453
454 * debug.adb: Minor comment fixes.
455
456 2009-04-20 Javier Miranda <miranda@adacore.com>
457
458 * rtsfind.ads (RE_Null_Id): New entity of package Ada.Exceptions
459
460 * exp_ch6.adb (Expand_Inlined_Call): Undo previous patch.
461
462 * exp_ch11.adb (Expand_N_Raise_Statement): When the raise stmt
463 is expanded into a call to Raise_Exception, avoid passing the
464 exception-name'identity in runtimes in which this argument
465 is not used.
466
467 2009-04-20 Jerome Lambourg <lambourg@adacore.com>
468
469 * impunit.adb: Add i-cil and i-cilobj packages, now needed by the
470 generated bindings for cil.
471
472 2009-04-20 Ed Schonberg <schonberg@adacore.com>
473
474 * sem_aggr.adb (Resolve_Record_Aggregate): If the type has unknown
475 discriminants, collect components from the Underlying_Record_View,
476 which will be used in the expansion of the aggregate into assignments.
477
478 * sem_ch3.adb: Do not label derived type with unknown discriminants as
479 having a private declaration.
480
481 2009-04-20 Ed Schonberg <schonberg@adacore.com>
482
483 * exp_util.adb (Expand_Subtype_From_Expr): use the
484 underlying_record_view when available, to create the proper constrained
485 subtype for an object of a derived type with unknown discriminants.
486
487 2009-04-20 Javier Miranda <miranda@adacore.com>
488
489 * exp_ch6.adb (Expand_Inlined_Call): Avoid generation of temporaries for
490 formals that have pragma unreferenced.
491
492 2009-04-20 Pascal Obry <obry@adacore.com>
493
494 * a-direct.adb (To_Lower_If_Case_Insensitive): Removed.
495 Remove all calls to To_Lower_If_Case_Insensitive to preserve
496 the pathname original casing.
497
498 2009-04-20 Robert Dewar <dewar@adacore.com>
499
500 * g-trasym.adb: Minor reformatting
501
502 * s-os_lib.adb: Minor reformatting
503
504 * sem.adb: Minor reformatting
505 Minor code reorganization
506
507 * sem_ch3.adb: Minor reformatting
508
509 * sem_ch4.adb: Minor reformatting
510
511 * sem_ch8.adb: Minor reformatting
512
513 * sem_type.adb: Minor reformatting
514
515 2009-04-20 Javier Miranda <miranda@adacore.com>
516
517 * sem_disp.adb (Find_Dispatching_Type): For subprograms internally
518 generated by derivations of tagged types use the aliased subprogram a
519 reference to locate their controlling type.
520
521 2009-04-20 Tristan Gingold <gingold@adacore.com>
522
523 * g-trasym.adb: Set size of result buffer before calling
524 convert_address.
525
526 2009-04-20 Ed Schonberg <schonberg@adacore.com>
527
528 * sem_ch4.adb (Valid_Candidate): When checking whether a prefixed call
529 to a function returning an array can be interpreted as a call with
530 defaulted parameters whose result is indexed, take into account the
531 types of all the indices of the array result type.
532
533 2009-04-20 Pascal Obry <obry@adacore.com>
534
535 * a-direct.adb, s-os_lib.adb: Minor reformatting.
536
537 2009-04-20 Ed Schonberg <schonberg@adacore.com>
538
539 * sem_ch8.adb (Analyze_Object_Renaming): Proper checks on incorrect
540 null exclusion qualifiers for object renaming declarations.
541
542 2009-04-20 Nicolas Roche <roche@adacore.com>
543
544 * sysdep.c (__gnat_localtime_tzoff): on Windows, manipulated times are
545 unsigned long long. So compare local_time and utc_time before computing
546 the difference.
547
548 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
549
550 * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration
551 of the Underlying_Record_View before that of the derived type.
552
553 * exp_ch3.adb (Expand_Record_Extension): Do not special-case types
554 with unknown discriminants with regard to the parent subtype.
555
556 2009-04-20 Bob Duff <duff@adacore.com>
557
558 * sem.adb (Semantics, Walk_Library_Items): Include dependents of bodies
559 that are not included. This is necessary if the main unit is a generic
560 instantiation.
561
562 * gnat1drv.adb (Gnat1drv): Comment out the call to Check_Library_Items,
563 because it doesn't work if -gnatn is used.
564
565 2009-04-20 Ed Schonberg <schonberg@adacore.com>
566
567 * rtsfind.adb (RTE, RTE_Record_Component): In
568 Configurable_Run_Time_Mode, do not enable front-end inlining.
569
570 2009-04-20 Thomas Quinot <quinot@adacore.com>
571
572 * g-socthi-vms.adb: Remove now unnecessary WITH clause on
573 System.Address_To_Access_Conversions.
574
575 2009-04-20 Ed Schonberg <schonberg@adacore.com>
576
577 * sem.adb: Guard against ill-formed subunits.
578
579 2009-04-20 Bob Duff <duff@adacore.com>
580
581 * output.adb (Flush_Buffer): Do not indent blank lines.
582 (Ignore_Output): New procedure for output suppression.
583
584 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
585
586 * a-calfor.adb (Image): Subtract 0.5 from the sub second component only
587 when it is positive. This avoids a potential constraint error raised
588 by the conversion to Natural.
589
590 2009-04-20 Gary Dismukes <dismukes@adacore.com>
591
592 * exp_ch5.adb (Expand_Assign_Array): For the case where the assignment
593 involves a target that has a specified address, don't set Forward_OK
594 and Backward_OK to False if the rhs is an aggregate, since overlap
595 can't occur.
596
597 2009-04-20 Ed Schonberg <schonberg@adacore.com>
598
599 * sem_ch8.adb (Analyze_Object_Renaming): Reject ambiguous expressions
600 in an object renaming declaration when the expected type is an
601 anonymous access type.
602
603 * sem_type.adb (Disambiguate): Use anonymousness to resolve a potential
604 ambiguity when one interpretation is an anonymous access type and the
605 other is a named access type, and the context itself is anonymous
606
607 2009-04-20 Thomas Quinot <quinot@adacore.com>
608
609 * einfo.ads: Minor comment rewording
610
611 * sem_aggr.adb: Minor comment rewording
612
613 * sem_ch3.adb, sem_ch6.adb: Minor reformatting
614
615 2009-04-20 Pascal Obry <obry@adacore.com>
616
617 * adaint.c (__gnat_is_readable_file): Check for file existence
618 when not using ACL (always the case on remote drives).
619
620 2009-04-20 Robert Dewar <dewar@adacore.com>
621
622 * sinfo.ads: Minor comment fixes
623
624 * exp_disp.adb: Minor reformatting
625
626 * gnat1drv.adb: Minor reformatting
627
628 * output.adb: Minor reformatting
629
630 * s-vxwext-kernel.ads: Minor reformatting
631
632 * sem.ads: Minor reformatting
633
634 * sem.adb: Minor reformatting
635
636 * sem_elim.adb: Minor reformatting
637
638 * uname.ads: Minor reformatting
639
640 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
641
642 * init.c (__gnat_adjust_context_for_raise): On x86{-64}/Linux, add
643 a small dope of 4 words to the adjustment to the stack pointer.
644
645 2009-04-20 Thomas Quinot <quinot@adacore.com>
646
647 * xoscons.adb: generate C header s-oscons.h in
648 addition to s-oscons.ads.
649
650 * socket.c: On VMS, use s-oscons.h.
651
652 * sem_ch3.adb: Minor reformatting
653
654 * exp_ch9.adb: Minor reformatting
655
656 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
657
658 * gcc-interface/trans.c (check_for_eliminated_entity): Remove.
659 (Attribute_to_gnu): Do not call check_for_eliminated_entity.
660 (call_to_gnu): Likewise.
661
662 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
663
664 * gcc-interface/trans.c (gigi): Declare the name of the compilation
665 unit as the first global name at the very beginning.
666
667 2009-04-20 Thomas Quinot <quinot@adacore.com>
668
669 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads,
670 s-oscons-tmplt.c, gsocket.h, g-socthi-mingw.ads, g-socthi.ads,
671 g-sothco.ads (__gnat_inet_pton): Needs to be enabled for HP-UX as well,
672 since HP-UX supports neither inet_aton nor inet_pton (altough the
673 latter is part of the Single UNIX Specification!).
674 So reorganize code, and share C implementation based on inet_addr(3)
675 with VMS (instead of having a VMS specific Ada implementation in
676 g-socthi-vms.adb).
677
678 2009-04-20 Gary Dismukes <dismukes@adacore.com>
679
680 * osint-c.ads, osint-c.adb (Get_Object_Output_File_Name): New function
681 to return the object file name saved by Set_Object_Output_File_Name.
682
683 2009-04-20 Emmanuel Briot <briot@adacore.com>
684
685 * g-comlin.adb (Initialize_Option_Scan): Fix initialization of parsers
686 for the standard command line, when argc has been modified since the
687 start of the application.
688
689 2009-04-20 Thomas Quinot <quinot@adacore.com>
690
691 * socket.c (__gnat_inet_pton, Windows case): Adjust return value.
692 WSAStringToAddress returns 0 for success and SOCKET_ERROR for failure.
693
694 2009-04-20 Bob Duff <duff@adacore.com>
695
696 * gnat1drv.adb (Gnat1drv): Put call to Check_Library_Items inside
697 pragma Debug.
698
699 2009-04-20 Ed Schonberg <schonberg@adacore.com>
700
701 * exp_ch9.adb (Build_Protected_Sub_Specification): Mark generated
702 subprogram as Eliminated when source operation is.
703 (Expand_N_Protected_Type_Declaration): Generate protected and
704 unprotected specs for the internal operations, even if the source
705 operation is eliminated.
706
707 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
708
709 * exp_ch3.adb (Make_Predefined_Primitive_Specs,
710 Predefined_Primitive_Bodies): Do not create the declarations and bodies
711 of the primitive subprograms associated with dispatching select
712 statements when the runtime is in configurable mode.
713
714 2009-04-20 Ed Falis <falis@adacore.com>
715
716 * s-vxwext-kernel.ads (tickGet): Use tick64Get.
717
718 2009-04-20 Thomas Quinot <quinot@adacore.com>
719
720 * s-oscons-tmplt.c: Add support for generating a dummy version of
721 s-oscons.ads providing all possible constants.
722
723 * g-socthi-mingw.ads: Fix calling convention for __gnat_inet_pton.
724
725 * socket.c (__gnat_inet_pton): On Windows make sure we always use the
726 ANSI version (not the UNICODE version) of WSAStringToAddress.
727
728 2009-04-20 Pascal Obry <obry@adacore.com>
729
730 * adaint.c (__gnat_set_OWNER_ACL): properly free memory
731 allocated for the security descriptor and make sure all
732 handles are closed before leaving this procedure.
733
734 2009-04-20 Javier Miranda <miranda@adacore.com>
735
736 * einfo.ads, einfo.adb (Is_Underlying_Record_View): New subprogram
737 (Set_Is_Underlying_Record_View): New subprogram
738
739 * sem_aggr.adb (Discr_Present, Resolve_Record_Aggregate): In case of
740 private types with unknown discriminants use the underlying record view
741 if available.
742
743 * sem_ch3.adb (Build_Derived_Private_Type): Enable construction of the
744 underlying record view in the full view of private types whose parent
745 has unknown discriminants.
746 (Build_Derived_Record_Type): Avoid generating the class-wide entity
747 associated with an underlying record view.
748 (Derived_Type_Declaration): Avoid deriving parent primitives in
749 underlying record views.
750
751 * sem_ch6.adb (Check_Return_Subtype_Indication): Add support for
752 records with unknown discriminants.
753
754 * sem_type.adb (Covers): Handle underlying record views.
755 (Is_Ancestor): Add support for underlying record views.
756
757 * exp_attr.adb (Expand_Attribute): Expand attribute 'size into a
758 dispatching call if the type of the target object is tagged and has
759 unknown discriminants.
760
761 * exp_aggr.adb (Resolve_Record_Aggregate): Add support for records with
762 unknown discriminants.
763
764 * exp_disp.adb (Build_Dispatch_Tables): Avoid generating dispatch
765 tables for internally built underlying record views.
766
767 * sprint.adb (sprint_node_actual): Improve output of aggregates with an
768 empty list of component associations.
769
770 2009-04-20 Thomas Quinot <quinot@adacore.com>
771
772 * sem_ch10.adb: Minor reformatting
773
774 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads,
775 g-socthi-mingw.ads, g-socthi.ads, g-socket.adb
776 (GNAT.Sockets.Inet_Addr): Do not use non-portable inet_aton, instead use
777 standard inet_pton API (and emulate it on platforms that do not
778 support it).
779 (GNAT.Sockets.Thin.Inet_Pton, VMS case): Implement in terms of
780 DECC$INET_ADDR, imported in Ada.
781 (GNAT.Sockets.Thin.Inet_Pton, VxWorks and Windows cases): Use C
782 implementation provided by GNAT runtime.
783 (__gnat_inet_pton): C implementation of inet_pton(3) for VxWorks and
784 Windows.
785
786 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
787
788 * gnat_ugn.texi: Add documentation for -fno-ivopts.
789
790 2009-04-20 Ed Schonberg <schonberg@adacore.com>
791
792 * sem_ch10.adb (Analyze_Context): Do not analyze a unit in a
793 with_clause if it is the main unit.
794
795 2009-04-20 Thomas Quinot <quinot@adacore.com>
796
797 * sem_type.adb, ali.adb, erroutc.adb: Minor code reorganization
798 (no behaviour change): Use Append instead of Increment_Last followed
799 by assignment.
800
801 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
802
803 * exp_ch3.adb (Make_Predefined_Primitive_Specs): Do not generate the
804 declarations of all primitives associated with dispatching asynchronous,
805 conditional and timed selects when dispaching calls are forbidden and
806 select statements are not allowed (such as in Ravenscar).
807 (Predefined_Primitive_Bodies): Ditto for bodies.
808
809 * exp_disp.ad (Make_DT): Do not create and populate the
810 Select_Specific_Data of the dispatch table when dispatching calls are
811 forbidden and select statements are not allowed (such as in Ravenscar).
812
813 2009-04-20 Robert Dewar <dewar@adacore.com>
814
815 * a-tifiio.adb: Minor reformatting
816
817 2009-04-20 Thomas Quinot <quinot@adacore.com>
818
819 * g-socthi-vms.adb, g-socket.adb, g-socket.ads: inet_aton(3), unlike
820 other C library functions, report *failure* with a zero status, and
821 success with a non-zero status.
822
823 2009-04-20 Bob Duff <duff@adacore.com>
824
825 * sem.ads, sem.adb (Walk_Library_Items): New generic procedure.
826 (Semantics): After analyzing each unit, Append it to the
827 Comp_Unit_List, if appropriate.
828
829 * gnat1drv.adb (Check_Library_Items): New procedure for debugging
830 purposes.
831 (Gnat1drv): Correct comment regarding Back_End_Mode.
832
833 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
834
835 * gnat_ugn.texi: Add documentation for -fno-inline-small-functions.
836
837 2009-04-20 Thomas Quinot <quinot@adacore.com>
838
839 * s-taprop-irix.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
840 output.adb, output.ads, s-taprop-hpux-dce.adb,
841 s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-posix.adb: Minor
842 reformatting.
843
844 2009-04-20 Thomas Quinot <quinot@adacore.com>
845
846 * g-socket.adb, g-socket.ads, g-socthi-mingw.ads, g-socthi-vms.adb,
847 g-socthi-vms.ads, g-socthi-vxworks.ads, g-socthi.ads
848 (GNAT.Sockets.Thin.C_Inet_Addr): Remove.
849 (GNAT.Sockets.Thin.Inet_Aton): New function, imported from C library
850 except for VMS where it is reimplemented in Ada using DECC$INET_ADDR.
851 (GNAT.Sockets.Inet_Addr): Use inet_aton(3) instead of inet_addr(3).
852
853 * debug.adb: Fix typo
854
855 * gnat_rm.texi: Minor doc fix.
856
857 * sem_ch7.adb, freeze.adb: Minor reformatting
858
859 2009-04-20 Thomas Quinot <quinot@adacore.com>
860
861 * g-socket.ads: Add new constants:
862 Loopback_Inet_Addr
863 Unspecified_Group_Inet_Addr
864 All_Hosts_Group_Inet_Addr
865 All_Routers_Group_Inet_Addr
866
867 * s-oscons-tmplt.c, g-sttsne-vxworks.adb (System.OS_Constants): Add
868 ERANGE (Result too large).
869 (GNAT.Sockets.Thin.Task_Safe_NetDB, VxWorks version): Add missing
870 propagation of errno to caller.
871
872 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
873
874 * a-calend.adb, a-calend-vms.adb: Increase the number of leap seconds
875 to 24. Increment Leap_Seconds_Count and add an entry to aggregate
876 Leap_Second_Times.
877
878 2009-04-20 Gary Dismukes <dismukes@adacore.com>
879
880 * sem_elim.ads (Check_For_Eliminated_Subprogram): New procedure for
881 checking for references to eliminated subprograms that should be
882 flagged.
883 (Eliminate_Error_Message): Update comment to say "references" rather
884 than "calls" (since attribute cases are handled here as well).
885
886 * sem_elim.adb (Check_For_Eliminated_Subprogram): New procedure for
887 checking for references to eliminated subprograms that should be
888 flagged. Add with and use of Sem and Sem_Util.
889
890 * sem_res.adb (Resolve_Call): Reject calls to eliminated subprograms.
891 Add with and use of Sem_Elim.
892
893 * sem_attr.adb (Analyze_Access_Attribute): Reject access attributes
894 applied to eliminated subprograms.
895 (Analyze_Attribute): Reject 'Address and 'Code_Address applied to
896 eliminated subprograms.
897 Add with and use of Sem_Elim.
898
899 * sem_disp.adb (Check_Dispatching_Call): Remove error check for calls
900 to eliminated subprograms, now handled during Resolve_Call.
901 Remove with and use of Sem_Elim.
902
903 * exp_disp.adb (Make_DT): Get Ultimate_Alias of primitive before
904 testing Is_Eliminated, for proper handling of primitive derived from
905 eliminated subprograms.
906
907 2009-04-20 Vincent Celier <celier@adacore.com>
908
909 * mlib-prj.adb (Build_Library): Use the shared library linker, if one
910 has been declared (Library_GCC or Linker'Driver), for the driver name.
911
912 * prj-nmsc.adb (Process_Linker): If Library_GCC is not declared and
913 Linker'Driver is, use Linker'Driver as the shared library linker.
914 (Process_Project_Level_Simple_Attributes): Issue a warning if attribute
915 Library_GCC is declared.
916 (Check_Library_Attributes): Set up the shared linker driver: either
917 Library_GCC or Linker'Driver. Issue a warning if Library_GCC is
918 declared.
919
920 2009-04-20 Thomas Quinot <quinot@adacore.com>
921
922 * g-socket.ads (Send_Socket): Fix misleading comment.
923
924 2009-04-20 Arnaud Charlet <charlet@adacore.com>
925
926 * switch-c.adb (Scan_Front_End_Switches): Disable inspector mode in
927 ASIS mode.
928
929 2009-04-20 Geert Bosch <bosch@adacore.com>
930
931 * a-tifiio.adb (Put): Avoid generating too many digits for certain
932 fixed types with smalls that are neither integer or the reciprocal
933 of an integer.
934
935 2009-04-20 Bob Duff <duff@adacore.com>
936
937 * uname.ads: Minor comment fix.
938
939 * types.ads: Minor comment fix.
940
941 2009-04-20 Pascal Obry <obry@adacore.com>
942
943 * adaint.c (__gnat_get_libraries_from_registry): Fix code to
944 avoid warning. At the same time fix a memory leak.
945
946 * osint.adb (Get_Libraries_From_Registry): Properly free memory
947 returned by the above routine.
948
949 2009-04-20 Robert Dewar <dewar@adacore.com>
950
951 * s-conca5.adb, s-conca5.ads, s-conca7.adb, s-conca7.ads, s-conca9.adb,
952 s-conca9.ads, rtsfind.ads, s-conca2.adb, s-conca2.ads, s-conca4.adb,
953 s-conca4.ads, s-conca6.adb, s-conca6.ads, s-conca8.adb, s-conca8.ads,
954 s-conca3.adb, s-conca3.ads (Str_Concat_Bounds_x): New functions.
955
956 * exp_ch4.adb (Expand_Concatenate): Minor code reorganization
957
958 2009-04-20 Pascal Obry <obry@adacore.com>
959
960 * initialize.c (__gnat_initialize): Add braces to kill warning.
961
962 * adaint.c: Minor reformatting, remove trailing spaces.
963
964 2009-04-17 Arnaud Charlet <charlet@adacore.com>
965
966 * gcc-interface/Make-lang.in: Update dependencies.
967
968 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
969
970 * adaint.h (__gnat_lwp_self): Declare on Linux.
971
972 * adaint.c (__gnat_os_filename): Add ATTRIBUTE_UNUSED on 'filename'.
973
974 2009-04-20 Robert Dewar <dewar@adacore.com>
975
976 * exp_ch5.adb, usage.adb, back_end.adb, opt.ads: Implement
977 front-end part of -fpreserve-control-flow switch.
978
979 2009-04-20 Bob Duff <duff@adacore.com>
980
981 * rtsfind.adb: Minor comment fix
982
983 2009-04-20 Robert Dewar <dewar@adacore.com>
984
985 * exp_aggr.adb: Minor reformatting
986 Minor code reorganization (use Nkind_In)
987
988 * g-socket.adb: Minor reformatting
989
990 * g-socket.ads: Minor comment fix
991
992 * s-auxdec.ads: Minor comment and organization update.
993
994 * s-auxdec-vms_64.ads: Minor comment and organization update.
995
996 * sem_ch10.adb: Minor addition of ??? comment
997
998 * sem_disp.adb: Minor reformatting
999
1000 2009-04-20 Ed Schonberg <schonberg@adacore.com>
1001
1002 * inline.adb (Add_Inlined_Subprogram): Do not place on the back-end
1003 list a caller of an inlined subprogram, if the caller itself is not
1004 called.
1005
1006 2009-04-20 Pascal Obry <obry@adacore.com>
1007
1008 * adaint.c: Disable use of ACL on network drives.
1009
1010 2009-04-20 Arnaud Charlet <charlet@adacore.com>
1011
1012 * gnat_ugn.texi: Add examples.
1013
1014 2009-04-20 Thomas Quinot <quinot@adacore.com>
1015
1016 * g-socket.ads (Abort_Selector): Clarify documentation.
1017
1018 2009-04-20 Arnaud Charlet <charlet@adacore.com>
1019
1020 * opt.ads (Inspector_Mode): Update documentation of this flag.
1021
1022 2009-04-20 Thomas Quinot <quinot@adacore.com>
1023
1024 * g-socket.ads: Minor reformatting
1025
1026 * socket.c, gsocket.h (__gnat_get_h_errno, VxWorks case): No need to
1027 consider S_resolvLib error codes since we only use the hostLib wrappers.
1028
1029 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
1030
1031 * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration
1032 of the Underlying_Record_View after that of the derived type.
1033
1034 2009-04-20 Arnaud Charlet <charlet@adacore.com>
1035
1036 * switch-c.adb (Scan_Front_End_Switches): Disable front-end inlining
1037 in inspector mode.
1038
1039 2009-04-20 Javier Miranda <miranda@adacore.com>
1040
1041 * sem_ch6.adb (New_Overloaded_Entity): Minor reformating.
1042
1043 * sem_ch6.ads (Subtype_Conformant, Type_Conformant): Add missing
1044 documentation.
1045
1046 * exp_aggr.adb (Build_Record_Aggr_Code): Code cleanup.
1047
1048 * sem_disp.adb
1049 (Check_Dispatching_Operation): Set attribute Is_Dispatching_Operation
1050 in internally built overriding subprograms.
1051
1052 2009-04-20 Doug Rupp <rupp@adacore.com>
1053
1054 * s-auxdec-vms_64.ads (Integer_{8,16,32,64}_Array): New array types.
1055
1056 * s-auxdec.ads: Likewise
1057
1058 2009-04-20 Ed Schonberg <schonberg@adacore.com>
1059
1060 * sem_ch3.adb (Find_Type_Name): Reject the completion of a private
1061 type by an interface.
1062
1063 * exp_ch6.adb (Expand_Call): Inline To_Address unconditionally, to
1064 minimze difference in expanded tree when compiled as spec of the main
1065 unit, or as a spec in the context of another unit.
1066
1067 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
1068
1069 * a-calend.adb: Remove types char_Pointer, int, tm and tm_Pointer.
1070 (localtime_tzoff): This routine no longer accepts an actual of type
1071 tm_Pointer.
1072 (UTC_Time_Offset): Remove local variable Secs_TM.
1073
1074 * sysdep.c (__gnat_localtime_tzoff): This routine no longer accepts an
1075 actual of type struct tm*. Add local variable of type struct tm for all
1076 targets that provide localtime_r and need to invoke it.
1077
1078 2009-04-20 Thomas Quinot <quinot@adacore.com>
1079
1080 * s-oscons-tmplt.c, g-socket.adb, g-socket.ads
1081 (GNAT.Sockets.Resolve_Error): Add case of EPIPE
1082 Add case of EAGAIN for platforms where it is not equal to EWOULDBLOCK
1083
1084 2009-04-20 Robert Dewar <dewar@adacore.com>
1085
1086 * sem_ch3.adb: Minor reformatting
1087
1088 * lib-load.adb: Minor reformatting
1089
1090 * sem_ch4.adb: Minor reformatting
1091
1092 2009-04-20 Robert Dewar <dewar@adacore.com>
1093
1094 * namet-sp.ads, namet-sp.adb (Is_Bad_Spelling_Of): Implement new spec
1095 (equal values => False).
1096
1097 2009-04-20 Ed Schonberg <schonberg@adacore.com>
1098
1099 * exp_ch6.adb (Is_Null_Procedure): predicate is global, so that calls
1100 to null procedures can be inlined unconditionally.
1101
1102 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
1103
1104 * gcc-interface/trans.c (call_to_gnu): When creating the copy for a
1105 non-addressable parameter passed by reference, do not convert the
1106 actual if its type is already the nominal type, unless it is of
1107 self-referential size.
1108
1109 2009-04-20 Arnaud Charlet <charlet@adacore.com>
1110
1111 * gnat_ugn.texi: Fix typos.
1112
1113 2009-04-20 Robert Dewar <dewar@adacore.com>
1114
1115 * debug.adb, gnat1drv.adb, sem_ch13.adb: Add circuitry to
1116 Validate_Unchecked_Warnings to suppress warnings about size or
1117 alignment or extra bits if either type involved has pragma Warnings
1118 (Off) set for the type entity.
1119
1120 2009-04-19 Eric Botcazou <ebotcazou@adacore.com>
1121
1122 * gcc-interface/trans.c (gigi): Make the special IA-64 descriptor type
1123 a builtin type and give it a name.
1124
1125 2009-04-17 Diego Novillo <dnovillo@google.com>
1126
1127 * gcc-interface/misc.c (gnat_expand_expr): Remove.
1128 (LANG_HOOKS_EXPAND_EXPR): Remove.
1129
1130 2009-04-17 Robert Dewar <dewar@adacore.com>
1131
1132 * sem_ch3.adb: Minor reformatting
1133
1134 2009-04-17 Pascal Obry <obry@adacore.com>
1135
1136 * adaint.c: Add __gnat_use_acl global variable to control use of ACL.
1137
1138 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1139
1140 * sem_ch3.adb (Build_Derived_Enumeration_Type): Diagnose properly
1141 illegal constraints on type derived from formal discrete types.
1142
1143 2009-04-17 Thomas Quinot <quinot@adacore.com>
1144
1145 PR ada/35953
1146
1147 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
1148 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
1149 g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb,
1150 g-socket.ads (GNAT.Sockets.Thin.C_Send,
1151 GNAT.Sockets.Thin.Syscall_Send): Remove unused subprograms.
1152 Replace calls to send(2) with equivalent sendto(2) calls.
1153 (GNAT.Sockets.Send_Socket): Factor common code in inlined subprogram.
1154 (GNAT.Sockets.Write): Account for the case of hyper-empty arrays, do not
1155 report an error in that case. Factor code common to the two versions
1156 (datagram and stream) in common routine Stream_Write.
1157
1158 2009-04-17 Robert Dewar <dewar@adacore.com>
1159
1160 * exp_disp.adb: Minor reformatting
1161 Minor code reorganization (use Nkind_In)
1162
1163 * prepcomp.adb: Minor reformatting
1164
1165 * sem_ch3.adb: Minor reformatting
1166
1167 * sem_res.adb: Minor comment addition
1168
1169 * exp_ch5.adb (Expand_Assign_Array): Use Has_Address_Clause to test
1170 for address clause
1171
1172 * lib-xref.adb (Generate_Reference): Exclude recursive calls from
1173 setting Is_Referenced
1174
1175 * types.ads: Minor reformatting
1176
1177 2009-04-17 Arnaud Charlet <charlet@adacore.com>
1178
1179 * gnat_ugn.texi: Initial documentation on binding generator.
1180
1181 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1182
1183 * einfo.ads, einfo.adb: New attribute Underlying_Record_View, to handle
1184 type extensions whose parent is a type with unknown discriminants.
1185
1186 * exp_aggr.adb (Expand_Record_Aggregate): If the type of an extension
1187 aggregate has unknown discriminants, use the Underlying_Record_View to
1188 obtain the discriminants of the ancestor part.
1189
1190 * exp_disp.adb (Build_Dispatch_Tables): Types that are
1191 Underlying_Record_Views share the dispatching information of the
1192 original record extension.
1193
1194 * exp_ch3.adb (Expand_Record_Extension): If the type inherits unknown
1195 discriminants, propagate dispach table information to the
1196 Underlying_Record_View.
1197
1198 * sem_ch3.adb (Build_Derived_Private_Type): If parent type has unknown
1199 discriminants and declaration is not a completion, generate
1200 Underlying_Record_View to provide proper discriminant information to
1201 the front-end and to gigi.
1202
1203 2009-04-17 Robert Dewar <dewar@adacore.com>
1204
1205 * s-conca5.adb, g-sercom.adb, s-conca5.ads, s-conca7.adb, exp_imgv.adb,
1206 s-conca7.ads, s-crc32.adb, s-crc32.ads, s-conca9.adb, s-conca9.ads,
1207 s-addope.adb, i-cstrin.ads, s-addope.ads, s-carun8.adb, s-carun8.ads,
1208 g-htable.ads, g-hesora.adb, g-hesora.ads, s-htable.adb, s-htable.ads,
1209 s-conca2.adb, s-conca2.ads, a-except.adb, s-conca4.adb, a-except.ads,
1210 s-conca4.ads, s-except.adb, s-except.ads, s-conca6.adb, s-conca6.ads,
1211 g-spchge.adb, g-spchge.ads, g-u3spch.adb, g-u3spch.ads, s-conca8.adb,
1212 s-conca8.ads, g-byorma.adb, g-byorma.ads, s-memory.adb, s-memory.ads,
1213 g-speche.adb, g-speche.ads, g-stsifd-sockets.adb, exp_dist.adb,
1214 s-imgenu.adb, s-imgenu.ads, s-mastop.adb, s-mastop.ads, s-exctab.adb,
1215 s-exctab.ads, s-imenne.adb, s-imenne.ads, s-casuti.adb, osint.adb,
1216 s-assert.adb, s-casuti.ads, s-assert.ads, s-os_lib.adb, s-conca3.adb,
1217 s-conca3.ads: Remove unneeded pragma Warnings
1218
1219 2009-04-17 Robert Dewar <dewar@adacore.com>
1220
1221 * g-moreex.adb: Add comments.
1222
1223 * s-auxdec.ads: Add ??? comment for uncommented pragma Warnings (Off)
1224
1225 * s-auxdec-vms_64.ads: Add ??? comment for uncommented pragma
1226 Warnings (Off)
1227
1228 * prepcomp.adb: Add ??? comment
1229
1230 * a-tasatt.adb: Minor reformatting
1231
1232 * g-trasym-vms-alpha.adb: Add ??? comment
1233
1234 * g-trasym-vms-ia64.adb: Add ??? comment
1235
1236 * xoscons.adb: Minor reformatting
1237
1238 * s-tassta.adb: Minor reformatting
1239
1240 * s-scaval.adb: Add ??? comment
1241
1242 * stand.ads: Minor code clean up (remove junk with of Namet)
1243
1244 * s-strcom.adb, s-strcom.ads, s-string.adb, s-string.ads, s-sopco3.adb,
1245 s-sopco3.ads, s-strops.adb, s-strops.ads, s-sopco5.adb, s-sopco5.ads,
1246 s-wchcnv.adb, s-wchcnv.ads, s-ststop.adb, s-ststop.ads, s-soflin.adb,
1247 s-soflin.ads, s-traceb.adb, s-traceb.ads, s-traent.adb, s-traent.ads,
1248 s-secsta.adb, s-secsta.ads, s-utf_32.adb, s-utf_32.ads, s-wchcon.adb,
1249 s-wchjis.adb, s-wchcon.ads, s-wchjis.ads, s-sopco4.adb, s-sopco4.ads,
1250 s-stache.adb, s-stache.ads, s-stoele.adb, s-stoele.ads, s-stalib.adb,
1251 s-stalib.ads, s-os_lib.ads, s-purexc.ads: Remove no longer needed
1252 Warnings off pragmas.
1253
1254 2009-04-17 Pascal Obry <obry@adacore.com>
1255
1256 * initialize.c: Fix test for reallocating the arguments array.
1257
1258 2009-04-17 Geert Bosch <bosch@adacore.com>
1259
1260 * exp_fixd.adb (Expand_Convert_Float_To_Fixed): Have float to fixed
1261 conversion truncate only for decimal fixed point types.
1262
1263 2009-04-17 Jerome Lambourg <lambourg@adacore.com>
1264
1265 * g-comlin.adb (Initialize_Scan_Option): Make sure the sections are
1266 reinitialized.
1267
1268 2009-04-17 Robert Dewar <dewar@adacore.com>
1269
1270 * exp_ch5.adb (Expand_Assign_Array): Do not set Forwards_OK and
1271 Backwards_OK if either operand has an address clause.
1272
1273 2009-04-17 Pascal Obry <obry@adacore.com>
1274
1275 * initialize.c: Code clean up, use realloc.
1276
1277 2009-04-17 Pascal Obry <obry@adacore.com>
1278
1279 * initialize.c: Do not get Unicode command line if Unicode support not
1280 activated.
1281 Add support for wildcard expansion for Unicode parameters on Win32.
1282
1283 * mingw32.h: Add missing macros when Unicode support not activated.
1284
1285 2009-04-17 Javier Miranda <miranda@adacore.com>
1286
1287 * sem_ch6.adb (Check_Anonymous_Return): Add missing checks to
1288 avoid generating code that references the Current_Master
1289 when compiling without tasks.
1290
1291 2009-04-17 Vincent Celier <celier@adacore.com>
1292
1293 * prj-attr.adb: New project level attribute Target
1294
1295 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process
1296 attribute Target
1297
1298 * prj.ads (Project_Configuration): New component Target
1299
1300 2009-04-17 Thomas Quinot <quinot@adacore.com>
1301
1302 * exp_ch7.adb (Expand_Ctrl_Function_Call): Remove incorrect special
1303 case for the case of an aggregate component, the attach call for the
1304 result is actually needed.
1305
1306 * exp_aggr.adb (Backend_Processing_Possible): Backend processing for
1307 an array aggregate must be disabled if the component type requires
1308 controlled actions.
1309
1310 * exp_ch3.adb: Minor reformatting
1311
1312 2009-04-17 Bob Duff <duff@adacore.com>
1313
1314 * output.ads (Indent,Outdent): New procedures for indenting the output.
1315 (Write_Char): Correct comment -- LF _is_ allowed.
1316
1317 * output.adb (Indent,Outdent): New procedures for indenting the output.
1318 Keep track of the indentation level, and make sure it doesn't get too
1319 high.
1320 (Flush_Buffer): Insert spaces at the beginning of each line, if
1321 indentation level is nonzero.
1322 (Save_Output_Buffer,Restore_Output_Buffer): Save and restore the current
1323 indentation level.
1324 (Set_Standard_Error,Set_Standard_Output): Remove superfluous
1325 "Next_Col := 1;". Flush_Buffer does that.
1326
1327 * sem_ch6.adb, sem_ch7.adb (Debug_Flag_C): Reorganize the output
1328 controlled by the -gnatdc switch. It now occurs on entry/exit to the
1329 relevant analysis routines, and calls Indent/Outdent to make the
1330 indentation reflect the nesting level. Add "helper" routines, since
1331 otherwise lots of "return;" statements would skip the debugging output.
1332
1333 2009-04-17 Arnaud Charlet <charlet@adacore.com>
1334
1335 * s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-linux.adb,
1336 s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-hpux-dce.adb,
1337 s-taprop-posix.adb (Suspend_Until_True): Protect against early wakeup.
1338
1339 2009-04-17 Thomas Quinot <quinot@adacore.com>
1340
1341 * exp_aggr.adb: Minor code reorganization, no behaviour change.
1342
1343 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1344
1345 * sem_ch8.adb (Use_One_Type): Handle properly a redundant use type
1346 clause in a unit that is a package body or a subunit, when the previous
1347 clause appears in a spec or a parent.
1348
1349 2009-04-17 Thomas Quinot <quinot@adacore.com>
1350
1351 * sinfo.ads, exp_aggr.adb, exp_aggr.ads: Minor reformatting
1352
1353 * exp_ch7.adb: Minor reformatting
1354
1355 2009-04-17 Bob Duff <duff@adacore.com>
1356
1357 * exp_ch4.adb (Expand_Allocator_Expression): In an initialized
1358 allocator, check that the expression of the qualified expression obeys
1359 the constraints of the subtype of the qualified expression.
1360
1361 2009-04-17 Thomas Quinot <quinot@adacore.com>
1362
1363 * sprint.adb (Write_Itype): Add handling of enumeration subtypes.
1364
1365 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1366
1367 * exp_ch4.adb (Expand_Allocator_Expression): Apply constraint check to
1368 aggregate, using context imposed by subtype mark in allocator.
1369
1370 2009-04-17 Pascal Obry <obry@adacore.com>
1371
1372 * gnat_rm.texi: Document GNAT_CODE_PAGE environment variable
1373
1374 2009-04-17 Nicolas Roche <roche@adacore.com>
1375
1376 * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each
1377 argument length.
1378
1379 2009-04-17 Gary Dismukes <dismukes@adacore.com>
1380
1381 * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to
1382 cover both calls and attribute references ("call" => "reference").
1383
1384 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1385
1386 * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access
1387 type for which Storage_Size is set to 0 is legal in a pure unit.
1388
1389 2009-04-17 Thomas Quinot <quinot@adacore.com>
1390
1391 * exp_ch7.adb: Minor reformatting
1392
1393 2009-04-17 Robert Dewar <dewar@adacore.com>
1394
1395 * restrict.adb (Check_Restriction_No_Dependence): Don't check
1396 restriction if outside main extended source unit.
1397
1398 * sem_ch10.adb (Analyze_With_Clause): Check No_Dependence restriction
1399 for parents of child units as well as the child unit itself.
1400
1401 2009-04-17 Bob Duff <duff@adacore.com>
1402
1403 * checks.ads: Minor comment fix
1404
1405 * exp_aggr.ads: Minor comment fix
1406
1407 2009-04-17 Nicolas Roche <roche@adacore.com>
1408
1409 * adaint.c: Improve cross compiler detection and handling.
1410
1411 2009-04-17 Eric Botcazou <ebotcazou@adacore.com>
1412
1413 * exp_ch4.adb (Expand_Concatenation): Do not use calls at -Os.
1414
1415 2009-04-17 Pascal Obry <obry@adacore.com>
1416
1417 * mingw32.h: Add S2WSC and WS2SC macros to convert to/from
1418 CurrentCodePage.
1419
1420 * adaint.h: Encoding_Unspecified is now defined. Corresponds to the
1421 value when no encoding form paramter is set on Text_IO services.
1422
1423 * adaint.c: CurrentCodePage new variable on Windows.
1424 Use new macros S2WSC and WS2SC instead of the UTF-8 oriented
1425 ones.
1426
1427 * mkdir.c: Use new macros S2WSC and WS2SC instead of the UTF-8 oriented
1428 ones.
1429
1430 * initialize.c: Initialize CurrentCodePage depending on GNAT_CODE_PAGE
1431 environment variable value. Default is UTF-8.
1432
1433 * s-crtl.ads: Filename_Encoding add Unspecified in the enumeration type.
1434 fopen and freopen encoding parameter is now set to Unspecified.
1435 The default value is in this case UTF-8 (as it was before) but
1436 use the new macros that convert to/from the code page set
1437 at runtime (CurrentCodePage).
1438
1439 * s-fileio.adb: When no encoding specified use Unspecified value.
1440
1441 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1442
1443 * atree.adb, atree.ads: Remove dead code.
1444
1445 2009-04-17 Arnaud Charlet <charlet@adacore.com>
1446
1447 * gcc-interface/Make-lang.in: Update dependencies.
1448
1449 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1450
1451 * sem_ch3.adb (Access_Subprogram_Definition): Additional checks on
1452 illegal uses of incomplete types in formal parts and return types.
1453
1454 * sem_ch6.adb (Process_Formals): Taft-amendment types are legal in
1455 access to subprograms.
1456
1457 * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to use
1458 Taft-amendment types as the return type of an access_to_function type.
1459
1460 * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete
1461 type for access_to_subprograms. The check is performed on package exit.
1462
1463 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1464
1465 * atree.ads, atree.adb: Move New_Copy_Tree.to sem_util.
1466
1467 * nlists.ads, nlists.adb: Move New_Copy_List to sem_util.
1468
1469 * lib-load.adb: Use Copy_Separate_Tree rather than New_Copy_Tree
1470
1471 * sem_util.ads, sem_util.adb: New_Copy_Tree and New_Copy_List belong in
1472 semantic units, because the handling of itypes in the copied tree
1473 requires semantic information that does not belong in atree.
1474
1475 2009-04-17 Robert Dewar <dewar@adacore.com>
1476
1477 * par-ch6.adb: Minor reformatting
1478
1479 * prj.adb: Minor reformatting
1480
1481 2009-04-17 Gary Dismukes <dismukes@adacore.com>
1482
1483 * par-ch6.adb (P_Subprogram): Overriding indicators should be allowed
1484 on protected subprogram bodies, so exclude the case where Pf_Flags is
1485 Pf_Decl_Pbod from the error check.
1486
1487 * par-ch9.adb (P_Protected_Operation_Items): Permit overriding
1488 indicators on subprograms in protected bodies, and proceed with parsing
1489 the subprogram.
1490
1491 * sem_ch6.adb (Verify_Overriding_Indicator): Exclude protected
1492 subprograms from the check for primitiveness on subprograms with
1493 overriding indicators.
1494 (Check_Overriding_Indicator): Include protected subprograms in the
1495 style check for missing overriding indicators.
1496
1497 2009-04-17 Tristan Gingold <gingold@adacore.com>
1498
1499 * init.c: Fix stack checking for x86 Darwin.
1500
1501 2009-04-17 Vincent Celier <celier@adacore.com>
1502
1503 * prj-attr.adb: New project level attribute Object_File_Suffix
1504 (<language>).
1505
1506 * prj-nmsc.adb (Add_Source): Use the object file suffix to get the
1507 object file name
1508 (Process_Compiler): Process attribute Object_File_Suffix
1509
1510 * prj.adb (Object_Name): Use suffix Object_File_Suffix instead of
1511 platform suffix, when specified.
1512
1513 * prj.ads (Language_Config): New component Object_File_Suffix,
1514 defaulted to No_Name.
1515 (Object_Name): New parameter Object_File_Suffix, defaulted to No_Name
1516
1517 * snames.ads-tmpl: New standard name Object_File_Suffix
1518
1519 2009-04-17 Robert Dewar <dewar@adacore.com>
1520
1521 * gnat_rm.texi: Add documentation about No_Streams restriction
1522
1523 * sem_attr.adb (Check_Stream_Attribute): Exclude implicit stream
1524 attributes when checking No_Streams restriction.
1525
1526 2009-04-17 Thomas Quinot <quinot@adacore.com>
1527
1528 * rtsfind.ads (RE_Request_Destroy): New PolyORB s-parint entity.
1529
1530 * exp_dist.adb (PolyORB_Support.Build_General_Calling_Stubs): Add
1531 missing calls to RE_Request_Destroy to deallocate request objects after
1532 use.
1533
1534 2009-04-17 Nicolas Setton <setton@adacore.com>
1535
1536 * link.c: Fix support for passing a response file under Darwin.
1537
1538 2009-04-17 Emmanuel Briot <briot@adacore.com>
1539
1540 * prj.adb (Free): new subprogram.
1541
1542 2009-04-17 Ed Schonberg <schonberg@adacore.com>
1543
1544 * sem_ch3.adb: additional initialization on incomplete subtypes.
1545
1546 * sem_ch6.adb (Process_Formals): if the subprogram is in the private
1547 part and one of the formals is an incomplete tagged type, attach to
1548 list of private dependends of the type for later validation.
1549
1550 * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to declare
1551 primitive operations of a Taft-amendmment type.
1552
1553 * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete
1554 type. The check is performed on package exit, possibly after the
1555 subprogram is frozen.
1556
1557 2009-04-17 Vincent Celier <celier@adacore.com>
1558
1559 * prj-nmsc.adb (Get_Directories): Get the object and exec directory
1560 before looking for source directories, but make sure that there are nil
1561 if they are not explicitely declared and there is explicitely no
1562 sources in the project.
1563
1564 2009-04-17 Pascal Obry <obry@adacore.com>
1565
1566 * initialize.c: Set gnat_argv with UTF-8 encoded strings on Windows.
1567
1568 * init.c: Fix minor typo and style fix.
1569
1570 2009-04-17 Robert Dewar <dewar@adacore.com>
1571
1572 * a-except.adb, a-except-2005.adb: Add PE_Address_Of_Intrinsic
1573
1574 * sem_attr.adb (Analyze_Attribute, case Address): Use
1575 PE_Address_Of_Intrinsic.
1576
1577 * types.ads: Add PE_Address_Of_Intrinsic
1578
1579 * types.h: Add PE_Address_Of_Intrinsic
1580
1581 2009-04-17 Nicolas Setton <setton@adacore.com>
1582
1583 * gcc-interface/Makefile.in: Under darwin, build shared libraries
1584 with install_name starting with "@rpath/".
1585
1586 2009-04-17 Nicolas Setton <setton@adacore.com>
1587
1588 * link.c: Add darwin section
1589
1590 2009-04-16 Robert Dewar <dewar@adacore.com>
1591
1592 * g-pehage.adb: Minor reformatting
1593
1594 * sem_ch12.adb: Minor reformatting
1595
1596 * exp_dist.adb: Minor reformatting
1597
1598 * bindgen.adb: Minor style fixes.
1599
1600 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1601
1602 * sem_eval.adb (Eval_Indexed_Component): Extend constant-folding of
1603 indexed components to the case where the prefix is a static string
1604 literal.
1605
1606 2009-04-16 Javier Miranda <miranda@adacore.com>
1607
1608 * exp_ch3.adb (Expand_N_Object_Declaration): In case of build-in-place
1609 objects avoid any further expansion of the expression initializing the
1610 object.
1611
1612 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1613
1614 * sem_ch12.adb (Preanalyze_Actuals): If the instance is a child unit
1615 that hides an outer homograph, make that homograph invisible when
1616 analyzing the actuals, to to prevent illegal direct visibility on it.
1617
1618 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
1619
1620 * g-pehage.adb (Initialize): Fix off-by-one error.
1621
1622 2009-04-16 Tristan Gingold <gingold@adacore.com>
1623
1624 * init.c: Detect real stack overflow on Darwin.
1625
1626 * system-darwin-x86.ads: Use stack probing on darwin x86.
1627
1628 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1629
1630 * sem_attr.adb (Analyze_Attribute, case 'Address): It is illegal to
1631 take the address of an intrinsic subprogram.
1632
1633 2009-04-16 Arnaud Charlet <charlet@adacore.com>
1634
1635 * gcc-interface/Makefile.in: Change g-trasym to g-trasym-unimplemented
1636 for the targets where GNAT.Traceback.Symbolic is not supported.
1637
1638 2009-04-16 Vincent Celier <celier@adacore.com>
1639
1640 * g-trasym-unimplemented.ads, g-trasym-unimplemented.adb: New file.
1641
1642 * g-trasym.ads: Update comments.
1643
1644 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com>
1645
1646 * tracebak.c (STOP_FRAME): Verify validity of the current address
1647 before dereferencing.
1648
1649 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1650
1651 * sprint.adb (Write_Itype): If the itype is an array subtype, preserve
1652 the original location of the index expressions and the index subtypes,
1653 to prevent spurious out-of-scope references in gigi.
1654
1655 2009-04-16 Tristan Gingold <gingold@adacore.com>
1656
1657 * init.c, s-osinte-darwin.ads, system-darwin-x86_64.ads:
1658 Add support for stack checking on darwin.
1659
1660 2009-04-16 Vincent Celier <celier@adacore.com>
1661
1662 * prj-attr.adb: New attribute Runtime_Source_Dir
1663
1664 * prj-nmsc.adb (Process_Project_Level_Array_Attributes): Process
1665 attribute Runtime_Source_Dir.
1666 (Check_Naming_Schemes): Give default values to out parameters to avoid
1667 invalid data.
1668
1669 * prj.ads (Language_Config): New component Runtime_Source_Dir
1670
1671 * snames.ads-tmpl: New standard name Runtime_Source_Dir
1672
1673 2009-04-16 Pascal Obry <obry@adacore.com>
1674
1675 * adaint.h, adaint.c (__gnat_rmdir): New routine.
1676 Simple wrapper routines used to convert to proper encoding on
1677 Windows.
1678
1679 * s-crtl.ads: Use __gnat_rmdir instead of direct call to the C library.
1680
1681 * g-dirope.adb (Remove_Dir): Fix a bug, the root directory was removed
1682 twice.
1683
1684 2009-04-16 Pascal Obry <obry@adacore.com>
1685
1686 * s-crtl.ads, s-os_lib.adb: Minor code clean-up.
1687
1688 2009-04-16 Thomas Quinot <quinot@adacore.com>
1689
1690 * snames.ads-tmpl (Name_Defined): New predefined name for use by the
1691 integrated preprocessor.
1692
1693 * prep.ads, prep.adb (Setup_Hooks): New subprogram.
1694 (Initialize): Split into two subprograms, Initialize (to be called
1695 prior to compiler command line processing) and Setup_Hooks (to be called
1696 later on when the first source file is loaded).
1697
1698 * gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks.
1699 Add call to Prep.Initialize.
1700
1701 * sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call
1702 to Prep.Setup_Hooks.
1703
1704 2009-04-16 Pascal Obry <obry@adacore.com>
1705
1706 * adaint.h, adaint.c (__gnat_chdir): New routine.
1707 Simple wrapper routines used to convert to proper encoding on
1708 Windows.
1709
1710 * s-crtl.ads: Use __gnat_chdir instead of direct call to the C library.
1711
1712 * a-direct.adb, g-dirope.adb: Use chdir from System.CRTL.
1713
1714 2009-04-16 Quentin Ochem <ochem@adacore.com>
1715
1716 * sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead
1717 of Source.Init.
1718
1719 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
1720
1721 * a-convec.ads (Is_Empty): Mark inline.
1722
1723 2009-04-16 Nicolas Roche <roche@adacore.com>
1724
1725 * init.c (__gnat_init_float): Initialize FPU on x86_64 windows
1726
1727 2009-04-16 Thomas Quinot <quinot@adacore.com>
1728
1729 * prepcomp.adb: Minor reformatting
1730
1731 2009-04-16 Jerome Lambourg <lambourg@adacore.com>
1732
1733 * sem_prag.adb (Process_Import_Or_Interface): With .NET,
1734 Access_Subprogram types can also be imported.
1735 (Check_Form_Of_Interface_Name): Accept '/' character in entity CIL
1736 names.
1737
1738 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1739
1740 * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration):
1741 preserve homonym chain when the declaration is rewritten into a
1742 renaming declaration, in order to preserve visibility structure.
1743
1744 2009-04-16 Jerome Lambourg <lambourg@adacore.com>
1745
1746 * sem_prag.adb (Analyze_Pragma): Make sure that pragma pack is not
1747 taken into account for VM targets.
1748
1749 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com>
1750
1751 * g-calend.ads, g-calend.adb (Week_In_Year): Now calls
1752 Year_Week_In_Year.
1753 (Year_Week_In_Year): New routine which contains the original code from
1754 Week_In_Year. Add the missing special case for January 1st falling on
1755 a Monday.
1756
1757 2009-04-16 Thomas Quinot <quinot@adacore.com>
1758
1759 * exp_dist.adb (Build_From_Any_Call): For a subtype that is a generic
1760 actual type, use the base type to build the To_Any function.
1761 (Build_From_Any_Function): Remove junk, useless subtype conversion.
1762
1763 2009-04-16 Thomas Quinot <quinot@adacore.com>
1764
1765 * exp_ch9.adb, exp_code.adb, tbuild.adb, sem_case.adb,
1766 restrict.adb: Minor code reorganization (use
1767 Add_{Char,Str}_To_Name_Buffer instead of inlining it by hand).
1768
1769 2009-04-16 Bob Duff <duff@adacore.com>
1770
1771 * exp_ch6.ads, exp_ch6.adb (Is_Build_In_Place_Function_Return): Remove,
1772 unused.
1773
1774 2009-04-16 Thomas Quinot <quinot@adacore.com>
1775
1776 * sem_ch4.adb: Minor reformatting
1777
1778 * adaint.c: Remove junk duplicated code.
1779
1780 * sem_ch3.adb: Minor reformatting
1781
1782 * exp_dist.adb: Minor comment rewording
1783
1784 2009-04-16 Robert Dewar <dewar@adacore.com>
1785
1786 * gnat_rm.texi: Document effect of Assume_No_Invalid_Values and -gnatVa
1787 used together.
1788
1789 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1790
1791 * sem_ch4.adb (Find_Equality_Types): Filter out types that are not
1792 usable before calling Add_One_Interp, to resolve spurious ambiguities.
1793
1794 2009-04-16 Robert Dewar <dewar@adacore.com>
1795
1796 * Make-lang.in: Add entries for s-conca?.o
1797
1798 * Makefile.rtl: Add entries for s-conca?
1799
1800 * debug.adb: Add debug flags -gnatd.c and -gnatd.C to control behavior
1801 of concatenation expansion
1802
1803 * exp_ch4.adb (Expand_Concatenation): Generate calls for certain
1804 string cases instead of expanding assignments inline.
1805
1806 * opt.ads (Optimize_Size): New flag
1807
1808 * s-conca2.ads, s-conca2.adb, s-conca3.adb, s-conca3.ads,
1809 s-conca4.adb, s-conca4.ads, s-conca5.adb, s-conca5.ads, s-conca6.adb,
1810 s-conca6.ads, s-conca7.ads, s-conca7.adb, s-conca8.adb, s-conca8.ads,
1811 s-conca9.adb, s-conca9.ads: New file.
1812
1813 2009-04-16 Robert Dewar <dewar@adacore.com>
1814
1815 * exp_ch6.adb: Add comments
1816
1817 * rtsfind.ads: Add entries for s-conca? routines
1818
1819 2009-04-16 Arnaud Charlet <charlet@adacore.com>
1820
1821 * gcc-interface/Make-lang.in: Update dependencies.
1822
1823 * gcc-interface/Makefile.in: Update translation for vms.
1824
1825 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1826
1827 * sem_ch12.adb (Map_Formal_Package_Entities): renamed from Map_Entities
1828 and made global, to be used when installing parents of a child
1829 instance, to provide mappings for entities declared in formal packages
1830 of ancestor units. Now called from Install_Formal_Packages.
1831
1832 2009-04-16 Doug Rupp <rupp@adacore.com>
1833
1834 * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events with others
1835 notation for clarity.
1836
1837 * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
1838 s-taprop-mingw.adb, s-taprop-linux.adb, s-taprop-solaris.adb,
1839 s-taprop-irix.adb, s-taprop-hpux-dce.adb, s-taprop-posix.adb
1840 (Initialize): Initialize Known_Tasks with Environment task.
1841
1842 * s-taskin.ads (Task_States): Move new states to end for the sake of
1843 GDB compatibility.
1844
1845 * s-tassta.adb (Task_Wrapper): Fix comment about Enter_Task.
1846
1847 2009-04-16 Ed Schonberg <schonberg@adacore.com>
1848
1849 * exp_ch9.adb (Expand_N_Protected_Type_Declaration): If a protected
1850 operation has an inline pragma, propagate the flag to the internal
1851 unprotected subprogram.
1852
1853 2009-04-16 Doug Rupp <rupp@adacore.com>
1854
1855 * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-mingw.adb,
1856 s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb,
1857 s-taprop-hpux-dce.adb, s-taprop-posix.adb
1858 (Enter_Task): Move Known_Tasks initialization to s-tassta.adb
1859
1860 * s-taprop-vms.adb (Enter_Task): Likewise.
1861 (Initialize): Import DBEXT, Debug_Register. Register DBGEXT callback.
1862
1863 * s-tassta.adb (Activate_Tasks): After task creation set state to
1864 Activating, vice Runnable. Initialize Known_Tasks, moved here from
1865 s-taprop.adb (Enter_Task). Set Debug_Event_Activating for debugger.
1866 Set state to Runnable after above.
1867 (Task_Wrapper): Set Debug_Event_Run. In exception block set
1868 Debug_Event_Terminated.
1869
1870 * s-taskin.ads (Task_States): Add new states Activiting and
1871 Activator_Delay_Sleep.
1872 (Bit_Array, Debug_Event_Array): New types.
1873 (Global_Task_Debug_Event_Set: New flag.
1874 (Common_ATCB): New field Debug_Events.
1875
1876 * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events.
1877
1878 * s-tasren.adb (Timed_Selective_Wait): Set Activator_Delay_Sleep vice
1879 Activator_Sleep.
1880
1881 * s-tasini.adb (Locked_Abort_To_Level): Add case alternatives for when
1882 Activating and when Acceptor_Delay_Sleep.
1883
1884 * s-tasdeb.ads: Add constants for Debug_Events.
1885 (Debug_Event_Kind_Type): New subtype.
1886 (Signal_Debug_Event): New subprogram.
1887
1888 * s-tasdeb.adb (Signal_Debug_Event): New null subprogram.
1889
1890 2009-04-16 Thomas Quinot <quinot@adacore.com>
1891
1892 * sem_elim.adb: Minor reformatting
1893
1894 * freeze.adb: Minor reformatting
1895
1896 * exp_ch4.adb: Minor reformatting
1897
1898 2009-04-16 Emmanuel Briot <briot@adacore.com>
1899
1900 * prj-nmsc.adb (Path_Name_Of): fix memory leak
1901
1902 2009-04-16 Robert Dewar <dewar@adacore.com>
1903
1904 * sinfo.ads (Backwards_OK, Forwards_OK): Clarify documentation
1905
1906 2009-04-16 Vincent Celier <celier@adacore.com>
1907
1908 * fmap.adb (Initialize): Show the current line when the mapping file
1909 is detected as "incorrectly formatted".
1910
1911 2009-04-16 Robert Dewar <dewar@adacore.com>
1912
1913 * sem_ch12.adb: Minor reformatting
1914
1915 * sem_ch5.adb: Minor comment addition
1916
1917 * sem_util.adb: Minor reformatting
1918
1919 * sinput-p.adb: Minor reformatting
1920 Add missing pragma Warnings (On)
1921
1922 2009-04-16 Ed Falis <falis@adacore.com>
1923
1924 * s-vxwext-kernel.adb: (ERROR): deleted unused constant
1925
1926 2009-04-16 Vincent Celier <celier@adacore.com>
1927
1928 * ali-util.adb: Minor comment spelling error fix
1929
1930 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
1931
1932 * exp_ch5.adb (Expand_Assign_Array): For the GCC back-end, do not
1933 generate an assignment loop in case of overlap.
1934
1935 2009-04-16 Olivier Hainque <hainque@adacore.com>
1936
1937 * gnat_ugn.texi (gnatmem description): Make it explicit that
1938 gnatmem is designed to work in association with static runtime
1939 library only.
1940
1941 2009-04-16 Thomas Quinot <quinot@adacore.com>
1942
1943 * sem_type.adb: Minor reformatting
1944
1945 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com>
1946
1947 * s-osprim-darwin.adb, s-osprim-posix.adb (Clock): Add comment
1948 concerning return codes of gettimeofday and return value check.
1949
1950 2009-04-16 Ed Falis <falis@adacore.com>
1951
1952 * s-vxwext-kernel.ads (Int_Lock, Int_Unlock): set to convention C so
1953 body can be renaming of imported routines.
1954
1955 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com>
1956
1957 * s-asthan-vms-alpha.adb: Disable warnings on alignment in a more
1958 targeted fashion.
1959
1960 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
1961
1962 * exp_ch9.adb: Comment improvements.
1963 (Build_Entry_Family_Name): Add parentheses around the index of a entry
1964 family member.
1965
1966 2009-04-15 Bob Duff <duff@adacore.com>
1967
1968 * sem_warn.adb (Check_Infinite_Loop_Warning): Catch cases like
1969 "while X /= null loop" where X is unchanged inside the loop. We were
1970 not warning in this case, because of the pointers -- we feared that the
1971 loop variable could be updated via a pointer, if there are any pointers
1972 around the place. But that is impossible in this case.
1973
1974 * sem_util.adb (May_Be_Lvalue): This routine was overly pessimistic in
1975 the case of dereferences. In X.all, X cannot be an l-value. We now
1976 catch that case (and implicit dereferences, too).
1977
1978 2009-04-15 Vincent Celier <celier@adacore.com>
1979
1980 * sinput-p.ads, sinput-p.adb (Clear_Source_File_Table): New procedure
1981
1982 2009-04-15 Ed Schonberg <schonberg@adacore.com>
1983
1984 * sem_ch12.adb (Is_Actual_Of_Previous_Formal): Make fully recursive.
1985 From code reading.
1986 (Analyze_Package_Instantiation): If generic unit in child instance is
1987 the same as generic unit in parent instance, look for an outer homonym
1988 to locate the desired generic.
1989
1990 2009-04-15 Bob Duff <duff@adacore.com>
1991
1992 * sem_ch5.adb (Analyze_Loop_Statement): Don't check for infinite loop
1993 warnings unless the loop comes from source, because checking generated
1994 loops is a waste of time, and makes it harder to debug
1995 Check_Infinite_Loop_Warning.
1996
1997 * sem_warn.adb (Check_Infinite_Loop_Warning): If the local variable
1998 tested in the while loop is a renaming, do not warn. Otherwise, we get
1999 false alarms, because it's usually renaming something that we can't
2000 deal with (an indexed component, a global variable, ...).
2001
2002 * gnat_rm.texi: Fix typo
2003
2004 2009-04-15 Thomas Quinot <quinot@adacore.com>
2005
2006 * sem_ch6.adb: Minor reformatting
2007
2008 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
2009
2010 * exp_ch7.adb (Expand_Ctrl_Function_Call): Check for the case where the
2011 immediate parent of the controlled function call is a component
2012 association.
2013
2014 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2015
2016 * sem_ch8.adb (Use_One_Type): If the type is tagged, indicate that the
2017 corresponding class-wide type is also in use.
2018
2019 2009-04-15 Thomas Quinot <quinot@adacore.com>
2020
2021 * frontend.adb: Minor comment fix
2022
2023 2009-04-15 Robert Dewar <dewar@adacore.com>
2024
2025 * gnatchop.adb (BOM_Length): New global variable
2026 (Write_Unit): Add new parameter Write_BOM
2027 (Write_Chopped_Files): Check for BOM and set Write_BOM for call
2028 to Write_Unit
2029
2030 * gnat_ugn.texi: Add note on propagation of BOM by gnatchop
2031
2032 2009-04-15 Geert Bosch <bosch@adacore.com>
2033
2034 * system-mingw-x86_64.ads, system-darwin-x86_64.ads
2035 (Backend_Overflow_Checks): Set to True.
2036
2037 2009-04-15 Gary Dismukes <dismukes@adacore.com>
2038
2039 * par-ch3.adb (P_Type_Declaration): Issue an error if the synchronized
2040 keyword is given in a record extension.
2041
2042 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
2043
2044 * exp_ch7.adb (Expand_Ctrl_Function_Call): Procede with the expansion
2045 of a controlled function call in the context of a record aggregate.
2046 This does not apply to array aggregates since the call will be expanded
2047 into assignments.
2048
2049 2009-04-15 Ed Falis <falis@adacore.com>
2050
2051 * s-osinte-vxworks-kernel.adb, s-osinte-vxworks.adb,
2052 s-osinte-vxworks.ads s-vxwext.ads, s-vxwext-kernel.adb,
2053 s-vxwext-kernel.ads, s-vxwext-rtp.ads, s-vxwext-rtp.adb: Reorganize
2054 s-osinte-vxworks* and s-vxwext*.
2055
2056 2009-04-15 Arnaud Charlet <charlet@adacore.com>
2057
2058 * gcc-interface/Make-lang.in: Update dependencies.
2059
2060 * gcc-interface/Makefile.in: Reorganization of s-osinte-vxworks*
2061 and s-vxwext*.
2062
2063 2009-04-15 Robert Dewar <dewar@adacore.com>
2064
2065 * sem_ch13.adb (Unchecked_Conversions): Store source location instead
2066 of node for location for warning messages.
2067
2068 * gnatchop.adb: Minor reformatting
2069
2070 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2071
2072 * exp_ch6.adb: additional guard for renaming declarations for in
2073 parameters of an array type.
2074
2075 2009-04-15 Robert Dewar <dewar@adacore.com>
2076
2077 * sem_eval.adb (Get_Static_Length): Go to origin node for array bounds
2078 in case they were rewritten by expander (Force_Evaluation).
2079
2080 * targparm.adb (Get_Target_Parameters): Correct check for
2081 Suppress_Exception_Locations.
2082
2083 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2084
2085 * exp_ch6.adb (Expand_Inlined_Call): If an in-parameter in a call to be
2086 inlined is of an array type that is not bit-packed, use a renaming
2087 declaration to capture its value, rather than a constant declaration.
2088
2089 2009-04-15 Robert Dewar <dewar@adacore.com>
2090
2091 * rtsfind.adb: Minor reformatting.
2092
2093 2009-04-15 Emmanuel Briot <briot@adacore.com>
2094
2095 * prj-part.adb, prj-tree.adb, prj-tree.ads (Restore_And_Free): renames
2096 Restore, and free the saved context.
2097
2098 2009-04-15 Gary Dismukes <dismukes@adacore.com>
2099
2100 * sem_ch3.adb (Analyze_Private_Extension_Declaration): Move error check
2101 for illegal private extension from a synchronized interface parent in
2102 front of check for illegal limited extension so that limited extension
2103 from a synchronized interface will be rejected.
2104 (Check_Ifaces): Check that a private extension that has a synchronized
2105 interface as a progenitor must be explicitly declared synchronized.
2106 Also check that a record extension cannot derive from a synchronized
2107 interface.
2108
2109 2009-04-15 Pascal Obry <obry@adacore.com>
2110
2111 * adaint.h (__gnat_unlink): Add spec.
2112 (__gnat_rename): Likewise.
2113
2114 2009-04-15 Vincent Celier <celier@adacore.com>
2115
2116 * prj-nmsc.adb: Minor spelling error corrections in error messages
2117
2118 2009-04-15 Robert Dewar <dewar@adacore.com>
2119
2120 * sinfo.ads: Minor comment update
2121
2122 * opt.ads: Minor comment updates
2123
2124 * checks.adb (Enable_Overflow_Check): Do not set Do_Overflow_Check for
2125 modular type.
2126
2127 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2128
2129 * exp_disp.ads, exp_disp.adb (Register_Primitive): Is now a function
2130 that generates the code needed to update a dispatch table when a
2131 primitive operation is declared with a subprogram body without previous
2132 spec. Insertion of the generated code is responsibility of the caller.
2133 (Make_DT): When building static tables, append the code created by
2134 Register_Primitive to update a secondary table after it has been
2135 constructed.
2136
2137 * exp_ch3.adb, exp_ch6.adb: use new version of Register_Primitive.
2138
2139 * sem_disp.adb (Check_Dispatching_Operation): Call Register_Primitive
2140 on an overriding operation that implements an interface operation only
2141 if not building static dispatch tables.
2142
2143 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
2144
2145 * a-caldel-vms.adb (To_Duration): Declare a "safe" end of time which
2146 does not cause overflow when converted to Duration. Use the safe value
2147 as the maximum allowable time delay..
2148
2149 2009-04-15 Jerome Lambourg <lambourg@adacore.com>
2150
2151 * g-comlin.adb (Set_Command_Line): When adding a switch with attached
2152 parameter, specify that the delimiter is NUL, otherwise "-j2" will be
2153 translated to "-j 2".
2154
2155 2009-04-15 Bob Duff <duff@adacore.com>
2156
2157 * rtsfind.adb (Maybe_Add_With): Split out procedure to add implicit
2158 with_clauses, to avoid code duplication. Change this processing so we
2159 always add a with_clause on the main unit if needed.
2160
2161 2009-04-15 Pascal Obry <obry@adacore.com>
2162
2163 Add support for Win32 native encoding for delete/rename routines.
2164
2165 * adaint.c (__gnat_unlink): New routine.
2166 (__gnat_rename): New routine.
2167 Simple wrapper routines used to convert to proper encoding on
2168 Windows.
2169
2170 * s-os_lib.adb: Use __gnat_unlink and __gnat_rename instead of direct
2171 call to the C library.
2172
2173 * g-sercom-mingw.adb, s-win32.ads: Update Win32 binding.
2174
2175 2009-04-15 Robert Dewar <dewar@adacore.com>
2176
2177 * s-tassta.adb: Minor reformatting
2178
2179 2009-04-15 Robert Dewar <dewar@adacore.com>
2180
2181 * frontend.adb (Frontend): Set proper default for
2182 Warn_On_Non_Local_Exception.
2183
2184 * opt.ads (Exception_Handler_Encountered): New flag
2185 (No_Warn_On_Non_Local_Exception): New flag
2186
2187 * par-ch11.adb (P_Exception_Handler): Set Exception_Handler_Encountered
2188
2189 * sem_warn.adb (Set_Warning_Switch): Set No_Warn_On_Non_Local_Exception
2190 (Set_Dot_Warning_Switch): Set No_Warn_On_Non_Local_Exception
2191
2192 2009-04-15 Cyrille Comar <comar@adacore.com>
2193
2194 * s-tassta.adb, a-exextr.adb, a-elchha.adb
2195 (Ada.Exception.Last_Chance_Handler): Do not print unhandled exception
2196 message when exception traces are active since it would generate
2197 redundant information.
2198 (Exception_Traces.Notify_Exception): put message output by a critical
2199 section to avoid unsynchronized output.
2200 (Trace_Unhandled_Exception_In_Task): put message output by a critical
2201 section to avoid unsynchronized output.
2202
2203 2009-04-15 Emmanuel Briot <briot@adacore.com>
2204
2205 * g-comlin.adb, prj-tree.adb, prj-tree.ads, prj.adb, prj.ads
2206 (Free): New subprogram.
2207
2208 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
2209
2210 * a-calend.adb: Add new constant Nanos_In_Four_Years.
2211 (Formatting_Operations.Time_Of): Change the way four year chunks of
2212 nanoseconds are added to the intermediate result.
2213
2214 2009-04-15 Nicolas Setton <setton@adacore.com>
2215
2216 * sysdep.c: Add __APPLE__ in the list of systems where get_immediate
2217 does not need to wait for a carriage return.
2218
2219 2009-04-15 Tristan Gingold <gingold@adacore.com>
2220
2221 * bindgen.adb: Do not generate adafinal if No_Finalization restriction
2222 is set.
2223
2224 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2225
2226 * freeze.adb (Freeze_Entity): improve error message for improper use of
2227 incomplete types.
2228 Diagnose additional illegal uses of incomplete types in formal parts.
2229 appearing in formal parts.
2230
2231 * sem_ch6.adb (Process_Formals, Analyze_Return_Type): ditto.
2232
2233 2009-04-15 Robert Dewar <dewar@adacore.com>
2234
2235 * exp_ch4.adb (Expand_N_Allocator): Install test for object too large.
2236
2237 2009-04-15 Nicolas Roche <roche@adacore.com>
2238
2239 * adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the
2240 current thread.
2241
2242 * s-osinte-linux.ads: Import the __gnat_lwp_self function as lwp_self
2243
2244 * s-taprop-linux.adb (Enter_Task): Store the LWP in the TCB
2245
2246 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2247
2248 * sem_ch4.adb: improve error message on exponentiation.
2249
2250 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
2251
2252 * a-calend.adb: Move constant Epoch_Offset from package
2253 Conversion_Operations to top level.
2254 (Delay_Operations.To_Duration): Define a constant which represents
2255 "end of time" and use it as a guard against very distant delay dates.
2256 Protect the code against overflow when performing the origin shift to
2257 Unix time.
2258
2259 2009-04-15 Robert Dewar <dewar@adacore.com>
2260
2261 * sem_prag.adb: Minor reformatting.
2262
2263 * sem_type.adb: Minor reformatting
2264
2265 2009-04-15 Javier Miranda <miranda@adacore.com>
2266
2267 * sem_ch6.adb (Analyze_Abstract_Subprogram_Declaration): Add missing
2268 support to check eliminated subprograms.
2269
2270 * sem_elim.ads (Eliminate_Error_Msg): Update documentation.
2271
2272 * sem_elim.adb (Set_Eliminated): Add support for elimination of
2273 dispatching subprograms.
2274
2275 * exp_disp.adb (Make_DT): Minor code cleanup when freezing primitive
2276 operations. Initialize with "null" the slots of eliminated dispaching
2277 primitives.
2278 (Write_DT): Add output for eliminated primitives.
2279
2280 * sem_disp.adb (Check_Dispatching_Call): Check eliminated primitives.
2281
2282 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2283
2284 * sem_ch8.adb (Use_One_Type): If both clauses appear on the same unit,
2285 the second is redundant, regardless of scopes.
2286
2287 2009-04-15 Vincent Celier <celier@adacore.com>
2288
2289 * prj-nmsc.adb (Get_Directories): Check for sources before checking
2290 the object directory as when there are no sources, they may not be any
2291 object directory.
2292
2293 * make.adb (Gnatmake): Do not attempt to get the path name of the exec
2294 directory, when there are no exec directory.
2295
2296 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2297
2298 * sem_type.adb (Remove_Conversions): In order to resolve spurious
2299 ambiguities, refine removal of universal interpretations from complex
2300 expressions with literal arguments, when some numeric operators have
2301 been declared abstract.
2302
2303 2009-04-15 Ed Falis <falis@adacore.com>
2304
2305 * init.c: Map SIGSEGV to Storage_Error for all targets for uniformity
2306 and backward compatibility for targets using probing for stack overflow
2307
2308 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2309
2310 * sem_prag.adb (Analyze_Pragma, case 'Obsolescent): Pragma is legal
2311 after any declaration, including renaming declarations.
2312
2313 2009-04-15 Arnaud Charlet <charlet@adacore.com>
2314
2315 * gcc-interface/Make-lang.in: Update dependencies.
2316
2317 * gcc-interface/Makefile.in: Fix VxWorks target pairs.
2318 Update xenomai target pairs.
2319
2320 2009-04-15 Javier Miranda <miranda@adacore.com>
2321
2322 * exp_ch4.adb (Expand_N_Allocator): Code cleanup.
2323
2324 * sem_ch6.adb (Check_Anonymous_Return): Add missing support for
2325 functions returning anonymous access to class-wide limited types. Mark
2326 also the containing scope as a task master.
2327
2328 * sem_ch8.adb (Restore_Scope_Stack): Add missing management for
2329 limited-withed packages. Required to restore their visibility after
2330 processing packages associated with implicit with-clauses.
2331
2332 * exp_ch3.adb (Build_Class_Wide_Master): Avoid marking masters
2333 associated with return statements because this work is now done by
2334 Check_Anonymous_Return.
2335 (Build_Master): Code cleanup.
2336
2337 2009-04-15 Thomas Quinot <quinot@adacore.com>
2338
2339 * sem_warn.ads: Minor reformatting
2340
2341 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2342
2343 * sem_ch3.adb: better error message for illegal interfaces
2344
2345 * sem_ch6.adb (Possible_Freeze): Delay freezing a subprogram if a
2346 formal is an incomplete type from a limited_with clause.
2347
2348 2009-04-15 Vincent Celier <celier@adacore.com>
2349
2350 * prj-nmsc.adb (Locate_Directory): New Boolean parameter
2351 Externally_Built indicating if the project is externally built. If it
2352 is, and --subdirs is specified, but the subdir does not exist, look
2353 for the specified directory, without the subdir.
2354
2355 2009-04-15 Gary Dismukes <dismukes@adacore.com>
2356
2357 * a-tasatt.adb: Fix typo, plus minor reformatting
2358
2359 * sem_ch3.ads: Add missing hyphen ("class wide" => "class-wide").
2360
2361 * sem_ch10.adb: Add missing hyphen ("use visible" => "use-visible").
2362
2363 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2364
2365 * sem_ch3.adb (Analyze_Private_Extension_Declaration): Verify that a
2366 private extension whose parent is a synchronized interface carries an
2367 explicit synchronized keyword.
2368
2369 2009-04-15 Thomas Quinot <quinot@adacore.com>
2370
2371 * exp_smem.adb (Make_Shared_Var_Procs): For a protected type,
2372 instantiate generic shared object package with the corresponding
2373 record type.
2374
2375 2009-04-15 Arnaud Charlet <charlet@adacore.com>
2376
2377 * system-linux-sparc.ads: Remove obsolete entries.
2378
2379 2009-04-15 Thomas Quinot <quinot@adacore.com>
2380
2381 * s-tasuti.ads: Add ??? comment
2382
2383 2009-04-15 Ed Schonberg <schonberg@adacore.com>
2384
2385 * sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access
2386 type even if the designated type comes from a limited_with clause, to
2387 ensure that the symbol for the finalization list of the access type is
2388 created.
2389
2390 2009-04-10 Robert Dewar <dewar@adacore.com>
2391
2392 * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): Catch more cases
2393 for warning suppression.
2394
2395 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2396
2397 * sem_ch8.adb (Use_One_Type): If the two use_type clauses are
2398 identical, there is no redudancy to check.
2399
2400 2009-04-10 Gary Dismukes <dismukes@adacore.com>
2401
2402 * exp_ch5.adb (Expand_N_Extended_Return_Statement): Delete redundant
2403 calls initializing SS_Allocator (which is initialized in following
2404 code).
2405 (Expand_Simple_Function_Return): Add comment about False value for
2406 Comes_From_Source on secondary-stack allocator.
2407
2408 * exp_ch9.adb (Build_Entry_Family_Name): Add comment.
2409 (Build_Entry_Name): Add comment.
2410
2411 2009-04-10 Robert Dewar <dewar@adacore.com>
2412
2413 * einfo.ads, einfo.adb (Low_Bound_Tested): New name for Low_Bound_Known
2414
2415 * sem_prag.adb (Analyze_Pragma, case Check): Remove check for lower
2416 bound tested, since this is now done more generally in Sem_Res.
2417
2418 * sem_res.adb (Resolve_Comparison_Op): Add call to
2419 Check_Lower_Bound_Tested.
2420 (Resolve_Equality_Op): Add call to Check_Lower_Bound_Tested
2421
2422 * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): New procedure
2423 (Low_Bound_Tested): New name for Low_Bound_Known flag
2424
2425 * exp_ch5.adb: Minor reformatting
2426
2427 * exp_ch4.adb:
2428 Add comments on copying the Comes_From_Source flag for allocators
2429
2430 * sinfo.ads:
2431 Add comments on copying the Comes_From_Source flag for allocators
2432
2433 * exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Copy
2434 Comes_From_Source flag from old allocator to new one.
2435
2436 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2437
2438 * sem_ch6.ads: Address missing documentation query
2439
2440 2009-04-10 Vincent Celier <celier@adacore.com>
2441
2442 * prj-attr.adb:
2443 Add new Linker attributes Max_Command_Line_Length, Response_File_Format
2444 and Response_File_Switches.
2445
2446 * prj-nmsc.adb (Process_Linker): Process new attributes
2447 Max_Command_Line_Length, Response_File_Format and
2448 Response_File_Switches.
2449
2450 * prj.ads (Response_File_Format): New enumeration type
2451 (Project_Configuration): New componants Max_Command_Line_Length,
2452 Resp_File_Format and Resp_File_Options.
2453
2454 * snames.ads-tmpl: Add new standard names for linking response files
2455 for gprbuild: GNU, None, Object_List, Option_List,
2456 Max_Command_Line_Length, Response_File_Format and
2457 Response_File_Switches.
2458
2459 2009-04-10 Geert Bosch <bosch@adacore.com>
2460
2461 * system-aix.ads, system-darwin-ppc.ads, system-darwin-x86.ads,
2462 system-freebsd-x86.ads, system-hpux.ads, system-hpux-ia64.ads,
2463 system-irix-n32.ads, system-irix-o32.ads, system-linux-alpha.ads,
2464 system-linux-hppa.ads, system-linux-ia64.ads, system-linux-ppc.ads,
2465 system-linux-s390.ads, system-linux-s390x.ads, system-linux-sh4.ads,
2466 system-linux-sparc.ads, system-linux-x86_64.ads, system-linux-x86.ads,
2467 system-mingw.ads, system-solaris-sparc.ads, system-solaris-sparcv9.ads,
2468 system-solaris-x86.ads, system-tru64.ads, system-vms_64.ads,
2469 system-vms.ads, system-vms-ia64.ads, system-vms-zcx.ads,
2470 system-vxworks-arm.ads, system-vxworks-m68k.ads,
2471 system-vxworks-mips.ads, system-vxworks-ppc.ads,
2472 system-vxworks-sparcv9.ads, system-vxworks-x86.ads
2473 (Backend_Overflow_Checks): Set to True.
2474
2475 2009-04-10 Thomas Quinot <quinot@adacore.com>
2476
2477 * exp_attr.adb: Minor reformatting
2478
2479 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2480
2481 * sem_prag.adb (Check_Precondition_Postcondition): Within a generic,
2482 analyze the expression for a postcondition, even if the compiler mode
2483 is Generate_Code.
2484
2485 2009-04-10 Robert Dewar <dewar@adacore.com>
2486
2487 * sem_aux.adb: Minor reformatting
2488
2489 2009-04-10 Ed Falis <falis@adacore.com>
2490
2491 * init.c: Change VxWorks 6 stack overflow checking for kernel apps.
2492
2493 * system-vxworks-ppc.ads, system-vxworks-x86.ads: Update header.
2494
2495 2009-04-10 Thomas Quinot <quinot@adacore.com>
2496
2497 * sem_ch6.ads (Check_Subtype_Conformant): Add ??? comment for
2498 undocumented formal.
2499 Minor reformatting
2500
2501 * a-direio.ads: Fix typo in comment
2502
2503 * sem_ch3.adb, g-dirope.adb, sem_type.adb, sem_ch12.adb, sem_case.adb,
2504 errout.adb, sem_ch4.adb, sem_ch11.adb, exp_dist.adb, sem_ch13.adb:
2505 Use uniform phrasing for comment at start of subprogram body.
2506
2507 * xsnamest.adb: Add note to explain why we use specific names for the
2508 newly generated files instead of generating snames.{ads,adb,h} directly
2509
2510 2009-04-10 Sergey Rybin <rybin@adacore.com>
2511
2512 * vms_data.ads:
2513 Add qualifier for new gnatstub option '--no-exception'
2514
2515 * gnat_ugn.texi:
2516 Add the description of the new gnatstub option '--no-exception'
2517
2518 2009-04-10 Robert Dewar <dewar@adacore.com>
2519
2520 * rtsfind.adb: Minor reformatting
2521
2522 2009-04-10 Thomas Quinot <quinot@adacore.com>
2523
2524 * sem_disp.adb: Minor reformatting.
2525 Add comment pointing to RM clause for the case of warning against a
2526 (failed) attempt at declaring a primitive operation elsewhere than in a
2527 package spec.
2528
2529 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2530
2531 * sem_ch12.adb (Denotes_Formal_Package): Check whether the package is
2532 an actual for a previous formal package of the current instance.
2533
2534 2009-04-10 Bob Duff <duff@adacore.com>
2535
2536 * rtsfind.adb (RTE): Put implicit with_clauses on whatever unit needs
2537 them first, rather than on the extended main unit.
2538
2539 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2540
2541 * sem_ch6.adb (Check_Discriminant_Conformance): If discriminant
2542 specification of full view carries a null exclusion indicator, create
2543 an itype for it, to check for conformance with partial view.
2544
2545 2009-04-10 Bob Duff <duff@adacore.com>
2546
2547 * rtsfind.ads: Minor code change: make RE_Unit_Table constant.
2548
2549 * rtsfind.adb: Minor comment changes, and remove useless code.
2550
2551 * sinfo.ads: Add ??? comment.
2552
2553 2009-04-10 Vincent Celier <celier@adacore.com>
2554
2555 * vms_data.ads: Add missing GNAT SYNC VMS qualifiers -main= and -U
2556
2557 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2558
2559 * exp_attr.adb (Expand_N_Attribute_Reference, case 'Tag): If the tagged
2560 type is a synchronized type, retrieve tag information from the
2561 corresponding record, which has the dispatch table link.
2562
2563 2009-04-10 Jerome Lambourg <lambourg@adacore.com>
2564
2565 * g-comlin.adb (Group_Analysis): Take care of switches that might be
2566 decomposed afterwards, but are present as-is in the command line
2567 configuration, and thus should be kept as-is.
2568
2569 2009-04-10 Robert Dewar <dewar@adacore.com>
2570
2571 * gnat_rm.texi: Document that postconditions are tested on implicit
2572 returns.
2573
2574 * sem_aux.adb: Minor reformatting
2575
2576 2009-04-10 Gary Dismukes <dismukes@adacore.com>
2577
2578 * itypes.adb (Create_Null_Excluding_Itype): Apply Base_Type when
2579 setting Etype.
2580
2581 * par-ch3.adb (P_Access_Type_Definition): Set new attribute
2582 Null_Exclusion_In_Return_Present when an access-to-function type has a
2583 result type with an explicit not null.
2584
2585 * sem_ch3.adb (Access_Subprogram_Definition): If a null exclusion is
2586 given on the result type, then create a null-excluding itype for the
2587 function.
2588
2589 * sem_ch6.adb (Analyze_Return_Type): Create a null-excluding itype in
2590 the case where a null exclusion is imposed on a named access type.
2591 (Analyze_Subprogram_Specification): Push and pop the scope of the
2592 function around the call to Analyze_Return_Type in the case of no
2593 formals, for consistency with handling when formals are present
2594 (Process_Formals does this). Ensures that any itype created for the
2595 return type will be associated with the proper scope.
2596
2597 * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): If a null
2598 exclusion is given on a generic function's result type, then create a
2599 null-excluding itype for the generic function.
2600 (Instantiate_Object): Set Null_Exclusion_Present of a constant created
2601 for an actual for a formal in object according to the setting on the
2602 formal. Ensures null exclusion checks are done when the association is
2603 elaborated.
2604
2605 * sinfo.ads: Add new flag Null_Exclusion_In_Return_Present on
2606 N_Access_Function_Definition.
2607
2608 * sinfo.adb: Add Get_ and Set_ operations for
2609 Null_Exclusion_In_Return_Present.
2610
2611 2009-04-10 Bob Duff <duff@adacore.com>
2612
2613 * exp_ch5.adb, exp_ch6.adb, sem_ch6.adb: Move the code that creates a
2614 call to the _Postconditions procedure in the case of implicit returns
2615 from analysis to expansion. This eliminates some duplicated code. Use
2616 the Postcondition_Proc to find the identity of this procedure during
2617 expansion.
2618
2619 2009-04-10 Robert Dewar <dewar@adacore.com>
2620
2621 * sem_ch6.adb: Minor code clean up.
2622
2623 * einfo.ads, sem_attr.adb: Minor comment fixes.
2624
2625 2009-04-10 Robert Dewar <dewar@adacore.com>
2626
2627 * sem_ch8.adb: Minor reformatting
2628
2629 2009-04-10 Robert Dewar <dewar@adacore.com>
2630
2631 * einfo.ads, einfo.adb (Postcondition_Proc): New attribute for
2632 procedures.
2633
2634 * sem_ch6.adb: Minor code clean up.
2635
2636 2009-04-10 Robert Dewar <dewar@adacore.com>
2637
2638 * mlib-tgt-specific-xi.adb: Minor reformatting
2639
2640 2009-04-10 Bob Duff <duff@adacore.com>
2641
2642 * einfo.ads: Minor comment fixes
2643
2644 2009-04-10 Vincent Celier <celier@adacore.com>
2645
2646 * snames.ads-tmpl: Remove names that are no longer used in the
2647 Project Manager.
2648 Mark specifically those that are used only in gprbuild
2649
2650 2009-04-10 Eric Botcazou <ebotcazou@adacore.com>
2651
2652 * init.c: Adjust EH support code on Alpha/Tru64.
2653
2654 2009-04-10 Bob Duff <duff@adacore.com>
2655
2656 * sem_ch6.adb (Process_PPCs): Add a call to the _Postconditions
2657 procedure on every path that could return implicitly (not via a return
2658 statement) from a procedure.
2659
2660 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2661
2662 * exp_ch9.adb (Build_Master_Entity): An extended return statement is a
2663 valid scope for a task declarations and therefore for a master id.
2664
2665 2009-04-10 Robert Dewar <dewar@adacore.com>
2666
2667 * sem_aux.adb: Minor reformatting
2668
2669 2009-04-10 Vincent Celier <celier@adacore.com>
2670
2671 * scn.adb (Obsolescent_Check_Flag): New Boolean flag, initialized to
2672 True.
2673 (Obsolescent_Check): Do nothing if Obsolescent_Check_Flag is False
2674 (Set_Obsolescent_Check): New procedure to change the value of
2675 Obsolescent_Check_Flag.
2676
2677 * scn.ads (Set_Obsolescent_Check): New procedure to control
2678 Obsolescent_Check.
2679
2680 * sinput-l.adb (Load_File): Do not check for pragma Restrictions on
2681 obsolescent features while preprocessing.
2682
2683 2009-04-10 Thomas Quinot <quinot@adacore.com>
2684
2685 * xsnamest.adb: Use XUtil to have uniform line endings (UNIX style) in
2686 generated files on all platforms.
2687
2688 2009-04-10 Robert Dewar <dewar@adacore.com>
2689
2690 * sem_aux.adb: Minor reformatting
2691
2692 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2693
2694 * sem_ch3.adb (Access_Definition): Handle properly the case of a
2695 protected function with formals that returns an anonymous access type.
2696
2697 2009-04-10 Thomas Quinot <quinot@adacore.com>
2698
2699 * sem_disp.adb: Minor reformatting
2700
2701 2009-04-10 Vasiliy Fofanov <fofanov@adacore.com>
2702
2703 * seh_init.c: Do not use the 32-bit specific implementation of
2704 __gnat_install_SEH_handler on 64-bit Windows target (64-bit specific
2705 version TBD).
2706
2707 2009-04-10 Jose Ruiz <ruiz@adacore.com>
2708
2709 * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Target_Name may contain
2710 a '/' at the end so we better use the complete target name to determine
2711 whether it is a PowerPC 55xx target.
2712
2713 2009-04-10 Thomas Quinot <quinot@adacore.com>
2714
2715 * sem_eval.adb: Minor reformatting
2716
2717 2009-04-10 Thomas Quinot <quinot@adacore.com>
2718
2719 * snames.h, snames.ads, snames.adb: Remove files, now generated from
2720 templates.
2721
2722 * snames.h-tmpl, snames.ads-tmpl, snames.adb-tmpl: Templates for the
2723 above.
2724
2725 * xsnamest.adb: New file.
2726
2727 * gcc-interface/Make-lang.in: New target for automated generation of
2728 snames.ads, snames.adb and snames.h
2729
2730 2009-04-10 Tristan Gingold <gingold@adacore.com>
2731
2732 * gcc-interface/Makefile.in, gcc-interface/utils.c: Include "rtl.h" to
2733 avoid compile time warnings.
2734 Do not add gcc/config in include search list while compiling the RTS.
2735 Pragma Thread_Local_Storage is available on any target.
2736
2737 2009-04-10 Bob Duff <duff@adacore.com>
2738
2739 * sem.ads, par.adb, sem_ch6.adb, sem_ch8.adb: Minor comment fixes.
2740
2741 2009-04-10 Tristan Gingold <gingold@adacore.com>
2742
2743 * init.c: Install signal handler on Darwin.
2744
2745 2009-04-10 Robert Dewar <dewar@adacore.com>
2746
2747 * sem_prag.adb: Minor reformatting
2748
2749 * exp_util.adb (Make_Non_Empty_Check): New function
2750 (Silly_Boolean_Array_Not_Test): Add call to Make_Non_Empty_Check
2751 (Silly_Boolean_Array_Xor_Test): Use Make_Non_Empty_Check
2752
2753 2009-04-10 Arnaud Charlet <charlet@adacore.com>
2754
2755 * make.adb, gnatlink.adb: Rename JGNAT toolchain.
2756
2757 2009-04-10 Jose Ruiz <ruiz@adacore.com>
2758
2759 * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Insert the appropriate
2760 tool prefix for AVR and PowerPC 55xx targets.
2761
2762 2009-04-10 Robert Dewar <dewar@adacore.com>
2763
2764 * sem_warn.adb (Within_Postcondition): New function
2765 (Check_Unset_Reference): Use Within_Postcondition to stop bad warning
2766
2767 2009-04-10 Robert Dewar <dewar@adacore.com>
2768
2769 * sem_warn.adb: Minor reformatting
2770
2771 * make.adb: Minor reformatting.
2772
2773 2009-04-10 Gary Dismukes <dismukes@adacore.com>
2774
2775 * exp_ch7.adb (Find_Final_List): When creating a finalization-chain
2776 entity and the scope is a subprogram, retrieve the Sloc of the
2777 subprogram's body rather than using the sloc of the spec, for better
2778 line-stepping behavior in gdb.
2779 (Wrap_Transient_Declaration): For the Sloc of nodes created with a list
2780 controller, use the Sloc of the first declaration of the containing list
2781 rather than that of the node that triggered creation of the list
2782 controller.
2783
2784 2009-04-10 Vincent Celier <celier@adacore.com>
2785
2786 * prj-nmsc.adb (Check_Naming_Schemes): Initialize local variable Casing
2787 to avoid gcc warning.
2788
2789 2009-04-10 Robert Dewar <dewar@adacore.com>
2790
2791 * g-comlin.adb: Add ??? comment
2792
2793 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2794
2795 * sem_warn.adb (Check_Unused_Withs): Do not emit message about
2796 unreferenced entities for a package with no visible declarations.
2797
2798 2009-04-10 Robert Dewar <dewar@adacore.com>
2799
2800 * exp_ch9.adb: Minor reformatting
2801
2802 2009-04-10 Thomas Quinot <quinot@adacore.com>
2803
2804 * sem_prag.adb: Minor reformatting
2805
2806 2009-04-10 Vincent Celier <celier@adacore.com>
2807
2808 * prj-nmsc.adb:
2809 (Check_Library_Attributes): For a project qualified as a library project
2810 that is not a library project, indicate in the error message which
2811 attributes are missing (Library_Dir and/or Library_Name).
2812
2813 2009-04-10 Bob Duff <duff@adacore.com>
2814
2815 * exp_ch5.adb, exp_ch9.adb: Avoid use of No_Position in Sloc of
2816 generated nodes, because it might confuse various circuits in the FE.
2817
2818 2009-04-10 Ed Schonberg <schonberg@adacore.com>
2819
2820 * sem_prag.adb (Analyze_Pragma, case Task_Name): Do not expand argument
2821 of pragma. It will be recopied and analyzed when used in call to
2822 Create_Task.
2823
2824 * sem_res.adb (Resolve_Call): Clarify use of secondary stack within
2825 initialization operations and recognize use of it in procedure calls
2826 within init_procs.
2827
2828 * exp_ch9.adb (Make_Task_Create_Call): Copy full tree of Task_Name
2829 argument, because it may have side-effects.
2830
2831 * exp_ch2.adb: Remove obsolete comments on default functions
2832
2833 2009-04-10 Jose Ruiz <ruiz@adacore.com>
2834
2835 * adaint.c (RTX section): Do for RTX the same thing as we do for
2836 Windows (include ctype.h and define a fallback ISALPHA if IN_RTS).
2837
2838 2009-04-10 Robert Dewar <dewar@adacore.com>
2839
2840 * sem_aux.ads, sem_aux.adb (Nearest_Current_Scope): New function.
2841
2842 * sem_res.adb (Resolve_Call): Fix test for
2843 Suppress_Value_Tracking_On_Call (was wrong for the case of a call from
2844 a non-dynamic scope).
2845
2846 2009-04-10 Robert Dewar <dewar@adacore.com>
2847
2848 * make.adb: Add comment.
2849 Minor reformatting
2850
2851 2009-04-10 Nicolas Setton <setton@adacore.com>
2852
2853 * s-osprim-darwin.adb: New file.
2854
2855 * s-osinte-darwin.adb, s-osinte-darwin.ads: Fix binding to timespec.
2856
2857 2009-04-10 Thomas Quinot <quinot@adacore.com>
2858
2859 * g-socket.ads: Add comment clarifying alignment requirement for Fd_Set
2860
2861 2009-04-09 Nick Clifton <nickc@redhat.com>
2862
2863 * adadecode.h: Change copyright header to refer to version
2864 3 of the GNU General Public License with version 3.1 of the
2865 GCC Runtime Library Exception and to point readers at the
2866 COPYING3 and COPYING3.RUNTIME files and the FSF's license web
2867 page.
2868 * 9drpc.adb: Likewise.
2869 * a-assert.adb: Likewise.
2870 * a-astaco.adb: Likewise.
2871 * a-calari.adb: Likewise.
2872 * a-calcon.adb: Likewise.
2873 * a-calcon.ads: Likewise.
2874 * a-caldel.ads: Likewise.
2875 * a-calend-vms.adb: Likewise.
2876 * a-calend-vms.ads: Likewise.
2877 * a-calend.adb: Likewise.
2878 * a-calend.ads: Likewise.
2879 * a-calfor.adb: Likewise.
2880 * a-catizo.adb: Likewise.
2881 * a-cdlili.adb: Likewise.
2882 * a-cdlili.ads: Likewise.
2883 * a-cgaaso.adb: Likewise.
2884 * a-cgaaso.ads: Likewise.
2885 * a-cgarso.adb: Likewise.
2886 * a-cgcaso.adb: Likewise.
2887 * a-chacon.adb: Likewise.
2888 * a-chacon.ads: Likewise.
2889 * a-chahan.adb: Likewise.
2890 * a-chahan.ads: Likewise.
2891 * a-chlat9.ads: Likewise.
2892 * a-chtgke.adb: Likewise.
2893 * a-chtgke.ads: Likewise.
2894 * a-chtgop.adb: Likewise.
2895 * a-chtgop.ads: Likewise.
2896 * a-chzla1.ads: Likewise.
2897 * a-chzla9.ads: Likewise.
2898 * a-cidlli.adb: Likewise.
2899 * a-cidlli.ads: Likewise.
2900 * a-cihama.adb: Likewise.
2901 * a-cihama.ads: Likewise.
2902 * a-cihase.adb: Likewise.
2903 * a-cihase.ads: Likewise.
2904 * a-ciorma.adb: Likewise.
2905 * a-ciorma.ads: Likewise.
2906 * a-ciormu.adb: Likewise.
2907 * a-ciormu.ads: Likewise.
2908 * a-ciorse.adb: Likewise.
2909 * a-ciorse.ads: Likewise.
2910 * a-clrefi.adb: Likewise.
2911 * a-clrefi.ads: Likewise.
2912 * a-cohama.adb: Likewise.
2913 * a-cohama.ads: Likewise.
2914 * a-cohase.adb: Likewise.
2915 * a-cohase.ads: Likewise.
2916 * a-cohata.ads: Likewise.
2917 * a-coinve.adb: Likewise.
2918 * a-coinve.ads: Likewise.
2919 * a-colien.adb: Likewise.
2920 * a-colien.ads: Likewise.
2921 * a-colire.adb: Likewise.
2922 * a-colire.ads: Likewise.
2923 * a-comlin.adb: Likewise.
2924 * a-comlin.ads: Likewise.
2925 * a-convec.adb: Likewise.
2926 * a-convec.ads: Likewise.
2927 * a-coorma.adb: Likewise.
2928 * a-coorma.ads: Likewise.
2929 * a-coormu.adb: Likewise.
2930 * a-coormu.ads: Likewise.
2931 * a-coorse.adb: Likewise.
2932 * a-coorse.ads: Likewise.
2933 * a-coprnu.adb: Likewise.
2934 * a-coprnu.ads: Likewise.
2935 * a-crbltr.ads: Likewise.
2936 * a-crbtgk.adb: Likewise.
2937 * a-crbtgk.ads: Likewise.
2938 * a-crbtgo.adb: Likewise.
2939 * a-crbtgo.ads: Likewise.
2940 * a-crdlli.adb: Likewise.
2941 * a-crdlli.ads: Likewise.
2942 * a-cwila1.ads: Likewise.
2943 * a-cwila9.ads: Likewise.
2944 * a-decima.adb: Likewise.
2945 * a-decima.ads: Likewise.
2946 * a-diocst.adb: Likewise.
2947 * a-diocst.ads: Likewise.
2948 * a-direct.adb: Likewise.
2949 * a-direct.ads: Likewise.
2950 * a-direio.adb: Likewise.
2951 * a-direio.ads: Likewise.
2952 * a-dirval-mingw.adb: Likewise.
2953 * a-dirval-vms.adb: Likewise.
2954 * a-dirval.adb: Likewise.
2955 * a-dirval.ads: Likewise.
2956 * a-dynpri.adb: Likewise.
2957 * a-einuoc.adb: Likewise.
2958 * a-einuoc.ads: Likewise.
2959 * a-elchha.adb: Likewise.
2960 * a-elchha.ads: Likewise.
2961 * a-envvar.adb: Likewise.
2962 * a-excach.adb: Likewise.
2963 * a-except-2005.adb: Likewise.
2964 * a-except-2005.ads: Likewise.
2965 * a-except.adb: Likewise.
2966 * a-except.ads: Likewise.
2967 * a-excpol-abort.adb: Likewise.
2968 * a-excpol.adb: Likewise.
2969 * a-exctra.adb: Likewise.
2970 * a-exctra.ads: Likewise.
2971 * a-exetim-mingw.adb: Likewise.
2972 * a-exetim-mingw.ads: Likewise.
2973 * a-exexda.adb: Likewise.
2974 * a-exexpr-gcc.adb: Likewise.
2975 * a-exexpr.adb: Likewise.
2976 * a-exextr.adb: Likewise.
2977 * a-exstat.adb: Likewise.
2978 * a-filico.adb: Likewise.
2979 * a-filico.ads: Likewise.
2980 * a-finali.adb: Likewise.
2981 * a-finali.ads: Likewise.
2982 * a-interr.ads: Likewise.
2983 * a-intnam-aix.ads: Likewise.
2984 * a-intnam-darwin.ads: Likewise.
2985 * a-intnam-dummy.ads: Likewise.
2986 * a-intnam-freebsd.ads: Likewise.
2987 * a-intnam-hpux.ads: Likewise.
2988 * a-intnam-irix.ads: Likewise.
2989 * a-intnam-linux.ads: Likewise.
2990 * a-intnam-lynxos.ads: Likewise.
2991 * a-intnam-mingw.ads: Likewise.
2992 * a-intnam-rtems.ads: Likewise.
2993 * a-intnam-solaris.ads: Likewise.
2994 * a-intnam-tru64.ads: Likewise.
2995 * a-intnam-vms.ads: Likewise.
2996 * a-intnam-vxworks.ads: Likewise.
2997 * a-intsig.adb: Likewise.
2998 * a-intsig.ads: Likewise.
2999 * a-ngcefu.adb: Likewise.
3000 * a-ngcoar.adb: Likewise.
3001 * a-ngcoty.adb: Likewise.
3002 * a-ngcoty.ads: Likewise.
3003 * a-ngelfu.adb: Likewise.
3004 * a-ngrear.adb: Likewise.
3005 * a-ngrear.ads: Likewise.
3006 * a-nudira.adb: Likewise.
3007 * a-nudira.ads: Likewise.
3008 * a-nuflra.adb: Likewise.
3009 * a-nuflra.ads: Likewise.
3010 * a-numaux-darwin.adb: Likewise.
3011 * a-numaux-darwin.ads: Likewise.
3012 * a-numaux-libc-x86.ads: Likewise.
3013 * a-numaux-vxworks.ads: Likewise.
3014 * a-numaux-x86.adb: Likewise.
3015 * a-numaux-x86.ads: Likewise.
3016 * a-numaux.ads: Likewise.
3017 * a-rbtgso.adb: Likewise.
3018 * a-rbtgso.ads: Likewise.
3019 * a-reatim.ads: Likewise.
3020 * a-retide.adb: Likewise.
3021 * a-retide.ads: Likewise.
3022 * a-rttiev.adb: Likewise.
3023 * a-rttiev.ads: Likewise.
3024 * a-secain.adb: Likewise.
3025 * a-secain.ads: Likewise.
3026 * a-sequio.adb: Likewise.
3027 * a-sequio.ads: Likewise.
3028 * a-shcain.adb: Likewise.
3029 * a-shcain.ads: Likewise.
3030 * a-siocst.adb: Likewise.
3031 * a-siocst.ads: Likewise.
3032 * a-slcain.adb: Likewise.
3033 * a-slcain.ads: Likewise.
3034 * a-ssicst.adb: Likewise.
3035 * a-ssicst.ads: Likewise.
3036 * a-stboha.adb: Likewise.
3037 * a-stmaco.ads: Likewise.
3038 * a-storio.adb: Likewise.
3039 * a-strbou.adb: Likewise.
3040 * a-strbou.ads: Likewise.
3041 * a-stream.ads: Likewise.
3042 * a-strfix.adb: Likewise.
3043 * a-strhas.adb: Likewise.
3044 * a-strmap.adb: Likewise.
3045 * a-strmap.ads: Likewise.
3046 * a-strsea.adb: Likewise.
3047 * a-strsea.ads: Likewise.
3048 * a-strsup.adb: Likewise.
3049 * a-strsup.ads: Likewise.
3050 * a-strunb.adb: Likewise.
3051 * a-strunb.ads: Likewise.
3052 * a-ststio.adb: Likewise.
3053 * a-ststio.ads: Likewise.
3054 * a-stunau.adb: Likewise.
3055 * a-stunau.ads: Likewise.
3056 * a-stunha.adb: Likewise.
3057 * a-stwibo.adb: Likewise.
3058 * a-stwibo.ads: Likewise.
3059 * a-stwifi.adb: Likewise.
3060 * a-stwiha.adb: Likewise.
3061 * a-stwima.adb: Likewise.
3062 * a-stwima.ads: Likewise.
3063 * a-stwise.adb: Likewise.
3064 * a-stwise.ads: Likewise.
3065 * a-stwisu.adb: Likewise.
3066 * a-stwisu.ads: Likewise.
3067 * a-stwiun.adb: Likewise.
3068 * a-stwiun.ads: Likewise.
3069 * a-stzbou.adb: Likewise.
3070 * a-stzbou.ads: Likewise.
3071 * a-stzfix.adb: Likewise.
3072 * a-stzhas.adb: Likewise.
3073 * a-stzmap.adb: Likewise.
3074 * a-stzmap.ads: Likewise.
3075 * a-stzsea.adb: Likewise.
3076 * a-stzsea.ads: Likewise.
3077 * a-stzsup.adb: Likewise.
3078 * a-stzsup.ads: Likewise.
3079 * a-stzunb.adb: Likewise.
3080 * a-stzunb.ads: Likewise.
3081 * a-suteio.adb: Likewise.
3082 * a-suteio.ads: Likewise.
3083 * a-swbwha.adb: Likewise.
3084 * a-swmwco.ads: Likewise.
3085 * a-swunau.adb: Likewise.
3086 * a-swunau.ads: Likewise.
3087 * a-swuwha.adb: Likewise.
3088 * a-swuwti.adb: Likewise.
3089 * a-swuwti.ads: Likewise.
3090 * a-sytaco.adb: Likewise.
3091 * a-sytaco.ads: Likewise.
3092 * a-szbzha.adb: Likewise.
3093 * a-szmzco.ads: Likewise.
3094 * a-szunau.adb: Likewise.
3095 * a-szunau.ads: Likewise.
3096 * a-szuzha.adb: Likewise.
3097 * a-szuzti.adb: Likewise.
3098 * a-szuzti.ads: Likewise.
3099 * a-tags.adb: Likewise.
3100 * a-tags.ads: Likewise.
3101 * a-tasatt.ads: Likewise.
3102 * a-taside.adb: Likewise.
3103 * a-taside.ads: Likewise.
3104 * a-taster.adb: Likewise.
3105 * a-teioed.adb: Likewise.
3106 * a-teioed.ads: Likewise.
3107 * a-textio.adb: Likewise.
3108 * a-textio.ads: Likewise.
3109 * a-tiboio.adb: Likewise.
3110 * a-ticoau.adb: Likewise.
3111 * a-ticoau.ads: Likewise.
3112 * a-ticoio.adb: Likewise.
3113 * a-ticoio.ads: Likewise.
3114 * a-tideau.adb: Likewise.
3115 * a-tideau.ads: Likewise.
3116 * a-tideio.adb: Likewise.
3117 * a-tideio.ads: Likewise.
3118 * a-tienau.adb: Likewise.
3119 * a-tienau.ads: Likewise.
3120 * a-tienio.adb: Likewise.
3121 * a-tienio.ads: Likewise.
3122 * a-tifiio.adb: Likewise.
3123 * a-tifiio.ads: Likewise.
3124 * a-tiflau.adb: Likewise.
3125 * a-tiflau.ads: Likewise.
3126 * a-tiflio.adb: Likewise.
3127 * a-tiflio.ads: Likewise.
3128 * a-tigeau.adb: Likewise.
3129 * a-tigeau.ads: Likewise.
3130 * a-tiinau.adb: Likewise.
3131 * a-tiinau.ads: Likewise.
3132 * a-tiinio.adb: Likewise.
3133 * a-tiinio.ads: Likewise.
3134 * a-timoau.adb: Likewise.
3135 * a-timoau.ads: Likewise.
3136 * a-timoio.adb: Likewise.
3137 * a-timoio.ads: Likewise.
3138 * a-tiocst.adb: Likewise.
3139 * a-tiocst.ads: Likewise.
3140 * a-titest.adb: Likewise.
3141 * a-wichun.adb: Likewise.
3142 * a-wichun.ads: Likewise.
3143 * a-witeio.adb: Likewise.
3144 * a-witeio.ads: Likewise.
3145 * a-wtcoau.adb: Likewise.
3146 * a-wtcoau.ads: Likewise.
3147 * a-wtcoio.adb: Likewise.
3148 * a-wtcstr.adb: Likewise.
3149 * a-wtcstr.ads: Likewise.
3150 * a-wtdeau.adb: Likewise.
3151 * a-wtdeau.ads: Likewise.
3152 * a-wtdeio.adb: Likewise.
3153 * a-wtdeio.ads: Likewise.
3154 * a-wtedit.adb: Likewise.
3155 * a-wtedit.ads: Likewise.
3156 * a-wtenau.adb: Likewise.
3157 * a-wtenau.ads: Likewise.
3158 * a-wtenio.adb: Likewise.
3159 * a-wtenio.ads: Likewise.
3160 * a-wtfiio.adb: Likewise.
3161 * a-wtfiio.ads: Likewise.
3162 * a-wtflau.adb: Likewise.
3163 * a-wtflau.ads: Likewise.
3164 * a-wtflio.adb: Likewise.
3165 * a-wtflio.ads: Likewise.
3166 * a-wtgeau.adb: Likewise.
3167 * a-wtgeau.ads: Likewise.
3168 * a-wtinau.adb: Likewise.
3169 * a-wtinau.ads: Likewise.
3170 * a-wtinio.adb: Likewise.
3171 * a-wtmoau.adb: Likewise.
3172 * a-wtmoau.ads: Likewise.
3173 * a-wtmoio.adb: Likewise.
3174 * a-wtmoio.ads: Likewise.
3175 * a-wttest.adb: Likewise.
3176 * a-wwboio.adb: Likewise.
3177 * a-zchuni.adb: Likewise.
3178 * a-zchuni.ads: Likewise.
3179 * a-ztcoau.adb: Likewise.
3180 * a-ztcoau.ads: Likewise.
3181 * a-ztcoio.adb: Likewise.
3182 * a-ztcstr.adb: Likewise.
3183 * a-ztcstr.ads: Likewise.
3184 * a-ztdeau.adb: Likewise.
3185 * a-ztdeau.ads: Likewise.
3186 * a-ztdeio.adb: Likewise.
3187 * a-ztdeio.ads: Likewise.
3188 * a-ztedit.adb: Likewise.
3189 * a-ztedit.ads: Likewise.
3190 * a-ztenau.adb: Likewise.
3191 * a-ztenau.ads: Likewise.
3192 * a-ztenio.adb: Likewise.
3193 * a-ztenio.ads: Likewise.
3194 * a-ztexio.adb: Likewise.
3195 * a-ztexio.ads: Likewise.
3196 * a-ztfiio.adb: Likewise.
3197 * a-ztfiio.ads: Likewise.
3198 * a-ztflau.adb: Likewise.
3199 * a-ztflau.ads: Likewise.
3200 * a-ztflio.adb: Likewise.
3201 * a-ztflio.ads: Likewise.
3202 * a-ztgeau.adb: Likewise.
3203 * a-ztgeau.ads: Likewise.
3204 * a-ztinau.adb: Likewise.
3205 * a-ztinau.ads: Likewise.
3206 * a-ztinio.adb: Likewise.
3207 * a-ztmoau.adb: Likewise.
3208 * a-ztmoau.ads: Likewise.
3209 * a-ztmoio.adb: Likewise.
3210 * a-ztmoio.ads: Likewise.
3211 * a-zttest.adb: Likewise.
3212 * a-zzboio.adb: Likewise.
3213 * adadecode.c: Likewise.
3214 * adaint.c: Likewise.
3215 * adaint.h: Likewise.
3216 * alloc.ads: Likewise.
3217 * argv.c: Likewise.
3218 * arit64.c: Likewise.
3219 * atree.adb: Likewise.
3220 * atree.ads: Likewise.
3221 * aux-io.c: Likewise.
3222 * cal.c: Likewise.
3223 * casing.adb: Likewise.
3224 * casing.ads: Likewise.
3225 * cio.c: Likewise.
3226 * csets.adb: Likewise.
3227 * csets.ads: Likewise.
3228 * cstreams.c: Likewise.
3229 * ctrl_c.c: Likewise.
3230 * debug.adb: Likewise.
3231 * debug.ads: Likewise.
3232 * dec.ads: Likewise.
3233 * einfo.adb: Likewise.
3234 * einfo.ads: Likewise.
3235 * elists.adb: Likewise.
3236 * elists.ads: Likewise.
3237 * env.c: Likewise.
3238 * env.h: Likewise.
3239 * errno.c: Likewise.
3240 * exit.c: Likewise.
3241 * fe.h: Likewise.
3242 * final.c: Likewise.
3243 * fname.adb: Likewise.
3244 * fname.ads: Likewise.
3245 * g-allein.ads: Likewise.
3246 * g-alleve.adb: Likewise.
3247 * g-alleve.ads: Likewise.
3248 * g-altcon.adb: Likewise.
3249 * g-altcon.ads: Likewise.
3250 * g-altive.ads: Likewise.
3251 * g-alveop.adb: Likewise.
3252 * g-alveop.ads: Likewise.
3253 * g-alvety.ads: Likewise.
3254 * g-alvevi.ads: Likewise.
3255 * g-arrspl.adb: Likewise.
3256 * g-arrspl.ads: Likewise.
3257 * g-calend.ads: Likewise.
3258 * g-comlin.adb: Likewise.
3259 * g-debpoo.adb: Likewise.
3260 * g-debpoo.ads: Likewise.
3261 * g-eacodu-vms.adb: Likewise.
3262 * g-eacodu.adb: Likewise.
3263 * g-excact.adb: Likewise.
3264 * g-excact.ads: Likewise.
3265 * g-locfil.adb: Likewise.
3266 * g-os_lib.ads: Likewise.
3267 * g-rannum.adb: Likewise.
3268 * g-rannum.ads: Likewise.
3269 * g-regist.adb: Likewise.
3270 * g-regist.ads: Likewise.
3271 * g-signal.adb: Likewise.
3272 * g-signal.ads: Likewise.
3273 * g-soccon.ads: Likewise.
3274 * g-string.adb: Likewise.
3275 * g-string.ads: Likewise.
3276 * g-strspl.ads: Likewise.
3277 * g-timsta.adb: Likewise.
3278 * g-timsta.ads: Likewise.
3279 * g-trasym-vms-alpha.adb: Likewise.
3280 * g-trasym-vms-ia64.adb: Likewise.
3281 * g-utf_32.adb: Likewise.
3282 * g-utf_32.ads: Likewise.
3283 * g-wistsp.ads: Likewise.
3284 * g-zstspl.ads: Likewise.
3285 * gmem.c: Likewise.
3286 * gnatvsn.adb: Likewise.
3287 * gnatvsn.ads: Likewise.
3288 * gsocket.h: Likewise.
3289 * hostparm.ads: Likewise.
3290 * i-c.adb: Likewise.
3291 * i-cexten.ads: Likewise.
3292 * i-cobol.adb: Likewise.
3293 * i-cobol.ads: Likewise.
3294 * i-cpoint.adb: Likewise.
3295 * i-cpoint.ads: Likewise.
3296 * i-cpp.adb: Likewise.
3297 * i-cpp.ads: Likewise.
3298 * i-cstrea-vms.adb: Likewise.
3299 * i-cstrea.adb: Likewise.
3300 * i-cstrea.ads: Likewise.
3301 * i-cstrin.adb: Likewise.
3302 * i-cstrin.ads: Likewise.
3303 * i-forbla-darwin.adb: Likewise.
3304 * i-forbla-unimplemented.ads: Likewise.
3305 * i-forbla.adb: Likewise.
3306 * i-forbla.ads: Likewise.
3307 * i-forlap.ads: Likewise.
3308 * i-fortra.adb: Likewise.
3309 * i-pacdec.adb: Likewise.
3310 * i-pacdec.ads: Likewise.
3311 * i-vxwoio.adb: Likewise.
3312 * i-vxwoio.ads: Likewise.
3313 * indepsw-aix.adb: Likewise.
3314 * indepsw-gnu.adb: Likewise.
3315 * indepsw-mingw.adb: Likewise.
3316 * indepsw.adb: Likewise.
3317 * indepsw.ads: Likewise.
3318 * init.c: Likewise.
3319 * initialize.c: Likewise.
3320 * interfac.ads: Likewise.
3321 * krunch.adb: Likewise.
3322 * krunch.ads: Likewise.
3323 * lib-list.adb: Likewise.
3324 * lib-sort.adb: Likewise.
3325 * lib.adb: Likewise.
3326 * lib.ads: Likewise.
3327 * link.c: Likewise.
3328 * math_lib.adb: Likewise.
3329 * memtrack.adb: Likewise.
3330 * mingw32.h: Likewise.
3331 * mkdir.c: Likewise.
3332 * namet-sp.adb: Likewise.
3333 * namet-sp.ads: Likewise.
3334 * namet.adb: Likewise.
3335 * namet.ads: Likewise.
3336 * nlists.adb: Likewise.
3337 * nlists.ads: Likewise.
3338 * opt.adb: Likewise.
3339 * opt.ads: Likewise.
3340 * output.adb: Likewise.
3341 * output.ads: Likewise.
3342 * raise-gcc.c: Likewise.
3343 * raise.c: Likewise.
3344 * raise.h: Likewise.
3345 * repinfo.adb: Likewise.
3346 * repinfo.ads: Likewise.
3347 * repinfo.h: Likewise.
3348 * rident.ads: Likewise.
3349 * s-addima.adb: Likewise.
3350 * s-addima.ads: Likewise.
3351 * s-addope.adb: Likewise.
3352 * s-addope.ads: Likewise.
3353 * s-arit64.adb: Likewise.
3354 * s-arit64.ads: Likewise.
3355 * s-assert.adb: Likewise.
3356 * s-assert.ads: Likewise.
3357 * s-asthan-vms-alpha.adb: Likewise.
3358 * s-asthan.adb: Likewise.
3359 * s-asthan.ads: Likewise.
3360 * s-atacco.adb: Likewise.
3361 * s-atacco.ads: Likewise.
3362 * s-auxdec-empty.adb: Likewise.
3363 * s-auxdec-empty.ads: Likewise.
3364 * s-auxdec-vms_64.ads: Likewise.
3365 * s-auxdec.adb: Likewise.
3366 * s-auxdec.ads: Likewise.
3367 * s-bitops.adb: Likewise.
3368 * s-bitops.ads: Likewise.
3369 * s-boarop.ads: Likewise.
3370 * s-carsi8.adb: Likewise.
3371 * s-carsi8.ads: Likewise.
3372 * s-carun8.adb: Likewise.
3373 * s-carun8.ads: Likewise.
3374 * s-casi16.adb: Likewise.
3375 * s-casi16.ads: Likewise.
3376 * s-casi32.adb: Likewise.
3377 * s-casi32.ads: Likewise.
3378 * s-casi64.adb: Likewise.
3379 * s-casi64.ads: Likewise.
3380 * s-casuti.ads: Likewise.
3381 * s-caun16.adb: Likewise.
3382 * s-caun16.ads: Likewise.
3383 * s-caun32.adb: Likewise.
3384 * s-caun32.ads: Likewise.
3385 * s-caun64.adb: Likewise.
3386 * s-caun64.ads: Likewise.
3387 * s-chepoo.ads: Likewise.
3388 * s-crc32.adb: Likewise.
3389 * s-crc32.ads: Likewise.
3390 * s-crtl.ads: Likewise.
3391 * s-direio.adb: Likewise.
3392 * s-direio.ads: Likewise.
3393 * s-dsaser.ads: Likewise.
3394 * s-except.adb: Likewise.
3395 * s-except.ads: Likewise.
3396 * s-exctab.adb: Likewise.
3397 * s-exctab.ads: Likewise.
3398 * s-exnint.adb: Likewise.
3399 * s-exnint.ads: Likewise.
3400 * s-exnllf.adb: Likewise.
3401 * s-exnllf.ads: Likewise.
3402 * s-exnlli.adb: Likewise.
3403 * s-exnlli.ads: Likewise.
3404 * s-expint.adb: Likewise.
3405 * s-expint.ads: Likewise.
3406 * s-explli.adb: Likewise.
3407 * s-explli.ads: Likewise.
3408 * s-expllu.adb: Likewise.
3409 * s-expllu.ads: Likewise.
3410 * s-expmod.adb: Likewise.
3411 * s-expmod.ads: Likewise.
3412 * s-expuns.adb: Likewise.
3413 * s-expuns.ads: Likewise.
3414 * s-fatflt.ads: Likewise.
3415 * s-fatgen.adb: Likewise.
3416 * s-fatgen.ads: Likewise.
3417 * s-fatlfl.ads: Likewise.
3418 * s-fatllf.ads: Likewise.
3419 * s-fatsfl.ads: Likewise.
3420 * s-ficobl.ads: Likewise.
3421 * s-fileio.adb: Likewise.
3422 * s-fileio.ads: Likewise.
3423 * s-filofl.ads: Likewise.
3424 * s-finimp.adb: Likewise.
3425 * s-finimp.ads: Likewise.
3426 * s-finroo.adb: Likewise.
3427 * s-finroo.ads: Likewise.
3428 * s-fishfl.ads: Likewise.
3429 * s-fore.adb: Likewise.
3430 * s-fore.ads: Likewise.
3431 * s-fvadfl.ads: Likewise.
3432 * s-fvaffl.ads: Likewise.
3433 * s-fvagfl.ads: Likewise.
3434 * s-gearop.adb: Likewise.
3435 * s-gearop.ads: Likewise.
3436 * s-gecobl.adb: Likewise.
3437 * s-gecobl.ads: Likewise.
3438 * s-gecola.adb: Likewise.
3439 * s-gecola.ads: Likewise.
3440 * s-gerebl.adb: Likewise.
3441 * s-gerebl.ads: Likewise.
3442 * s-gerela.adb: Likewise.
3443 * s-gerela.ads: Likewise.
3444 * s-geveop.adb: Likewise.
3445 * s-geveop.ads: Likewise.
3446 * s-gloloc.adb: Likewise.
3447 * s-gloloc.ads: Likewise.
3448 * s-hibaen.ads: Likewise.
3449 * s-imenne.adb: Likewise.
3450 * s-imenne.ads: Likewise.
3451 * s-imgbiu.adb: Likewise.
3452 * s-imgbiu.ads: Likewise.
3453 * s-imgboo.adb: Likewise.
3454 * s-imgboo.ads: Likewise.
3455 * s-imgcha.adb: Likewise.
3456 * s-imgcha.ads: Likewise.
3457 * s-imgdec.adb: Likewise.
3458 * s-imgdec.ads: Likewise.
3459 * s-imgenu.adb: Likewise.
3460 * s-imgenu.ads: Likewise.
3461 * s-imgint.adb: Likewise.
3462 * s-imgint.ads: Likewise.
3463 * s-imgllb.adb: Likewise.
3464 * s-imgllb.ads: Likewise.
3465 * s-imglld.adb: Likewise.
3466 * s-imglld.ads: Likewise.
3467 * s-imglli.adb: Likewise.
3468 * s-imglli.ads: Likewise.
3469 * s-imgllu.adb: Likewise.
3470 * s-imgllu.ads: Likewise.
3471 * s-imgllw.adb: Likewise.
3472 * s-imgllw.ads: Likewise.
3473 * s-imgrea.adb: Likewise.
3474 * s-imgrea.ads: Likewise.
3475 * s-imguns.adb: Likewise.
3476 * s-imguns.ads: Likewise.
3477 * s-imgwch.adb: Likewise.
3478 * s-imgwch.ads: Likewise.
3479 * s-imgwiu.adb: Likewise.
3480 * s-imgwiu.ads: Likewise.
3481 * s-inmaop-dummy.adb: Likewise.
3482 * s-inmaop-vms.adb: Likewise.
3483 * s-inmaop.ads: Likewise.
3484 * s-interr-hwint.adb: Likewise.
3485 * s-interr-sigaction.adb: Likewise.
3486 * s-interr-vms.adb: Likewise.
3487 * s-interr.adb: Likewise.
3488 * s-interr.ads: Likewise.
3489 * s-intman-dummy.adb: Likewise.
3490 * s-intman-mingw.adb: Likewise.
3491 * s-intman-posix.adb: Likewise.
3492 * s-intman-solaris.adb: Likewise.
3493 * s-intman-vms.adb: Likewise.
3494 * s-intman-vms.ads: Likewise.
3495 * s-intman-vxworks.adb: Likewise.
3496 * s-intman-vxworks.ads: Likewise.
3497 * s-intman.ads: Likewise.
3498 * s-io.adb: Likewise.
3499 * s-io.ads: Likewise.
3500 * s-linux-alpha.ads: Likewise.
3501 * s-linux-hppa.ads: Likewise.
3502 * s-linux.ads: Likewise.
3503 * s-maccod.ads: Likewise.
3504 * s-mantis.adb: Likewise.
3505 * s-mantis.ads: Likewise.
3506 * s-mastop-irix.adb: Likewise.
3507 * s-mastop.adb: Likewise.
3508 * s-mastop.ads: Likewise.
3509 * s-memcop.ads: Likewise.
3510 * s-memory-mingw.adb: Likewise.
3511 * s-memory.adb: Likewise.
3512 * s-memory.ads: Likewise.
3513 * s-os_lib.ads: Likewise.
3514 * s-oscons-tmplt.c: Likewise.
3515 * s-osinte-aix.adb: Likewise.
3516 * s-osinte-darwin.adb: Likewise.
3517 * s-osinte-freebsd.adb: Likewise.
3518 * s-osinte-irix.adb: Likewise.
3519 * s-osinte-lynxos-3.adb: Likewise.
3520 * s-osinte-rtems.ads: Likewise.
3521 * s-osinte-tru64.adb: Likewise.
3522 * s-osinte-vxworks-kernel.adb: Likewise.
3523 * s-osinte-vxworks.adb: Likewise.
3524 * s-osprim-mingw.adb: Likewise.
3525 * s-osprim-posix.adb: Likewise.
3526 * s-osprim-solaris.adb: Likewise.
3527 * s-osprim-unix.adb: Likewise.
3528 * s-osprim-vms.adb: Likewise.
3529 * s-osprim-vms.ads: Likewise.
3530 * s-osprim-vxworks.adb: Likewise.
3531 * s-osprim.ads: Likewise.
3532 * s-pack03.adb: Likewise.
3533 * s-pack03.ads: Likewise.
3534 * s-pack05.adb: Likewise.
3535 * s-pack05.ads: Likewise.
3536 * s-pack06.adb: Likewise.
3537 * s-pack06.ads: Likewise.
3538 * s-pack07.adb: Likewise.
3539 * s-pack07.ads: Likewise.
3540 * s-pack09.adb: Likewise.
3541 * s-pack09.ads: Likewise.
3542 * s-pack10.adb: Likewise.
3543 * s-pack10.ads: Likewise.
3544 * s-pack11.adb: Likewise.
3545 * s-pack11.ads: Likewise.
3546 * s-pack12.adb: Likewise.
3547 * s-pack12.ads: Likewise.
3548 * s-pack13.adb: Likewise.
3549 * s-pack13.ads: Likewise.
3550 * s-pack14.adb: Likewise.
3551 * s-pack14.ads: Likewise.
3552 * s-pack15.adb: Likewise.
3553 * s-pack15.ads: Likewise.
3554 * s-pack17.adb: Likewise.
3555 * s-pack17.ads: Likewise.
3556 * s-pack18.adb: Likewise.
3557 * s-pack18.ads: Likewise.
3558 * s-pack19.adb: Likewise.
3559 * s-pack19.ads: Likewise.
3560 * s-pack20.adb: Likewise.
3561 * s-pack20.ads: Likewise.
3562 * s-pack21.adb: Likewise.
3563 * s-pack21.ads: Likewise.
3564 * s-pack22.adb: Likewise.
3565 * s-pack22.ads: Likewise.
3566 * s-pack23.adb: Likewise.
3567 * s-pack23.ads: Likewise.
3568 * s-pack24.adb: Likewise.
3569 * s-pack24.ads: Likewise.
3570 * s-pack25.adb: Likewise.
3571 * s-pack25.ads: Likewise.
3572 * s-pack26.adb: Likewise.
3573 * s-pack26.ads: Likewise.
3574 * s-pack27.adb: Likewise.
3575 * s-pack27.ads: Likewise.
3576 * s-pack28.adb: Likewise.
3577 * s-pack28.ads: Likewise.
3578 * s-pack29.adb: Likewise.
3579 * s-pack29.ads: Likewise.
3580 * s-pack30.adb: Likewise.
3581 * s-pack30.ads: Likewise.
3582 * s-pack31.adb: Likewise.
3583 * s-pack31.ads: Likewise.
3584 * s-pack33.adb: Likewise.
3585 * s-pack33.ads: Likewise.
3586 * s-pack34.adb: Likewise.
3587 * s-pack34.ads: Likewise.
3588 * s-pack35.adb: Likewise.
3589 * s-pack35.ads: Likewise.
3590 * s-pack36.adb: Likewise.
3591 * s-pack36.ads: Likewise.
3592 * s-pack37.adb: Likewise.
3593 * s-pack37.ads: Likewise.
3594 * s-pack38.adb: Likewise.
3595 * s-pack38.ads: Likewise.
3596 * s-pack39.adb: Likewise.
3597 * s-pack39.ads: Likewise.
3598 * s-pack40.adb: Likewise.
3599 * s-pack40.ads: Likewise.
3600 * s-pack41.adb: Likewise.
3601 * s-pack41.ads: Likewise.
3602 * s-pack42.adb: Likewise.
3603 * s-pack42.ads: Likewise.
3604 * s-pack43.adb: Likewise.
3605 * s-pack43.ads: Likewise.
3606 * s-pack44.adb: Likewise.
3607 * s-pack44.ads: Likewise.
3608 * s-pack45.adb: Likewise.
3609 * s-pack45.ads: Likewise.
3610 * s-pack46.adb: Likewise.
3611 * s-pack46.ads: Likewise.
3612 * s-pack47.adb: Likewise.
3613 * s-pack47.ads: Likewise.
3614 * s-pack48.adb: Likewise.
3615 * s-pack48.ads: Likewise.
3616 * s-pack49.adb: Likewise.
3617 * s-pack49.ads: Likewise.
3618 * s-pack50.adb: Likewise.
3619 * s-pack50.ads: Likewise.
3620 * s-pack51.adb: Likewise.
3621 * s-pack51.ads: Likewise.
3622 * s-pack52.adb: Likewise.
3623 * s-pack52.ads: Likewise.
3624 * s-pack53.adb: Likewise.
3625 * s-pack53.ads: Likewise.
3626 * s-pack54.adb: Likewise.
3627 * s-pack54.ads: Likewise.
3628 * s-pack55.adb: Likewise.
3629 * s-pack55.ads: Likewise.
3630 * s-pack56.adb: Likewise.
3631 * s-pack56.ads: Likewise.
3632 * s-pack57.adb: Likewise.
3633 * s-pack57.ads: Likewise.
3634 * s-pack58.adb: Likewise.
3635 * s-pack58.ads: Likewise.
3636 * s-pack59.adb: Likewise.
3637 * s-pack59.ads: Likewise.
3638 * s-pack60.adb: Likewise.
3639 * s-pack60.ads: Likewise.
3640 * s-pack61.adb: Likewise.
3641 * s-pack61.ads: Likewise.
3642 * s-pack62.adb: Likewise.
3643 * s-pack62.ads: Likewise.
3644 * s-pack63.adb: Likewise.
3645 * s-pack63.ads: Likewise.
3646 * s-parame-ae653.ads: Likewise.
3647 * s-parame-hpux.ads: Likewise.
3648 * s-parame-rtems.adb: Likewise.
3649 * s-parame-vms-alpha.ads: Likewise.
3650 * s-parame-vms-ia64.ads: Likewise.
3651 * s-parame-vms-restrict.ads: Likewise.
3652 * s-parame-vxworks.adb: Likewise.
3653 * s-parame-vxworks.ads: Likewise.
3654 * s-parame.adb: Likewise.
3655 * s-parame.ads: Likewise.
3656 * s-parint.adb: Likewise.
3657 * s-parint.ads: Likewise.
3658 * s-pooglo.adb: Likewise.
3659 * s-pooglo.ads: Likewise.
3660 * s-pooloc.adb: Likewise.
3661 * s-pooloc.ads: Likewise.
3662 * s-poosiz.adb: Likewise.
3663 * s-poosiz.ads: Likewise.
3664 * s-powtab.ads: Likewise.
3665 * s-proinf-irix-athread.adb: Likewise.
3666 * s-proinf-irix-athread.ads: Likewise.
3667 * s-proinf.adb: Likewise.
3668 * s-proinf.ads: Likewise.
3669 * s-purexc.ads: Likewise.
3670 * s-rannum.adb: Likewise.
3671 * s-rannum.ads: Likewise.
3672 * s-restri.adb: Likewise.
3673 * s-restri.ads: Likewise.
3674 * s-rident.ads: Likewise.
3675 * s-rpc.adb: Likewise.
3676 * s-rpc.ads: Likewise.
3677 * s-scaval.adb: Likewise.
3678 * s-scaval.ads: Likewise.
3679 * s-secsta.adb: Likewise.
3680 * s-secsta.ads: Likewise.
3681 * s-sequio.adb: Likewise.
3682 * s-sequio.ads: Likewise.
3683 * s-shasto.adb: Likewise.
3684 * s-shasto.ads: Likewise.
3685 * s-soflin.adb: Likewise.
3686 * s-soflin.ads: Likewise.
3687 * s-solita.adb: Likewise.
3688 * s-solita.ads: Likewise.
3689 * s-sopco3.adb: Likewise.
3690 * s-sopco3.ads: Likewise.
3691 * s-sopco4.adb: Likewise.
3692 * s-sopco4.ads: Likewise.
3693 * s-sopco5.adb: Likewise.
3694 * s-sopco5.ads: Likewise.
3695 * s-stache.adb: Likewise.
3696 * s-stache.ads: Likewise.
3697 * s-stalib.adb: Likewise.
3698 * s-stalib.ads: Likewise.
3699 * s-stausa.adb: Likewise.
3700 * s-stausa.ads: Likewise.
3701 * s-stchop-limit.ads: Likewise.
3702 * s-stchop-rtems.adb: Likewise.
3703 * s-stchop-vxworks.adb: Likewise.
3704 * s-stchop.adb: Likewise.
3705 * s-stchop.ads: Likewise.
3706 * s-stoele.adb: Likewise.
3707 * s-stoele.ads: Likewise.
3708 * s-stopoo.adb: Likewise.
3709 * s-stopoo.ads: Likewise.
3710 * s-stratt.adb: Likewise.
3711 * s-stratt.ads: Likewise.
3712 * s-strcom.adb: Likewise.
3713 * s-strcom.ads: Likewise.
3714 * s-string.adb: Likewise.
3715 * s-string.ads: Likewise.
3716 * s-strops.adb: Likewise.
3717 * s-strops.ads: Likewise.
3718 * s-strxdr.adb: Likewise.
3719 * s-ststop.adb: Likewise.
3720 * s-ststop.ads: Likewise.
3721 * s-taasde.adb: Likewise.
3722 * s-taasde.ads: Likewise.
3723 * s-tadeca.adb: Likewise.
3724 * s-tadeca.ads: Likewise.
3725 * s-tadert.adb: Likewise.
3726 * s-tadert.ads: Likewise.
3727 * s-taenca.adb: Likewise.
3728 * s-taenca.ads: Likewise.
3729 * s-taprob.ads: Likewise.
3730 * s-taprop-dummy.adb: Likewise.
3731 * s-taprop-hpux-dce.adb: Likewise.
3732 * s-taprop-irix.adb: Likewise.
3733 * s-taprop-linux.adb: Likewise.
3734 * s-taprop-lynxos.adb: Likewise.
3735 * s-taprop-mingw.adb: Likewise.
3736 * s-taprop-posix.adb: Likewise.
3737 * s-taprop-solaris.adb: Likewise.
3738 * s-taprop-tru64.adb: Likewise.
3739 * s-taprop-vms.adb: Likewise.
3740 * s-taprop-vxworks.adb: Likewise.
3741 * s-taprop.ads: Likewise.
3742 * s-tarest.adb: Likewise.
3743 * s-tarest.ads: Likewise.
3744 * s-tasdeb.adb: Likewise.
3745 * s-tasdeb.ads: Likewise.
3746 * s-tasinf-irix.ads: Likewise.
3747 * s-tasinf-linux.adb: Likewise.
3748 * s-tasinf-linux.ads: Likewise.
3749 * s-tasinf-mingw.adb: Likewise.
3750 * s-tasinf-mingw.ads: Likewise.
3751 * s-tasinf-solaris.adb: Likewise.
3752 * s-tasinf-solaris.ads: Likewise.
3753 * s-tasinf-tru64.ads: Likewise.
3754 * s-tasinf.adb: Likewise.
3755 * s-tasinf.ads: Likewise.
3756 * s-tasini.adb: Likewise.
3757 * s-tasini.ads: Likewise.
3758 * s-taskin.adb: Likewise.
3759 * s-taskin.ads: Likewise.
3760 * s-taspri-dummy.ads: Likewise.
3761 * s-taspri-hpux-dce.ads: Likewise.
3762 * s-taspri-mingw.ads: Likewise.
3763 * s-taspri-solaris.ads: Likewise.
3764 * s-taspri-tru64.ads: Likewise.
3765 * s-taspri-vms.ads: Likewise.
3766 * s-taspri-vxworks.ads: Likewise.
3767 * s-tasque.adb: Likewise.
3768 * s-tasque.ads: Likewise.
3769 * s-tasren.adb: Likewise.
3770 * s-tasren.ads: Likewise.
3771 * s-tasres.ads: Likewise.
3772 * s-tassta.adb: Likewise.
3773 * s-tassta.ads: Likewise.
3774 * s-tasuti.adb: Likewise.
3775 * s-tasuti.ads: Likewise.
3776 * s-tfsetr-default.adb: Likewise.
3777 * s-tfsetr-vxworks.adb: Likewise.
3778 * s-tpinop.adb: Likewise.
3779 * s-tpinop.ads: Likewise.
3780 * s-tpoben.adb: Likewise.
3781 * s-tpoben.ads: Likewise.
3782 * s-tpobop.adb: Likewise.
3783 * s-tpobop.ads: Likewise.
3784 * s-tpopde-vms.adb: Likewise.
3785 * s-tpopde-vms.ads: Likewise.
3786 * s-tpopsp-lynxos.adb: Likewise.
3787 * s-tpopsp-posix-foreign.adb: Likewise.
3788 * s-tpopsp-posix.adb: Likewise.
3789 * s-tpopsp-solaris.adb: Likewise.
3790 * s-tpopsp-vxworks.adb: Likewise.
3791 * s-tporft.adb: Likewise.
3792 * s-tposen.adb: Likewise.
3793 * s-tposen.ads: Likewise.
3794 * s-traceb.adb: Likewise.
3795 * s-traceb.ads: Likewise.
3796 * s-traces-default.adb: Likewise.
3797 * s-traces.adb: Likewise.
3798 * s-traces.ads: Likewise.
3799 * s-traent-vms.adb: Likewise.
3800 * s-traent-vms.ads: Likewise.
3801 * s-traent.adb: Likewise.
3802 * s-traent.ads: Likewise.
3803 * s-trafor-default.adb: Likewise.
3804 * s-trafor-default.ads: Likewise.
3805 * s-tratas-default.adb: Likewise.
3806 * s-tratas.adb: Likewise.
3807 * s-tratas.ads: Likewise.
3808 * s-unstyp.ads: Likewise.
3809 * s-utf_32.adb: Likewise.
3810 * s-utf_32.ads: Likewise.
3811 * s-vaflop-vms-alpha.adb: Likewise.
3812 * s-vaflop.adb: Likewise.
3813 * s-vaflop.ads: Likewise.
3814 * s-valboo.adb: Likewise.
3815 * s-valboo.ads: Likewise.
3816 * s-valcha.adb: Likewise.
3817 * s-valcha.ads: Likewise.
3818 * s-valdec.adb: Likewise.
3819 * s-valdec.ads: Likewise.
3820 * s-valenu.adb: Likewise.
3821 * s-valenu.ads: Likewise.
3822 * s-valint.adb: Likewise.
3823 * s-valint.ads: Likewise.
3824 * s-vallld.adb: Likewise.
3825 * s-vallld.ads: Likewise.
3826 * s-vallli.adb: Likewise.
3827 * s-vallli.ads: Likewise.
3828 * s-valllu.adb: Likewise.
3829 * s-valllu.ads: Likewise.
3830 * s-valrea.adb: Likewise.
3831 * s-valrea.ads: Likewise.
3832 * s-valuns.adb: Likewise.
3833 * s-valuns.ads: Likewise.
3834 * s-valuti.adb: Likewise.
3835 * s-valuti.ads: Likewise.
3836 * s-valwch.adb: Likewise.
3837 * s-valwch.ads: Likewise.
3838 * s-veboop.adb: Likewise.
3839 * s-veboop.ads: Likewise.
3840 * s-vector.ads: Likewise.
3841 * s-vercon.adb: Likewise.
3842 * s-vercon.ads: Likewise.
3843 * s-vmexta.adb: Likewise.
3844 * s-vmexta.ads: Likewise.
3845 * s-vxwext-kernel.ads: Likewise.
3846 * s-vxwext-rtp.adb: Likewise.
3847 * s-vxwext-rtp.ads: Likewise.
3848 * s-vxwext.ads: Likewise.
3849 * s-vxwork-arm.ads: Likewise.
3850 * s-vxwork-m68k.ads: Likewise.
3851 * s-vxwork-mips.ads: Likewise.
3852 * s-vxwork-ppc.ads: Likewise.
3853 * s-vxwork-sparcv9.ads: Likewise.
3854 * s-vxwork-x86.ads: Likewise.
3855 * s-wchcnv.adb: Likewise.
3856 * s-wchcnv.ads: Likewise.
3857 * s-wchcon.adb: Likewise.
3858 * s-wchcon.ads: Likewise.
3859 * s-wchjis.adb: Likewise.
3860 * s-wchjis.ads: Likewise.
3861 * s-wchstw.adb: Likewise.
3862 * s-wchstw.ads: Likewise.
3863 * s-wchwts.adb: Likewise.
3864 * s-wchwts.ads: Likewise.
3865 * s-widboo.adb: Likewise.
3866 * s-widboo.ads: Likewise.
3867 * s-widcha.adb: Likewise.
3868 * s-widcha.ads: Likewise.
3869 * s-widenu.adb: Likewise.
3870 * s-widenu.ads: Likewise.
3871 * s-widlli.adb: Likewise.
3872 * s-widlli.ads: Likewise.
3873 * s-widllu.adb: Likewise.
3874 * s-widllu.ads: Likewise.
3875 * s-widwch.adb: Likewise.
3876 * s-widwch.ads: Likewise.
3877 * s-win32.ads: Likewise.
3878 * s-winext.ads: Likewise.
3879 * s-wwdcha.adb: Likewise.
3880 * s-wwdcha.ads: Likewise.
3881 * s-wwdenu.adb: Likewise.
3882 * s-wwdenu.ads: Likewise.
3883 * s-wwdwch.adb: Likewise.
3884 * s-wwdwch.ads: Likewise.
3885 * scans.adb: Likewise.
3886 * scans.ads: Likewise.
3887 * seh_init.c: Likewise.
3888 * sfn_scan.adb: Likewise.
3889 * sinfo.adb: Likewise.
3890 * sinfo.ads: Likewise.
3891 * sinput.adb: Likewise.
3892 * sinput.ads: Likewise.
3893 * snames.adb: Likewise.
3894 * snames.ads: Likewise.
3895 * socket.c: Likewise.
3896 * stand.adb: Likewise.
3897 * stand.ads: Likewise.
3898 * stringt.adb: Likewise.
3899 * stringt.ads: Likewise.
3900 * sysdep.c: Likewise.
3901 * system-aix.ads: Likewise.
3902 * system-darwin-ppc.ads: Likewise.
3903 * system-darwin-x86.ads: Likewise.
3904 * system-darwin-x86_64.ads: Likewise.
3905 * system-freebsd-x86.ads: Likewise.
3906 * system-hpux-ia64.ads: Likewise.
3907 * system-hpux.ads: Likewise.
3908 * system-irix-n32.ads: Likewise.
3909 * system-irix-n64.ads: Likewise.
3910 * system-irix-o32.ads: Likewise.
3911 * system-linux-alpha.ads: Likewise.
3912 * system-linux-hppa.ads: Likewise.
3913 * system-linux-ia64.ads: Likewise.
3914 * system-linux-mips.ads: Likewise.
3915 * system-linux-mipsel.ads: Likewise.
3916 * system-linux-ppc.ads: Likewise.
3917 * system-linux-ppc64.ads: Likewise.
3918 * system-linux-s390.ads: Likewise.
3919 * system-linux-s390x.ads: Likewise.
3920 * system-linux-sh4.ads: Likewise.
3921 * system-linux-sparc.ads: Likewise.
3922 * system-linux-sparcv9.ads: Likewise.
3923 * system-linux-x86.ads: Likewise.
3924 * system-linux-x86_64.ads: Likewise.
3925 * system-lynxos-ppc.ads: Likewise.
3926 * system-lynxos-x86.ads: Likewise.
3927 * system-mingw-x86_64.ads: Likewise.
3928 * system-mingw.ads: Likewise.
3929 * system-rtems.ads: Likewise.
3930 * system-solaris-sparc.ads: Likewise.
3931 * system-solaris-sparcv9.ads: Likewise.
3932 * system-solaris-x86.ads: Likewise.
3933 * system-solaris-x86_64.ads: Likewise.
3934 * system-tru64.ads: Likewise.
3935 * system-vms-ia64.ads: Likewise.
3936 * system-vms-zcx.ads: Likewise.
3937 * system-vms.ads: Likewise.
3938 * system-vms_64.ads: Likewise.
3939 * system-vxworks-arm.ads: Likewise.
3940 * system-vxworks-m68k.ads: Likewise.
3941 * system-vxworks-mips.ads: Likewise.
3942 * system-vxworks-ppc.ads: Likewise.
3943 * system-vxworks-sparcv9.ads: Likewise.
3944 * system-vxworks-x86.ads: Likewise.
3945 * system.ads: Likewise.
3946 * table.adb: Likewise.
3947 * table.ads: Likewise.
3948 * targext.c: Likewise.
3949 * targparm.ads: Likewise.
3950 * tree_in.adb: Likewise.
3951 * tree_in.ads: Likewise.
3952 * tree_io.adb: Likewise.
3953 * tree_io.ads: Likewise.
3954 * types.adb: Likewise.
3955 * types.ads: Likewise.
3956 * uintp.adb: Likewise.
3957 * uintp.ads: Likewise.
3958 * uname.adb: Likewise.
3959 * uname.ads: Likewise.
3960 * urealp.adb: Likewise.
3961 * urealp.ads: Likewise.
3962 * vx_stack_info.c: Likewise.
3963 * widechar.adb: Likewise.
3964 * widechar.ads: Likewise.
3965 * exp_attr.adb: Change copyright header to refer to version
3966 3 of the GNU General Public License and to point readers at the
3967 COPYING3 file and the FSF's license web page.
3968 * sem.adb: Likewise.
3969 * sem_attr.ads: Likewise.
3970 * freeze.adb: Likewise.
3971 * freeze.ads: Likewise.
3972 * errout.ads: Likewise.
3973 * erroutc.adb: Likewise.
3974 * exp_ch11.ads: Likewise.
3975
3976 2009-04-09 Jakub Jelinek <jakub@redhat.com>
3977
3978 * config-lang.in: Change copyright header to refer to version
3979 3 of the GNU General Public License and to point readers at the
3980 COPYING3 file and the FSF's license web page.
3981 * gcc-interface/trans.c: Likewise.
3982 * gnathtml.pl: Likewise.
3983 * gcc-interface/ada.h: Likewise. Remove runtime exception.
3984 * gcc-interface/gigi.h: Likewise.
3985 * gcc-interface/misc.c: Likewise.
3986 * gcc-interface/targtyps.c: Likewise.
3987
3988 2009-04-09 Nicolas Setton <setton@adacore.com>
3989
3990 * s-osinte-darwin.ads: Fix wrong binding to struc timeval.
3991
3992 * s-osinte-darwin.adb (To_Timeval): Adapt to fixed implementation of
3993 struct_timeval.
3994
3995 2009-04-09 Bob Duff <duff@adacore.com>
3996
3997 * exp_ch5.adb, exp_ch9.adb: Correct miscellaneous Slocs in
3998 internally-generated nodes related to select statements to avoid
3999 confusing the debugger.
4000
4001 2009-04-09 Pascal Obry <obry@adacore.com>
4002
4003 * make.adb: Ensure that all linker arguments are duplicated.
4004
4005 2009-04-09 Robert Dewar <dewar@adacore.com>
4006
4007 * sem_ch5.adb: Minor reformatting
4008
4009 2009-04-09 Vincent Celier <celier@adacore.com>
4010
4011 * vms_data.ads:
4012 Change GNAT CHECK qualifier /DIAGNOSIS_LIMIT to /DIAGNOSTIC_LIMIT
4013 New qualifier /LEXPAND_SOURCE=nnn for -gnatGnnn
4014 New qualifier /LXDEBUG=nnn for -gnatDnnn
4015 For H820-010
4016
4017 * gnat_ugn.texi:
4018 Update documentation for VMS qualifiers equivalent to -gnatGnn and
4019 -gnatDnn
4020
4021 2009-04-09 Nicolas Setton <setton@adacore.com>
4022
4023 * s-osinte-darwin.ads: (Pad_Type): Make this an array of unsigned_long,
4024 to match layout of siginfo_t in sys/signal.h.
4025
4026 * gcc-interface/Makefile.in: Add section for x86_64 darwin.
4027
4028 2009-04-09 Thomas Quinot <quinot@adacore.com>
4029
4030 * g-socket.ads: (Fd_Set): Use Interfaces.C.long alignment.
4031
4032 2009-04-09 Nicolas Setton <setton@adacore.com>
4033
4034 * s-oscons-tmplt.c: Allow long lines in the generated spec.
4035 Add generation of Darwin-specific constants needed when binding to the
4036 pthread library.
4037
4038 2009-04-09 Robert Dewar <dewar@adacore.com>
4039
4040 * checks.adb:
4041 (Insert_Valid_Check): Avoid unnecessary generation of junk declaration
4042 when no invalid values exist, Avoid duplicate read of atomic variable.
4043
4044 * cstand.adb (Build_Signed_Integer_Type): Set Is_Known_Valid
4045 (Standard_Unsigned): Set Is_Known_Valid
4046
4047 * sem_ch3.adb (Analyze_Subtype_Declaration): Copy Is_Known_Valid on
4048 subtype declaration if no constraint.
4049 (Set_Modular_Size): Set Is_Known_Valid if appropriate
4050 (Build_Derived_Numeric_Type): Copy Is_Known_Valid if no constraint
4051
4052 2009-04-09 Robert Dewar <dewar@adacore.com>
4053
4054 * switch-c.adb, gnat_ugn.texi, vms_data.ads, switch.adb,
4055 switch.ads: for numeric switches, an optional equal sign is always
4056 allowed.
4057
4058 2009-04-09 Vincent Celier <celier@adacore.com>
4059
4060 * prj-nmsc.adb (Get_Unit): Do not consider Casing on platform where
4061 the case of file names is not significant.
4062
4063 2009-04-09 Vincent Celier <celier@adacore.com>
4064
4065 * errout.adb: Remove dependency on package Style
4066
4067 * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function,
4068 moved to Stylesw.
4069
4070 * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from
4071 Styleg.
4072
4073 * errutil.adb, par.adb: Import Stylesw
4074
4075 2009-04-09 Arnaud Charlet <charlet@adacore.com>
4076
4077 * opt.ads: Fix typos.
4078
4079 2009-04-09 Robert Dewar <dewar@adacore.com>
4080
4081 * einfo.adb: Minor reformatting
4082
4083 2009-04-09 Robert Dewar <dewar@adacore.com>
4084
4085 * gcc-interface/Make-lang.in, style.ads, style.adb: Reorganize style
4086 units.
4087
4088 * styleg-c.ads, styleg-c.adb: Removed, no longer used.
4089
4090 2009-04-09 Robert Dewar <dewar@adacore.com>
4091
4092 * g-comver.adb: Minor reformatting.
4093
4094 2009-04-09 Thomas Quinot <quinot@adacore.com>
4095
4096 * lib-load.ads (Load_Unit): Update documentation.
4097
4098 2009-04-09 Ed Schonberg <schonberg@adacore.com>
4099
4100 * lib-load.adb (Load_Unit): When loading the parent of a child unit
4101 named in a with_clause, retain the with_clause to preserve a
4102 limited_with indication.
4103
4104 2009-04-09 Robert Dewar <dewar@adacore.com>
4105
4106 * sem_ch7.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_util.adb,
4107 exp_ch13.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb,
4108 sem_cat.adb: Code clean up: use Is_Package_Or_Generic_Package where
4109 possible to replace an OR of two separate tests.
4110
4111 2009-04-09 Robert Dewar <dewar@adacore.com>
4112
4113 * binderr.adb, errout.adb, errutil.adb: New circuitry for handling
4114 Maximum_Messages.
4115
4116 * erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global
4117 warning status as well.
4118
4119 * opt.ads (Maximum_Messages): New name for Maximum_Errors.
4120
4121 * switch-b.adb, switch-c.adb: Change name Maximum_Errors to
4122 Maximum_Messages.
4123
4124 * bindusg.adb, usage.adb: Update line for -gnatm switch
4125
4126 * gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and
4127 -mnn binder switch.
4128
4129 2009-04-09 Robert Dewar <dewar@adacore.com>
4130
4131 * sem_ch10.adb: Minor reformatting.
4132
4133 2009-04-09 Bob Duff <duff@adacore.com>
4134
4135 * exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler):
4136 Set Sloc of generated nodes for calls to Undefer_Aborts and
4137 Save_Occurrence to No_Location, so the debugger ignores them and
4138 therefore does not jump back and forth when single stepping.
4139
4140 2009-04-09 Robert Dewar <dewar@adacore.com>
4141
4142 * switch-b.adb: Minor reformatting.
4143
4144 2009-04-09 Robert Dewar <dewar@adacore.com>
4145
4146 * sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, exp_atag.adb, layout.adb,
4147 sem_dist.adb, exp_ch7.adb, sem_ch5.adb, sem_type.adb, exp_imgv.adb,
4148 exp_util.adb, sem_aux.adb, sem_aux.ads, exp_attr.adb, exp_ch9.adb,
4149 sem_ch7.adb, inline.adb, fe.h, sem_ch9.adb, exp_code.adb, einfo.adb,
4150 einfo.ads, exp_pakd.adb, checks.adb, sem_ch12.adb, exp_smem.adb,
4151 tbuild.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb,
4152 exp_dbug.adb, sem_case.adb, exp_tss.adb, exp_ch4.adb, exp_ch6.adb,
4153 sem_smem.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, exp_disp.adb,
4154 sem_ch8.adb, exp_aggr.adb, sem_eval.adb, sem_cat.adb, exp_dist.adb,
4155 sem_ch13.adb, exp_strm.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb:
4156 Reorganize einfo/sem_aux, moving routines from einfo to sem_aux
4157
4158 2009-04-09 Robert Dewar <dewar@adacore.com>
4159
4160 * exp_util.adb (Silly_Boolean_Array_Xor_Test): Simplify existing code.
4161
4162 * atree.h: Add Elist26
4163
4164 * gnat_ugn.texi: Complete documentation deprecating -gnatN for non-gcc
4165 backends.
4166
4167 2009-04-09 Javier Miranda <miranda@adacore.com>
4168
4169 * exp_disp.adb (Export_DT): Addition of a new argument (Index); used to
4170 retrieve from the Dispatch_Table_Wrappers list the external name.
4171 Addition of documentation.
4172 (Make_Secondary_DT): Addition of a new argument (Suffix_Index) that is
4173 used to export secondary dispatch tables (in the previous version of
4174 the frontend only primary dispatch tables were exported). Addition of
4175 documentation.
4176 (Import_DT): New subprogram (internal of Make_Tags). Used to import a
4177 dispatch table of a given tagged type.
4178 (Make_Tags): Modified to import secondary dispatch tables.
4179
4180 * sem_ch3.adb (Analyze_Object_Declaration): Code cleanup.
4181 (Constant_Redeclaration): Code cleanup.
4182
4183 * einfo.ads (Dispatch_Table_Wrapper): Renamed to
4184 Dispatch_Table_Wrappers. Update documentation.
4185
4186 * einfo.adb (Dispatch_Table_Wrapper, Set_Dispatch_Table_Wrapper):
4187 Renamed to Dispatch_Table_Wrappers.
4188
4189 * sem_util.adb (Collect_Interface_Components): Improve handling of
4190 private types.
4191
4192 * atree.ads (Elist26, Set_Elist26): New subprograms
4193
4194 * atree.adb (Elist26, Set_Elist26): New subprograms
4195
4196 2009-04-09 Javier Miranda <miranda@adacore.com>
4197
4198 * sem_ch3.adb (Build_Derived_Record_Type): Fix typo.
4199 (Derive_Progenitor_Subprograms): Handle interfaces in subtypes of
4200 tagged types.
4201
4202 2009-04-09 Robert Dewar <dewar@adacore.com>
4203
4204 * s-direio.adb: Minor reformatting
4205
4206 * exp_ch4.adb (Expand_Concatenate): Avoid overflow checks for String
4207
4208 2009-04-09 Robert Dewar <dewar@adacore.com>
4209
4210 * exp_ch4.adb (Expand_Concatenate): Improve handling of overflow cases
4211
4212 2009-04-09 Pascal Obry <obry@adacore.com>
4213
4214 * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coinve.ads,
4215 s-tpoben.adb, s-tpoben.ads, s-finimp.adb, s-finimp.ads,
4216 a-convec.adb, a-convec.ads, a-finali.adb, a-finali.ads,
4217 a-filico.ads: Add some missing overriding keywords.
4218
4219 2009-04-09 Pascal Obry <obry@adacore.com>
4220
4221 * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb,
4222 a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads,
4223 a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor
4224 reformatting.
4225
4226 2009-04-09 Ed Schonberg <schonberg@adacore.com>
4227
4228 * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on
4229 missing overriding indicator if the new declaration is not seen as
4230 primitive.
4231
4232 2009-04-09 Thomas Quinot <quinot@adacore.com>
4233
4234 * exp_ch4.adb (Expand_Concatenate): Add circuitry to properly handle
4235 overflows in computation of bounds.
4236
4237 2009-04-09 Pascal Obry <obry@adacore.com>
4238
4239 * a-cihama.adb, a-cgcaso.adb, a-cihase.adb, a-cohase.adb: Fix some
4240 typos in comment.
4241
4242 2009-04-09 Robert Dewar <dewar@adacore.com>
4243
4244 * sem_attr.adb (Check_Stream_Attribute): Check violation of
4245 restriction No_Streams
4246
4247 * gnat_rm.texi: Clarify No_Streams restriction
4248
4249 * g-socket.adb: Minor reformatting.
4250
4251 2009-04-09 Thomas Quinot <quinot@adacore.com>
4252
4253 * g-socket.ads: Mark Initialize and Finalize as obsolesent interfaces.
4254
4255 2009-04-09 Geert Bosch <bosch@adacore.com>
4256
4257 * exp_fixd.adb (Build_Conversion): Accept new optional Trunc argument.
4258 (Set_Result): Likewise.
4259 (Expand_Convert_Float_To_Fixed): Have Set_Result truncate the
4260 conversion, as required by RM 4.6(31).
4261
4262 2009-04-08 Robert Dewar <dewar@adacore.com>
4263
4264 * checks.adb (Enable_Overflow_Check): Do not enable if overflow checks
4265 suppressed.
4266
4267 * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all
4268 resolution steps.
4269
4270 2009-04-08 Robert Dewar <dewar@adacore.com>
4271
4272 * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for
4273 No_Local_Allocators restriction preventing local instantiation.
4274
4275 2009-04-08 Thomas Quinot <quinot@adacore.com>
4276
4277 * sem_eval.adb: Minor comment fix
4278
4279 2009-04-08 Thomas Quinot <quinot@adacore.com>
4280
4281 * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller):
4282 New limited controlled type used to automate the initialization and
4283 finalization of the sockets implementation.
4284 (GNAT.Sockets.Initialize, Finalize): Make these no-ops
4285
4286 2009-04-08 Vincent Celier <celier@adacore.com>
4287
4288 * prj-attr.adb: New read-only project-level attribute Project_Dir
4289
4290 * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of
4291 read-only attribute of the same name.
4292 (Process_Declarative_Items): Call Add_Attributes with Project_Dir
4293 (Recursive_Process): Ditto
4294
4295 * snames.adb: Add new standard name Project_Dir
4296
4297 * snames.ads: Add new standard name Project_Dir
4298
4299 2009-04-08 Thomas Quinot <quinot@adacore.com>
4300
4301 * checks.adb: Minor reformatting
4302
4303 2009-04-08 Vincent Celier <celier@adacore.com>
4304
4305 * vms_data.ads: Add documentation for new style keyword
4306 OVERRIDING_INDICATORS
4307
4308 2009-04-08 Robert Dewar <dewar@adacore.com>
4309
4310 * sem_ch3.adb (Check_Completion.Post_Error): Post error on spec if the
4311 spec is in the current unit.
4312
4313 2009-04-08 Ed Schonberg <schonberg@adacore.com>
4314
4315 * sem_util.adb (Is_Protected_Self_Reference): Add guard to check for
4316 presence of entity.
4317
4318 * usage.adb, gnat_ugn.texi: add info on -gnatyO: overriding indicators
4319
4320 2009-04-08 Vincent Celier <celier@adacore.com>
4321
4322 * vms_data.ads: Add VMS equivalent for -gnatyO (OVERRIDING_INDICATORS)
4323
4324 2009-04-08 Thomas Quinot <quinot@adacore.com>
4325
4326 * checks.ads: Minor reformatting
4327
4328 2009-04-08 Robert Dewar <dewar@adacore.com>
4329
4330 * gnat_rm.texi: Update documentation of pragma Obsolescent
4331
4332 * sem_prag.adb (Analyze_Pragma, case Obsolescent): Allow identifiers to
4333 be omitted, and allow Entity parameter to be omitted.
4334
4335 2009-04-08 Thomas Quinot <quinot@adacore.com>
4336
4337 * exp_util.adb: Minor comment fix
4338
4339 2009-04-08 Robert Dewar <dewar@adacore.com>
4340
4341 * g-socket.ads: Fix bad syntax in pragma Obsolescent
4342
4343 * par-ch2.adb (Scan_Pragma_Argument_Association): Check for error of
4344 argument with no identifier following one that has an identifier. Was
4345 missed in some cases.
4346
4347 * sem_prag.adb (Analyze_Pragma, case Check_Policy): Allow Policy
4348 identifier.
4349 (Analyze_Pragma, case Obsolescent): Allow Message, Version identifiers
4350
4351 * snames.adb: Add Name_Policy
4352
4353 * snames.ads: Add Name_Policy
4354
4355 2009-04-08 Robert Dewar <dewar@adacore.com>
4356
4357 * gnat_rm.texi: Minor reformatting
4358
4359 * par-ch2.adb: Minor reformatting
4360
4361 2009-04-08 Robert Dewar <dewar@adacore.com>
4362
4363 * exp_attr.adb, sem_attr.adb, sem_util.adb: Code clean up.
4364
4365 2009-04-08 Robert Dewar <dewar@adacore.com>
4366
4367 * sem_cat.adb (Check_Categorization_Dependencies): Handle Preelaborate
4368 properly in the presence of Remote_Types or Remote_Call_Interface.
4369
4370 * sem_util.adb: Add comment.
4371
4372 2009-04-08 Robert Dewar <dewar@adacore.com>
4373
4374 * ug_words: Add /ASSUME_VALID for -gnatB
4375
4376 * vms_data.ads: Add /ASSUME_VALID for -gnatB
4377
4378 * sem_cat.adb: Add clarifying commment
4379
4380 * a-direio.ads (Bytes): Make sure value is non-zero
4381
4382 2009-04-08 Ed Schonberg <schonberg@adacore.com>
4383
4384 * sem_util.adb (Is_Variable): If the prefix is an explicit dereference
4385 that does not come from source, check for a rewritten function call in
4386 prefixed notation before other forms of rewriting.
4387
4388 2009-04-08 Robert Dewar <dewar@adacore.com>
4389
4390 * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since
4391 these are now obsolescent units used only for bootrapping with an
4392 older compiler.
4393
4394 2009-04-08 Robert Dewar <dewar@adacore.com>
4395
4396 * gnat_rm.texi: Add documentation for pragma Thread_Local_Storage
4397
4398 * sem_ch3.adb: Minor comment updates
4399
4400 2009-04-08 Ed Schonberg <schonberg@adacore.com>
4401
4402 * inline.adb (Back_End_Cannot_Inline): restrict warning to subprograms
4403 that come from source.
4404
4405 2009-04-08 Tristan Gingold <gingold@adacore.com>
4406
4407 * gcc-interface/gigi.h (enum attr_type): Add ATTR_THREAD_LOCAL_STORAGE.
4408 * gcc-interface/decl.c (prepend_attributes): New case
4409 Pragma_Thread_Local_Storage.
4410 * gcc-interface/utils.c (process_attributes): New case
4411 ATTR_THREAD_LOCAL_STORAGE.
4412
4413 2009-04-08 Ed Schonberg <schonberg@adacore.com>
4414
4415 * inline.adb (Back_End_Cannot_Inline): Do not mark a body as inlineable
4416 by the back-end if it contains a call to a subprogram without a
4417 previous spec that is declared in the same unit.
4418
4419 * errout.ads: Update comments on uses of dirs
4420
4421 2009-04-08 Robert Dewar <dewar@adacore.com>
4422
4423 * exp_ch4.adb (Expand_Concatenate): Make sure nodes are properly typed
4424
4425 2009-04-08 Tristan Gingold <gingold@adacore.com>
4426
4427 * sem_prag.adb: Restrict pragma Thread_Local_Storage to library level
4428 variables.
4429 Set Has_Gigi_Rep_Item flag to TLS variables (to ease gigi work).
4430
4431 2009-04-08 Vincent Celier <celier@adacore.com>
4432
4433 * prj-nmsc.adb:
4434 (Add_Source): Add the mapping of the unit name to source file name in
4435 the Unit_Sources_HT hash table, if the unit name is not null.
4436
4437 * prj.adb (Reset): Reset hash table Tree.Unit_Sources_HT
4438
4439 * prj.ads (Unit_Sources_Htable): New hash table instantiation
4440 (Project_Tree_Data): New component Unit_Sources_HT
4441
4442 2009-04-08 Thomas Quinot <quinot@adacore.com>
4443
4444 * sem_ch8.adb: Minor reformatting.
4445 Minor code reorganization.
4446
4447 2009-04-08 Robert Dewar <dewar@adacore.com>
4448
4449 * snames.h, einfo.adb, einfo.ads, sem_prag.adb, snames.adb,
4450 snames.ads, freeze.adb, par-prag.adb: Add implementation of
4451 pragma Thread_Local_Storage, setting new flag
4452 Has_Pragma_Thread_Local_Storage in corresponding entities.
4453
4454 2009-04-08 Emmanuel Briot <briot@adacore.com>
4455
4456 * prj.ads: Update comment on switches file
4457
4458 * prj-nmsc.adb: Code clean up. Use renaming clauses.
4459
4460 2009-04-08 Robert Dewar <dewar@adacore.com>
4461
4462 * exp_ch4.adb (Expand_Concatenate): Further fixes to bounds handling
4463
4464 2009-04-08 Thomas Quinot <quinot@adacore.com>
4465
4466 * ali-util.adb: Minor comment fix
4467
4468 2009-04-08 Ed Schonberg <schonberg@adacore.com>
4469
4470 * sem_ch8.adb (Analyze_Use_Type): Improve error message when clause
4471 appears in a context clause, and the enclosing package is mentioned in
4472 a limited_with_clause.
4473 (Use_One_Type): Reject clause if type is still incomplete.
4474
4475 2009-04-08 Emmanuel Briot <briot@adacore.com>
4476
4477 * prj-nmsc.adb (Check_File, Process_Sources_In_Multi_Language_Mode):
4478 avoid copies of Source_Data variables when possible, since these
4479 involve calls to memcpy() which are done too many times.
4480
4481 2009-04-08 Robert Dewar <dewar@adacore.com>
4482
4483 * exp_ch4.adb (Expand_Concatenate): Clean up code
4484
4485 2009-04-07 Thomas Quinot <quinot@adacore.com>
4486
4487 * exp_ch4.adb (Expand_Concatenate): Add missing conversion to index
4488 type for the case of concatenating a constrained array indexed by an
4489 enumeration type.
4490
4491 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4492
4493 * sem_ch6.adb (Check_Conformance): when checking conformance of an
4494 operation that overrides an abstract operation inherited from an
4495 interface, return False if only one of the controlling formals is an
4496 access parameter.
4497
4498 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4499
4500 * sem_ch8.adb (Analyze_Object_Renaming): additional error messages
4501 mandated by AI05-105.
4502
4503 2009-04-07 Vincent Celier <celier@adacore.com>
4504
4505 * prj-nmsc.adb (Get_Mains): Warn if a main is an empty string
4506
4507 2009-04-07 Thomas Quinot <quinot@adacore.com>
4508
4509 * usage.adb: Minor fix in usage message.
4510
4511 * sem_ch10.adb (Remove_Homonyms): Fix subtype of formal in body to
4512 match declaration; the correct subtype is Node_Id, not Entity_Id,
4513 because the expected node kind is an identifier, not a defining
4514 identifier.
4515
4516 * switch-c.adb: Minor reformatting.
4517
4518 * uintp.adb: Minor reformatting.
4519
4520 2009-04-07 Robert Dewar <dewar@adacore.com>
4521
4522 * exp_ch13.adb: Minor reformatting
4523
4524 2009-04-07 Robert Dewar <dewar@adacore.com>
4525
4526 * sem_warn.adb (Check_Infinite_Loop_Warning.Test_Ref): Add defence
4527 against missing parent.
4528
4529 2009-04-07 Thomas Quinot <quinot@adacore.com>
4530
4531 * xoscons.adb: Minor reformatting
4532
4533 2009-04-07 Robert Dewar <dewar@adacore.com>
4534
4535 * rtsfind.ads: Remove obsolete string concatenation entries
4536
4537 2009-04-07 Robert Dewar <dewar@adacore.com>
4538
4539 * exp_ch4.adb (Expand_Concatenate): Redo handling of bounds
4540
4541 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4542
4543 * sem_ch10.adb (Check_Body_Required): Handle properly imported
4544 subprograms.
4545
4546 2009-04-07 Gary Dismukes <dismukes@adacore.com>
4547
4548 * exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case
4549 Attribute_Address): When Init_Or_Norm_Scalars is True and the object
4550 is of a scalar or string type then suppress the setting of the
4551 expression to Empty.
4552
4553 * freeze.adb (Warn_Overlay): Also emit the warnings about default
4554 initialization for the cases of scalar and string objects when
4555 Init_Or_Norm_Scalars is True.
4556
4557 2009-04-07 Bob Duff <duff@adacore.com>
4558
4559 * s-secsta.ads, g-pehage.ads, s-fileio.ads: Minor comment fixes
4560
4561 2009-04-07 Bob Duff <duff@adacore.com>
4562
4563 * gnat_rm.texi, s-fileio.adb (System.File_IO.Open): New feature: A
4564 Form parameter of Text_Translation=No allows binary mode for Text_IO
4565 files.
4566
4567 * gnat_rm.texi: Document Form parameter Text_Translation=xxx.
4568
4569 2009-04-07 Javier Miranda <miranda@adacore.com>
4570
4571 * exp_ch5.adb (Expand_Assign_Array): Add implicit conversion when
4572 processing the bounds for bit packed arrays or VM target machines.
4573
4574 2009-04-07 Thomas Quinot <quinot@adacore.com>
4575
4576 * g-sothco.ads (Int_Access): Remove extraneous access type (use
4577 anonymous access instead).
4578 (Get_Socket_From_Set): Fix incorrectly reverted formals
4579 Last and Socket to match the underlying C routine.
4580
4581 * g-socket.adb, g-socket.ads
4582 (Get): Use named parameter associations instead of positional ones in
4583 call go Get_Socket_From_Set, since this routine has two formals of the
4584 same type.
4585 (Image): New procedure.
4586
4587 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
4588 g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads:
4589 (C_Ioctl, Syscall_Ioctl): use "access C.int" instead of "Int_Access"
4590 for type of Arg formal.
4591
4592 * sem_warn.adb: Minor reformatting
4593
4594 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4595
4596 * sem_util.adb (Has_Tagged_Component): Fix typo in loop that iterates
4597 over record components.
4598
4599 2009-04-07 Nicolas Roche <roche@adacore.com>
4600
4601 * gsocket.h:
4602 Don't include resolvLib.h on VxWorks 6 (kernel and rtp). This library
4603 has disappeared between VxWorks 6.4 and VxWorks 6.5
4604 In RTP mode use time.h instead of times.h
4605
4606 2009-04-07 Robert Dewar <dewar@adacore.com>
4607
4608 * exp_ch4.adb (Expand_N_Op_Concat): Improve lower bound handling
4609
4610 2009-04-07 Kevin Pouget <pouget@adacore.com>
4611
4612 * exp_dist.adb: Modify Build_From_Any_Fonction procedure to correct
4613 expanded code for constrained types.
4614
4615 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4616
4617 * sem_ch4.adb (Analyze_Overloaded_Selected_Component): implement
4618 AI05-105: in an object renaming declaration, anonymousness is a name
4619 resolution rule.
4620
4621 * sem_ch8.adb (Analyze_Object_Renaming): Ditto.
4622
4623 2009-04-07 Arnaud Charlet <charlet@adacore.com>
4624
4625 * g-comlin.adb (Expansion): Fix old regression: also return directory
4626 names when matching.
4627
4628 2009-04-07 Robert Dewar <dewar@adacore.com>
4629
4630 * exp_ch4.adb:
4631 (Expand_N_Op_Concat): Call Expand_Concatenate for all cases
4632 (Expand_Concatenate): New name for Expand_Concatenate_String which has
4633 been rewritten to handle all types.
4634 (Expand_Concatenate_Other): Remove
4635
4636 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4637
4638 * lib-xref.adb (Generate_Reference): A default subprogram in an
4639 instance appears within the tree for the instance, but generates an
4640 implicit reference in the ALI.
4641
4642 2009-04-07 Javier Miranda <miranda@adacore.com>
4643
4644 * sem_ch3.adb (Build_Derived_Record_Type): When processing a tagged
4645 derived type that has discriminants, propagate the list of interfaces
4646 to the corresponding new base type. In addition, propagate also
4647 attribute Limited_Present (found working in this patch).
4648
4649 2009-04-07 Robert Dewar <dewar@adacore.com>
4650
4651 * exp_ch4.adb: Rewrite concatenation expansion.
4652
4653 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4654
4655 * sem_ch8.adb (Restore_Scope_Stack): First_Private_Entity is only
4656 relevant to packages.
4657
4658 2009-04-07 Robert Dewar <dewar@adacore.com>
4659
4660 * sem_attr.adb: Minor reformatting
4661
4662 * sem_ch6.adb: Minor reformatting
4663
4664 2009-04-07 Tristan Gingold <gingold@adacore.com>
4665
4666 * socket.c: Add more protections against S_resolvLib_ macros.
4667
4668 2009-04-07 Thomas Quinot <quinot@adacore.com>
4669
4670 * sem_attr.adb: Minor reformatting
4671
4672 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4673
4674 * sem_ch6.adb (New_Overloaded_Entity): New predicate
4675 Is_Overriding_Alias to handle properly types that inherit two homonym
4676 operations that have distinct dispatch table entries.
4677
4678 2009-04-07 Emmanuel Briot <briot@adacore.com>
4679
4680 * s-regexp.adb (Create_Mapping): Ignore excaped open parenthesis when
4681 looking for the end of a parenthesis group
4682
4683 2009-04-07 Tristan Gingold <gingold@adacore.com>
4684
4685 * gsocket.h Don't #include resolvLib.h if __RTP__ is defined.
4686
4687 * socket.c Don't use resolvLib_ macros if not defined.
4688
4689 2009-04-07 Robert Dewar <dewar@adacore.com>
4690
4691 * g-socket.adb: Minor reformatting.
4692
4693 * g-socthi-mingw.adb: Minor reformatting
4694
4695 * g-sothco.ads: Minor reformatting
4696
4697 * exp_ch4.adb:
4698 (Expand_Concatenate_String): Complete rewrite to generate efficient code
4699 inline instead of relying on external library routines.
4700
4701 * s-strops.ads, s-sopco5.ads, s-sopco5.adb, s-sopco4.ads, s-sopco4.adb,
4702 s-sopco3.ads, s-sopco3.adb, s-strops.adb: Note that this unit is now
4703 obsolescent
4704
4705 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4706
4707 * sem_attr.adb:
4708 (Eval_Attribute): for attributes of array objects that are not strings,
4709 attributes are not static if nominal subtype of object is unconstrained.
4710
4711 2009-04-07 Ed Schonberg <schonberg@adacore.com>
4712
4713 * sem_ch6.adb (New_Overloaded_Entity): If two implicit homonym
4714 operations for a type T in an instance do not override each other,
4715 when T is derived from a formal private type, the corresponding
4716 operations inherited by a type derived from T outside
4717 of the instance do not override each other either.
4718
4719 2009-04-07 Robert Dewar <dewar@adacore.com>
4720
4721 (Osint.Fail): Change calling sequence to have one string arg
4722 (Make.Make_Failed): Same change
4723 All callers are adjusted to use concatenation
4724
4725 2009-04-07 Robert Dewar <dewar@adacore.com>
4726
4727 * exp_ch4.adb: Fix documentation typo
4728
4729 2009-04-07 Robert Dewar <dewar@adacore.com>
4730
4731 * tbuild.ads: Minor reformatting
4732
4733 2009-04-07 Javier Miranda <miranda@adacore.com>
4734
4735 * exp_disp.adb (Make_DT): Avoid the generation of the OSD_Table
4736 when compiling under ZFP runtime.
4737
4738 2009-04-07 Robert Dewar <dewar@adacore.com>
4739
4740 * g-comlin.adb: Minor reformatting
4741
4742 2009-04-07 Thomas Quinot <quinot@adacore.com>
4743
4744 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
4745 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
4746 g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads, g-sothco.ads:
4747 Remove dynamic allocation of Fd_Set in Socket_Set_Type objects.
4748
4749 2009-04-07 Robert Dewar <dewar@adacore.com>
4750
4751 * gnat_ugn.texi: Document -gnatDnn/-gnatGnn
4752
4753 * opt.ads (Sprint_Line_Limit): New parameter
4754
4755 * sprint.adb: Usa Sprint_Line_Limit instead of Line_Limit throughout
4756
4757 * switch-c.adb: Recognize -gnatDnnn and -gnatGnnn switches
4758
4759 * usage.adb: Output information for -gnatGnn -gnatDnn
4760
4761 2009-04-07 Robert Dewar <dewar@adacore.com>
4762
4763 * make.adb: Minor reformatting
4764
4765 2009-04-07 Robert Dewar <dewar@adacore.com>
4766
4767 * mlib-tgt-specific-vms-alpha.adb: Minor reformatting
4768
4769 2009-04-07 Robert Dewar <dewar@adacore.com>
4770
4771 * mlib-tgt-specific-vms-ia64.adb: Minor reformatting
4772
4773 2009-04-07 Robert Dewar <dewar@adacore.com>
4774
4775 * checks.adb:
4776 Remove Assume_Valid parameter from In_Subrange_Of calls
4777
4778 * sem_eval.adb:
4779 (Is_Subrange_Of): Remove Assume_Valid parameter, not needed
4780 (Is_In_Range): Remove incorrect use of Assume_Valid
4781 (Is_Out_Of_Range): Remove incorrect use of Assume_Valid
4782
4783 * sem_eval.ads:
4784 (Is_Subrange_Of): Remove Assume_Valid parameter, not needed
4785 (Is_In_Range): Documentation cleanup
4786 (Is_Out_Of_Range): Documentation cleanup
4787
4788 * gnat_rm.texi:
4789 Add documentation for Assume_No_Invalid_Values pragma
4790
4791 * sem_ch12.adb: Minor reformatting
4792
4793 * sem_ch6.adb: (Check_Conformance): Avoid cascaded errors
4794
4795 * sem_prag.adb: Improve error message.
4796
4797 * gnatchop.adb, osint.ads, sinput.adb, sinput.ads, styleg.adb:
4798 LF/CR no longer recognized as line terminator
4799
4800 * switch.ads: Minor documentation improvement
4801
4802 * vms_data.ads: Minor reformatting
4803
4804 2009-04-07 Robert Dewar <dewar@adacore.com>
4805
4806 * checks.adb (Determine_Range): Add Assume_Valid parameter
4807
4808 * checks.ads (Determine_Range): Add Assume_Valid parameter
4809
4810 * errout.adb (Error_Msg_NEL): Use Suppress_Loop_Warnings rather than
4811 Is_Null_Loop to suppress warnings in a loop body.
4812
4813 * exp_ch4.adb:
4814 (Rewrite_Comparison): Major rewrite to accomodate invalid values
4815
4816 * exp_ch5.adb:
4817 (Expand_N_Loop_Statement): Delete loop known not to execute
4818
4819 * opt.ads:
4820 (Assume_No_Invalid_Values): Now set to False, and as documented, this
4821 fully enables the proper handling of invalid values.
4822
4823 * sem_attr.adb:
4824 New calling sequence for Is_In_Range
4825
4826 * sem_ch5.adb:
4827 (Analyze_Iteration_Scheme): Accomodate possible invalid values
4828 in determining if a loop range is null.
4829
4830 * sem_eval.adb:
4831 (Is_In_Range): Add Assume_Valid parameter
4832 (Is_Out_Of_Range): Add Assume_Valid_Parameter
4833 (Compile_Time_Compare): Major rewrite to accomodate invalid values and
4834 also to do more accurate and complete range analysis, catching more
4835 cases.
4836
4837 * sem_eval.ads:
4838 (Is_In_Range): Add Assume_Valid parameter
4839 (Is_Out_Of_Range): Add Assume_Valid_Parameter
4840
4841 * sem_util.adb:
4842 New calling sequence for Is_In_Range
4843
4844 * sinfo.adb:
4845 (Suppress_Loop_Warnings): New flag
4846
4847 * sinfo.ads:
4848 (Is_Null_Loop): Update documentation
4849 (Suppress_Loop_Warnings): New flag
4850
4851 * gnat_ugn.texi: Document -gnatB switch
4852
4853 2009-04-07 Arnaud Charlet <charlet@adacore.com>
4854
4855 * gnatvsn.ads: Bump version number.
4856
4857 2009-04-07 Thomas Quinot <quinot@adacore.com>
4858
4859 * exp_ch3.adb: Minor rewording (comments)
4860
4861 2009-04-07 Robert Dewar <dewar@adacore.com>
4862
4863 * exp_disp.adb: Minor reformatting
4864
4865 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4866
4867 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Test the
4868 underlying type.
4869 * gcc-interface/trans.c (lvalue_required_p): Likewise.
4870
4871 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4872
4873 * gcc-interface/trans.c (Attribute_to_gnu) <Max_Size_In_Storage_Elmts>:
4874 Do not convert the result. Remove obsolete comment.
4875
4876 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4877
4878 * gcc-interface/trans.c (establish_gnat_vms_condition_handler): Clear
4879 DECL_CONTEXT.
4880 (Subprogram_Body_to_gnu): Fix pasto.
4881
4882 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4883
4884 * gcc-interface/gigi.h (standard_datatypes): Remove ADT_void_type_decl.
4885 (void_type_decl_node): Remove.
4886 (init_gigi_decls): Likewise.
4887 (gnat_install_builtins): Declare.
4888 (record_builtin_type): Likewise.
4889 (create_type_stub_decl): Likewise.
4890 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Void>: Use void_type.
4891 (gnat_to_gnu_entity) <E_Array_Type>: Make fat and thin pointer types
4892 artificial.
4893 <E_Array_Subtype>: Use the index types, not only their name, in the
4894 record giving the names of the bounds, if any.
4895 For a packed array type, make it artificial only if the base type
4896 was artificial as well. Remove redundant statement.
4897 (gnat_to_gnu_entity) <E_Incomplete_Type>: Do not create TYPE_DECL for
4898 dummy types.
4899 Use create_type_stub_decl to build the TYPE_STUB_DECL of types.
4900 (rest_of_type_decl_compilation_no_defer): Likewise.
4901 * gcc-interface/misc.c (gnat_printable_name): Add missing guard.
4902 * gcc-interface/utils.c (make_dummy_type): Always create TYPE_STUB_DECL
4903 and use create_type_stub_decl to build it.
4904 (gnat_pushdecl): Rewrite condition.
4905 (gnat_install_builtins): Remove bogus declaration.
4906 (record_builtin_type): New function.
4907 (finish_record_type): Use create_type_stub_decl to build TYPE_STUB_DECL
4908 of types.
4909 (create_type_stub_decl): New function.
4910 (create_type_decl): Assert that the type is not dummy. If the type
4911 hasn't been named yet, equate the TYPE_STUB_DECL to the created node.
4912 (build_vms_descriptor32): Do not create TYPE_DECL for the descriptor.
4913 (build_vms_descriptor): Likewise.
4914 (init_gigi_decls): Delete and move bulk of code to...
4915 * gcc-interface/trans.c (gigi): ...here. Use record_builtin_type.
4916 (emit_range_check): Add gnat_node parameter.
4917 (emit_index_check): Likewise.
4918 (emit_check): Likewise.
4919 (build_unary_op_trapv): Likewise.
4920 (build_binary_op_trapv): Likewise.
4921 (convert_with_check): Likewise.
4922 (Attribute_to_gnu): Adjust calls for above changes.
4923 (call_to_gnu): Likewise.
4924 (gnat_to_gnu): Likewise.
4925 (assoc_to_constructor): Likewise.
4926 (pos_to_constructor): Likewise.
4927 (Sloc_to_locus): Set BUILTINS_LOCATION for Standard_Location nodes.
4928 (process_type): Do not create TYPE_DECL for dummy types.
4929
4930 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4931
4932 * gcc-interface/decl.c (gnat_to_gnu_entity): Reorder local variables.
4933 * gcc-interface/trans.c: Fix formatting throughout. Fix comments.
4934 * gcc-interface/utils.c: Fix comments.
4935
4936 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4937
4938 * gcc-interface/decl.c (compile_time_known_address_p): Rewrite and
4939 move around.
4940 (gnat_to_gnu_type): Move around.
4941 (get_unpadded_type): Likewise.
4942 * gcc-interface/utils.c (update_pointer_to): Use synthetic macro.
4943 Tidy comments.
4944
4945 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
4946
4947 * gcc-interface/trans.c (check_for_eliminated_entity): New function.
4948 (Attribute_to_gnu): Invoke it for Access- and Address-like attributes.
4949 (call_to_gnu): Invoke it instead of manually checking.
4950
4951 2009-04-04 Eric Botcazou <ebotcazou@adacore.com>
4952
4953 * gcc-interface/utils.c (finish_record_type): Force structural equality
4954 checks if the record type is discriminated.
4955
4956 2009-03-31 Eric Botcazou <ebotcazou@adacore.com>
4957
4958 * system-linux-alpha.ads (Functions_Return_By_DSP): Remove.
4959 * system-linux-mips.ads (Functions_Return_By_DSP): Likewise.
4960 * system-linux-mipsel.ads (Functions_Return_By_DSP): Likewise.
4961 * system-linux-s390.ads (Functions_Return_By_DSP): Likewise.
4962 * system-linux-s390x.ads (Functions_Return_By_DSP): Likewise.
4963 * system-linux-sparc.ads (Functions_Return_By_DSP): Likewise.
4964 * system-linux-sparcv9.ads (Functions_Return_By_DSP): Likewise.
4965
4966 2009-03-30 Paolo Bonzini <bonzini@gnu.org>
4967
4968 * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW instead
4969 of TREE_CONSTANT_OVERFLOW.
4970
4971 2009-03-30 Joseph Myers <joseph@codesourcery.com>
4972
4973 PR rtl-optimization/323
4974 * gcc-interface/misc.c (gnat_post_options): Set
4975 flag_excess_precision_cmdline. Give an error for
4976 -fexcess-precision=standard for processors where the option is
4977 significant.
4978
4979 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
4980
4981 PR c/39323
4982 * gcc-interface/utils.c (create_field_decl): Use "unsigned int"
4983 on bit_align.
4984
4985 2009-03-11 Olivier Hainque <hainque@adacore.com>
4986
4987 * gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range
4988 checks processing, remove unintended TREE_TYPE walk on index type.
4989
4990 2009-03-01 Eric Botcazou <ebotcazou@adacore.com>
4991
4992 PR ada/39264
4993 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no
4994 call make_packable_type on fat pointer types.
4995 <E_Array_Subtype>: Likewise.
4996 <E_Record_Subtype>: Call make_packable_type on all record types
4997 except for fat pointer types.
4998 (make_packable_type): Likewise.
4999 (gnat_to_gnu_field): Likewise.
5000
5001 2009-02-28 Eric Botcazou <ebotcazou@adacore.com>
5002
5003 * gcc-interface/Makefile.in (cygwin/mingw): Revert accidental
5004 EH_MECHANISM change made on 2007-12-06.
5005
5006 2009-02-26 Andreas Schwab <schwab@suse.de>
5007
5008 PR ada/39172
5009 * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
5010 * gcc-interface/Makefile.in: Change all uses of $(srcdir),
5011 $(fsrcdir) and $(fsrcpfx) to add ada subdir.
5012 (AWK): Substitute.
5013 (target_cpu_default): Substitute.
5014
5015 2009-02-25 Laurent GUERBY <laurent@guerby.net>
5016
5017 PR ada/39221
5018 * a-teioed.adb (Expand): Fix Result overflow.
5019
5020 2009-02-25 Laurent GUERBY <laurent@guerby.net>
5021
5022 * gcc-interface/Makefile.in: Fix multilib handling for
5023 sparc64-linux.
5024
5025 2009-02-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5026
5027 * s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6.
5028
5029 2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
5030
5031 * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi.
5032
5033 2009-02-16 Eric Botcazou <ebotcazou@adacore.com>
5034
5035 * gcc-interface/deftarg.c: Remove.
5036
5037 2009-02-10 Olivier Hainque <hainque@adacore.com>
5038 Eric Botcazou <ebotcazou@adacore.com>
5039
5040 * gcc-interface/decl.c (enum alias_set_op): New enumeration.
5041 (copy_alias_set): Rename into...
5042 (relate_alias_sets): ...this. Add third parameter OP. Retrieve the
5043 underlying array of unconstrained arrays for the new type as well.
5044 If the old and new alias sets don't conflict, make one a subset of
5045 the other as per the OP parameter.
5046 (gnat_to_gnu_entity): Adjust calls to copy_alias_set.
5047 <E_Record_Type>: Do not copy the alias set for derived types.
5048 For all types, make the alias set of derived types a superset of
5049 that of their parent type.
5050 (make_aligning_type): Adjust calls to copy_alias_set.
5051 (make_packable_type): Likewise.
5052 * gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>:
5053 Check for alias set conflict instead of strict equality to issue the
5054 warning.
5055
5056 2009-02-09 Eric Botcazou <ebotcazou@adacore.com>
5057
5058 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>:
5059 Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate.
5060 (copy_alias_set): Assert that arrays have the same aliasing settings.
5061 (substitute_in_type) <ARRAY_TYPE>: Copy TYPE_NONALIASED_COMPONENT.
5062
5063 2009-02-08 Eric Botcazou <ebotcazou@adacore.com>
5064
5065 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>:
5066 Set TYPE_NONALIASED_COMPONENT on the array type.
5067
5068 2009-01-31 Laurent GUERBY <laurent@guerby.net>
5069
5070 * gcc-interface/Makefile.in: Fix mipsel linux handling.
5071
5072 2009-01-16 Jakub Jelinek <jakub@redhat.com>
5073
5074 * gcc-interface/Makefile.in: Fix multilib handling for
5075 powerpc64-linux.
5076
5077 2009-01-12 Eric Botcazou <ebotcazou@adacore.com>
5078
5079 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip
5080 only useless conversions around renamed objects.
5081
5082 2009-01-11 Eric Botcazou <ebotcazou@adacore.com>
5083
5084 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put
5085 the _Tag field before any discriminants in the field list.
5086 (components_to_record): Remove obsolete comment.
5087
5088
5089 \f
5090 Copyright (C) 2009 Free Software Foundation, Inc.
5091
5092 Copying and distribution of this file, with or without modification,
5093 are permitted in any medium without royalty provided the copyright
5094 notice and this notice are preserved.