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