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