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