1 2009-06-20 Ed Schonberg <schonberg@adacore.com>
3 * sem_ch3.adb (Is_OK_For_Limited_Init): An unchecked conversion of a
4 function call is a legal expression to initialize a limited object.
6 * exp_ch3.adb: Rename various freeze operations that perform expansion
7 actions, to prevent confusion with subprograms in the freeze package.
9 2009-06-20 Ed Schonberg <schonberg@adacore.com>
11 * sem.adb (Walk_Library_Units): Check instantiations first.
13 * sem_ch6.adb (Analyze_Subprogram_Declaration): Mark a subprogram as a
14 private primitive if it is a function with a controlling result that is
15 a type extension with progenitors.
17 * exp_ch9.adb (Build_Wrapper_Spec, Build_Wrapper_Body): Handle properly
18 a primitive operation of a synchronized tagged type that has a
21 2009-06-20 Thomas Quinot <quinot@adacore.com>
23 * einfo.ads: Fix typo.
25 2009-06-20 Ed Falis <falis@adacore.com>
27 * s-vxwext.ads, s-vxwext-kernel.adb: Complete previous change.
29 2009-06-19 Eric Botcazou <ebotcazou@adacore.com>
31 * gcc-interface/trans.c (emit_check): Do not wrap up the result
33 (protect_multiple_eval): Always protect complex expressions.
35 2009-06-19 Emmanuel Briot <briot@adacore.com>
37 * prj-ext.adb, makeutl.adb, makeutl.ads (Executable_Prefix_Path): Now
38 make sure we always return a name ending with a path separator.
40 2009-06-19 Javier Miranda <miranda@adacore.com>
42 * sem_ch12.adb (Instantiate_Package_Body, Instantiate_Subprogram_Body):
43 Save and restore the visibility of the parent when installed.
45 2009-06-19 Jose Ruiz <ruiz@adacore.com>
47 * s-tposen.ads (Protection_Entry): Replace fields L, Ceiling, and Owner
48 by Common which contains all these fields.
50 * s-tposen.adb (Initialize_Protection_Entry, Lock_Entry,
51 Lock_Read_Only_Entry, Timed_Protected_Single_Entry_Call, Unlock_Entry):
52 Remove code duplication in this package by means of calling the
53 equivalent code in s-taprob.
55 2009-06-19 Robert Dewar <dewar@adacore.com>
57 * a-einuoc.ads: Minor reformatting
59 2009-06-19 Ed Falis <falis@adacore.com>
61 * a-einuoc.ads, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.adb,
62 s-vxwext-kernel.ads, s-vxwext-rtp.ads: Code clean up.
64 2009-06-19 Eric Botcazou <ebotcazou@adacore.com>
66 * einfo.ads (Handling of Type'Size Values): Fix Object_Size values.
68 2009-06-19 Robert Dewar <dewar@adacore.com>
70 * a-nudira.adb (Need_64): Handle negative ranges and also dynamic
73 * checks.adb (Determine_Range): Move the test for generic types later.
75 * sem_eval.adb (Compile_Time_Compare): Improve circuitry to catch more
77 (Eval_Relational_Op): Fold more cases including string compares
79 * sem_util.ads, sem_util.adb (References_Generic_Formal_Type): New
82 2009-06-19 Robert Dewar <dewar@adacore.com>
84 * sem_type.ads, sem_ch12.adb: Minor reformatting
86 * s-wchcnv.adb (UTF_32_To_Char_Sequence): Handle invalid data properly
88 2009-06-19 Ed Schonberg <schonberg@adacore.com>
90 * exp_ch9.adb (Build_Wrapper_Spec): Handle properly an overridden
91 primitive operation of a rivate extension whose controlling argument
94 * sem.adb (Walk_Library_Units): exclude generic package declarations
97 2009-06-19 Thomas Quinot <quinot@adacore.com>
99 * i-vxwoio.ads: Add comments
101 2009-06-19 Thomas Quinot <quinot@adacore.com>
103 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
104 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
105 g-socthi.adb, g-socthi.ads, g-socket.adb, g-sothco.ads
106 (GNAT.Sockets.Thin.C_Ioctl): Rename to Socket_Ioctl.
107 (GNAT.Sockets.Thin.Socket_Ioctl): Use new function
108 Thin_Common.Socket_Ioctl.
109 (GNAT.Sockets.Thin_Common.Socket_Ioctl): Binding to new C wrapper
111 (__gnat_socket_ioctl): Wrapper for ioctl(2) called with a single int*
112 argument after the file descriptor and request code.
114 2009-06-19 Robert Dewar <dewar@adacore.com>
116 * checks.adb: Minor reformatting
118 2009-06-19 Jose Ruiz <ruiz@adacore.com>
120 * env.c (__gnat_environ): RTX does not support this functionality.
122 2009-06-19 Ed Schonberg <schonberg@adacore.com>
124 * sem.adb (Walk_Library_Items): Include bodies in the list of units to
125 traverse, to account for front-end inlining and instantiations in a
126 spec or in the main unit.
128 2009-06-19 Robert Dewar <dewar@adacore.com>
130 * checks.adb (Determine_Range): Do not attempt to get range of generic
133 2009-06-19 Sergey Rybin <rybin@adacore.com>
135 * gnat_ugn.texi, vms_data.ads: Add the documentation for the new
136 gnatmetric option for generating the schema file for gnatmetric XML
137 output. Add corresponding VMS qualifier.
139 2009-06-19 Robert Dewar <dewar@adacore.com>
141 * g-cgi.adb: Minor reformatting
143 2009-06-19 Eric Botcazou <ebotcazou@adacore.com>
145 * s-intman-solaris.adb (Notify_Exception): Do not discriminate on the
146 signal code for SIGFPE and raise Program_Error for SIGILL.
148 * s-osinte-solaris.ads: Remove signal code constants for SIGFPE.
150 2009-06-19 Ed Schonberg <schonberg@adacore.com>
152 * sem_ch8.adb (Nvis_Messages): Do not list an entity declared in a
153 generic package if there is a visibility candidate that is declared in
156 2009-06-18 Olivier Hainque <hainque@adacore.com>
158 * system-aix64.ads: New file.
159 * gcc-interface/Makefile.in (aix LIBGNAT_TARGET_PAIRS): Use the
160 64bit system.ads for ppc64 multilib variants.
162 2009-06-16 Robert Dewar <dewar@adacore.com>
163 Olivier Hainque <hainque@adacore.com>
165 Relax constraints on Machine_Attribute argument types:
166 * sem_prag.adb (Check_Arg_Is_Static_Expression): Allow for
168 (Analyze_Attribute, case Machine_Attribute): Allow any type for arg 3.
169 * gcc-interface/decl.c (prepend_attributes): Accept static
170 expressions of any type as attribute arguments, not only string
172 * gnat_rm.texi (pragma Machine_Attribute section): Adjust to reflect
173 the relaxation of the restriction on the Info argument type.
175 2009-06-13 Aldy Hernandez <aldyh@redhat.com>
177 * gcc-interface/utils.c (record_builtin_type): Pass location
178 argument to build_decl.
179 (create_type_stub_decl): Same.
180 (create_type_decl): Same.
181 (create_var_decl_1): Same.
182 (create_field_decl): Same.
183 (create_param_decl): Same.
184 (create_label_decl): Same.
185 (create_subprog_decl): Same.
186 * gcc-interface/decl.c (gnat_to_gnu_entity): Same.
187 * gcc-interface/trans.c (Case_Statement_to_gnu): Pass location
188 argument to create_artificial_label.
189 (Loop_Statement_to_gnu): Same.
190 (Subprogram_Body_to_gnu): Same.
191 (gnat_gimplify_stmt): Same.
193 2009-06-11 Richard Henderson <rth@redhat.com>
195 * gcc-interface/misc.c (gnat_handle_option): Rename OPT_gdwarf_ to
198 2009-06-11 Ed Schonberg <schonberg@adacore.com>
200 * sem_attr.adb (Resolve_Attribute, case 'access): Add missing
201 accessibiliy check on access_to_subprogram in the context of an
202 anonymous access that is not an access parameter.
204 2009-06-11 Eric Botcazou <ebotcazou@adacore.com>
206 * tracebak.c (i386 section): Define IS_BAD_PTR on Solaris.
208 2009-06-11 Quentin Ochem <ochem@adacore.com>
210 * sem_warn.adb, scng.adb, sfn_scan.adb, freeze.adb: Add CODEFIX
211 comments for message handled by GPS.
213 2009-06-11 Matthew Gingell <gingell@adacore.com>
215 * adaint.c: Use fopen64 instead of fopen on platforms where we know
218 2009-06-11 Pascal Obry <obry@adacore.com>
220 * g-cgi.ads: Fix comment typo.
222 * g-cgi.adb: Properly decode "+" in CGI parameters as spaces.
224 2009-06-10 Eric Botcazou <ebotcazou@adacore.com>
226 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Use
227 a reference to the original type for the type of the field of the
229 (maybe_pad_type): Likewise.
231 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Factor
232 common predicate and remove redundant setting of TYPE_BY_REFERENCE_P.
233 Pass correctly typed arguments to create_field_decl.
234 <E_Record_Subtype>: Set BLKmode for tagged and limited types in the
235 case of contrained discriminants as well. Use the padded base type
236 in the other case as well. Rename temporary variable. Tweak test.
237 Factor common access pattern. Set GNU_SIZE only once.
239 2009-06-09 Olivier Hainque <hainque@adacore.com>
241 * gcc-interface/utils2.c (build_call_alloc_dealloc_proc): New
242 helper for build_call_alloc_dealloc with arguments to be interpreted
243 identically. Process the case where a GNAT_PROC to call is provided.
244 (maybe_wrap_malloc): New helper for build_call_alloc_dealloc, to build
245 and return an allocator for DATA_SIZE bytes aimed at containing a
246 DATA_TYPE object, using the default __gnat_malloc allocator. Honor
247 DATA_TYPE alignments greater than what the latter offers.
248 (maybe_wrap_free): New helper for build_call_alloc_dealloc, to
249 release a DATA_TYPE object designated by DATA_PTR using the
250 __gnat_free entry point.
251 (build_call_alloc_dealloc): Expect object data type instead of naked
252 alignment constraint. Use the new helpers.
253 (build_allocator): Remove special processing for the super-aligned
254 case, now handled by build_call_alloc_dealloc. Pass data
255 type instead of the former alignment argument, as expected by the new
257 * gcc-interface/gigi.h (build_call_alloc_dealloc): Adjust prototype
259 * gcc-interface/trans.c (gnat_to_gnu) <case N_Free_Statement>:
260 Remove special processing for the super-aligned case, now handled
261 by build_call_alloc_dealloc. Pass data type instead of the former
262 alignment argument, as expected by the new interface.
264 2009-06-08 Alexandre Oliva <aoliva@redhat.com>
266 * lib-writ.adb (flag_compare_debug): Import.
267 (Write_ALI): Skip during -fcompare-debug-second.
269 2009-06-03 Eric Botcazou <ebotcazou@adacore.com>
271 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When
272 adjusting the discriminant nodes in an extension, use the full view
273 of the parent subtype if it is of a private kind.
275 2009-06-03 Eric Botcazou <ebotcazou@adacore.com>
277 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Add the
278 _Parent field, if any, to the record before adding the other fields.
279 <E_Record_Subtype>: Put the _Controller field before the other fields
280 except for the _Tag or _Parent fields.
281 (components_to_record): Likewise. Retrieve the _Parent field from the
284 2009-06-03 Eric Botcazou <ebotcazou@adacore.com>
286 * gcc-interface/decl.c (substitution_list): Rename to build_subst_list,
287 remove unused parameter and simplify.
288 (gnat_to_gnu_entity) <E_Record_Type>: Do not set TYPE_FIELDS. Factor
289 common predicate. Rewrite loop for clarity. Use GNU_TYPE directly
290 as context for all discriminants. Fix formatting nits.
291 <E_Record_Subtype>: Add cosmetic 'break'. Test Has_Discriminants
292 before Discriminant_Constraint. Adjust for above renaming. Do not
293 set GNU_TYPE more than once.
294 (elaborate_entity): Test Has_Discriminants on the entity and use
295 Implementation_Base_Type.
296 (components_to_record): Rename component_list to gnat_component_list.
297 Retrieve the _Parent field from the list. Fix nits in comments.
298 Clarify logic in loop. Pass correct arguments to create_field_decl.
300 2009-06-02 Eric Botcazou <ebotcazou@adacore.com>
302 * gcc-interface/Make-lang.in: Fix formatting.
304 2009-06-01 Olivier Hainque <hainque@adacore.com>
305 Eric Botcazou <ebotcazou@adacore.com>
307 * gcc-interface/utils.c (convert) <CONSTRUCTOR case>: When converting
308 to the packable version of the type, clear TREE_STATIC/TREE_CONSTANT
309 on the result if at least one of the input fields couldn't be output
310 as a static constant any more.
312 2009-06-01 Olivier Hainque <hainque@adacore.com>
313 Eric Botcazou <ebotcazou@adacore.com>
315 * gcc-interface/utils2.c (gnat_build_constructor): Factor
316 out code. Use initializer_constant_valid_for_bitfield_p and
317 CONSTRUCTOR_BITFIELD_P for bit-fields.
319 2009-05-26 Ian Lance Taylor <iant@google.com>
321 * gcc-interface/Makefile.in (COMPILER): Define.
322 (COMPILER_FLAGS, ALL_COMPILERFLAGS): Define.
323 (.c.o, cio.o, init.o, initialize.o, targext.o): Use $(COMPILER).
324 (seh_init.o, tracebak.o): Likewise.
325 * gcc-interface/Make-lang.in (ada/targext.o): Likewise.
326 (ada/cio.o, ada/init.o, ada/initialize.o, ada/raise.o): Likewise.
327 (ada/tracebak.o, ada/cuintp.o, ada/decl.o, ada/misc.o): Likewise.
328 (ada/targtyps.o, ada/trans.o, ada/utils.o): Likewise.
329 (ada/utils2.o): Likewise.
331 2009-05-24 Olivier Hainque <hainque@adacore.com>
333 * switch.adb (Is_Internal_GCC_Switch, Switch_Last): Bodies of ...
334 * switch.ads (Is_Internal_GCC_Switch, Switch_Last): New functions.
335 Add -auxbase variants to the list of recognized internal switches.
336 * back_end.adb (Scan_Back_End_Switches): Use the new functions and
338 * lib.ads: Make comment on internal GCC switches more general.
339 * gcc-interface/lang-specs.h (specs for Ada): Pass -auxbase variants
342 2009-05-23 Eric Botcazou <ebotcazou@adacore.com>
344 * gcc-interface/misc.c (gnat_get_subrange_bounds): Fix thinko.
346 2009-05-23 Eric Botcazou <ebotcazou@adacore.com>
348 * gcc-interface/decl.c (set_rm_size): Bypass the check for packed array
351 2009-05-23 Eric Botcazou <ebotcazou@adacore.com>
353 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not modify the
354 original type because of the alignment when there is an address clause.
356 2009-05-20 Eric Botcazou <ebotcazou@adacore.com>
358 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: When
359 discriminants affect the shape of the subtype, retrieve the GCC type
360 directly from the original field if the GNAT types for the field and
361 the original field are the same.
363 2009-05-15 Eric Botcazou <ebotcazou@adacore.com>
365 * gcc-interface/ada-tree.h (TYPE_GCC_MIN_VALUE, TYPE_GCC_MAX_VALUE):
367 (TYPE_RM_VALUES): Likewise.
368 (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUES.
369 (SET_TYPE_RM_SIZE): New macro.
370 (TYPE_RM_MIN_VALUE, TYPE_RM_MAX_VALUE): Likewise.
371 (SET_TYPE_RM_SIZE, SET_TYPE_RM_MAX_VALUE): Likewise.
372 (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Redefine.
373 * gcc-interface/gigi.h (create_range_type): Declare.
374 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>
375 Use SET_TYPE_RM_MAX_VALUE to set the upper bound on the UMT type.
376 <E_Signed_Integer_Subtype>: Build a regular integer type first and
377 then set the RM bounds. Use SET_TYPE_RM_SIZE to set the RM size.
378 <E_Floating_Point_Subtype>: Build a regular floating-point type first
379 and then set the RM bounds.
380 <E_Array_Type>: Use create_range_type instead of build_range_type.
381 <E_Array_Subtype>: Build a regular integer type first and then set
382 the RM bounds for the extra subtype.
383 <E_String_Literal_Subtype>: Use create_range_type instead of
385 <all>: Set the RM bounds for enumeration types and the GCC bounds for
386 floating-point types.
387 (set_rm_size): Use SET_TYPE_RM_SIZE to set the RM size.
388 (make_type_from_size) <INTEGER_TYPE>: Use SET_TYPE_RM_{MIN,MAX}_VALUE
389 to set the bounds. Use SET_TYPE_RM_SIZE to set the RM size.
390 (substitute_in_type) <INTEGER_TYPE>: Deal with GCC bounds for domain
391 types and with RM bounds for subtypes.
392 * gcc-interface/misc.c (LANG_HOOKS_GET_SUBRANGE_BOUNDS): Define.
393 (gnat_print_type) <REAL_TYPE>: New case.
394 <ENUMERAL_TYPE>: Fall through to above case.
395 (gnat_get_subrange_bounds): New function.
396 * gcc-interface/trans.c (add_decl_expr): Mark the trees rooted as
397 TYPE_RM_MIN_VALUE and TYPE_RM_MAX_VALUE, if any.
398 * gcc-interface/utils.c (gnat_init_decl_processing): Use precision 8
399 for booleans. Adjust and use SET_TYPE_RM_SIZE to set the RM size.
400 (create_range_type): New function.
401 (create_param_decl): Build a regular integer type first and then set
402 the RM bounds for the extra subtype.
403 (unchecked_convert): Remove kludge for 'Valid.
404 * gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Convert
405 the index to sizetype instead of TYPE_DOMAIN.
407 2009-05-14 Eric Botcazou <ebotcazou@adacore.com>
409 * gcc-interface/decl.c (elaborate_expression_1): Remove GNAT_EXPR
410 parameter and move check for static expression to...
411 (elaborate_expression): ...here. Adjust call to above function.
412 (gnat_to_gnu_entity): Likewise for all calls. Use correct arguments
413 in calls to elaborate_expression.
414 (elaborate_entity): Likewise.
415 (substitution_list): Likewise.
416 (maybe_variable): Fix formatting.
417 (substitute_in_type) <REAL_TYPE>: Merge with INTEGER_TYPE case and add
419 * gcc-interface/trans.c (protect_multiple_eval): Minor cleanup.
421 2009-05-07 Arnaud Charlet <charlet@adacore.com>
423 * gcc-interface/Make-lang.in: Update dependencies.
425 2009-05-06 Laurent GUERBY <laurent@guerby.net>
427 * s-linux.ads, s-linux-alpha.ads, s-linux-hppa.ads, osinte-linux.ads:
428 Define sa_handler_pos.
429 * s-osinte-linux.ads: Use it.
430 * s-linux-mipsel.ads: New.
431 * system-linux-mips64el.ads: New.
432 * gcc-interface/Makefile.in: Multilib handling for mipsel-linux and
435 2009-05-06 Arnaud Charlet <charlet@adacore.com>
437 * exp_ch5.adb, exp_util.adb, exp_attr.adb, sem_util.adb, sem_res.adb,
438 targparm.adb, targparm.ads, exp_ch4.adb, exp_ch6.adb, exp_disp.adb,
439 opt.ads, exp_aggr.adb, exp_intr.adb, sem_disp.adb, exp_ch3.adb
440 (Tagged_Type_Expansion): New flag.
441 Replace use of VM_Target related to tagged types expansion by
442 Tagged_Type_Expansion, since tagged type expansion is not necessarily
443 linked to VM targets.
445 2009-05-06 Robert Dewar <dewar@adacore.com>
447 * sem_attr.adb: Add processing for Standard'Compiler_Version
449 * sinput.adb (Expr_Last_Char): Fix some copy-paste errors for paren
451 (Expr_First_Char): Add ??? comment that paren skipping needs work
452 (Expr_Last_Char): Add ??? comment that paren skipping needs work
454 * exp_attr.adb: Add processing for Compiler_Version
456 * sem_attr.adb: New attribute Compiler_Version
458 * snames.ads-tmpl: Add entries for Compiler_Version attribute
460 * gnat_rm.texi: Document Compiler_Version attribute
462 2009-05-06 Robert Dewar <dewar@adacore.com>
464 * errout.adb: Minor reformatting
466 * scng.adb, sem_prag.adb, par-ch4.adb, sem_res.adb, par-ch6.adb,
467 sem_ch6.adb, par-prag.adb, sem_ch8.adb, sem_warn.adb, par-util.adb,
468 styleg.adb: Add stylized comments to error messages that are included
469 in the codefix circuitry of IDE's such as GPS.
471 2009-05-06 Sergey Rybin <rybin@adacore.com>
473 * gnat_ugn.texi: For Misnamed_Identifiers rule all description of the
474 new form of the rule parameter that allows to specify the suffix for
475 access-to-access type names.
477 2009-05-06 Robert Dewar <dewar@adacore.com>
479 * sem_warn.adb (Warn_On_Useless_Assignment): Avoid false negative for
480 out parameter assigned when exception handlers are present.
482 * sem_ch5.adb (Analyze_Exit_Statement): Kill current value last
485 * par-ch9.adb, sem_aggr.adb, par-endh.adb, sem_res.adb, par-ch6.adb,
486 sinput-l.adb, par-load.adb, errout.ads, sem_ch4.adb, lib-load.adb,
487 prj-dect.adb, par-ch12.adb, sem_ch8.adb, par-util.adb, par-ch3.adb,
488 par-tchk.adb, par-ch5.adb: This patch adds stylized comments to error
489 messages that are included in the codefix circuitry of IDE's such as
492 * sinput.ads, sinput.adb (Expr_First_Char): New function
493 (Expr_Last_Char): New function
495 2009-05-06 Sergey Rybin <rybin@adacore.com>
497 * gnat_ugn.texi: Add subsection for Exits_From_Conditional_Loops rule
498 Add formal definition for extra exit point metric
500 2009-05-06 Pascal Obry <obry@adacore.com>
502 * adaint.c: Support for setting attributes on unicode filename on
505 2009-05-06 Robert Dewar <dewar@adacore.com>
507 * sem_warn.adb: Minor reformatting
509 2009-05-06 Javier Miranda <miranda@adacore.com>
511 * sem_prag.adb (Process_Import_Or_Interface): Imported CPP types must
512 not have discriminants or components with default expressions.
513 (Analyze_Pragma): For pragma CPP_Class check that imported types
514 have no discriminants and components have no default expression.
516 * sem_aggr.adb (Resolve_Aggr_Expr): Add missing check on wrong use of
517 class-wide types in the expression of a record component association.
519 2009-05-06 Sergey Rybin <rybin@adacore.com>
521 * vms_data.ads: Add qualifier for gnatmetric extra exit points metric
523 * gnat_ugn.texi: Add description for the new extra exit points metric
524 (gnatmetric section).
526 2009-05-06 Robert Dewar <dewar@adacore.com>
528 * s-fileio.adb: Minor comment update
530 * sem_ch8.adb: Minor reformatting
532 * exp_ch3.adb: Update comments.
534 2009-05-06 Tristan Gingold <gingold@adacore.com>
536 * init.c, s-osinte-darwin.ads: Reduce alternate stack size
538 2009-05-06 Arnaud Charlet <charlet@adacore.com>
540 * gcc-interface/Makefile.in: Update LIBGNAT_TARGET_PAIRS for Xenomai.
541 Fix missing unit for rtp-smp runtime on both ppc and x86 vxworks
543 * gcc-interface/Make-lang.in: Update dependencies
545 2009-05-06 Ed Schonberg <schonberg@adacore.com>
547 * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Revert previous
548 change. The context clause of a generic instance declaration must be
549 preserved until the end of the compilation, because it may have to be
550 installed/removed repeatedly.
551 The latest change to sem.adb ensures that the context of both spec and
552 body of an instance is traversed before the instance itself, making
553 this patch redundant.
555 2009-05-06 Gary Dismukes <dismukes@adacore.com>
557 * sem_aggr.adb: Fix typo.
559 2009-05-06 Thomas Quinot <quinot@adacore.com>
561 * exp_ch3.adb (Expand_N_Object_Declaration): For a controlled object
562 declaration, do not adjust if the declaration is to be rewritten into
565 2009-05-06 Ed Schonberg <schonberg@adacore.com>
567 * sem_ch8.adb (Find_Type): Reject the use of a task type in its own
570 2009-05-06 Bob Duff <duff@adacore.com>
572 * s-fileio.adb (File_IO_Clean_Up_Type): Make this type limited, since
573 otherwise the compiler would be allowed to optimize away the cleanup
576 2009-05-06 Gary Dismukes <dismukes@adacore.com>
578 * gnat_ugn.texi: Fix typo.
580 2009-05-06 Thomas Quinot <quinot@adacore.com>
582 * g-debuti.adb: Minor reformatting
584 * exp_attr.adb: Minor reformatting
586 2009-05-06 Robert Dewar <dewar@adacore.com>
588 * sem_aggr.adb: Minor reformatting.
590 * g-socthi-vms.adb: Minor reformatting
592 2009-05-06 Bob Duff <duff@adacore.com>
594 * g-table.ads, g-table.adb, g-dyntab.ads, g-dyntab.adb:
595 (Append_All): Add Append_All to g-table and g-dyntab, similar to table.
597 2009-05-06 Bob Duff <duff@adacore.com>
599 * gnat_ugn.texi, gnat_rm.texi: Add missing documentation for warnings
602 2009-05-06 Javier Miranda <miranda@adacore.com>
604 * sem_aggr.adb (Valid_Ancestor_Type): Add support for C++ constructors.
605 (Resolve_Extension_Aggregate): Do not reject C++ constructors in
606 extension aggregates.
607 (Resolve_Record_Aggregate): Add support for C++ constructors in
608 extension aggregates.
610 * exp_aggr.adb (Build_Record_Aggr_Code): Add support for C++
611 constructors in extension aggregates.
613 2009-05-06 Robert Dewar <dewar@adacore.com>
615 * freeze.adb (Freeze_Record_Type): Improve error msg for bad size
618 2009-05-06 Thomas Quinot <quinot@adacore.com>
620 * g-socthi-vms.adb (C_Recvmsg, C_Sendmsg): Convert Msg to appropriate
621 packed type, since on OpenVMS, struct msghdr is packed.
623 2009-05-06 Ed Schonberg <schonberg@adacore.com>
625 * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function
626 call returning an unconstrained composite value, create the proper
627 subtype for it, as is done for object dclarations with unconstrained
628 nominal subtypes. Perform this transformation regarless of whether
629 call comes from source.
631 2009-05-06 Robert Dewar <dewar@adacore.com>
633 * freeze.adb (Freeze_Record_Type): Implement Implicit_Packing for
637 Add documentation for pragma Implicit_Packing applied to record
640 2009-05-06 Ed Schonberg <schonberg@adacore.com>
642 * sem.adb (Walk_Library_Items): Place all with_clauses of an
643 instantiation on the spec, because late instance bodies may generate
644 with_clauses for the instance body but are inserted in the instance
647 2009-05-06 Emmanuel Briot <briot@adacore.com>
649 * prj-nmsc.adb (Locate_Directory): Remove unused parameters, and add
650 support for returning the directory even if it doesn't exist. This is
651 used for the object directory, since we are always setting it to a
652 non-null value, and we should set it to an absolute name rather than a
653 relative name for the sake of external tools that might depend on it.
654 (Check_Library_Attributes): When Project.Library_Dir is known, check
655 that the directory exists.
657 2009-05-06 Ed Schonberg <schonberg@adacore.com>
659 * sem_attr.adb (Check_Dereference): If the prefix of an attribute
660 reference is an implicit dereference, do not freeze the designated type
661 if within a default expression or when preanalyzing a pre/postcondtion.
663 2009-05-06 Ed Schonberg <schonberg@adacore.com>
665 * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function
666 call returning an unconstrained composite value, create the proper
667 subtype for it, as is done for object dclarations with unconstrained
670 2009-05-06 Robert Dewar <dewar@adacore.com>
672 * sem_ch13.adb (Check_Constant_Address_Clause): Minor error message
675 * freeze.adb: Minor reformatting
677 2009-05-06 Thomas Quinot <quinot@adacore.com>
679 * sem_ch3.adb (Access_Type_Declaration): An access type whose
680 designated type is a limited view from a limited with clause (flagged
681 From_With_Type) is not itself such a limited view.
683 2009-05-06 Emmanuel Briot <briot@adacore.com>
685 * prj-nmsc.adb: Remove unused variable.
687 * clean.adb, gnatcmd.adb, makeutl.ads, prj-pars.adb, prj-pars.ads,
688 prj-proc.ads, prj.ads, switch-m.adb (Subdirs_Option): Moved to
689 makeutl.ads, since not all users of prj.ads need this.
691 2009-05-06 Javier Miranda <miranda@adacore.com>
693 * exp_aggr.adb (Build_Record_Aggr_Code): Add implicit call to the C++
694 constructor in case of aggregates whose type is a CPP_Class type.
696 2009-05-06 Robert Dewar <dewar@adacore.com>
698 * sem_ch13.adb: Minor comment additions
700 * osint.adb: Minor reformatting
702 2009-05-06 Pascal Obry <obry@adacore.com>
704 * initialize.c: On Windows, keep full pathname to expanded command
707 2009-05-06 Ed Schonberg <schonberg@adacore.com>
709 * sem_aggr.adb (Resolve_Record_Aggregate): If a defaulted component of
710 an aggregate with box default is of a discriminated private type, do
711 not build a subaggregate for it.
712 A proper call to the initialization procedure is generated for it.
714 2009-05-06 Thomas Quinot <quinot@adacore.com>
716 * rtsfind.adb, rtsfind.ads, exp_dist.adb, exp_dist.ads
717 (Exp_Dist.Build_TC_Call, Build_From_Any_Call, Build_To_Any_Call):
718 Use PolyORB strings to represent Ada.Strings.Unbounded_String value;
719 use standard array code for Standard.String.
720 (Exp_Dist): Bump PolyORB s-parint API version to 3.
721 (Rtsfind): New entities TA_Std_String, Unbounded_String.
723 2009-05-06 Robert Dewar <dewar@adacore.com>
725 * g-comlin.ads: Minor reformatting
727 * xoscons.adb: Minor reformatting
729 2009-05-06 Gary Dismukes <dismukes@adacore.com>
731 * sem_aggr.adb (Resolve_Record_Aggregate): In step 5, get the
732 Underlying_Type before retrieving the type definition for gathering
733 components, to account for the case where the type is private.
735 2009-05-06 Tristan Gingold <gingold@adacore.com>
737 * g-comlin.ads: Fix minor typos (Getopt instead of Get_Opt).
739 2009-05-06 Thomas Quinot <quinot@adacore.com>
741 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
742 g-socthi-vxworks.ads, g-socthi-mingw.adb g-socthi-mingw.ads,
743 g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb
744 (GNAT.Sockets.Thin.C_Sendmsg, GNAT.Sockets.Thin.C_Recvmsg,
745 Windows versions): Fix incorrect base
746 address of Iovec (it's Msg_Iov, not Msg_Iov'Address).
747 (GNAT.Sockets.Thin.C_Sendto, GNAT.Sockets.Thin.C_Recvfrom): Use a
748 System.Address for the To parameter instead of a Sockaddr_In_Access, to
749 achieve independance from AF_INET family, and also to allow this
750 parameter to be retrieved from a Msghdr for the Windows case where
751 these routines are used to implement C_Sendmsg and C_Recvmsg.
753 2009-05-06 Bob Duff <duff@adacore.com>
755 * g-expect.adb, g-expect.ads: Minor reformatting
757 * sdefault.ads: Minor comment fix
759 * g-expect-vms.adb: Minor reformatting
761 * table.ads, table.adb (Append_All): New convenience procedure for
762 appending a whole array.
764 * comperr.adb (Compiler_Abort): Mention the -gnatd.n switch in the bug
765 box message. Call Osint.Dump_Source_File_Names to print out the file
766 list, instead of rummaging around in various data structures.
768 * debug.adb: New switch -gnatd.n, to print source file names as they
771 * alloc.ads: Add parameters for Osint.File_Name_Chars.
773 * osint.ads, osint.adb (Dump_Source_File_Names): New procedure to print
774 out source file names during a "bug box".
775 (Include_Dir_Default_Prefix): Use memo-izing to avoid repeated new/free.
776 (Read_Source_File): Print out the file name, if requested via -gnatd.n.
777 If it's not part of the runtimes, store it for later printing by
778 Dump_Source_File_Names.
780 2009-05-06 Javier Miranda <miranda@adacore.com>
782 * gnat_rm.texi (CPP_Constructor): Avoid duplication of the
783 documentation and add reference to the GNAT user guide for further
786 2009-05-06 Javier Miranda <miranda@adacore.com>
788 * gnat_ugn.texi: Complete documentation for CPP_Constructor and remove
789 also wrong examples that use extension aggregates.
791 2009-05-06 Albert Lee <lee@adacore.com>
793 * s-oscons-tmplt.c (System.OS_Constants): Do not use special definition
794 of Msg_Iovlen_T for VMS.
796 2009-05-04 Laurent GUERBY <laurent@guerby.net>
799 * make.adb (Scan_Make_Arg): Pass --param= to compiler and linker.
801 2009-04-29 Ed Schonberg <schonberg@adacore.com>
803 * sem_ch8.adb (Analyze_Subprogram_Renaming): Improve error message on
804 box-defaulted operator in an instantiation, when the type of the
805 operands is not directly visible.
807 2009-04-29 Gary Dismukes <dismukes@adacore.com>
809 * sem_aggr.adb (Valid_Limited_Ancestor): Undo previous change.
810 (Resolve_Extension_Aggregate): Call Check_Parameterless_Call after the
811 analysis of the ancestor part. Remove prohibition against limited
812 interpretations of the ancestor expression in the case of Ada 2005.
813 Revise error message in overloaded case, adding a message to cover
816 2009-04-29 Thomas Quinot <quinot@adacore.com>
818 * xoscons.adb: Minor reformatting
820 2009-04-29 Bob Duff <duff@adacore.com>
822 * sem_ch13.adb (Analyze_Attribute_Definition_Clause): Do not ignore
823 attribute_definition_clauses for the following attributes when the
824 -gnatI switch is used: External_Tag, Input, Output, Read, Storage_Pool,
825 Storage_Size, Write. Otherwise, we get spurious errors (for example,
826 missing Read attribute on remote types).
828 * gnat_ugn.texi: Document the change, and add a stern warning.
830 2009-04-29 Ed Schonberg <schonberg@adacore.com>
832 * sem_attr.adb (Check_Local_Access): Indicate that value tracing is
833 disabled not just for the current scope, but for the innermost dynamic
836 2009-04-29 Arnaud Charlet <charlet@adacore.com>
838 * gcc-interface/Make-lang.in: Update dependencies
840 2009-04-29 Vincent Celier <celier@adacore.com>
842 * prj-part.adb: Minor comment update
844 2009-04-29 Ed Schonberg <schonberg@adacore.com>
846 * sem_aggr.adb (Resolve_Record_Aggregate): handle properly
847 box-initialized records with discriminated subcomponents that are
848 constrained by discriminants of enclosing components. New subsidiary
849 procedures Add_Discriminant_Values, Propagate_Discriminants.
851 2009-04-29 Arnaud Charlet <charlet@adacore.com>
853 * g-socket.adb: Code clean up.
855 2009-04-29 Gary Dismukes <dismukes@adacore.com>
857 * sem_aggr.adb (Valid_Limited_Ancestor): Add test for the name of a
858 function entity, to cover the case of a parameterless function call
859 that has not been resolved.
861 2009-04-29 Robert Dewar <dewar@adacore.com>
863 * err_vars.ads, prj-part.adb, scans.ads, exp_tss.adb: Minor
864 reformatting and comment updates.
866 2009-04-29 Arnaud Charlet <charlet@adacore.com>
868 * gnat_ugn.texi: Update some documentation about interfacing with C++
869 Mention -fkeep-inline-functions.
871 * gnat_ugn.texi: Minor edits
873 2009-04-29 Ed Schonberg <schonberg@adacore.com>
875 * sem_aggr.adb (Resolve_Record_Aggregate): When building an aggregate
876 for a defaulted component of an enclosing aggregate, inherit the type
877 from the component declaration of the enclosing type.
879 2009-04-29 Albert Lee <lee@adacore.com>
881 * g-socthi-vms.ads, g-socthi-vxworks.ads, s-oscons-tmplt.c,
882 g-socthi-mingw.ads, g-socthi.ads, g-socket.adb, g-sothco.ads
883 (System.OS_Constants): New type Msg_Iovlen_T which follows whether the
884 msg_iovlen field in struct msghdr is 32 or 64 bits wide.
885 Relocate the Msghdr record type from GNAT.Sockets.Thin to
886 GNAT.Sockets.Common, and use System.OS_Constants.Msg_Iovlen_T as the
887 type for the Msg_Iovlen field.
889 2009-04-29 Vincent Celier <celier@adacore.com>
891 * sinput-l.adb (Load_File): When preprocessing, set temporarily the
892 Source_File_Index_Table entries for the source, to avoid crash when
895 * gnatcmd.adb (Test_If_Relative_Path): Use
896 Makeutl.Test_If_Relative_Path.
898 * makeutl.adb:(Test_If_Relative_Path): Process switches --RTS= only if
899 Including_RTS is True.
901 * makeutl.ads (Test_If_Relative_Path): New Boolean parameter
902 Including_RTS defaulted to False.
904 * sinput.ads, scans.ads, err_vars.ads: Initialize some variables with
907 2009-04-29 Javier Miranda <miranda@adacore.com>
909 * gnat_ugn.texi: Adding documentation for non-default C++ constructors.
911 2009-04-29 Javier Miranda <miranda@adacore.com>
913 * sem_ch3.adb (Analyze_Object_Declaration): Disable error message
914 associated with dyamically tagged expressions if the expression
915 initializing a tagged type corresponds with a non default CPP
917 (OK_For_Limited_Init): CPP constructor calls are OK for initialization
918 of limited type objects.
920 * sem_ch5.adb (Analyze_Assignment): Improve the error message reported
921 when a CPP constructor is called in an assignment. Disable also the
922 error message associated with dyamically tagged expressions if the
923 exporession initializing a tagged type corresponds with a non default
926 * sem_prag.adb (Analyze_Pragma): Remove code disabling the use of
927 non-default C++ constructors.
929 * sem_util.ads, sem_util.adb (Is_CPP_Constructor_Call): New subprogram.
931 * exp_tss.ads, exp_tss.adb (Base_Init_Proc): Add support for
932 non-default constructors.
933 (Init_Proc): Add support for non-default constructors.
935 * exp_disp.adb (Set_Default_Constructor): Removed.
936 (Set_CPP_Constructors): Code based in removed Set_Default_Constructor
937 but extending its functionality to handle non-default constructors.
939 * exp_aggr.adb (Build_Record_Aggr_Code): Add support for non-default
940 constructors. Minor code cleanup removing unrequired label and goto
943 * exp_ch3.adb (Build_Initialization_Call): Add support for non-default
945 (Build_Init_Statements): Add support for non-default constructors.
946 (Expand_N_Object_Declaration): Add support for non-default constructors.
947 (Freeze_Record_Type): Replace call to Set_Default_Constructor by call
948 to Set_CPP_Constructors.
950 * exp_ch5.adb (Expand_N_Assignment_Statement): Add support for
951 non-default constructors.
952 Required to handle its use in build-in-place statements.
954 * gnat_rm.texi (CPP_Constructor): Document new extended use of this
955 pragma for non-default C++ constructors and the new compiler support
956 that allows the use of these constructors in record components, limited
957 aggregates, and extended return statements.
959 2009-04-29 Vincent Celier <celier@adacore.com>
961 * prj-part.adb (Parse_Single_Project): Do not attempt to find a
962 project extending an abstract project.
964 2009-04-29 Eric Botcazou <ebotcazou@adacore.com>
966 * targparm.ads: Fix oversight.
968 2009-04-29 Ed Schonberg <schonberg@adacore.com>
970 * lib-xref.adb (Output_Overridden_Op): Follow several levels of
971 derivation when necessary, to find the user-subprogram that is actally
974 2009-04-29 Robert Dewar <dewar@adacore.com>
976 * sem_util.adb (May_Be_Lvalue): Fix cases involving indexed/selected
979 2009-04-29 Ed Schonberg <schonberg@adacore.com>
981 * exp_ch9.ads, exp_ch9.adb (Build_Wrapper_Spec): Use source line of
982 primitive operation, rather than source line of synchronized type, when
983 building the wrapper for a primitive operation that overrides an
984 operation inherited from a progenitor, to improve the error message on
985 duplicate declarations.
987 * sem_ch3.adb (Process_Full_View): Use new signature of
990 2009-04-29 Robert Dewar <dewar@adacore.com>
992 * prj-nmsc.ads: Minor reformatting
994 2009-04-29 Eric Botcazou <ebotcazou@adacore.com>
996 * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of the
997 expression on the existing parent If statement.
999 2009-04-29 Robert Dewar <dewar@adacore.com>
1001 * prj-proc.adb, prj.ads: Minor reformatting
1003 2009-04-29 Eric Botcazou <ebotcazou@adacore.com>
1005 * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of an
1006 existing parent If statement on the newly created one.
1008 2009-04-29 Emmanuel Briot <briot@adacore.com>
1010 * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb,
1011 prj-part.ads, prj.adb, prj.ads, clean.adb, prj-dect.adb, prj-dect.ads,
1012 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, prj-makr.adb
1013 (Set_In_Configuration, In_Configuration): Removed.
1014 Replaced by an extra parameter Is_Config_File in several parameter to
1015 avoid global variables to store the state of the parser.
1017 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1019 * sinfo.ads, sinfo.adb: New attribute Next_Implicit_With, to chain
1020 with_clauses generated for the same unit through rtsfind, and that
1021 appear in the context of different units.
1023 * rtsfind.adb: New attribute First_Implicit_With, component of the
1024 Unit_Record that stores information about a unit loaded through rtsfind.
1026 2009-04-29 Gary Dismukes <dismukes@adacore.com>
1028 * exp_ch3.adb (Stream_Operation_OK): Return True for limited interfaces
1029 (other conditions permitting), so that abstract stream subprograms will
1030 be declared for them.
1032 2009-04-29 Bob Duff <duff@adacore.com>
1034 * g-expect.adb (Expect_Internal): Fix check for overfull buffer.
1036 * g-expect.ads: Minor comment fixes.
1038 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1040 * freeze.adb, lib-xref.adb (Check_Dispatching_Operation): if the
1041 dispatching operation is a body without previous spec, update the list
1042 of primitive operations to ensure that cross-reference information is
1045 2009-04-29 Albert Lee <lee@adacore.com>
1047 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
1048 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
1049 g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads
1050 (GNAT.Sockets.Thin.C_Readv,
1051 GNAT.Sockets.Thin.C_Writev): Remove unused subprograms.
1052 (GNAT.Sockets.Thin.C_Recvmsg,
1053 GNAT.Sockets.Thin.C_Sendmsg): New bindings to call recvmsg(2) and
1055 (GNAT.Sockets.Receive_Vector, GNAT.Sockets.Send_Vector): Use
1056 C_Recvmsg/C_Sendmsg rather than Readv/C_Writev.
1058 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1060 * sem_disp.adb (Check_Dispatching_Operation): if the dispatching
1061 operation is a body without previous spec, update the list of
1062 primitive operations to ensure that cross-reference information is
1065 * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): When creating a
1066 new compilation unit node for the instance declaration, keep the
1067 context items of the original unit on it, so that the context of the
1068 instance body only holds the context inherited from the generic body.
1070 2009-04-29 Bob Duff <duff@adacore.com>
1072 * sem_res.adb: Minor comment fix.
1074 2009-04-29 Thomas Quinot <quinot@adacore.com>
1076 * sem_elim.adb: Minor reformatting
1078 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1080 * exp_aggr.adb (Convert_To_Positional): if the current unit is a
1081 predefined unit, allow arbitrary number of components in static
1082 aggregate, to ensure that the same level of constant folding applies
1083 for Ada 95 and Ada 05 versions of the file.
1085 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1087 * sem_elim.adb (Check_Eliminated): Handle new improved eliminate
1088 information: no need for full scope check.
1089 (Eliminate_Error): Do not emit error in a generic context.
1091 2009-04-29 Ed Falis <falis@adacore.com>
1093 * adaint.c (__gnat_rmdir): return error code if VTHREADS is defined.
1094 VxWorks 653 POS does not support rmdir.
1096 2009-04-29 Matteo Bordin <bordin@adacore.com>
1098 * s-stausa.adb, s-stausa.ads: Get_Usage_Range: changing the way
1099 results are printed.
1101 2009-04-29 Arnaud Charlet <charlet@adacore.com>
1103 * s-taskin.adb (Initialize): Remove pragma Warnings Off and remove
1106 2009-04-29 Thomas Quinot <quinot@adacore.com>
1108 * make.adb: Minor reformatting.
1109 Minor code reorganization throughout.
1111 2009-04-29 Matteo Bordin <bordin@adacore.com>
1113 * s-stausa.ads: Changed visibility of type Task_Result: moved to
1114 public part to give application visibility over it.
1115 This is for future improvement and to build a public API on top of it.
1116 Changed record components name of type Task_Result to reflect the new
1119 * s-stausa.adb: Actual_Size_Str changed to reflect the new way of
1120 reporting Stack usage.
1122 * gnat_ugn.texi: Update doc of stack usage report.
1124 * g-tastus.ads, s-stusta.ads, s-stusta.adb: New files.
1126 * Makefile.rtl: Add new run-time files.
1128 2009-04-29 Pascal Obry <obry@adacore.com>
1130 * initialize.c: Do not expand quoted arguments.
1132 2009-04-29 Emmanuel Briot <briot@adacore.com>
1134 * prj-ext.adb, prj.adb, prj.ads: Fix memory leaks.
1136 * clean.adb (Ultimate_Extension_Of): removed, since duplicate of
1137 Prj.Ultimate_Extending_Project_Of
1139 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1141 * exp_ch7.adb (Build_Final_List): If the designated type is a Taft
1142 Amendment type, add the with_clause for Finalization.List_Controller
1143 only if the current context is a package body.
1145 2009-04-29 Thomas Quinot <quinot@adacore.com>
1147 * sem_ch12.adb: Minor reformatting
1149 * sem_aggr.adb: Minor reformatting
1151 * sem_ch6.adb, sem_cat.ads: Minor reformatting
1153 * sem_ch10.adb, gnat1drv.adb, prj-nmsc.adb: Minor reformatting
1155 2009-04-29 Quentin Ochem <ochem@adacore.com>
1157 * prj.ads (Source_Id): Now general pointer type.
1159 2009-04-29 Thomas Quinot <quinot@adacore.com>
1161 * exp_ch7.adb, rtsfind.adb: Minor reformatting
1163 * sem_res.adb: Minor reformatting
1165 2009-04-29 Thomas Quinot <quinot@adacore.com>
1167 * sem_res.adb (Static_Concatenation): An N_Op_Concat with static
1168 operands is static only if it is a predefined concatenation operator.
1170 * sem_util.adb: Minor reformatting
1172 * sem_ch12.adb (Save_References): When propagating semantic information
1173 from generic copy back to generic template, for the case of an
1174 identifier that has been rewritten to an explicit dereference whose
1175 prefix is either an object name or a parameterless funcion call
1176 denoting a global object or function, properly capture the denoted
1177 global entity: perform the corresponding rewriting in the template,
1178 and point the rewritten identifier to the correct global entity (not
1179 to the associated identifier in the generic copy).
1181 2009-04-29 Robert Dewar <dewar@adacore.com>
1183 * rtsfind.adb, prj-env.adb: Minor reformatting
1184 Minor code reorganization
1186 2009-04-29 Emmanuel Briot <briot@adacore.com>
1188 * make.adb: Fix comment
1190 * prj.adb (Ultimate_Extending_Project_Of): Fix handling when no project
1191 is given as argument, as might happen in gnatmake.
1193 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1195 * sem_ch3.adb (Check_Abstract_Overriding): Improve error message when
1196 an abstract operation of a progenitor is not properly overridden by an
1197 operation of a derived synchronized type.
1199 2009-04-29 Robert Dewar <dewar@adacore.com>
1201 * mlib-prj.adb, mlib-tgt.adb, mlib-tgt.ads, prj-nmsc.adb,
1202 prj-proc.adb: Minor reformatting
1203 Minor code reorganization
1205 2009-04-29 Bob Duff <duff@adacore.com>
1207 * exp_ch7.adb (Build_Final_List): For an access type that designates a
1208 Taft Amendment type, if the access type needs finalization, make sure
1209 the implicit with clause for List_Controller occurs on the package spec.
1211 * rtsfind.adb (Text_IO_Kludge): Fine tune the creation of implicit
1212 with's created for the pseudo-children of Text_IO and friends. In
1213 particular, avoid cycles, such as Ada.Wide_Text_IO.Integer_IO and
1214 Ada.Text_IO.Integer_IO both with-ing each other.
1216 * sem.adb (Walk_Library_Items): Suppress assertion failure in certain
1217 oddball cases when pragma Extend_System is used.
1219 * sem_ch12.adb (Get_Associated_Node): Prevent direct 'with' cycles in
1220 the case where a package spec instantiates a generic whose body with's
1221 this package, so Walk_Library_Items won't complain about cyclic with's.
1223 2009-04-29 Emmanuel Briot <briot@adacore.com>
1225 * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads,
1226 prj-pp.adb, prj-pp.ads, makeutl.adb, clean.adb, prj-nmsc.adb,
1227 mlib-tgt.adb, mlib-tgt.ads, prj-util.adb, prj-env.adb, prj-env.ads
1228 (Project_Id): now a real pointer to Project_Data, instead of an index
1229 into the Projects_Table. This simplifies the API significantly, avoiding
1230 extra lookups in this table and the need to pass the Project_Tree_Ref
1231 parameter in several cases
1233 2009-04-29 Nicolas Setton <setton@adacore.com>
1235 * gcc-interface/Makefile.in: Produce .dSYM files for shared libs on
1238 2009-04-25 Eric Botcazou <ebotcazou@adacore.com>
1240 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Put
1243 2009-04-24 Robert Dewar <dewar@adacore.com>
1245 * mlib-prj.adb, prj-env.adb, prj-nmsc.adb, prj-proc.adb, make.adb,
1246 clean.adb: Minor reformatting.
1247 Minor code reorganization and message improvement.
1249 2009-04-24 Emmanuel Briot <briot@adacore.com>
1251 * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-nmsc.ads
1252 (Alternate_Languages): now implemented as a malloc-ed list rather
1253 than through a table.
1255 2009-04-24 Thomas Quinot <quinot@adacore.com>
1257 * sem_res.adb (Static_Concatenation): Simplify predicate to make it
1258 accurately handle cases such as "lit" & "lit" and
1259 "lit" & static_string_constant
1261 2009-04-24 Emmanuel Briot <briot@adacore.com>
1263 * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb,
1264 prj-nmsc.adb, prj-env.adb (Project_List_Table, Project_Element):
1265 removed. Lists of projects are now implemented via standard malloc
1266 rather than through the table.
1268 2009-04-24 Thomas Quinot <quinot@adacore.com>
1270 * sem_ch12.adb: Minor reformatting
1272 * g-trasym.adb: Minor reformatting
1274 * exp_ch6.adb: Minor reformatting
1276 2009-04-24 Robert Dewar <dewar@adacore.com>
1278 * layout.adb (Layout_Type): For packed array type, copy unset
1279 size/alignment fields from the referenced Packed_Array_Type.
1281 2009-04-24 Bob Duff <duff@adacore.com>
1283 * lib-load.adb (Make_Instance_Unit): Revert previous change, no
1284 longer needed after sem_ch12 changes.
1286 * sem.adb (Walk_Library_Items): Include with's in some debugging
1289 2009-04-24 Emmanuel Briot <briot@adacore.com>
1291 * prj.ads, prj-nmsc.adb (Unit_Project): removed, since in fact we were
1292 only ever using the Project field.
1294 2009-04-24 Ed Schonberg <schonberg@adacore.com>
1296 * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Do not set
1297 Body_Required on the generated compilation node. The new node is linked
1298 to its body, but both share the same file, so we do not set this flag
1299 on the new unit so as not to create a spurious dependency on a
1300 non-existent body in the ali file for the instance.
1302 2009-04-24 Robert Dewar <dewar@adacore.com>
1304 * make.adb: Minor reformatting
1306 2009-04-24 Emmanuel Briot <briot@adacore.com>
1308 * prj.adb, prj.ads, prj-nmsc.adb (Check_File, Record_Ada_Source,
1309 Add_Source): merge some code between those. In particular change where
1310 file normalization is done to avoid a few extra calls to
1311 Canonicalize_File_Name. This also removes the need for passing
1312 Current_Dir in a number of subprograms.
1314 2009-04-24 Bob Duff <duff@adacore.com>
1316 * lib-load.adb (Make_Instance_Unit): In the case where In_Main is
1317 False, assign the correct unit to the Cunit field of the new table
1318 entry. We want the spec unit, not the body unit.
1320 * rtsfind.adb (Make_Unit_Name, Maybe_Add_With): Simplify calling
1321 interface for these.
1322 (Maybe_Add_With): Check whether we're trying to a with on the current
1323 unit, and avoid creating such directly self-referential with clauses.
1324 (Text_IO_Kludge): Add implicit with's for the generic pseudo-children of
1325 [[Wide_]Wide_]Text_IO. These are needed for Walk_Library_Items,
1326 and matches existing comments in the spec.
1328 * sem.adb (Walk_Library_Items): Add various special cases to make the
1331 * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Use Body_Cunit
1332 instead of Parent (N), for uniformity.
1334 2009-04-24 Robert Dewar <dewar@adacore.com>
1336 * errout.ads: Minor reformatting
1338 2009-04-24 Emmanuel Briot <briot@adacore.com>
1340 * gnat_ugn.texi (Library Projects): add documentation on gnatmake's
1341 behavior when the project includes sources from multiple languages
1343 2009-04-24 Vincent Celier <celier@adacore.com>
1345 * prj.adb (Has_Foreign_Sources): Returns True in Ada_Only mode if there
1346 is a language other than Ada declared.
1348 * makeutl.adb (Linker_Options_Switches): Call For_All_Projects with
1349 Imported_First set to True.
1351 2009-04-24 Ed Schonberg <schonberg@adacore.com>
1353 * sem_res.adb: additional optimization to inhibit creation of
1354 redundant transient scopes.
1356 2009-04-24 Bob Duff <duff@adacore.com>
1358 * rtsfind.ads: Minor comment fix
1360 2009-04-24 Emmanuel Briot <briot@adacore.com>
1362 * prj-proc.adb, prj-nmsc.adb (Find_Ada_Sources,
1363 Get_Path_Name_And_Record_Ada_Sources): merged, since these were
1364 basically doing the same work (for explicit or implicit sources).
1365 (Find_Explicit_Sources): renamed to Find_Sources to better reflect its
1366 role. Rewritten to share some code (testing that all explicit sources
1367 have been found) between ada_only and multi_language modes.
1369 2009-04-24 Jerome Lambourg <lambourg@adacore.com>
1371 * sem_prag.adb (Check_Form_Of_Interface_Name): Allow space in Ext_Name
1372 for CLI imported types.
1373 (Analyze_Pragma): Allow CIL or Java imported functions returning
1374 access-to-subprogram types.
1376 2009-04-24 Emmanuel Briot <briot@adacore.com>
1378 * make.adb, prj.adb, prj.ads, makeutl.adb, makeutl.ads:
1379 (Project_Data.Dir_Path): field removed, since it can be computed
1380 directly from .Directory, and is needed only once when processing the
1381 project is buildgpr.adb or make.adb
1383 2009-04-24 Robert Dewar <dewar@adacore.com>
1385 * prj-env.adb, prj-proc.adb, prj.adb, prj.ads,
1386 rtsfind.adb: Minor reformatting.
1387 Minor code reorganization
1389 2009-04-24 Arnaud Charlet <charlet@adacore.com>
1391 * mlib-prj.adb: Use friendlier english identifier.
1393 * gnatcmd.adb, make.adb: Use better english identifiers.
1395 2009-04-24 Robert Dewar <dewar@adacore.com>
1397 * clean.adb: Minor reformatting
1399 2009-04-24 Robert Dewar <dewar@adacore.com>
1401 * einfo.adb (OK_To_Rename): New flag
1403 * einfo.ads (OK_To_Rename): New flag
1405 * exp_ch3.adb (Expand_N_Object_Declaration): Rewrite as renames if
1408 * exp_ch4.adb (Expand_Concatenate): Mark temp variable OK_To_Rename
1410 * sem_ch7.adb (Uninstall_Declarations): Allow for renames from
1413 2009-04-24 Emmanuel Briot <briot@adacore.com>
1415 * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, makeutl.adb,
1416 clean.adb, prj-nmsc.adb, prj-env.adb, prj-env.ads (Project_Data.Seen):
1417 field removed. This is not a property of the
1418 project, just a boolean used to traverse the project tree, and storing
1419 it in the structure prevents doing multiple traversal in parallel.
1420 (Project_Data.Checked): also removed, since it was playing the same role
1421 as Seen when we had two nested loops, and this is no longer necessary
1422 (For_All_Imported_Projects): removed, since in fact there was already
1423 the equivalent in For_Every_Project_Imported. The latter was rewritten
1424 to use a local hash table instead of Project_Data.Seen
1425 Various loops were rewritten to use For_Every_Project_Imported, thus
1426 removing the need for Project_Data.Seen. This avoids a lot of code
1429 2009-04-24 Ed Schonberg <schonberg@adacore.com>
1431 * sem_res.adb (Resolve_Actuals): Do not create blocks around code
1432 statements, even though the actual of the call is a concatenation,
1433 because the argument is static, and we want to preserve warning
1434 messages about sequences of code statements that are not marked
1437 * sem_warn.adb: remove obsolete comment about warning being obsolete
1439 * s-tasren.adb (Task_Do_Or_Queue): If a timed entry call is being
1440 requeued and the delay has expired while within the accept statement
1441 that executes the requeue, do not perform the requeue and indicate that
1442 the timed call has been aborted.
1444 2009-04-24 Emmanuel Briot <briot@adacore.com>
1446 * mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb
1447 (Has_Ada_Sources, Has_Foreign_Sources): new subprograms
1448 (Project_Data.Ada_Sources_Present, Foreign_Sources_Present): removed,
1449 since they can be computed from the above.
1451 2009-04-24 Vincent Celier <celier@adacore.com>
1453 * gnatcmd.adb: Call Prj.Env.Initialize with the Project_Tree
1455 * prj-env.adb: Move all global variables to the private part of the
1457 Access these new components instead of the global variables no longer
1459 (Add_To_Path): New Project_Tree_Ref parameter, to access the new
1460 components that were previously global variables.
1462 * prj-env.ads (Initialize): New Project_Tree_Ref parameter
1463 (Set_Mapping_File_Initial_State_To_Empty): New Project_Tree_Ref
1466 * prj-nmsc.adb (Compute_Unit_Name): New Project_Tree_Ref parameter to
1467 be able to call Set_Mapping_File_Initial_State_To_Empty with it.
1469 * prj.adb (Initialize): Do not call Prj.Env.Initialize
1470 (Reset): Do not call Prj.Env.Initialize. Instead, initialize the new
1471 components in the private part of the project tree data.
1473 * prj.ads (Private_Project_Tree_Data): new components moved from
1474 Prj.Env: Current_Source_Path_File, Current_Object_Path_File,
1475 Ada_Path_Buffer, Ada_Path_Length, Ada_Prj_Include_File_Set,
1476 Ada_Prj_Objects_File_Set, Fill_Mapping_File.
1478 2009-04-24 Vincent Celier <celier@adacore.com>
1480 * opt.ads (Unchecked_Shared_Lib_Imports): New Boolean flag.
1482 * prj-nmsc.adb (Check_Library): No error for imports by shared library
1483 projects, when --unchecked-shared-lib-imports is used.
1485 2009-04-24 Robert Dewar <dewar@adacore.com>
1487 * sem_ch7.adb: Minor reformatting
1489 2009-04-24 Tristan Gingold <gingold@adacore.com>
1491 * s-osinte-darwin.adb, s-osinte-darwin.ads: lwp_self now returns the
1494 2009-04-24 Emmanuel Briot <briot@adacore.com>
1496 * prj-env.adb, prj-env.ads (Body_Path_Name_Of, Spec_Path_Name_Of,
1497 Path_Name_Of_Library_Unit_Body): rEmove unused subprograms.
1498 (For_All_Imported_Projects): new procedure
1499 (For_All_Source_Dirs, For_All_Object_Dirs): Rewritten based on the
1500 above rather than duplicating code.
1502 2009-04-24 Emmanuel Briot <briot@adacore.com>
1504 * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb
1505 (Source_Id, Source_Data): use a real list to store sources rather than
1506 using an external table to store the elements. This makes code more
1507 efficient and more readable.
1509 2009-04-24 Emmanuel Briot <briot@adacore.com>
1511 * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb
1512 (Source_Iterator): new type.
1513 This removes the need for having the sources on three different
1514 lists at the project tree, project and language level. They are now
1517 2009-04-24 Emmanuel Briot <briot@adacore.com>
1519 * gnatcmd.adb, prj.adb, prj.ads: Remove unused entities
1521 2009-04-24 Ed Schonberg <schonberg@adacore.com>
1523 * sem_warn.adb: Add comment on obsolete warning
1525 2009-04-24 Arnaud Charlet <charlet@adacore.com>
1527 * s-tassta.adb (Create_Task): Fix violation of locking rule.
1529 2009-04-24 Emmanuel Briot <briot@adacore.com>
1531 * prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb (Language_Index): renamed
1532 to Language_Ptr to better reflect its new implementation.
1533 (Project_Data.First_Languages_Processing): renamed to Languages now
1534 that the field with that name is no longer used
1535 (Project_Data.Languages): removed, no longer used, and duplicates
1536 information already available through First_Language_Processing.
1537 (Prj.Language_Index): now an actual pointer, instead of an index into
1538 a table. This makes the list somewhat more obvious, but more importantly
1539 removes the need to pass a pointer to the project_tree_data in a few
1540 places, and makes accessing the attributes of a languages more
1543 2009-04-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1544 Thomas Quinot <quinot@adacore.com>
1546 * fe.h (Set_Identifier_Casing): Add const to second parameter.
1547 * gcc-interface/misc.c (internal_error_function): Make copy of return
1548 from pp_formatted_text before assigning BUFFER to it.
1549 (gnat_init): Likewise for main_input_filename and gnat_argv.
1550 (gnat_printable_name): Remove cast from call to Set_Identifier_Casing.
1552 2009-04-24 Eric Botcazou <ebotcazou@adacore.com>
1554 * ttypes.ads (Target_Double_Float_Alignment): New variable.
1555 (Target_Double_Scalar_Alignment): Likewise.
1556 * get_targ.ads (Get_Strict_Alignment): Adjust external name.
1557 (Get_Double_Float_Alignment): New imported function.
1558 (Get_Double_Scalar_Alignment): Likewise.
1559 * layout.adb (Set_Elem_Alignment): Take into account specific caps for
1560 the alignment of "double" floating-point types and "double" or larger
1561 scalar types, as parameterized by Target_Double_Float_Alignment and
1562 Target_Double_Scalar_Alignment respectively.
1563 * gcc-interface/gigi.h (double_float_alignment): Declare.
1564 (double_scalar_alignment): Likewise.
1565 (is_double_float_or_array): Likewise.
1566 (is_double_scalar_or_array): Likewise.
1567 (get_target_double_float_alignment): Likewise.
1568 (get_target_double_scalar_alignment): Likewise.
1569 * gcc-interface/targtyps.c (get_strict_alignment): Rename into...
1570 (get_target_strict_alignment): ...this.
1571 (get_target_double_float_alignment): New function.
1572 (get_target_double_scalar_alignment): Likewise.
1573 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
1574 Test the presence of an alignment clause for under-aligned integer
1575 types. Take into account specific caps for the alignment of "double"
1576 floating-point types and "double" or larger scalar types, as
1577 parameterized by Target_Double_Float_Alignment and
1578 Target_Double_Scalar_Alignment respectively.
1579 (validate_alignment): Likewise.
1580 * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Alignment>: Likewise.
1581 (gigi): Initialize double_float_alignment and double_scalar_alignment.
1582 * gcc-interface/utils.c (double_float_alignment): New global variable.
1583 (double_scalar_alignment): Likewise.
1584 (is_double_float_or_array): New predicate.
1585 (is_double_scalar_or_array): Likewise.
1587 2009-04-24 Eric Botcazou <ebotcazou@adacore.com>
1589 * gcc-interface/utils2.c (build_cond_expr): Move SAVE_EXPR ahead of
1590 the conditional expression only if it is common to both arms.
1592 2009-04-24 Eric Botcazou <ebotcazou@adacore.com>
1594 * gcc-interface/gigi.h (build_call_alloc_dealloc): Update comment.
1595 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Pass correct
1596 arguments to build_allocator.
1597 * gcc-interface/utils2.c (build_call_alloc_dealloc): Update comment.
1598 Remove code handling special allocator and assert its uselessness.
1600 2009-04-24 Eric Botcazou <ebotcazou@adacore.com>
1602 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If an
1603 alignment is specified, do not promote that of the component type
1605 <E_Array_Subtype>: Likewise.
1607 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
1609 * einfo.ads (Is_True_Constant): Lift restriction on atomic objects.
1610 * sinfo.ads (Object Declaration): Likewise.
1611 (Assignment Statement): Likewise.
1612 * freeze.adb (Expand_Atomic_Aggregate): Remove useless test.
1613 Do not force Is_True_Constant to false on the temporary.
1614 (Freeze_Entity): Do not force Is_True_Constant to false on names on
1615 the RHS of object declarations.
1616 * gcc-interface/trans.c (lvalue_required_p) <N_Object_Declaration>:
1617 New case. Return 1 if the object is atomic.
1618 <N_Assignment_Statement>: Likewise.
1620 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
1622 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>
1623 For packed array types, make the original array type a parallel type
1624 for the modular type and its JM wrapper if the type is bit-packed.
1625 <E_Array_Subtype>: Likewise. Do not generate the special XA parallel
1626 record type for packed array types. Remove kludge.
1628 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
1630 * gcc-interface/gigi.h (create_index_type): Adjust head comment.
1631 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
1632 Use front-end predicates to compute signedness and precision.
1633 <E_String_Literal_Subtype>: Fold range type.
1634 Make sure to set longest_float_type_node to a scalar type.
1635 (elaborate_entity): Use consistent Constraint_Error spelling.
1636 (substitute_in_type) <INTEGER_TYPE>: Always copy the type.
1637 * gcc-interface/misc.c (gnat_print_type) <INTEGER_TYPE>: Use brief
1638 output for the modulus, if any.
1639 <ENUMERAL_TYPE>: Likewise for the RM size.
1640 * gcc-interface/trans.c (gnat_to_gnu): Use consistent Constraint_Error
1642 * gcc-interface/utils.c (finish_record_type): Really test the alignment
1643 of BLKmode bit-fields to compute their addressability.
1644 (create_index_type): Adjust comments.
1645 (create_param_decl): Create the biased subtype manually.
1646 * gcc-interface/utils2.c (build_component_ref): Use consistent
1647 Constraint_Error spelling.
1649 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
1651 * gcc-interface/cuintp.c: Clean up include directives.
1652 * gcc-interface/targtyps.c: Likewise.
1653 * gcc-interface/decl.c: Likewise.
1654 * gcc-interface/misc.c: Likewise.
1655 * gcc-interface/trans.c: Likewise.
1656 * gcc-interface/utils.c: Likewise.
1657 * gcc-interface/utils2.c: Likewise.
1658 * gcc-interface/Make-lang.in: Adjust dependencies accordingly.
1660 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
1662 * gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom.
1663 (SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting.
1664 (SET_DECL_LANG_SPECIFIC): Likewise.
1666 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
1667 Update comment about use of build_range_type.
1668 <E_Array_Type, E_Array_Subtype>: Use consistent naming convention.
1669 <E_Array_Subtype>: Rework comments about TYPE_ACTUAL_BOUNDS and add
1670 check for other cases of overloading.
1671 * gcc-interface/trans.c (gigi): Use size_int in lieu of build_int_cst.
1672 * gcc-interface/utils2.c (build_call_raise): Fix off-by-one error.
1673 Use size_int in lieu of build_int_cst.
1674 (build_call_alloc_dealloc): Use build_index_2_type in lieu of
1677 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
1679 * gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's
1680 type is an enumeral or a boolean type, change it to an integer type
1681 with the same mode and signedness.
1683 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
1685 * gcc-interface/utils.c (create_var_decl_1): Do not emit debug info
1686 for an external constant whose initializer is not absolute.
1688 2009-04-22 Taras Glek <tglek@mozilla.com>
1690 * gcc-interface/ada-tree.h: Update GTY annotations to new syntax.
1691 * gcc-interface/trans.c: Likewise.
1692 * gcc-interface/utils.c: Likewise.
1694 2009-04-22 Ed Schonberg <schonberg@adacore.com>
1696 * sem_res.adb: Create block around procedure call when actual is a
1699 2009-04-22 Thomas Quinot <quinot@adacore.com>
1701 * s-soflin.ads: Fix typos
1703 2009-04-22 Vincent Celier <celier@adacore.com>
1705 * prj-env.adb: Minor comment change
1707 * prj-nmsc.adb (Check_Common): Add guard to avoid calling
1708 Get_Name_String with No_File.
1710 * tempdir.adb (Create_Temp_File): Output diagnostic when temp file
1711 cannot be created even when not in verbose mode.
1713 2009-04-22 Emmanuel Briot <briot@adacore.com>
1715 * make.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj.adb,
1716 prj.ads (Create_Mapping_File): merge the two versions for Ada_Only and
1717 Multi_Language modes, to avoid code duplication.
1718 (Project_Data.Include_Language): Removed.
1720 2009-04-22 Vincent Celier <celier@adacore.com>
1722 * tempdir.adb (Create_Temp_File): Add a diagnostic in verbose mode when
1723 the temporary file cannot be created, indicating the directory when the
1724 creation was attempted.
1726 2009-04-22 Emmanuel Briot <briot@adacore.com>
1728 * prj-env.adb, prj-env.ads (Create_Mapping_File): we need to compare
1729 the language names, not their indices.
1731 2009-04-22 Emmanuel Briot <briot@adacore.com>
1733 * prj.ads, prj-nmsc.adb, prj-env.adb, prj-env.ads
1734 (Source_Data.Language_Name): Field removed.
1736 2009-04-22 Emmanuel Briot <briot@adacore.com>
1738 * prj.adb, prj.ads, prj-nmsc.adb (Project_Data.Unit_Based_Language_*):
1741 2009-04-22 Emmanuel Briot <briot@adacore.com>
1743 * prj-nmsc.adb (Check_Naming_Ada_Only): Properly initialize the
1744 separate_suffix to the same value as the body_suffix.
1746 2009-04-22 Robert Dewar <dewar@adacore.com>
1748 * prj.adb: Minor code reorganization
1751 * prj-proc.adb: Minor code reorganization, clean up.
1753 * prj-nmsc.adb: Minor reformatting
1754 Minor code reorganization
1756 * gnat_ugn.texi: Add to doc on strict aliasing
1758 2009-04-22 Pascal Obry <obry@adacore.com>
1760 * s-osinte-mingw.ads: Rename Reserved field in CRITICAL_SECTION to
1763 * s-tasini.adb: Minor reformatting.
1765 * s-tassta.adb: Minor reformatting.
1767 2009-04-22 Emmanuel Briot <briot@adacore.com>
1769 * prj-proc.adb, prj-nmsc.adb (Check_Naming_Schemes): split into several
1770 smaller subprograms.
1771 Renamed to Check_File_Naming_Schemes to avoid confusion with the
1772 other Check_Naming_Schemes functions that plays a totally different
1774 (Check_Unit_Based_Lang, Check_File_Based_Lang): new subprograms,
1775 extracted from the above. These were partially rewritten to avoid
1776 unnecessary code and temporary variables.
1777 (Compute_Unit_Name): new subprogram, merge of Check_Unit_Based_Lang
1778 and Get_Unit (which for now still exist since they contain mode-specific
1781 2009-04-22 Emmanuel Briot <briot@adacore.com>
1783 * prj.ads, prj.adb, prj-nmsc.adb, prj-proc.adb (Recursive_Process):
1784 Remove duplicated code.
1785 (Canonical_Case_File_Name): new subprogram
1786 (Check_And_Normalize_Unit_Names): new subprogram
1787 (Write_Attr): new subprogram
1788 Better sharing of code
1789 (Check_Naming_Ada_Only, Check_Naming_Multi_Lang): new subprogram, to
1790 split Check_Naming and help find duplicated code
1791 (Check_Common): new subprogram, sharing code between ada_only and
1792 multi_language mode.
1793 (Naming_Data.Dot_Repl_Loc): field removed
1795 2009-04-22 Emmanuel Briot <briot@adacore.com>
1797 * prj-proc.adb, prj-nmsc.adb (Load_Naming_Exceptions): New subprogram.
1798 Minor refactoring to reduce the size of
1799 Process_Sources_In_Multi_Language_Mode.
1800 Avoid extra copied of Source_Data, which we found in the past could be
1802 (Mark_Excluded_Sources): new subprogram.
1803 (Remove_Locally_Removed_Files_From_Units): merged into the above
1804 Refactors Process_Sources_In_Multi_Language_Mode to reduce its size,
1805 and allow better sharing of code between multi_lang and ada_only modes
1806 (Project_Extends): removed, since exact duplicate of Prj.Is_Extending
1808 2009-04-22 Emmanuel Briot <briot@adacore.com>
1810 * prj-proc.adb, prj.adb, prj.ads (Project_Data.First_Referred_By):
1811 Removed, since unused.
1813 2009-04-22 Vincent Celier <celier@adacore.com>
1815 * prj-attr.adb: New single project level attribute
1816 Separate_Run_Path_Options.
1818 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process
1819 attribute Seperate_Run_Path_Options.
1821 * prj.ads: (Project_Configuration): New Boolean component
1822 Separate_Run_Path_Options, defaulted to False.
1824 * snames.ads-tmpl: New standard name Seperate_Run_Path_Options
1826 2009-04-22 Robert Dewar <dewar@adacore.com>
1828 * sem_type.adb: Minor reformatting
1830 * mlib.adb: Minor reformatting
1832 * sem_aggr.adb: Minor reformatting. Defend against junk aggregate from
1835 2009-04-22 Nicolas Setton <setton@adacore.com>
1837 * link.c: Add flag __gnat_separate_run_path_options.
1839 * mlib.adb (Separate_Run_Path_Options): New subprogram.
1841 * mlib.ads (Separate_Run_Path_Options): Declare.
1843 * gnatcmd.adb (Process_Link): Add support for emitting one "rpath"
1844 switch per directory, rather than one "rpath" switch listing all
1847 * gnatlink.adb (Process_Binder_File): Likewise.
1849 * make.adb (Gnatmake): Likewise.
1851 2009-04-22 Hristian Kirtchev <kirtchev@adacore.com>
1853 * exp_ch6.adb (Make_Build_In_Place_Call_In_Assignment): Code cleanup.
1854 Add a call to Move_Final_List when the target of the assignment is a
1855 return object that needs finalization and the expression is a
1856 controlled build-in-place function.
1858 2009-04-22 Vincent Celier <celier@adacore.com>
1860 * make.adb (Gnatmake, Bind_Step): call Set_Ada_Paths with
1861 Including_Libraries set to True.
1863 2009-04-22 Ed Schonberg <schonberg@adacore.com>
1865 * lib-load.ads, lib-load.adb (Make_Child_Decl_Unit): New subprogram, to
1866 create a unit table entry for the subprogram declaration created for a
1867 child suprogram body that has no separate specification.
1869 * sem_ch10.adb (Analyze_Compilation_Unit): For a child unit that is a
1870 subprogram body, call Make_Child_Decl_Unit.
1872 * lib.adb (Get_Cunit_Unit_Number): Verify that an entry not yet in the
1873 table can only be the created specification of a child subprogram body
1874 that is the main unit, which has not been entered in the table yet.
1876 * errout.adb (Output_Messages): Ignore created specification of a
1877 child subprogram body to prevent repeated listing of error messages.
1879 * gnat1drv.adb (gnat1drv): The generated specification for a child
1880 subprogram body does not generate code.
1882 2009-04-22 Arnaud Charlet <charlet@adacore.com>
1884 * s-bitops.adb, s-bitops.ads (Raise_Error): Do not use Ada 05 syntax,
1885 since this unit is now part of bootstrap units, so must use Ada 95
1888 2009-04-22 Thomas Quinot <quinot@adacore.com>
1890 * a-tasatt.adb: Minor reformatting
1892 2009-04-22 Bob Duff <duff@adacore.com>
1894 * s-stalib.ads: Remove "with System;" since we're inside System, so
1897 2009-04-22 Vincent Celier <celier@adacore.com>
1899 * prj-nmsc.adb (Add_Source): Always put the dependency file name in
1900 the source record, as there may be a dependency file even if no object
1903 2009-04-22 Robert Dewar <dewar@adacore.com>
1905 * lib-load.adb: Minor reformatting
1907 * lib-load.ads: Minor reformatting
1909 * sinfo.ads: Minor reformatting
1911 2009-04-22 Bob Duff <duff@adacore.com>
1913 * exp_pakd.adb: Minor comment fixes.
1915 * sinfo.ads, par-load.adb, sem_ch10.adb, lib-load.ads, lib-load.adb
1916 sem_ch12.adb: Change the meaning of the Library_Unit attribute to
1917 include units containing instantiations, as well as units that are
1918 generic instantiations.
1920 * sem.adb: Include dependents and corresponding specs/bodies in the
1923 * gcc-interface/Make-lang.in:
1924 sem now depends on s-bitops, because of the packed array of Booleans.
1926 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
1928 * gcc-interface/ada-tree.def: Fix formatting nits.
1929 (REGION_STMT): Delete.
1930 (HANDLER_STMT): Likewise.
1931 * gcc-interface/ada-tree.h: Fix formatting nits.
1933 (REGION_STMT_BODY): Likewise.
1934 (REGION_STMT_HANDLE): Likewise.
1935 (REGION_STMT_BLOCK): Likewise.
1936 (HANDLER_STMT_ARG): Likewise.
1937 (HANDLER_STMT_LIST): Likewise.
1938 (HANDLER_STMT_BLOCK): Likewise.
1939 * gcc-interface/gigi.h (fp_prec_to_size): Update comment.
1940 (fp_size_to_prec): Likewise.
1941 (largest_move_alignment): Delete.
1942 (gnat_compute_largest_alignment): Likewise.
1944 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
1945 Remove redundant code.
1946 <E_Array_Type>: Remove redundant assert.
1947 <E_Array_Subtype>: Exit early from index computation in pathological
1949 Rewrite conditional assignment.
1950 (make_type_from_size): Likewise.
1951 * gcc-interface/misc.c (largest_move_alignment): Delete.
1952 (gnat_finish_incomplete_decl): Likewise.
1953 (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Likewise.
1954 (asm_out_file): Likewise
1955 (gnat_print_type) <INTEGER_TYPE>: Fall through to ENUMERAL_TYPE case.
1956 (gnat_dwarf_name): Move around.
1957 * gcc-interface/trans.c (Attribute_to_gnu): Fix minor nits.
1958 (gigi): Remove call to gnat_compute_largest_alignment.
1959 * utils.c (create_field_decl): Rewrite conditional assignment.
1962 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
1964 * gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate
1965 on entry. Defer common processing for types. Reorder and clean up.
1966 Compute the equivalent GNAT node and the default size for types only.
1967 <E_Modular_Integer_Type>: Directly use Esize for the type's precision.
1968 <E_Access_Type>: For an unconstrained designated type, do not pretend
1969 that a dummy type is always made.
1970 <all> Fix nits in comments.
1971 (validate_size): Fix formatting nits and comments.
1972 (set_rm_size): Likewise.
1973 * gcc-interface/utils.c (create_param_decl): Replace bogus argument
1974 passed to TARGET_PROMOTE_PROTOTYPES hook.
1976 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
1978 * fe.h (Get_External_Name): Declare.
1979 * gcc-interface/gigi.h (concat_id_with_name): Rename to...
1980 (concat_name): ...this.
1981 * gcc-interface/decl.c (gnat_to_gnu_entity): Rename gnu_entity_id to
1982 gnu_entity_name and adjust for above renaming.
1983 <E_Access_Type>: Use create_concat_name to get the name of the various
1984 types associated with unconstrained array types.
1985 (make_aligning_type): Adjust for above renaming.
1986 (maybe_pad_type): Likewise.
1987 (components_to_record): Likewise. Use get_identifier_with_length for
1988 the encoding of the variant.
1989 (get_entity_name): Use get_identifier_with_length.
1990 (create_concat_name): Likewise. Use Get_External_Name if no suffix.
1991 Do not fiddle with Name_Buffer.
1992 (concat_id_with_name): Rename to...
1993 (concat_name): ...this. Use get_identifier_with_length. Do not fiddle
1995 * gcc-interface/utils.c (rest_of_record_type_compilation): Adjust for
1998 2009-04-21 Joseph Myers <joseph@codesourcery.com>
2000 * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
2003 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
2005 * gcc-interface/trans.c (gnat_to_gnu): Do not overwrite location info.
2007 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
2009 * gcc-interface/ada-tree.h (TYPE_RM_SIZE_NUM): Delete.
2010 (TYPE_RM_SIZE): Access TYPE_LANG_SLOT_1 directly for integral types.
2011 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>:
2012 Remove useless support code for packed array types and assert its
2014 <E_Signed_Integer_Subtype>: Reuse entity identifier in more places and
2015 adjust for TYPE_RM_SIZE change.
2016 <all> Fix nits in comments. Use Original_Array_Type accessor instead
2017 of Associated_Node_For_Itype accessor for packed array types.
2018 (make_packable_type): Likewise.
2019 (maybe_pad_type): Likewise.
2020 (set_rm_size): Likewise. Rework conditional statement. Adjust for
2021 TYPE_RM_SIZE change.
2022 (make_type_from_size): Adjust for TYPE_RM_SIZE change.
2023 (rm_size): Fix nits in comments. Rework conditional statements.
2024 * gcc-interface/misc.c (gnat_print_type): Adjust for TYPE_RM_SIZE
2026 * gcc-interface/trans.c (Attribute_to_gnu): Fix nits in comments.
2027 * gcc-interface/utils.c (gnat_init_decl_processing): Use more
2028 appropriate function to initialize the size_type_node. Adjust for
2029 TYPE_RM_SIZE change.
2031 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
2033 * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set force_global
2034 for imported subprograms.
2036 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
2038 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not make
2039 constant objects covered by 13.3(19) volatile.
2041 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
2043 * gcc-interface/utils.c (create_type_decl): Do not pass declarations
2044 of dummy fat pointer types to the debug back-end.
2046 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2048 * gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation.
2049 <E_Signed_Integer_Subtype>: Set the RM size on the integer type
2050 before wrapping it up in the record type. Do not overwrite the
2051 Ada size of the record type with the Esize.
2053 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2055 * gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate.
2056 (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression
2057 if the conversion is on the LHS of an assignment and a no-op.
2058 <all> Do not convert the result to the result type if the Parent
2059 node is such a conversion.
2061 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2063 * gcc-interface/ada-tree.h (DECL_HAS_REP_P): Delete.
2064 * gcc-interface/decl.c (gnat_to_gnu_entity): Add support for extension
2065 of types with unknown discriminants.
2066 (substitute_in_type): Rewrite and restrict to formal substitutions.
2067 * gcc-interface/utils.c (create_field_decl): Do not set DECL_HAS_REP_P.
2068 (update_pointer_to): Update comment.
2070 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2072 * sem_ch8.adb (Use_One_Package): In an instance, if two
2073 potentially_use_visible and non-overloadable homonyms are available
2074 from the actuals of distinct formal packages, retain the current one,
2075 which was visible in the generic, to prevent spurious visibility
2077 (End_Use_Package): Restore use_visibility when needed.
2079 2009-04-20 Sergey Rybin <rybin@adacore.com>
2081 * gnat_ugn.texi, vms_data.ads: Update doc.
2083 2009-04-20 Arnaud Charlet <charlet@adacore.com>
2085 * gcc-interface/Make-lang.in: Update dependencies
2087 * gcc-interface/Makefile.in: Link run-time against winsock2 lib under
2090 2009-04-20 Robert Dewar <dewar@adacore.com>
2092 * checks.ads: Fix documentation of range check handling
2094 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2096 * sem_ch8.adb (Use_One_Type): Use proper entity on warning message for
2097 a redundant use_type clause.
2099 2009-04-20 Robert Dewar <dewar@adacore.com>
2101 * sem_attr.adb (Eval_Attribute, case Length): Catch more cases where
2102 this attribute can be evaluated at compile time.
2103 (Eval_Attribute, case Range_Length): Same improvement
2105 * sem_eval.ads, sem_eval.adb (Compile_Time_Compare): New procedure
2107 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2109 * sem_ch6.adb (Analye_Subprogram_Declaration): Code reorganization,
2110 for better handling of null procedures.
2111 (Check_Overriding_Indicator): Do not emit a warning on a missing
2112 overriding indicator on an operator when the type of which the operator
2113 is a primitive is private.
2115 2009-04-20 Bob Duff <duff@adacore.com>
2117 * sem.adb, gnat1drv.adb, debug.adb: Use the -gnatd.W switch to control
2120 2009-04-20 Robert Dewar <dewar@adacore.com>
2122 * sem_attr.adb: Minor reformatting
2124 * gnatcmd.adb: Minor reformatting
2126 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2128 * sem_ch4.adb (Analyze_User_Defined_Binary_Op): If left operand is
2129 overloaded and one interpretation matches the context, label the
2130 operand with the type of first formal.
2132 2009-04-20 Bob Duff <duff@adacore.com>
2134 * debug.ads: Minor comment fix.
2136 * debug.adb: Minor comment fixes.
2138 2009-04-20 Javier Miranda <miranda@adacore.com>
2140 * rtsfind.ads (RE_Null_Id): New entity of package Ada.Exceptions
2142 * exp_ch6.adb (Expand_Inlined_Call): Undo previous patch.
2144 * exp_ch11.adb (Expand_N_Raise_Statement): When the raise stmt
2145 is expanded into a call to Raise_Exception, avoid passing the
2146 exception-name'identity in runtimes in which this argument
2149 2009-04-20 Jerome Lambourg <lambourg@adacore.com>
2151 * impunit.adb: Add i-cil and i-cilobj packages, now needed by the
2152 generated bindings for cil.
2154 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2156 * sem_aggr.adb (Resolve_Record_Aggregate): If the type has unknown
2157 discriminants, collect components from the Underlying_Record_View,
2158 which will be used in the expansion of the aggregate into assignments.
2160 * sem_ch3.adb: Do not label derived type with unknown discriminants as
2161 having a private declaration.
2163 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2165 * exp_util.adb (Expand_Subtype_From_Expr): use the
2166 underlying_record_view when available, to create the proper constrained
2167 subtype for an object of a derived type with unknown discriminants.
2169 2009-04-20 Javier Miranda <miranda@adacore.com>
2171 * exp_ch6.adb (Expand_Inlined_Call): Avoid generation of temporaries for
2172 formals that have pragma unreferenced.
2174 2009-04-20 Pascal Obry <obry@adacore.com>
2176 * a-direct.adb (To_Lower_If_Case_Insensitive): Removed.
2177 Remove all calls to To_Lower_If_Case_Insensitive to preserve
2178 the pathname original casing.
2180 2009-04-20 Robert Dewar <dewar@adacore.com>
2182 * g-trasym.adb: Minor reformatting
2184 * s-os_lib.adb: Minor reformatting
2186 * sem.adb: Minor reformatting
2187 Minor code reorganization
2189 * sem_ch3.adb: Minor reformatting
2191 * sem_ch4.adb: Minor reformatting
2193 * sem_ch8.adb: Minor reformatting
2195 * sem_type.adb: Minor reformatting
2197 2009-04-20 Javier Miranda <miranda@adacore.com>
2199 * sem_disp.adb (Find_Dispatching_Type): For subprograms internally
2200 generated by derivations of tagged types use the aliased subprogram a
2201 reference to locate their controlling type.
2203 2009-04-20 Tristan Gingold <gingold@adacore.com>
2205 * g-trasym.adb: Set size of result buffer before calling
2208 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2210 * sem_ch4.adb (Valid_Candidate): When checking whether a prefixed call
2211 to a function returning an array can be interpreted as a call with
2212 defaulted parameters whose result is indexed, take into account the
2213 types of all the indices of the array result type.
2215 2009-04-20 Pascal Obry <obry@adacore.com>
2217 * a-direct.adb, s-os_lib.adb: Minor reformatting.
2219 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2221 * sem_ch8.adb (Analyze_Object_Renaming): Proper checks on incorrect
2222 null exclusion qualifiers for object renaming declarations.
2224 2009-04-20 Nicolas Roche <roche@adacore.com>
2226 * sysdep.c (__gnat_localtime_tzoff): on Windows, manipulated times are
2227 unsigned long long. So compare local_time and utc_time before computing
2230 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2232 * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration
2233 of the Underlying_Record_View before that of the derived type.
2235 * exp_ch3.adb (Expand_Record_Extension): Do not special-case types
2236 with unknown discriminants with regard to the parent subtype.
2238 2009-04-20 Bob Duff <duff@adacore.com>
2240 * sem.adb (Semantics, Walk_Library_Items): Include dependents of bodies
2241 that are not included. This is necessary if the main unit is a generic
2244 * gnat1drv.adb (Gnat1drv): Comment out the call to Check_Library_Items,
2245 because it doesn't work if -gnatn is used.
2247 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2249 * rtsfind.adb (RTE, RTE_Record_Component): In
2250 Configurable_Run_Time_Mode, do not enable front-end inlining.
2252 2009-04-20 Thomas Quinot <quinot@adacore.com>
2254 * g-socthi-vms.adb: Remove now unnecessary WITH clause on
2255 System.Address_To_Access_Conversions.
2257 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2259 * sem.adb: Guard against ill-formed subunits.
2261 2009-04-20 Bob Duff <duff@adacore.com>
2263 * output.adb (Flush_Buffer): Do not indent blank lines.
2264 (Ignore_Output): New procedure for output suppression.
2266 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
2268 * a-calfor.adb (Image): Subtract 0.5 from the sub second component only
2269 when it is positive. This avoids a potential constraint error raised
2270 by the conversion to Natural.
2272 2009-04-20 Gary Dismukes <dismukes@adacore.com>
2274 * exp_ch5.adb (Expand_Assign_Array): For the case where the assignment
2275 involves a target that has a specified address, don't set Forward_OK
2276 and Backward_OK to False if the rhs is an aggregate, since overlap
2279 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2281 * sem_ch8.adb (Analyze_Object_Renaming): Reject ambiguous expressions
2282 in an object renaming declaration when the expected type is an
2283 anonymous access type.
2285 * sem_type.adb (Disambiguate): Use anonymousness to resolve a potential
2286 ambiguity when one interpretation is an anonymous access type and the
2287 other is a named access type, and the context itself is anonymous
2289 2009-04-20 Thomas Quinot <quinot@adacore.com>
2291 * einfo.ads: Minor comment rewording
2293 * sem_aggr.adb: Minor comment rewording
2295 * sem_ch3.adb, sem_ch6.adb: Minor reformatting
2297 2009-04-20 Pascal Obry <obry@adacore.com>
2299 * adaint.c (__gnat_is_readable_file): Check for file existence
2300 when not using ACL (always the case on remote drives).
2302 2009-04-20 Robert Dewar <dewar@adacore.com>
2304 * sinfo.ads: Minor comment fixes
2306 * exp_disp.adb: Minor reformatting
2308 * gnat1drv.adb: Minor reformatting
2310 * output.adb: Minor reformatting
2312 * s-vxwext-kernel.ads: Minor reformatting
2314 * sem.ads: Minor reformatting
2316 * sem.adb: Minor reformatting
2318 * sem_elim.adb: Minor reformatting
2320 * uname.ads: Minor reformatting
2322 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2324 * init.c (__gnat_adjust_context_for_raise): On x86{-64}/Linux, add
2325 a small dope of 4 words to the adjustment to the stack pointer.
2327 2009-04-20 Thomas Quinot <quinot@adacore.com>
2329 * xoscons.adb: generate C header s-oscons.h in
2330 addition to s-oscons.ads.
2332 * socket.c: On VMS, use s-oscons.h.
2334 * sem_ch3.adb: Minor reformatting
2336 * exp_ch9.adb: Minor reformatting
2338 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2340 * gcc-interface/trans.c (check_for_eliminated_entity): Remove.
2341 (Attribute_to_gnu): Do not call check_for_eliminated_entity.
2342 (call_to_gnu): Likewise.
2344 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2346 * gcc-interface/trans.c (gigi): Declare the name of the compilation
2347 unit as the first global name at the very beginning.
2349 2009-04-20 Thomas Quinot <quinot@adacore.com>
2351 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads,
2352 s-oscons-tmplt.c, gsocket.h, g-socthi-mingw.ads, g-socthi.ads,
2353 g-sothco.ads (__gnat_inet_pton): Needs to be enabled for HP-UX as well,
2354 since HP-UX supports neither inet_aton nor inet_pton (altough the
2355 latter is part of the Single UNIX Specification!).
2356 So reorganize code, and share C implementation based on inet_addr(3)
2357 with VMS (instead of having a VMS specific Ada implementation in
2360 2009-04-20 Gary Dismukes <dismukes@adacore.com>
2362 * osint-c.ads, osint-c.adb (Get_Object_Output_File_Name): New function
2363 to return the object file name saved by Set_Object_Output_File_Name.
2365 2009-04-20 Emmanuel Briot <briot@adacore.com>
2367 * g-comlin.adb (Initialize_Option_Scan): Fix initialization of parsers
2368 for the standard command line, when argc has been modified since the
2369 start of the application.
2371 2009-04-20 Thomas Quinot <quinot@adacore.com>
2373 * socket.c (__gnat_inet_pton, Windows case): Adjust return value.
2374 WSAStringToAddress returns 0 for success and SOCKET_ERROR for failure.
2376 2009-04-20 Bob Duff <duff@adacore.com>
2378 * gnat1drv.adb (Gnat1drv): Put call to Check_Library_Items inside
2381 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2383 * exp_ch9.adb (Build_Protected_Sub_Specification): Mark generated
2384 subprogram as Eliminated when source operation is.
2385 (Expand_N_Protected_Type_Declaration): Generate protected and
2386 unprotected specs for the internal operations, even if the source
2387 operation is eliminated.
2389 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
2391 * exp_ch3.adb (Make_Predefined_Primitive_Specs,
2392 Predefined_Primitive_Bodies): Do not create the declarations and bodies
2393 of the primitive subprograms associated with dispatching select
2394 statements when the runtime is in configurable mode.
2396 2009-04-20 Ed Falis <falis@adacore.com>
2398 * s-vxwext-kernel.ads (tickGet): Use tick64Get.
2400 2009-04-20 Thomas Quinot <quinot@adacore.com>
2402 * s-oscons-tmplt.c: Add support for generating a dummy version of
2403 s-oscons.ads providing all possible constants.
2405 * g-socthi-mingw.ads: Fix calling convention for __gnat_inet_pton.
2407 * socket.c (__gnat_inet_pton): On Windows make sure we always use the
2408 ANSI version (not the UNICODE version) of WSAStringToAddress.
2410 2009-04-20 Pascal Obry <obry@adacore.com>
2412 * adaint.c (__gnat_set_OWNER_ACL): properly free memory
2413 allocated for the security descriptor and make sure all
2414 handles are closed before leaving this procedure.
2416 2009-04-20 Javier Miranda <miranda@adacore.com>
2418 * einfo.ads, einfo.adb (Is_Underlying_Record_View): New subprogram
2419 (Set_Is_Underlying_Record_View): New subprogram
2421 * sem_aggr.adb (Discr_Present, Resolve_Record_Aggregate): In case of
2422 private types with unknown discriminants use the underlying record view
2425 * sem_ch3.adb (Build_Derived_Private_Type): Enable construction of the
2426 underlying record view in the full view of private types whose parent
2427 has unknown discriminants.
2428 (Build_Derived_Record_Type): Avoid generating the class-wide entity
2429 associated with an underlying record view.
2430 (Derived_Type_Declaration): Avoid deriving parent primitives in
2431 underlying record views.
2433 * sem_ch6.adb (Check_Return_Subtype_Indication): Add support for
2434 records with unknown discriminants.
2436 * sem_type.adb (Covers): Handle underlying record views.
2437 (Is_Ancestor): Add support for underlying record views.
2439 * exp_attr.adb (Expand_Attribute): Expand attribute 'size into a
2440 dispatching call if the type of the target object is tagged and has
2441 unknown discriminants.
2443 * exp_aggr.adb (Resolve_Record_Aggregate): Add support for records with
2444 unknown discriminants.
2446 * exp_disp.adb (Build_Dispatch_Tables): Avoid generating dispatch
2447 tables for internally built underlying record views.
2449 * sprint.adb (sprint_node_actual): Improve output of aggregates with an
2450 empty list of component associations.
2452 2009-04-20 Thomas Quinot <quinot@adacore.com>
2454 * sem_ch10.adb: Minor reformatting
2456 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads,
2457 g-socthi-mingw.ads, g-socthi.ads, g-socket.adb
2458 (GNAT.Sockets.Inet_Addr): Do not use non-portable inet_aton, instead use
2459 standard inet_pton API (and emulate it on platforms that do not
2461 (GNAT.Sockets.Thin.Inet_Pton, VMS case): Implement in terms of
2462 DECC$INET_ADDR, imported in Ada.
2463 (GNAT.Sockets.Thin.Inet_Pton, VxWorks and Windows cases): Use C
2464 implementation provided by GNAT runtime.
2465 (__gnat_inet_pton): C implementation of inet_pton(3) for VxWorks and
2468 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2470 * gnat_ugn.texi: Add documentation for -fno-ivopts.
2472 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2474 * sem_ch10.adb (Analyze_Context): Do not analyze a unit in a
2475 with_clause if it is the main unit.
2477 2009-04-20 Thomas Quinot <quinot@adacore.com>
2479 * sem_type.adb, ali.adb, erroutc.adb: Minor code reorganization
2480 (no behaviour change): Use Append instead of Increment_Last followed
2483 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
2485 * exp_ch3.adb (Make_Predefined_Primitive_Specs): Do not generate the
2486 declarations of all primitives associated with dispatching asynchronous,
2487 conditional and timed selects when dispaching calls are forbidden and
2488 select statements are not allowed (such as in Ravenscar).
2489 (Predefined_Primitive_Bodies): Ditto for bodies.
2491 * exp_disp.ad (Make_DT): Do not create and populate the
2492 Select_Specific_Data of the dispatch table when dispatching calls are
2493 forbidden and select statements are not allowed (such as in Ravenscar).
2495 2009-04-20 Robert Dewar <dewar@adacore.com>
2497 * a-tifiio.adb: Minor reformatting
2499 2009-04-20 Thomas Quinot <quinot@adacore.com>
2501 * g-socthi-vms.adb, g-socket.adb, g-socket.ads: inet_aton(3), unlike
2502 other C library functions, report *failure* with a zero status, and
2503 success with a non-zero status.
2505 2009-04-20 Bob Duff <duff@adacore.com>
2507 * sem.ads, sem.adb (Walk_Library_Items): New generic procedure.
2508 (Semantics): After analyzing each unit, Append it to the
2509 Comp_Unit_List, if appropriate.
2511 * gnat1drv.adb (Check_Library_Items): New procedure for debugging
2513 (Gnat1drv): Correct comment regarding Back_End_Mode.
2515 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2517 * gnat_ugn.texi: Add documentation for -fno-inline-small-functions.
2519 2009-04-20 Thomas Quinot <quinot@adacore.com>
2521 * s-taprop-irix.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
2522 output.adb, output.ads, s-taprop-hpux-dce.adb,
2523 s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-posix.adb: Minor
2526 2009-04-20 Thomas Quinot <quinot@adacore.com>
2528 * g-socket.adb, g-socket.ads, g-socthi-mingw.ads, g-socthi-vms.adb,
2529 g-socthi-vms.ads, g-socthi-vxworks.ads, g-socthi.ads
2530 (GNAT.Sockets.Thin.C_Inet_Addr): Remove.
2531 (GNAT.Sockets.Thin.Inet_Aton): New function, imported from C library
2532 except for VMS where it is reimplemented in Ada using DECC$INET_ADDR.
2533 (GNAT.Sockets.Inet_Addr): Use inet_aton(3) instead of inet_addr(3).
2535 * debug.adb: Fix typo
2537 * gnat_rm.texi: Minor doc fix.
2539 * sem_ch7.adb, freeze.adb: Minor reformatting
2541 2009-04-20 Thomas Quinot <quinot@adacore.com>
2543 * g-socket.ads: Add new constants:
2545 Unspecified_Group_Inet_Addr
2546 All_Hosts_Group_Inet_Addr
2547 All_Routers_Group_Inet_Addr
2549 * s-oscons-tmplt.c, g-sttsne-vxworks.adb (System.OS_Constants): Add
2550 ERANGE (Result too large).
2551 (GNAT.Sockets.Thin.Task_Safe_NetDB, VxWorks version): Add missing
2552 propagation of errno to caller.
2554 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
2556 * a-calend.adb, a-calend-vms.adb: Increase the number of leap seconds
2557 to 24. Increment Leap_Seconds_Count and add an entry to aggregate
2560 2009-04-20 Gary Dismukes <dismukes@adacore.com>
2562 * sem_elim.ads (Check_For_Eliminated_Subprogram): New procedure for
2563 checking for references to eliminated subprograms that should be
2565 (Eliminate_Error_Message): Update comment to say "references" rather
2566 than "calls" (since attribute cases are handled here as well).
2568 * sem_elim.adb (Check_For_Eliminated_Subprogram): New procedure for
2569 checking for references to eliminated subprograms that should be
2570 flagged. Add with and use of Sem and Sem_Util.
2572 * sem_res.adb (Resolve_Call): Reject calls to eliminated subprograms.
2573 Add with and use of Sem_Elim.
2575 * sem_attr.adb (Analyze_Access_Attribute): Reject access attributes
2576 applied to eliminated subprograms.
2577 (Analyze_Attribute): Reject 'Address and 'Code_Address applied to
2578 eliminated subprograms.
2579 Add with and use of Sem_Elim.
2581 * sem_disp.adb (Check_Dispatching_Call): Remove error check for calls
2582 to eliminated subprograms, now handled during Resolve_Call.
2583 Remove with and use of Sem_Elim.
2585 * exp_disp.adb (Make_DT): Get Ultimate_Alias of primitive before
2586 testing Is_Eliminated, for proper handling of primitive derived from
2587 eliminated subprograms.
2589 2009-04-20 Vincent Celier <celier@adacore.com>
2591 * mlib-prj.adb (Build_Library): Use the shared library linker, if one
2592 has been declared (Library_GCC or Linker'Driver), for the driver name.
2594 * prj-nmsc.adb (Process_Linker): If Library_GCC is not declared and
2595 Linker'Driver is, use Linker'Driver as the shared library linker.
2596 (Process_Project_Level_Simple_Attributes): Issue a warning if attribute
2597 Library_GCC is declared.
2598 (Check_Library_Attributes): Set up the shared linker driver: either
2599 Library_GCC or Linker'Driver. Issue a warning if Library_GCC is
2602 2009-04-20 Thomas Quinot <quinot@adacore.com>
2604 * g-socket.ads (Send_Socket): Fix misleading comment.
2606 2009-04-20 Arnaud Charlet <charlet@adacore.com>
2608 * switch-c.adb (Scan_Front_End_Switches): Disable inspector mode in
2611 2009-04-20 Geert Bosch <bosch@adacore.com>
2613 * a-tifiio.adb (Put): Avoid generating too many digits for certain
2614 fixed types with smalls that are neither integer or the reciprocal
2617 2009-04-20 Bob Duff <duff@adacore.com>
2619 * uname.ads: Minor comment fix.
2621 * types.ads: Minor comment fix.
2623 2009-04-20 Pascal Obry <obry@adacore.com>
2625 * adaint.c (__gnat_get_libraries_from_registry): Fix code to
2626 avoid warning. At the same time fix a memory leak.
2628 * osint.adb (Get_Libraries_From_Registry): Properly free memory
2629 returned by the above routine.
2631 2009-04-20 Robert Dewar <dewar@adacore.com>
2633 * s-conca5.adb, s-conca5.ads, s-conca7.adb, s-conca7.ads, s-conca9.adb,
2634 s-conca9.ads, rtsfind.ads, s-conca2.adb, s-conca2.ads, s-conca4.adb,
2635 s-conca4.ads, s-conca6.adb, s-conca6.ads, s-conca8.adb, s-conca8.ads,
2636 s-conca3.adb, s-conca3.ads (Str_Concat_Bounds_x): New functions.
2638 * exp_ch4.adb (Expand_Concatenate): Minor code reorganization
2640 2009-04-20 Pascal Obry <obry@adacore.com>
2642 * initialize.c (__gnat_initialize): Add braces to kill warning.
2644 * adaint.c: Minor reformatting, remove trailing spaces.
2646 2009-04-17 Arnaud Charlet <charlet@adacore.com>
2648 * gcc-interface/Make-lang.in: Update dependencies.
2650 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2652 * adaint.h (__gnat_lwp_self): Declare on Linux.
2654 * adaint.c (__gnat_os_filename): Add ATTRIBUTE_UNUSED on 'filename'.
2656 2009-04-20 Robert Dewar <dewar@adacore.com>
2658 * exp_ch5.adb, usage.adb, back_end.adb, opt.ads: Implement
2659 front-end part of -fpreserve-control-flow switch.
2661 2009-04-20 Bob Duff <duff@adacore.com>
2663 * rtsfind.adb: Minor comment fix
2665 2009-04-20 Robert Dewar <dewar@adacore.com>
2667 * exp_aggr.adb: Minor reformatting
2668 Minor code reorganization (use Nkind_In)
2670 * g-socket.adb: Minor reformatting
2672 * g-socket.ads: Minor comment fix
2674 * s-auxdec.ads: Minor comment and organization update.
2676 * s-auxdec-vms_64.ads: Minor comment and organization update.
2678 * sem_ch10.adb: Minor addition of ??? comment
2680 * sem_disp.adb: Minor reformatting
2682 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2684 * inline.adb (Add_Inlined_Subprogram): Do not place on the back-end
2685 list a caller of an inlined subprogram, if the caller itself is not
2688 2009-04-20 Pascal Obry <obry@adacore.com>
2690 * adaint.c: Disable use of ACL on network drives.
2692 2009-04-20 Arnaud Charlet <charlet@adacore.com>
2694 * gnat_ugn.texi: Add examples.
2696 2009-04-20 Thomas Quinot <quinot@adacore.com>
2698 * g-socket.ads (Abort_Selector): Clarify documentation.
2700 2009-04-20 Arnaud Charlet <charlet@adacore.com>
2702 * opt.ads (Inspector_Mode): Update documentation of this flag.
2704 2009-04-20 Thomas Quinot <quinot@adacore.com>
2706 * g-socket.ads: Minor reformatting
2708 * socket.c, gsocket.h (__gnat_get_h_errno, VxWorks case): No need to
2709 consider S_resolvLib error codes since we only use the hostLib wrappers.
2711 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2713 * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration
2714 of the Underlying_Record_View after that of the derived type.
2716 2009-04-20 Arnaud Charlet <charlet@adacore.com>
2718 * switch-c.adb (Scan_Front_End_Switches): Disable front-end inlining
2721 2009-04-20 Javier Miranda <miranda@adacore.com>
2723 * sem_ch6.adb (New_Overloaded_Entity): Minor reformating.
2725 * sem_ch6.ads (Subtype_Conformant, Type_Conformant): Add missing
2728 * exp_aggr.adb (Build_Record_Aggr_Code): Code cleanup.
2731 (Check_Dispatching_Operation): Set attribute Is_Dispatching_Operation
2732 in internally built overriding subprograms.
2734 2009-04-20 Doug Rupp <rupp@adacore.com>
2736 * s-auxdec-vms_64.ads (Integer_{8,16,32,64}_Array): New array types.
2738 * s-auxdec.ads: Likewise
2740 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2742 * sem_ch3.adb (Find_Type_Name): Reject the completion of a private
2743 type by an interface.
2745 * exp_ch6.adb (Expand_Call): Inline To_Address unconditionally, to
2746 minimze difference in expanded tree when compiled as spec of the main
2747 unit, or as a spec in the context of another unit.
2749 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
2751 * a-calend.adb: Remove types char_Pointer, int, tm and tm_Pointer.
2752 (localtime_tzoff): This routine no longer accepts an actual of type
2754 (UTC_Time_Offset): Remove local variable Secs_TM.
2756 * sysdep.c (__gnat_localtime_tzoff): This routine no longer accepts an
2757 actual of type struct tm*. Add local variable of type struct tm for all
2758 targets that provide localtime_r and need to invoke it.
2760 2009-04-20 Thomas Quinot <quinot@adacore.com>
2762 * s-oscons-tmplt.c, g-socket.adb, g-socket.ads
2763 (GNAT.Sockets.Resolve_Error): Add case of EPIPE
2764 Add case of EAGAIN for platforms where it is not equal to EWOULDBLOCK
2766 2009-04-20 Robert Dewar <dewar@adacore.com>
2768 * sem_ch3.adb: Minor reformatting
2770 * lib-load.adb: Minor reformatting
2772 * sem_ch4.adb: Minor reformatting
2774 2009-04-20 Robert Dewar <dewar@adacore.com>
2776 * namet-sp.ads, namet-sp.adb (Is_Bad_Spelling_Of): Implement new spec
2777 (equal values => False).
2779 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2781 * exp_ch6.adb (Is_Null_Procedure): predicate is global, so that calls
2782 to null procedures can be inlined unconditionally.
2784 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2786 * gcc-interface/trans.c (call_to_gnu): When creating the copy for a
2787 non-addressable parameter passed by reference, do not convert the
2788 actual if its type is already the nominal type, unless it is of
2789 self-referential size.
2791 2009-04-20 Arnaud Charlet <charlet@adacore.com>
2793 * gnat_ugn.texi: Fix typos.
2795 2009-04-20 Robert Dewar <dewar@adacore.com>
2797 * debug.adb, gnat1drv.adb, sem_ch13.adb: Add circuitry to
2798 Validate_Unchecked_Warnings to suppress warnings about size or
2799 alignment or extra bits if either type involved has pragma Warnings
2800 (Off) set for the type entity.
2802 2009-04-19 Eric Botcazou <ebotcazou@adacore.com>
2804 * gcc-interface/trans.c (gigi): Make the special IA-64 descriptor type
2805 a builtin type and give it a name.
2807 2009-04-17 Diego Novillo <dnovillo@google.com>
2809 * gcc-interface/misc.c (gnat_expand_expr): Remove.
2810 (LANG_HOOKS_EXPAND_EXPR): Remove.
2812 2009-04-17 Robert Dewar <dewar@adacore.com>
2814 * sem_ch3.adb: Minor reformatting
2816 2009-04-17 Pascal Obry <obry@adacore.com>
2818 * adaint.c: Add __gnat_use_acl global variable to control use of ACL.
2820 2009-04-17 Ed Schonberg <schonberg@adacore.com>
2822 * sem_ch3.adb (Build_Derived_Enumeration_Type): Diagnose properly
2823 illegal constraints on type derived from formal discrete types.
2825 2009-04-17 Thomas Quinot <quinot@adacore.com>
2829 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
2830 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
2831 g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb,
2832 g-socket.ads (GNAT.Sockets.Thin.C_Send,
2833 GNAT.Sockets.Thin.Syscall_Send): Remove unused subprograms.
2834 Replace calls to send(2) with equivalent sendto(2) calls.
2835 (GNAT.Sockets.Send_Socket): Factor common code in inlined subprogram.
2836 (GNAT.Sockets.Write): Account for the case of hyper-empty arrays, do not
2837 report an error in that case. Factor code common to the two versions
2838 (datagram and stream) in common routine Stream_Write.
2840 2009-04-17 Robert Dewar <dewar@adacore.com>
2842 * exp_disp.adb: Minor reformatting
2843 Minor code reorganization (use Nkind_In)
2845 * prepcomp.adb: Minor reformatting
2847 * sem_ch3.adb: Minor reformatting
2849 * sem_res.adb: Minor comment addition
2851 * exp_ch5.adb (Expand_Assign_Array): Use Has_Address_Clause to test
2854 * lib-xref.adb (Generate_Reference): Exclude recursive calls from
2855 setting Is_Referenced
2857 * types.ads: Minor reformatting
2859 2009-04-17 Arnaud Charlet <charlet@adacore.com>
2861 * gnat_ugn.texi: Initial documentation on binding generator.
2863 2009-04-17 Ed Schonberg <schonberg@adacore.com>
2865 * einfo.ads, einfo.adb: New attribute Underlying_Record_View, to handle
2866 type extensions whose parent is a type with unknown discriminants.
2868 * exp_aggr.adb (Expand_Record_Aggregate): If the type of an extension
2869 aggregate has unknown discriminants, use the Underlying_Record_View to
2870 obtain the discriminants of the ancestor part.
2872 * exp_disp.adb (Build_Dispatch_Tables): Types that are
2873 Underlying_Record_Views share the dispatching information of the
2874 original record extension.
2876 * exp_ch3.adb (Expand_Record_Extension): If the type inherits unknown
2877 discriminants, propagate dispach table information to the
2878 Underlying_Record_View.
2880 * sem_ch3.adb (Build_Derived_Private_Type): If parent type has unknown
2881 discriminants and declaration is not a completion, generate
2882 Underlying_Record_View to provide proper discriminant information to
2883 the front-end and to gigi.
2885 2009-04-17 Robert Dewar <dewar@adacore.com>
2887 * s-conca5.adb, g-sercom.adb, s-conca5.ads, s-conca7.adb, exp_imgv.adb,
2888 s-conca7.ads, s-crc32.adb, s-crc32.ads, s-conca9.adb, s-conca9.ads,
2889 s-addope.adb, i-cstrin.ads, s-addope.ads, s-carun8.adb, s-carun8.ads,
2890 g-htable.ads, g-hesora.adb, g-hesora.ads, s-htable.adb, s-htable.ads,
2891 s-conca2.adb, s-conca2.ads, a-except.adb, s-conca4.adb, a-except.ads,
2892 s-conca4.ads, s-except.adb, s-except.ads, s-conca6.adb, s-conca6.ads,
2893 g-spchge.adb, g-spchge.ads, g-u3spch.adb, g-u3spch.ads, s-conca8.adb,
2894 s-conca8.ads, g-byorma.adb, g-byorma.ads, s-memory.adb, s-memory.ads,
2895 g-speche.adb, g-speche.ads, g-stsifd-sockets.adb, exp_dist.adb,
2896 s-imgenu.adb, s-imgenu.ads, s-mastop.adb, s-mastop.ads, s-exctab.adb,
2897 s-exctab.ads, s-imenne.adb, s-imenne.ads, s-casuti.adb, osint.adb,
2898 s-assert.adb, s-casuti.ads, s-assert.ads, s-os_lib.adb, s-conca3.adb,
2899 s-conca3.ads: Remove unneeded pragma Warnings
2901 2009-04-17 Robert Dewar <dewar@adacore.com>
2903 * g-moreex.adb: Add comments.
2905 * s-auxdec.ads: Add ??? comment for uncommented pragma Warnings (Off)
2907 * s-auxdec-vms_64.ads: Add ??? comment for uncommented pragma
2910 * prepcomp.adb: Add ??? comment
2912 * a-tasatt.adb: Minor reformatting
2914 * g-trasym-vms-alpha.adb: Add ??? comment
2916 * g-trasym-vms-ia64.adb: Add ??? comment
2918 * xoscons.adb: Minor reformatting
2920 * s-tassta.adb: Minor reformatting
2922 * s-scaval.adb: Add ??? comment
2924 * stand.ads: Minor code clean up (remove junk with of Namet)
2926 * s-strcom.adb, s-strcom.ads, s-string.adb, s-string.ads, s-sopco3.adb,
2927 s-sopco3.ads, s-strops.adb, s-strops.ads, s-sopco5.adb, s-sopco5.ads,
2928 s-wchcnv.adb, s-wchcnv.ads, s-ststop.adb, s-ststop.ads, s-soflin.adb,
2929 s-soflin.ads, s-traceb.adb, s-traceb.ads, s-traent.adb, s-traent.ads,
2930 s-secsta.adb, s-secsta.ads, s-utf_32.adb, s-utf_32.ads, s-wchcon.adb,
2931 s-wchjis.adb, s-wchcon.ads, s-wchjis.ads, s-sopco4.adb, s-sopco4.ads,
2932 s-stache.adb, s-stache.ads, s-stoele.adb, s-stoele.ads, s-stalib.adb,
2933 s-stalib.ads, s-os_lib.ads, s-purexc.ads: Remove no longer needed
2934 Warnings off pragmas.
2936 2009-04-17 Pascal Obry <obry@adacore.com>
2938 * initialize.c: Fix test for reallocating the arguments array.
2940 2009-04-17 Geert Bosch <bosch@adacore.com>
2942 * exp_fixd.adb (Expand_Convert_Float_To_Fixed): Have float to fixed
2943 conversion truncate only for decimal fixed point types.
2945 2009-04-17 Jerome Lambourg <lambourg@adacore.com>
2947 * g-comlin.adb (Initialize_Scan_Option): Make sure the sections are
2950 2009-04-17 Robert Dewar <dewar@adacore.com>
2952 * exp_ch5.adb (Expand_Assign_Array): Do not set Forwards_OK and
2953 Backwards_OK if either operand has an address clause.
2955 2009-04-17 Pascal Obry <obry@adacore.com>
2957 * initialize.c: Code clean up, use realloc.
2959 2009-04-17 Pascal Obry <obry@adacore.com>
2961 * initialize.c: Do not get Unicode command line if Unicode support not
2963 Add support for wildcard expansion for Unicode parameters on Win32.
2965 * mingw32.h: Add missing macros when Unicode support not activated.
2967 2009-04-17 Javier Miranda <miranda@adacore.com>
2969 * sem_ch6.adb (Check_Anonymous_Return): Add missing checks to
2970 avoid generating code that references the Current_Master
2971 when compiling without tasks.
2973 2009-04-17 Vincent Celier <celier@adacore.com>
2975 * prj-attr.adb: New project level attribute Target
2977 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process
2980 * prj.ads (Project_Configuration): New component Target
2982 2009-04-17 Thomas Quinot <quinot@adacore.com>
2984 * exp_ch7.adb (Expand_Ctrl_Function_Call): Remove incorrect special
2985 case for the case of an aggregate component, the attach call for the
2986 result is actually needed.
2988 * exp_aggr.adb (Backend_Processing_Possible): Backend processing for
2989 an array aggregate must be disabled if the component type requires
2992 * exp_ch3.adb: Minor reformatting
2994 2009-04-17 Bob Duff <duff@adacore.com>
2996 * output.ads (Indent,Outdent): New procedures for indenting the output.
2997 (Write_Char): Correct comment -- LF _is_ allowed.
2999 * output.adb (Indent,Outdent): New procedures for indenting the output.
3000 Keep track of the indentation level, and make sure it doesn't get too
3002 (Flush_Buffer): Insert spaces at the beginning of each line, if
3003 indentation level is nonzero.
3004 (Save_Output_Buffer,Restore_Output_Buffer): Save and restore the current
3006 (Set_Standard_Error,Set_Standard_Output): Remove superfluous
3007 "Next_Col := 1;". Flush_Buffer does that.
3009 * sem_ch6.adb, sem_ch7.adb (Debug_Flag_C): Reorganize the output
3010 controlled by the -gnatdc switch. It now occurs on entry/exit to the
3011 relevant analysis routines, and calls Indent/Outdent to make the
3012 indentation reflect the nesting level. Add "helper" routines, since
3013 otherwise lots of "return;" statements would skip the debugging output.
3015 2009-04-17 Arnaud Charlet <charlet@adacore.com>
3017 * s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-linux.adb,
3018 s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-hpux-dce.adb,
3019 s-taprop-posix.adb (Suspend_Until_True): Protect against early wakeup.
3021 2009-04-17 Thomas Quinot <quinot@adacore.com>
3023 * exp_aggr.adb: Minor code reorganization, no behaviour change.
3025 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3027 * sem_ch8.adb (Use_One_Type): Handle properly a redundant use type
3028 clause in a unit that is a package body or a subunit, when the previous
3029 clause appears in a spec or a parent.
3031 2009-04-17 Thomas Quinot <quinot@adacore.com>
3033 * sinfo.ads, exp_aggr.adb, exp_aggr.ads: Minor reformatting
3035 * exp_ch7.adb: Minor reformatting
3037 2009-04-17 Bob Duff <duff@adacore.com>
3039 * exp_ch4.adb (Expand_Allocator_Expression): In an initialized
3040 allocator, check that the expression of the qualified expression obeys
3041 the constraints of the subtype of the qualified expression.
3043 2009-04-17 Thomas Quinot <quinot@adacore.com>
3045 * sprint.adb (Write_Itype): Add handling of enumeration subtypes.
3047 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3049 * exp_ch4.adb (Expand_Allocator_Expression): Apply constraint check to
3050 aggregate, using context imposed by subtype mark in allocator.
3052 2009-04-17 Pascal Obry <obry@adacore.com>
3054 * gnat_rm.texi: Document GNAT_CODE_PAGE environment variable
3056 2009-04-17 Nicolas Roche <roche@adacore.com>
3058 * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each
3061 2009-04-17 Gary Dismukes <dismukes@adacore.com>
3063 * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to
3064 cover both calls and attribute references ("call" => "reference").
3066 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3068 * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access
3069 type for which Storage_Size is set to 0 is legal in a pure unit.
3071 2009-04-17 Thomas Quinot <quinot@adacore.com>
3073 * exp_ch7.adb: Minor reformatting
3075 2009-04-17 Robert Dewar <dewar@adacore.com>
3077 * restrict.adb (Check_Restriction_No_Dependence): Don't check
3078 restriction if outside main extended source unit.
3080 * sem_ch10.adb (Analyze_With_Clause): Check No_Dependence restriction
3081 for parents of child units as well as the child unit itself.
3083 2009-04-17 Bob Duff <duff@adacore.com>
3085 * checks.ads: Minor comment fix
3087 * exp_aggr.ads: Minor comment fix
3089 2009-04-17 Nicolas Roche <roche@adacore.com>
3091 * adaint.c: Improve cross compiler detection and handling.
3093 2009-04-17 Eric Botcazou <ebotcazou@adacore.com>
3095 * exp_ch4.adb (Expand_Concatenation): Do not use calls at -Os.
3097 2009-04-17 Pascal Obry <obry@adacore.com>
3099 * mingw32.h: Add S2WSC and WS2SC macros to convert to/from
3102 * adaint.h: Encoding_Unspecified is now defined. Corresponds to the
3103 value when no encoding form paramter is set on Text_IO services.
3105 * adaint.c: CurrentCodePage new variable on Windows.
3106 Use new macros S2WSC and WS2SC instead of the UTF-8 oriented
3109 * mkdir.c: Use new macros S2WSC and WS2SC instead of the UTF-8 oriented
3112 * initialize.c: Initialize CurrentCodePage depending on GNAT_CODE_PAGE
3113 environment variable value. Default is UTF-8.
3115 * s-crtl.ads: Filename_Encoding add Unspecified in the enumeration type.
3116 fopen and freopen encoding parameter is now set to Unspecified.
3117 The default value is in this case UTF-8 (as it was before) but
3118 use the new macros that convert to/from the code page set
3119 at runtime (CurrentCodePage).
3121 * s-fileio.adb: When no encoding specified use Unspecified value.
3123 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3125 * atree.adb, atree.ads: Remove dead code.
3127 2009-04-17 Arnaud Charlet <charlet@adacore.com>
3129 * gcc-interface/Make-lang.in: Update dependencies.
3131 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3133 * sem_ch3.adb (Access_Subprogram_Definition): Additional checks on
3134 illegal uses of incomplete types in formal parts and return types.
3136 * sem_ch6.adb (Process_Formals): Taft-amendment types are legal in
3137 access to subprograms.
3139 * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to use
3140 Taft-amendment types as the return type of an access_to_function type.
3142 * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete
3143 type for access_to_subprograms. The check is performed on package exit.
3145 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3147 * atree.ads, atree.adb: Move New_Copy_Tree.to sem_util.
3149 * nlists.ads, nlists.adb: Move New_Copy_List to sem_util.
3151 * lib-load.adb: Use Copy_Separate_Tree rather than New_Copy_Tree
3153 * sem_util.ads, sem_util.adb: New_Copy_Tree and New_Copy_List belong in
3154 semantic units, because the handling of itypes in the copied tree
3155 requires semantic information that does not belong in atree.
3157 2009-04-17 Robert Dewar <dewar@adacore.com>
3159 * par-ch6.adb: Minor reformatting
3161 * prj.adb: Minor reformatting
3163 2009-04-17 Gary Dismukes <dismukes@adacore.com>
3165 * par-ch6.adb (P_Subprogram): Overriding indicators should be allowed
3166 on protected subprogram bodies, so exclude the case where Pf_Flags is
3167 Pf_Decl_Pbod from the error check.
3169 * par-ch9.adb (P_Protected_Operation_Items): Permit overriding
3170 indicators on subprograms in protected bodies, and proceed with parsing
3173 * sem_ch6.adb (Verify_Overriding_Indicator): Exclude protected
3174 subprograms from the check for primitiveness on subprograms with
3175 overriding indicators.
3176 (Check_Overriding_Indicator): Include protected subprograms in the
3177 style check for missing overriding indicators.
3179 2009-04-17 Tristan Gingold <gingold@adacore.com>
3181 * init.c: Fix stack checking for x86 Darwin.
3183 2009-04-17 Vincent Celier <celier@adacore.com>
3185 * prj-attr.adb: New project level attribute Object_File_Suffix
3188 * prj-nmsc.adb (Add_Source): Use the object file suffix to get the
3190 (Process_Compiler): Process attribute Object_File_Suffix
3192 * prj.adb (Object_Name): Use suffix Object_File_Suffix instead of
3193 platform suffix, when specified.
3195 * prj.ads (Language_Config): New component Object_File_Suffix,
3196 defaulted to No_Name.
3197 (Object_Name): New parameter Object_File_Suffix, defaulted to No_Name
3199 * snames.ads-tmpl: New standard name Object_File_Suffix
3201 2009-04-17 Robert Dewar <dewar@adacore.com>
3203 * gnat_rm.texi: Add documentation about No_Streams restriction
3205 * sem_attr.adb (Check_Stream_Attribute): Exclude implicit stream
3206 attributes when checking No_Streams restriction.
3208 2009-04-17 Thomas Quinot <quinot@adacore.com>
3210 * rtsfind.ads (RE_Request_Destroy): New PolyORB s-parint entity.
3212 * exp_dist.adb (PolyORB_Support.Build_General_Calling_Stubs): Add
3213 missing calls to RE_Request_Destroy to deallocate request objects after
3216 2009-04-17 Nicolas Setton <setton@adacore.com>
3218 * link.c: Fix support for passing a response file under Darwin.
3220 2009-04-17 Emmanuel Briot <briot@adacore.com>
3222 * prj.adb (Free): new subprogram.
3224 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3226 * sem_ch3.adb: additional initialization on incomplete subtypes.
3228 * sem_ch6.adb (Process_Formals): if the subprogram is in the private
3229 part and one of the formals is an incomplete tagged type, attach to
3230 list of private dependends of the type for later validation.
3232 * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to declare
3233 primitive operations of a Taft-amendmment type.
3235 * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete
3236 type. The check is performed on package exit, possibly after the
3237 subprogram is frozen.
3239 2009-04-17 Vincent Celier <celier@adacore.com>
3241 * prj-nmsc.adb (Get_Directories): Get the object and exec directory
3242 before looking for source directories, but make sure that there are nil
3243 if they are not explicitely declared and there is explicitely no
3244 sources in the project.
3246 2009-04-17 Pascal Obry <obry@adacore.com>
3248 * initialize.c: Set gnat_argv with UTF-8 encoded strings on Windows.
3250 * init.c: Fix minor typo and style fix.
3252 2009-04-17 Robert Dewar <dewar@adacore.com>
3254 * a-except.adb, a-except-2005.adb: Add PE_Address_Of_Intrinsic
3256 * sem_attr.adb (Analyze_Attribute, case Address): Use
3257 PE_Address_Of_Intrinsic.
3259 * types.ads: Add PE_Address_Of_Intrinsic
3261 * types.h: Add PE_Address_Of_Intrinsic
3263 2009-04-17 Nicolas Setton <setton@adacore.com>
3265 * gcc-interface/Makefile.in: Under darwin, build shared libraries
3266 with install_name starting with "@rpath/".
3268 2009-04-17 Nicolas Setton <setton@adacore.com>
3270 * link.c: Add darwin section
3272 2009-04-16 Robert Dewar <dewar@adacore.com>
3274 * g-pehage.adb: Minor reformatting
3276 * sem_ch12.adb: Minor reformatting
3278 * exp_dist.adb: Minor reformatting
3280 * bindgen.adb: Minor style fixes.
3282 2009-04-16 Ed Schonberg <schonberg@adacore.com>
3284 * sem_eval.adb (Eval_Indexed_Component): Extend constant-folding of
3285 indexed components to the case where the prefix is a static string
3288 2009-04-16 Javier Miranda <miranda@adacore.com>
3290 * exp_ch3.adb (Expand_N_Object_Declaration): In case of build-in-place
3291 objects avoid any further expansion of the expression initializing the
3294 2009-04-16 Ed Schonberg <schonberg@adacore.com>
3296 * sem_ch12.adb (Preanalyze_Actuals): If the instance is a child unit
3297 that hides an outer homograph, make that homograph invisible when
3298 analyzing the actuals, to to prevent illegal direct visibility on it.
3300 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
3302 * g-pehage.adb (Initialize): Fix off-by-one error.
3304 2009-04-16 Tristan Gingold <gingold@adacore.com>
3306 * init.c: Detect real stack overflow on Darwin.
3308 * system-darwin-x86.ads: Use stack probing on darwin x86.
3310 2009-04-16 Ed Schonberg <schonberg@adacore.com>
3312 * sem_attr.adb (Analyze_Attribute, case 'Address): It is illegal to
3313 take the address of an intrinsic subprogram.
3315 2009-04-16 Arnaud Charlet <charlet@adacore.com>
3317 * gcc-interface/Makefile.in: Change g-trasym to g-trasym-unimplemented
3318 for the targets where GNAT.Traceback.Symbolic is not supported.
3320 2009-04-16 Vincent Celier <celier@adacore.com>
3322 * g-trasym-unimplemented.ads, g-trasym-unimplemented.adb: New file.
3324 * g-trasym.ads: Update comments.
3326 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com>
3328 * tracebak.c (STOP_FRAME): Verify validity of the current address
3329 before dereferencing.
3331 2009-04-16 Ed Schonberg <schonberg@adacore.com>
3333 * sprint.adb (Write_Itype): If the itype is an array subtype, preserve
3334 the original location of the index expressions and the index subtypes,
3335 to prevent spurious out-of-scope references in gigi.
3337 2009-04-16 Tristan Gingold <gingold@adacore.com>
3339 * init.c, s-osinte-darwin.ads, system-darwin-x86_64.ads:
3340 Add support for stack checking on darwin.
3342 2009-04-16 Vincent Celier <celier@adacore.com>
3344 * prj-attr.adb: New attribute Runtime_Source_Dir
3346 * prj-nmsc.adb (Process_Project_Level_Array_Attributes): Process
3347 attribute Runtime_Source_Dir.
3348 (Check_Naming_Schemes): Give default values to out parameters to avoid
3351 * prj.ads (Language_Config): New component Runtime_Source_Dir
3353 * snames.ads-tmpl: New standard name Runtime_Source_Dir
3355 2009-04-16 Pascal Obry <obry@adacore.com>
3357 * adaint.h, adaint.c (__gnat_rmdir): New routine.
3358 Simple wrapper routines used to convert to proper encoding on
3361 * s-crtl.ads: Use __gnat_rmdir instead of direct call to the C library.
3363 * g-dirope.adb (Remove_Dir): Fix a bug, the root directory was removed
3366 2009-04-16 Pascal Obry <obry@adacore.com>
3368 * s-crtl.ads, s-os_lib.adb: Minor code clean-up.
3370 2009-04-16 Thomas Quinot <quinot@adacore.com>
3372 * snames.ads-tmpl (Name_Defined): New predefined name for use by the
3373 integrated preprocessor.
3375 * prep.ads, prep.adb (Setup_Hooks): New subprogram.
3376 (Initialize): Split into two subprograms, Initialize (to be called
3377 prior to compiler command line processing) and Setup_Hooks (to be called
3378 later on when the first source file is loaded).
3380 * gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks.
3381 Add call to Prep.Initialize.
3383 * sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call
3384 to Prep.Setup_Hooks.
3386 2009-04-16 Pascal Obry <obry@adacore.com>
3388 * adaint.h, adaint.c (__gnat_chdir): New routine.
3389 Simple wrapper routines used to convert to proper encoding on
3392 * s-crtl.ads: Use __gnat_chdir instead of direct call to the C library.
3394 * a-direct.adb, g-dirope.adb: Use chdir from System.CRTL.
3396 2009-04-16 Quentin Ochem <ochem@adacore.com>
3398 * sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead
3401 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
3403 * a-convec.ads (Is_Empty): Mark inline.
3405 2009-04-16 Nicolas Roche <roche@adacore.com>
3407 * init.c (__gnat_init_float): Initialize FPU on x86_64 windows
3409 2009-04-16 Thomas Quinot <quinot@adacore.com>
3411 * prepcomp.adb: Minor reformatting
3413 2009-04-16 Jerome Lambourg <lambourg@adacore.com>
3415 * sem_prag.adb (Process_Import_Or_Interface): With .NET,
3416 Access_Subprogram types can also be imported.
3417 (Check_Form_Of_Interface_Name): Accept '/' character in entity CIL
3420 2009-04-16 Ed Schonberg <schonberg@adacore.com>
3422 * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration):
3423 preserve homonym chain when the declaration is rewritten into a
3424 renaming declaration, in order to preserve visibility structure.
3426 2009-04-16 Jerome Lambourg <lambourg@adacore.com>
3428 * sem_prag.adb (Analyze_Pragma): Make sure that pragma pack is not
3429 taken into account for VM targets.
3431 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com>
3433 * g-calend.ads, g-calend.adb (Week_In_Year): Now calls
3435 (Year_Week_In_Year): New routine which contains the original code from
3436 Week_In_Year. Add the missing special case for January 1st falling on
3439 2009-04-16 Thomas Quinot <quinot@adacore.com>
3441 * exp_dist.adb (Build_From_Any_Call): For a subtype that is a generic
3442 actual type, use the base type to build the To_Any function.
3443 (Build_From_Any_Function): Remove junk, useless subtype conversion.
3445 2009-04-16 Thomas Quinot <quinot@adacore.com>
3447 * exp_ch9.adb, exp_code.adb, tbuild.adb, sem_case.adb,
3448 restrict.adb: Minor code reorganization (use
3449 Add_{Char,Str}_To_Name_Buffer instead of inlining it by hand).
3451 2009-04-16 Bob Duff <duff@adacore.com>
3453 * exp_ch6.ads, exp_ch6.adb (Is_Build_In_Place_Function_Return): Remove,
3456 2009-04-16 Thomas Quinot <quinot@adacore.com>
3458 * sem_ch4.adb: Minor reformatting
3460 * adaint.c: Remove junk duplicated code.
3462 * sem_ch3.adb: Minor reformatting
3464 * exp_dist.adb: Minor comment rewording
3466 2009-04-16 Robert Dewar <dewar@adacore.com>
3468 * gnat_rm.texi: Document effect of Assume_No_Invalid_Values and -gnatVa
3471 2009-04-16 Ed Schonberg <schonberg@adacore.com>
3473 * sem_ch4.adb (Find_Equality_Types): Filter out types that are not
3474 usable before calling Add_One_Interp, to resolve spurious ambiguities.
3476 2009-04-16 Robert Dewar <dewar@adacore.com>
3478 * Make-lang.in: Add entries for s-conca?.o
3480 * Makefile.rtl: Add entries for s-conca?
3482 * debug.adb: Add debug flags -gnatd.c and -gnatd.C to control behavior
3483 of concatenation expansion
3485 * exp_ch4.adb (Expand_Concatenation): Generate calls for certain
3486 string cases instead of expanding assignments inline.
3488 * opt.ads (Optimize_Size): New flag
3490 * s-conca2.ads, s-conca2.adb, s-conca3.adb, s-conca3.ads,
3491 s-conca4.adb, s-conca4.ads, s-conca5.adb, s-conca5.ads, s-conca6.adb,
3492 s-conca6.ads, s-conca7.ads, s-conca7.adb, s-conca8.adb, s-conca8.ads,
3493 s-conca9.adb, s-conca9.ads: New file.
3495 2009-04-16 Robert Dewar <dewar@adacore.com>
3497 * exp_ch6.adb: Add comments
3499 * rtsfind.ads: Add entries for s-conca? routines
3501 2009-04-16 Arnaud Charlet <charlet@adacore.com>
3503 * gcc-interface/Make-lang.in: Update dependencies.
3505 * gcc-interface/Makefile.in: Update translation for vms.
3507 2009-04-16 Ed Schonberg <schonberg@adacore.com>
3509 * sem_ch12.adb (Map_Formal_Package_Entities): renamed from Map_Entities
3510 and made global, to be used when installing parents of a child
3511 instance, to provide mappings for entities declared in formal packages
3512 of ancestor units. Now called from Install_Formal_Packages.
3514 2009-04-16 Doug Rupp <rupp@adacore.com>
3516 * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events with others
3517 notation for clarity.
3519 * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
3520 s-taprop-mingw.adb, s-taprop-linux.adb, s-taprop-solaris.adb,
3521 s-taprop-irix.adb, s-taprop-hpux-dce.adb, s-taprop-posix.adb
3522 (Initialize): Initialize Known_Tasks with Environment task.
3524 * s-taskin.ads (Task_States): Move new states to end for the sake of
3527 * s-tassta.adb (Task_Wrapper): Fix comment about Enter_Task.
3529 2009-04-16 Ed Schonberg <schonberg@adacore.com>
3531 * exp_ch9.adb (Expand_N_Protected_Type_Declaration): If a protected
3532 operation has an inline pragma, propagate the flag to the internal
3533 unprotected subprogram.
3535 2009-04-16 Doug Rupp <rupp@adacore.com>
3537 * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-mingw.adb,
3538 s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb,
3539 s-taprop-hpux-dce.adb, s-taprop-posix.adb
3540 (Enter_Task): Move Known_Tasks initialization to s-tassta.adb
3542 * s-taprop-vms.adb (Enter_Task): Likewise.
3543 (Initialize): Import DBEXT, Debug_Register. Register DBGEXT callback.
3545 * s-tassta.adb (Activate_Tasks): After task creation set state to
3546 Activating, vice Runnable. Initialize Known_Tasks, moved here from
3547 s-taprop.adb (Enter_Task). Set Debug_Event_Activating for debugger.
3548 Set state to Runnable after above.
3549 (Task_Wrapper): Set Debug_Event_Run. In exception block set
3550 Debug_Event_Terminated.
3552 * s-taskin.ads (Task_States): Add new states Activiting and
3553 Activator_Delay_Sleep.
3554 (Bit_Array, Debug_Event_Array): New types.
3555 (Global_Task_Debug_Event_Set: New flag.
3556 (Common_ATCB): New field Debug_Events.
3558 * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events.
3560 * s-tasren.adb (Timed_Selective_Wait): Set Activator_Delay_Sleep vice
3563 * s-tasini.adb (Locked_Abort_To_Level): Add case alternatives for when
3564 Activating and when Acceptor_Delay_Sleep.
3566 * s-tasdeb.ads: Add constants for Debug_Events.
3567 (Debug_Event_Kind_Type): New subtype.
3568 (Signal_Debug_Event): New subprogram.
3570 * s-tasdeb.adb (Signal_Debug_Event): New null subprogram.
3572 2009-04-16 Thomas Quinot <quinot@adacore.com>
3574 * sem_elim.adb: Minor reformatting
3576 * freeze.adb: Minor reformatting
3578 * exp_ch4.adb: Minor reformatting
3580 2009-04-16 Emmanuel Briot <briot@adacore.com>
3582 * prj-nmsc.adb (Path_Name_Of): fix memory leak
3584 2009-04-16 Robert Dewar <dewar@adacore.com>
3586 * sinfo.ads (Backwards_OK, Forwards_OK): Clarify documentation
3588 2009-04-16 Vincent Celier <celier@adacore.com>
3590 * fmap.adb (Initialize): Show the current line when the mapping file
3591 is detected as "incorrectly formatted".
3593 2009-04-16 Robert Dewar <dewar@adacore.com>
3595 * sem_ch12.adb: Minor reformatting
3597 * sem_ch5.adb: Minor comment addition
3599 * sem_util.adb: Minor reformatting
3601 * sinput-p.adb: Minor reformatting
3602 Add missing pragma Warnings (On)
3604 2009-04-16 Ed Falis <falis@adacore.com>
3606 * s-vxwext-kernel.adb: (ERROR): deleted unused constant
3608 2009-04-16 Vincent Celier <celier@adacore.com>
3610 * ali-util.adb: Minor comment spelling error fix
3612 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
3614 * exp_ch5.adb (Expand_Assign_Array): For the GCC back-end, do not
3615 generate an assignment loop in case of overlap.
3617 2009-04-16 Olivier Hainque <hainque@adacore.com>
3619 * gnat_ugn.texi (gnatmem description): Make it explicit that
3620 gnatmem is designed to work in association with static runtime
3623 2009-04-16 Thomas Quinot <quinot@adacore.com>
3625 * sem_type.adb: Minor reformatting
3627 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com>
3629 * s-osprim-darwin.adb, s-osprim-posix.adb (Clock): Add comment
3630 concerning return codes of gettimeofday and return value check.
3632 2009-04-16 Ed Falis <falis@adacore.com>
3634 * s-vxwext-kernel.ads (Int_Lock, Int_Unlock): set to convention C so
3635 body can be renaming of imported routines.
3637 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com>
3639 * s-asthan-vms-alpha.adb: Disable warnings on alignment in a more
3642 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
3644 * exp_ch9.adb: Comment improvements.
3645 (Build_Entry_Family_Name): Add parentheses around the index of a entry
3648 2009-04-15 Bob Duff <duff@adacore.com>
3650 * sem_warn.adb (Check_Infinite_Loop_Warning): Catch cases like
3651 "while X /= null loop" where X is unchanged inside the loop. We were
3652 not warning in this case, because of the pointers -- we feared that the
3653 loop variable could be updated via a pointer, if there are any pointers
3654 around the place. But that is impossible in this case.
3656 * sem_util.adb (May_Be_Lvalue): This routine was overly pessimistic in
3657 the case of dereferences. In X.all, X cannot be an l-value. We now
3658 catch that case (and implicit dereferences, too).
3660 2009-04-15 Vincent Celier <celier@adacore.com>
3662 * sinput-p.ads, sinput-p.adb (Clear_Source_File_Table): New procedure
3664 2009-04-15 Ed Schonberg <schonberg@adacore.com>
3666 * sem_ch12.adb (Is_Actual_Of_Previous_Formal): Make fully recursive.
3668 (Analyze_Package_Instantiation): If generic unit in child instance is
3669 the same as generic unit in parent instance, look for an outer homonym
3670 to locate the desired generic.
3672 2009-04-15 Bob Duff <duff@adacore.com>
3674 * sem_ch5.adb (Analyze_Loop_Statement): Don't check for infinite loop
3675 warnings unless the loop comes from source, because checking generated
3676 loops is a waste of time, and makes it harder to debug
3677 Check_Infinite_Loop_Warning.
3679 * sem_warn.adb (Check_Infinite_Loop_Warning): If the local variable
3680 tested in the while loop is a renaming, do not warn. Otherwise, we get
3681 false alarms, because it's usually renaming something that we can't
3682 deal with (an indexed component, a global variable, ...).
3684 * gnat_rm.texi: Fix typo
3686 2009-04-15 Thomas Quinot <quinot@adacore.com>
3688 * sem_ch6.adb: Minor reformatting
3690 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
3692 * exp_ch7.adb (Expand_Ctrl_Function_Call): Check for the case where the
3693 immediate parent of the controlled function call is a component
3696 2009-04-15 Ed Schonberg <schonberg@adacore.com>
3698 * sem_ch8.adb (Use_One_Type): If the type is tagged, indicate that the
3699 corresponding class-wide type is also in use.
3701 2009-04-15 Thomas Quinot <quinot@adacore.com>
3703 * frontend.adb: Minor comment fix
3705 2009-04-15 Robert Dewar <dewar@adacore.com>
3707 * gnatchop.adb (BOM_Length): New global variable
3708 (Write_Unit): Add new parameter Write_BOM
3709 (Write_Chopped_Files): Check for BOM and set Write_BOM for call
3712 * gnat_ugn.texi: Add note on propagation of BOM by gnatchop
3714 2009-04-15 Geert Bosch <bosch@adacore.com>
3716 * system-mingw-x86_64.ads, system-darwin-x86_64.ads
3717 (Backend_Overflow_Checks): Set to True.
3719 2009-04-15 Gary Dismukes <dismukes@adacore.com>
3721 * par-ch3.adb (P_Type_Declaration): Issue an error if the synchronized
3722 keyword is given in a record extension.
3724 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
3726 * exp_ch7.adb (Expand_Ctrl_Function_Call): Procede with the expansion
3727 of a controlled function call in the context of a record aggregate.
3728 This does not apply to array aggregates since the call will be expanded
3731 2009-04-15 Ed Falis <falis@adacore.com>
3733 * s-osinte-vxworks-kernel.adb, s-osinte-vxworks.adb,
3734 s-osinte-vxworks.ads s-vxwext.ads, s-vxwext-kernel.adb,
3735 s-vxwext-kernel.ads, s-vxwext-rtp.ads, s-vxwext-rtp.adb: Reorganize
3736 s-osinte-vxworks* and s-vxwext*.
3738 2009-04-15 Arnaud Charlet <charlet@adacore.com>
3740 * gcc-interface/Make-lang.in: Update dependencies.
3742 * gcc-interface/Makefile.in: Reorganization of s-osinte-vxworks*
3745 2009-04-15 Robert Dewar <dewar@adacore.com>
3747 * sem_ch13.adb (Unchecked_Conversions): Store source location instead
3748 of node for location for warning messages.
3750 * gnatchop.adb: Minor reformatting
3752 2009-04-15 Ed Schonberg <schonberg@adacore.com>
3754 * exp_ch6.adb: additional guard for renaming declarations for in
3755 parameters of an array type.
3757 2009-04-15 Robert Dewar <dewar@adacore.com>
3759 * sem_eval.adb (Get_Static_Length): Go to origin node for array bounds
3760 in case they were rewritten by expander (Force_Evaluation).
3762 * targparm.adb (Get_Target_Parameters): Correct check for
3763 Suppress_Exception_Locations.
3765 2009-04-15 Ed Schonberg <schonberg@adacore.com>
3767 * exp_ch6.adb (Expand_Inlined_Call): If an in-parameter in a call to be
3768 inlined is of an array type that is not bit-packed, use a renaming
3769 declaration to capture its value, rather than a constant declaration.
3771 2009-04-15 Robert Dewar <dewar@adacore.com>
3773 * rtsfind.adb: Minor reformatting.
3775 2009-04-15 Emmanuel Briot <briot@adacore.com>
3777 * prj-part.adb, prj-tree.adb, prj-tree.ads (Restore_And_Free): renames
3778 Restore, and free the saved context.
3780 2009-04-15 Gary Dismukes <dismukes@adacore.com>
3782 * sem_ch3.adb (Analyze_Private_Extension_Declaration): Move error check
3783 for illegal private extension from a synchronized interface parent in
3784 front of check for illegal limited extension so that limited extension
3785 from a synchronized interface will be rejected.
3786 (Check_Ifaces): Check that a private extension that has a synchronized
3787 interface as a progenitor must be explicitly declared synchronized.
3788 Also check that a record extension cannot derive from a synchronized
3791 2009-04-15 Pascal Obry <obry@adacore.com>
3793 * adaint.h (__gnat_unlink): Add spec.
3794 (__gnat_rename): Likewise.
3796 2009-04-15 Vincent Celier <celier@adacore.com>
3798 * prj-nmsc.adb: Minor spelling error corrections in error messages
3800 2009-04-15 Robert Dewar <dewar@adacore.com>
3802 * sinfo.ads: Minor comment update
3804 * opt.ads: Minor comment updates
3806 * checks.adb (Enable_Overflow_Check): Do not set Do_Overflow_Check for
3809 2009-04-15 Ed Schonberg <schonberg@adacore.com>
3811 * exp_disp.ads, exp_disp.adb (Register_Primitive): Is now a function
3812 that generates the code needed to update a dispatch table when a
3813 primitive operation is declared with a subprogram body without previous
3814 spec. Insertion of the generated code is responsibility of the caller.
3815 (Make_DT): When building static tables, append the code created by
3816 Register_Primitive to update a secondary table after it has been
3819 * exp_ch3.adb, exp_ch6.adb: use new version of Register_Primitive.
3821 * sem_disp.adb (Check_Dispatching_Operation): Call Register_Primitive
3822 on an overriding operation that implements an interface operation only
3823 if not building static dispatch tables.
3825 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
3827 * a-caldel-vms.adb (To_Duration): Declare a "safe" end of time which
3828 does not cause overflow when converted to Duration. Use the safe value
3829 as the maximum allowable time delay..
3831 2009-04-15 Jerome Lambourg <lambourg@adacore.com>
3833 * g-comlin.adb (Set_Command_Line): When adding a switch with attached
3834 parameter, specify that the delimiter is NUL, otherwise "-j2" will be
3835 translated to "-j 2".
3837 2009-04-15 Bob Duff <duff@adacore.com>
3839 * rtsfind.adb (Maybe_Add_With): Split out procedure to add implicit
3840 with_clauses, to avoid code duplication. Change this processing so we
3841 always add a with_clause on the main unit if needed.
3843 2009-04-15 Pascal Obry <obry@adacore.com>
3845 Add support for Win32 native encoding for delete/rename routines.
3847 * adaint.c (__gnat_unlink): New routine.
3848 (__gnat_rename): New routine.
3849 Simple wrapper routines used to convert to proper encoding on
3852 * s-os_lib.adb: Use __gnat_unlink and __gnat_rename instead of direct
3853 call to the C library.
3855 * g-sercom-mingw.adb, s-win32.ads: Update Win32 binding.
3857 2009-04-15 Robert Dewar <dewar@adacore.com>
3859 * s-tassta.adb: Minor reformatting
3861 2009-04-15 Robert Dewar <dewar@adacore.com>
3863 * frontend.adb (Frontend): Set proper default for
3864 Warn_On_Non_Local_Exception.
3866 * opt.ads (Exception_Handler_Encountered): New flag
3867 (No_Warn_On_Non_Local_Exception): New flag
3869 * par-ch11.adb (P_Exception_Handler): Set Exception_Handler_Encountered
3871 * sem_warn.adb (Set_Warning_Switch): Set No_Warn_On_Non_Local_Exception
3872 (Set_Dot_Warning_Switch): Set No_Warn_On_Non_Local_Exception
3874 2009-04-15 Cyrille Comar <comar@adacore.com>
3876 * s-tassta.adb, a-exextr.adb, a-elchha.adb
3877 (Ada.Exception.Last_Chance_Handler): Do not print unhandled exception
3878 message when exception traces are active since it would generate
3879 redundant information.
3880 (Exception_Traces.Notify_Exception): put message output by a critical
3881 section to avoid unsynchronized output.
3882 (Trace_Unhandled_Exception_In_Task): put message output by a critical
3883 section to avoid unsynchronized output.
3885 2009-04-15 Emmanuel Briot <briot@adacore.com>
3887 * g-comlin.adb, prj-tree.adb, prj-tree.ads, prj.adb, prj.ads
3888 (Free): New subprogram.
3890 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
3892 * a-calend.adb: Add new constant Nanos_In_Four_Years.
3893 (Formatting_Operations.Time_Of): Change the way four year chunks of
3894 nanoseconds are added to the intermediate result.
3896 2009-04-15 Nicolas Setton <setton@adacore.com>
3898 * sysdep.c: Add __APPLE__ in the list of systems where get_immediate
3899 does not need to wait for a carriage return.
3901 2009-04-15 Tristan Gingold <gingold@adacore.com>
3903 * bindgen.adb: Do not generate adafinal if No_Finalization restriction
3906 2009-04-15 Ed Schonberg <schonberg@adacore.com>
3908 * freeze.adb (Freeze_Entity): improve error message for improper use of
3910 Diagnose additional illegal uses of incomplete types in formal parts.
3911 appearing in formal parts.
3913 * sem_ch6.adb (Process_Formals, Analyze_Return_Type): ditto.
3915 2009-04-15 Robert Dewar <dewar@adacore.com>
3917 * exp_ch4.adb (Expand_N_Allocator): Install test for object too large.
3919 2009-04-15 Nicolas Roche <roche@adacore.com>
3921 * adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the
3924 * s-osinte-linux.ads: Import the __gnat_lwp_self function as lwp_self
3926 * s-taprop-linux.adb (Enter_Task): Store the LWP in the TCB
3928 2009-04-15 Ed Schonberg <schonberg@adacore.com>
3930 * sem_ch4.adb: improve error message on exponentiation.
3932 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
3934 * a-calend.adb: Move constant Epoch_Offset from package
3935 Conversion_Operations to top level.
3936 (Delay_Operations.To_Duration): Define a constant which represents
3937 "end of time" and use it as a guard against very distant delay dates.
3938 Protect the code against overflow when performing the origin shift to
3941 2009-04-15 Robert Dewar <dewar@adacore.com>
3943 * sem_prag.adb: Minor reformatting.
3945 * sem_type.adb: Minor reformatting
3947 2009-04-15 Javier Miranda <miranda@adacore.com>
3949 * sem_ch6.adb (Analyze_Abstract_Subprogram_Declaration): Add missing
3950 support to check eliminated subprograms.
3952 * sem_elim.ads (Eliminate_Error_Msg): Update documentation.
3954 * sem_elim.adb (Set_Eliminated): Add support for elimination of
3955 dispatching subprograms.
3957 * exp_disp.adb (Make_DT): Minor code cleanup when freezing primitive
3958 operations. Initialize with "null" the slots of eliminated dispaching
3960 (Write_DT): Add output for eliminated primitives.
3962 * sem_disp.adb (Check_Dispatching_Call): Check eliminated primitives.
3964 2009-04-15 Ed Schonberg <schonberg@adacore.com>
3966 * sem_ch8.adb (Use_One_Type): If both clauses appear on the same unit,
3967 the second is redundant, regardless of scopes.
3969 2009-04-15 Vincent Celier <celier@adacore.com>
3971 * prj-nmsc.adb (Get_Directories): Check for sources before checking
3972 the object directory as when there are no sources, they may not be any
3975 * make.adb (Gnatmake): Do not attempt to get the path name of the exec
3976 directory, when there are no exec directory.
3978 2009-04-15 Ed Schonberg <schonberg@adacore.com>
3980 * sem_type.adb (Remove_Conversions): In order to resolve spurious
3981 ambiguities, refine removal of universal interpretations from complex
3982 expressions with literal arguments, when some numeric operators have
3983 been declared abstract.
3985 2009-04-15 Ed Falis <falis@adacore.com>
3987 * init.c: Map SIGSEGV to Storage_Error for all targets for uniformity
3988 and backward compatibility for targets using probing for stack overflow
3990 2009-04-15 Ed Schonberg <schonberg@adacore.com>
3992 * sem_prag.adb (Analyze_Pragma, case 'Obsolescent): Pragma is legal
3993 after any declaration, including renaming declarations.
3995 2009-04-15 Arnaud Charlet <charlet@adacore.com>
3997 * gcc-interface/Make-lang.in: Update dependencies.
3999 * gcc-interface/Makefile.in: Fix VxWorks target pairs.
4000 Update xenomai target pairs.
4002 2009-04-15 Javier Miranda <miranda@adacore.com>
4004 * exp_ch4.adb (Expand_N_Allocator): Code cleanup.
4006 * sem_ch6.adb (Check_Anonymous_Return): Add missing support for
4007 functions returning anonymous access to class-wide limited types. Mark
4008 also the containing scope as a task master.
4010 * sem_ch8.adb (Restore_Scope_Stack): Add missing management for
4011 limited-withed packages. Required to restore their visibility after
4012 processing packages associated with implicit with-clauses.
4014 * exp_ch3.adb (Build_Class_Wide_Master): Avoid marking masters
4015 associated with return statements because this work is now done by
4016 Check_Anonymous_Return.
4017 (Build_Master): Code cleanup.
4019 2009-04-15 Thomas Quinot <quinot@adacore.com>
4021 * sem_warn.ads: Minor reformatting
4023 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4025 * sem_ch3.adb: better error message for illegal interfaces
4027 * sem_ch6.adb (Possible_Freeze): Delay freezing a subprogram if a
4028 formal is an incomplete type from a limited_with clause.
4030 2009-04-15 Vincent Celier <celier@adacore.com>
4032 * prj-nmsc.adb (Locate_Directory): New Boolean parameter
4033 Externally_Built indicating if the project is externally built. If it
4034 is, and --subdirs is specified, but the subdir does not exist, look
4035 for the specified directory, without the subdir.
4037 2009-04-15 Gary Dismukes <dismukes@adacore.com>
4039 * a-tasatt.adb: Fix typo, plus minor reformatting
4041 * sem_ch3.ads: Add missing hyphen ("class wide" => "class-wide").
4043 * sem_ch10.adb: Add missing hyphen ("use visible" => "use-visible").
4045 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4047 * sem_ch3.adb (Analyze_Private_Extension_Declaration): Verify that a
4048 private extension whose parent is a synchronized interface carries an
4049 explicit synchronized keyword.
4051 2009-04-15 Thomas Quinot <quinot@adacore.com>
4053 * exp_smem.adb (Make_Shared_Var_Procs): For a protected type,
4054 instantiate generic shared object package with the corresponding
4057 2009-04-15 Arnaud Charlet <charlet@adacore.com>
4059 * system-linux-sparc.ads: Remove obsolete entries.
4061 2009-04-15 Thomas Quinot <quinot@adacore.com>
4063 * s-tasuti.ads: Add ??? comment
4065 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4067 * sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access
4068 type even if the designated type comes from a limited_with clause, to
4069 ensure that the symbol for the finalization list of the access type is
4072 2009-04-10 Robert Dewar <dewar@adacore.com>
4074 * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): Catch more cases
4075 for warning suppression.
4077 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4079 * sem_ch8.adb (Use_One_Type): If the two use_type clauses are
4080 identical, there is no redudancy to check.
4082 2009-04-10 Gary Dismukes <dismukes@adacore.com>
4084 * exp_ch5.adb (Expand_N_Extended_Return_Statement): Delete redundant
4085 calls initializing SS_Allocator (which is initialized in following
4087 (Expand_Simple_Function_Return): Add comment about False value for
4088 Comes_From_Source on secondary-stack allocator.
4090 * exp_ch9.adb (Build_Entry_Family_Name): Add comment.
4091 (Build_Entry_Name): Add comment.
4093 2009-04-10 Robert Dewar <dewar@adacore.com>
4095 * einfo.ads, einfo.adb (Low_Bound_Tested): New name for Low_Bound_Known
4097 * sem_prag.adb (Analyze_Pragma, case Check): Remove check for lower
4098 bound tested, since this is now done more generally in Sem_Res.
4100 * sem_res.adb (Resolve_Comparison_Op): Add call to
4101 Check_Lower_Bound_Tested.
4102 (Resolve_Equality_Op): Add call to Check_Lower_Bound_Tested
4104 * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): New procedure
4105 (Low_Bound_Tested): New name for Low_Bound_Known flag
4107 * exp_ch5.adb: Minor reformatting
4110 Add comments on copying the Comes_From_Source flag for allocators
4113 Add comments on copying the Comes_From_Source flag for allocators
4115 * exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Copy
4116 Comes_From_Source flag from old allocator to new one.
4118 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4120 * sem_ch6.ads: Address missing documentation query
4122 2009-04-10 Vincent Celier <celier@adacore.com>
4125 Add new Linker attributes Max_Command_Line_Length, Response_File_Format
4126 and Response_File_Switches.
4128 * prj-nmsc.adb (Process_Linker): Process new attributes
4129 Max_Command_Line_Length, Response_File_Format and
4130 Response_File_Switches.
4132 * prj.ads (Response_File_Format): New enumeration type
4133 (Project_Configuration): New componants Max_Command_Line_Length,
4134 Resp_File_Format and Resp_File_Options.
4136 * snames.ads-tmpl: Add new standard names for linking response files
4137 for gprbuild: GNU, None, Object_List, Option_List,
4138 Max_Command_Line_Length, Response_File_Format and
4139 Response_File_Switches.
4141 2009-04-10 Geert Bosch <bosch@adacore.com>
4143 * system-aix.ads, system-darwin-ppc.ads, system-darwin-x86.ads,
4144 system-freebsd-x86.ads, system-hpux.ads, system-hpux-ia64.ads,
4145 system-irix-n32.ads, system-irix-o32.ads, system-linux-alpha.ads,
4146 system-linux-hppa.ads, system-linux-ia64.ads, system-linux-ppc.ads,
4147 system-linux-s390.ads, system-linux-s390x.ads, system-linux-sh4.ads,
4148 system-linux-sparc.ads, system-linux-x86_64.ads, system-linux-x86.ads,
4149 system-mingw.ads, system-solaris-sparc.ads, system-solaris-sparcv9.ads,
4150 system-solaris-x86.ads, system-tru64.ads, system-vms_64.ads,
4151 system-vms.ads, system-vms-ia64.ads, system-vms-zcx.ads,
4152 system-vxworks-arm.ads, system-vxworks-m68k.ads,
4153 system-vxworks-mips.ads, system-vxworks-ppc.ads,
4154 system-vxworks-sparcv9.ads, system-vxworks-x86.ads
4155 (Backend_Overflow_Checks): Set to True.
4157 2009-04-10 Thomas Quinot <quinot@adacore.com>
4159 * exp_attr.adb: Minor reformatting
4161 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4163 * sem_prag.adb (Check_Precondition_Postcondition): Within a generic,
4164 analyze the expression for a postcondition, even if the compiler mode
4167 2009-04-10 Robert Dewar <dewar@adacore.com>
4169 * sem_aux.adb: Minor reformatting
4171 2009-04-10 Ed Falis <falis@adacore.com>
4173 * init.c: Change VxWorks 6 stack overflow checking for kernel apps.
4175 * system-vxworks-ppc.ads, system-vxworks-x86.ads: Update header.
4177 2009-04-10 Thomas Quinot <quinot@adacore.com>
4179 * sem_ch6.ads (Check_Subtype_Conformant): Add ??? comment for
4180 undocumented formal.
4183 * a-direio.ads: Fix typo in comment
4185 * sem_ch3.adb, g-dirope.adb, sem_type.adb, sem_ch12.adb, sem_case.adb,
4186 errout.adb, sem_ch4.adb, sem_ch11.adb, exp_dist.adb, sem_ch13.adb:
4187 Use uniform phrasing for comment at start of subprogram body.
4189 * xsnamest.adb: Add note to explain why we use specific names for the
4190 newly generated files instead of generating snames.{ads,adb,h} directly
4192 2009-04-10 Sergey Rybin <rybin@adacore.com>
4195 Add qualifier for new gnatstub option '--no-exception'
4198 Add the description of the new gnatstub option '--no-exception'
4200 2009-04-10 Robert Dewar <dewar@adacore.com>
4202 * rtsfind.adb: Minor reformatting
4204 2009-04-10 Thomas Quinot <quinot@adacore.com>
4206 * sem_disp.adb: Minor reformatting.
4207 Add comment pointing to RM clause for the case of warning against a
4208 (failed) attempt at declaring a primitive operation elsewhere than in a
4211 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4213 * sem_ch12.adb (Denotes_Formal_Package): Check whether the package is
4214 an actual for a previous formal package of the current instance.
4216 2009-04-10 Bob Duff <duff@adacore.com>
4218 * rtsfind.adb (RTE): Put implicit with_clauses on whatever unit needs
4219 them first, rather than on the extended main unit.
4221 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4223 * sem_ch6.adb (Check_Discriminant_Conformance): If discriminant
4224 specification of full view carries a null exclusion indicator, create
4225 an itype for it, to check for conformance with partial view.
4227 2009-04-10 Bob Duff <duff@adacore.com>
4229 * rtsfind.ads: Minor code change: make RE_Unit_Table constant.
4231 * rtsfind.adb: Minor comment changes, and remove useless code.
4233 * sinfo.ads: Add ??? comment.
4235 2009-04-10 Vincent Celier <celier@adacore.com>
4237 * vms_data.ads: Add missing GNAT SYNC VMS qualifiers -main= and -U
4239 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4241 * exp_attr.adb (Expand_N_Attribute_Reference, case 'Tag): If the tagged
4242 type is a synchronized type, retrieve tag information from the
4243 corresponding record, which has the dispatch table link.
4245 2009-04-10 Jerome Lambourg <lambourg@adacore.com>
4247 * g-comlin.adb (Group_Analysis): Take care of switches that might be
4248 decomposed afterwards, but are present as-is in the command line
4249 configuration, and thus should be kept as-is.
4251 2009-04-10 Robert Dewar <dewar@adacore.com>
4253 * gnat_rm.texi: Document that postconditions are tested on implicit
4256 * sem_aux.adb: Minor reformatting
4258 2009-04-10 Gary Dismukes <dismukes@adacore.com>
4260 * itypes.adb (Create_Null_Excluding_Itype): Apply Base_Type when
4263 * par-ch3.adb (P_Access_Type_Definition): Set new attribute
4264 Null_Exclusion_In_Return_Present when an access-to-function type has a
4265 result type with an explicit not null.
4267 * sem_ch3.adb (Access_Subprogram_Definition): If a null exclusion is
4268 given on the result type, then create a null-excluding itype for the
4271 * sem_ch6.adb (Analyze_Return_Type): Create a null-excluding itype in
4272 the case where a null exclusion is imposed on a named access type.
4273 (Analyze_Subprogram_Specification): Push and pop the scope of the
4274 function around the call to Analyze_Return_Type in the case of no
4275 formals, for consistency with handling when formals are present
4276 (Process_Formals does this). Ensures that any itype created for the
4277 return type will be associated with the proper scope.
4279 * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): If a null
4280 exclusion is given on a generic function's result type, then create a
4281 null-excluding itype for the generic function.
4282 (Instantiate_Object): Set Null_Exclusion_Present of a constant created
4283 for an actual for a formal in object according to the setting on the
4284 formal. Ensures null exclusion checks are done when the association is
4287 * sinfo.ads: Add new flag Null_Exclusion_In_Return_Present on
4288 N_Access_Function_Definition.
4290 * sinfo.adb: Add Get_ and Set_ operations for
4291 Null_Exclusion_In_Return_Present.
4293 2009-04-10 Bob Duff <duff@adacore.com>
4295 * exp_ch5.adb, exp_ch6.adb, sem_ch6.adb: Move the code that creates a
4296 call to the _Postconditions procedure in the case of implicit returns
4297 from analysis to expansion. This eliminates some duplicated code. Use
4298 the Postcondition_Proc to find the identity of this procedure during
4301 2009-04-10 Robert Dewar <dewar@adacore.com>
4303 * sem_ch6.adb: Minor code clean up.
4305 * einfo.ads, sem_attr.adb: Minor comment fixes.
4307 2009-04-10 Robert Dewar <dewar@adacore.com>
4309 * sem_ch8.adb: Minor reformatting
4311 2009-04-10 Robert Dewar <dewar@adacore.com>
4313 * einfo.ads, einfo.adb (Postcondition_Proc): New attribute for
4316 * sem_ch6.adb: Minor code clean up.
4318 2009-04-10 Robert Dewar <dewar@adacore.com>
4320 * mlib-tgt-specific-xi.adb: Minor reformatting
4322 2009-04-10 Bob Duff <duff@adacore.com>
4324 * einfo.ads: Minor comment fixes
4326 2009-04-10 Vincent Celier <celier@adacore.com>
4328 * snames.ads-tmpl: Remove names that are no longer used in the
4330 Mark specifically those that are used only in gprbuild
4332 2009-04-10 Eric Botcazou <ebotcazou@adacore.com>
4334 * init.c: Adjust EH support code on Alpha/Tru64.
4336 2009-04-10 Bob Duff <duff@adacore.com>
4338 * sem_ch6.adb (Process_PPCs): Add a call to the _Postconditions
4339 procedure on every path that could return implicitly (not via a return
4340 statement) from a procedure.
4342 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4344 * exp_ch9.adb (Build_Master_Entity): An extended return statement is a
4345 valid scope for a task declarations and therefore for a master id.
4347 2009-04-10 Robert Dewar <dewar@adacore.com>
4349 * sem_aux.adb: Minor reformatting
4351 2009-04-10 Vincent Celier <celier@adacore.com>
4353 * scn.adb (Obsolescent_Check_Flag): New Boolean flag, initialized to
4355 (Obsolescent_Check): Do nothing if Obsolescent_Check_Flag is False
4356 (Set_Obsolescent_Check): New procedure to change the value of
4357 Obsolescent_Check_Flag.
4359 * scn.ads (Set_Obsolescent_Check): New procedure to control
4362 * sinput-l.adb (Load_File): Do not check for pragma Restrictions on
4363 obsolescent features while preprocessing.
4365 2009-04-10 Thomas Quinot <quinot@adacore.com>
4367 * xsnamest.adb: Use XUtil to have uniform line endings (UNIX style) in
4368 generated files on all platforms.
4370 2009-04-10 Robert Dewar <dewar@adacore.com>
4372 * sem_aux.adb: Minor reformatting
4374 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4376 * sem_ch3.adb (Access_Definition): Handle properly the case of a
4377 protected function with formals that returns an anonymous access type.
4379 2009-04-10 Thomas Quinot <quinot@adacore.com>
4381 * sem_disp.adb: Minor reformatting
4383 2009-04-10 Vasiliy Fofanov <fofanov@adacore.com>
4385 * seh_init.c: Do not use the 32-bit specific implementation of
4386 __gnat_install_SEH_handler on 64-bit Windows target (64-bit specific
4389 2009-04-10 Jose Ruiz <ruiz@adacore.com>
4391 * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Target_Name may contain
4392 a '/' at the end so we better use the complete target name to determine
4393 whether it is a PowerPC 55xx target.
4395 2009-04-10 Thomas Quinot <quinot@adacore.com>
4397 * sem_eval.adb: Minor reformatting
4399 2009-04-10 Thomas Quinot <quinot@adacore.com>
4401 * snames.h, snames.ads, snames.adb: Remove files, now generated from
4404 * snames.h-tmpl, snames.ads-tmpl, snames.adb-tmpl: Templates for the
4407 * xsnamest.adb: New file.
4409 * gcc-interface/Make-lang.in: New target for automated generation of
4410 snames.ads, snames.adb and snames.h
4412 2009-04-10 Tristan Gingold <gingold@adacore.com>
4414 * gcc-interface/Makefile.in, gcc-interface/utils.c: Include "rtl.h" to
4415 avoid compile time warnings.
4416 Do not add gcc/config in include search list while compiling the RTS.
4417 Pragma Thread_Local_Storage is available on any target.
4419 2009-04-10 Bob Duff <duff@adacore.com>
4421 * sem.ads, par.adb, sem_ch6.adb, sem_ch8.adb: Minor comment fixes.
4423 2009-04-10 Tristan Gingold <gingold@adacore.com>
4425 * init.c: Install signal handler on Darwin.
4427 2009-04-10 Robert Dewar <dewar@adacore.com>
4429 * sem_prag.adb: Minor reformatting
4431 * exp_util.adb (Make_Non_Empty_Check): New function
4432 (Silly_Boolean_Array_Not_Test): Add call to Make_Non_Empty_Check
4433 (Silly_Boolean_Array_Xor_Test): Use Make_Non_Empty_Check
4435 2009-04-10 Arnaud Charlet <charlet@adacore.com>
4437 * make.adb, gnatlink.adb: Rename JGNAT toolchain.
4439 2009-04-10 Jose Ruiz <ruiz@adacore.com>
4441 * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Insert the appropriate
4442 tool prefix for AVR and PowerPC 55xx targets.
4444 2009-04-10 Robert Dewar <dewar@adacore.com>
4446 * sem_warn.adb (Within_Postcondition): New function
4447 (Check_Unset_Reference): Use Within_Postcondition to stop bad warning
4449 2009-04-10 Robert Dewar <dewar@adacore.com>
4451 * sem_warn.adb: Minor reformatting
4453 * make.adb: Minor reformatting.
4455 2009-04-10 Gary Dismukes <dismukes@adacore.com>
4457 * exp_ch7.adb (Find_Final_List): When creating a finalization-chain
4458 entity and the scope is a subprogram, retrieve the Sloc of the
4459 subprogram's body rather than using the sloc of the spec, for better
4460 line-stepping behavior in gdb.
4461 (Wrap_Transient_Declaration): For the Sloc of nodes created with a list
4462 controller, use the Sloc of the first declaration of the containing list
4463 rather than that of the node that triggered creation of the list
4466 2009-04-10 Vincent Celier <celier@adacore.com>
4468 * prj-nmsc.adb (Check_Naming_Schemes): Initialize local variable Casing
4469 to avoid gcc warning.
4471 2009-04-10 Robert Dewar <dewar@adacore.com>
4473 * g-comlin.adb: Add ??? comment
4475 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4477 * sem_warn.adb (Check_Unused_Withs): Do not emit message about
4478 unreferenced entities for a package with no visible declarations.
4480 2009-04-10 Robert Dewar <dewar@adacore.com>
4482 * exp_ch9.adb: Minor reformatting
4484 2009-04-10 Thomas Quinot <quinot@adacore.com>
4486 * sem_prag.adb: Minor reformatting
4488 2009-04-10 Vincent Celier <celier@adacore.com>
4491 (Check_Library_Attributes): For a project qualified as a library project
4492 that is not a library project, indicate in the error message which
4493 attributes are missing (Library_Dir and/or Library_Name).
4495 2009-04-10 Bob Duff <duff@adacore.com>
4497 * exp_ch5.adb, exp_ch9.adb: Avoid use of No_Position in Sloc of
4498 generated nodes, because it might confuse various circuits in the FE.
4500 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4502 * sem_prag.adb (Analyze_Pragma, case Task_Name): Do not expand argument
4503 of pragma. It will be recopied and analyzed when used in call to
4506 * sem_res.adb (Resolve_Call): Clarify use of secondary stack within
4507 initialization operations and recognize use of it in procedure calls
4510 * exp_ch9.adb (Make_Task_Create_Call): Copy full tree of Task_Name
4511 argument, because it may have side-effects.
4513 * exp_ch2.adb: Remove obsolete comments on default functions
4515 2009-04-10 Jose Ruiz <ruiz@adacore.com>
4517 * adaint.c (RTX section): Do for RTX the same thing as we do for
4518 Windows (include ctype.h and define a fallback ISALPHA if IN_RTS).
4520 2009-04-10 Robert Dewar <dewar@adacore.com>
4522 * sem_aux.ads, sem_aux.adb (Nearest_Current_Scope): New function.
4524 * sem_res.adb (Resolve_Call): Fix test for
4525 Suppress_Value_Tracking_On_Call (was wrong for the case of a call from
4526 a non-dynamic scope).
4528 2009-04-10 Robert Dewar <dewar@adacore.com>
4530 * make.adb: Add comment.
4533 2009-04-10 Nicolas Setton <setton@adacore.com>
4535 * s-osprim-darwin.adb: New file.
4537 * s-osinte-darwin.adb, s-osinte-darwin.ads: Fix binding to timespec.
4539 2009-04-10 Thomas Quinot <quinot@adacore.com>
4541 * g-socket.ads: Add comment clarifying alignment requirement for Fd_Set
4543 2009-04-09 Nick Clifton <nickc@redhat.com>
4545 * adadecode.h: Change copyright header to refer to version
4546 3 of the GNU General Public License with version 3.1 of the
4547 GCC Runtime Library Exception and to point readers at the
4548 COPYING3 and COPYING3.RUNTIME files and the FSF's license web
4550 * 9drpc.adb: Likewise.
4551 * a-assert.adb: Likewise.
4552 * a-astaco.adb: Likewise.
4553 * a-calari.adb: Likewise.
4554 * a-calcon.adb: Likewise.
4555 * a-calcon.ads: Likewise.
4556 * a-caldel.ads: Likewise.
4557 * a-calend-vms.adb: Likewise.
4558 * a-calend-vms.ads: Likewise.
4559 * a-calend.adb: Likewise.
4560 * a-calend.ads: Likewise.
4561 * a-calfor.adb: Likewise.
4562 * a-catizo.adb: Likewise.
4563 * a-cdlili.adb: Likewise.
4564 * a-cdlili.ads: Likewise.
4565 * a-cgaaso.adb: Likewise.
4566 * a-cgaaso.ads: Likewise.
4567 * a-cgarso.adb: Likewise.
4568 * a-cgcaso.adb: Likewise.
4569 * a-chacon.adb: Likewise.
4570 * a-chacon.ads: Likewise.
4571 * a-chahan.adb: Likewise.
4572 * a-chahan.ads: Likewise.
4573 * a-chlat9.ads: Likewise.
4574 * a-chtgke.adb: Likewise.
4575 * a-chtgke.ads: Likewise.
4576 * a-chtgop.adb: Likewise.
4577 * a-chtgop.ads: Likewise.
4578 * a-chzla1.ads: Likewise.
4579 * a-chzla9.ads: Likewise.
4580 * a-cidlli.adb: Likewise.
4581 * a-cidlli.ads: Likewise.
4582 * a-cihama.adb: Likewise.
4583 * a-cihama.ads: Likewise.
4584 * a-cihase.adb: Likewise.
4585 * a-cihase.ads: Likewise.
4586 * a-ciorma.adb: Likewise.
4587 * a-ciorma.ads: Likewise.
4588 * a-ciormu.adb: Likewise.
4589 * a-ciormu.ads: Likewise.
4590 * a-ciorse.adb: Likewise.
4591 * a-ciorse.ads: Likewise.
4592 * a-clrefi.adb: Likewise.
4593 * a-clrefi.ads: Likewise.
4594 * a-cohama.adb: Likewise.
4595 * a-cohama.ads: Likewise.
4596 * a-cohase.adb: Likewise.
4597 * a-cohase.ads: Likewise.
4598 * a-cohata.ads: Likewise.
4599 * a-coinve.adb: Likewise.
4600 * a-coinve.ads: Likewise.
4601 * a-colien.adb: Likewise.
4602 * a-colien.ads: Likewise.
4603 * a-colire.adb: Likewise.
4604 * a-colire.ads: Likewise.
4605 * a-comlin.adb: Likewise.
4606 * a-comlin.ads: Likewise.
4607 * a-convec.adb: Likewise.
4608 * a-convec.ads: Likewise.
4609 * a-coorma.adb: Likewise.
4610 * a-coorma.ads: Likewise.
4611 * a-coormu.adb: Likewise.
4612 * a-coormu.ads: Likewise.
4613 * a-coorse.adb: Likewise.
4614 * a-coorse.ads: Likewise.
4615 * a-coprnu.adb: Likewise.
4616 * a-coprnu.ads: Likewise.
4617 * a-crbltr.ads: Likewise.
4618 * a-crbtgk.adb: Likewise.
4619 * a-crbtgk.ads: Likewise.
4620 * a-crbtgo.adb: Likewise.
4621 * a-crbtgo.ads: Likewise.
4622 * a-crdlli.adb: Likewise.
4623 * a-crdlli.ads: Likewise.
4624 * a-cwila1.ads: Likewise.
4625 * a-cwila9.ads: Likewise.
4626 * a-decima.adb: Likewise.
4627 * a-decima.ads: Likewise.
4628 * a-diocst.adb: Likewise.
4629 * a-diocst.ads: Likewise.
4630 * a-direct.adb: Likewise.
4631 * a-direct.ads: Likewise.
4632 * a-direio.adb: Likewise.
4633 * a-direio.ads: Likewise.
4634 * a-dirval-mingw.adb: Likewise.
4635 * a-dirval-vms.adb: Likewise.
4636 * a-dirval.adb: Likewise.
4637 * a-dirval.ads: Likewise.
4638 * a-dynpri.adb: Likewise.
4639 * a-einuoc.adb: Likewise.
4640 * a-einuoc.ads: Likewise.
4641 * a-elchha.adb: Likewise.
4642 * a-elchha.ads: Likewise.
4643 * a-envvar.adb: Likewise.
4644 * a-excach.adb: Likewise.
4645 * a-except-2005.adb: Likewise.
4646 * a-except-2005.ads: Likewise.
4647 * a-except.adb: Likewise.
4648 * a-except.ads: Likewise.
4649 * a-excpol-abort.adb: Likewise.
4650 * a-excpol.adb: Likewise.
4651 * a-exctra.adb: Likewise.
4652 * a-exctra.ads: Likewise.
4653 * a-exetim-mingw.adb: Likewise.
4654 * a-exetim-mingw.ads: Likewise.
4655 * a-exexda.adb: Likewise.
4656 * a-exexpr-gcc.adb: Likewise.
4657 * a-exexpr.adb: Likewise.
4658 * a-exextr.adb: Likewise.
4659 * a-exstat.adb: Likewise.
4660 * a-filico.adb: Likewise.
4661 * a-filico.ads: Likewise.
4662 * a-finali.adb: Likewise.
4663 * a-finali.ads: Likewise.
4664 * a-interr.ads: Likewise.
4665 * a-intnam-aix.ads: Likewise.
4666 * a-intnam-darwin.ads: Likewise.
4667 * a-intnam-dummy.ads: Likewise.
4668 * a-intnam-freebsd.ads: Likewise.
4669 * a-intnam-hpux.ads: Likewise.
4670 * a-intnam-irix.ads: Likewise.
4671 * a-intnam-linux.ads: Likewise.
4672 * a-intnam-lynxos.ads: Likewise.
4673 * a-intnam-mingw.ads: Likewise.
4674 * a-intnam-rtems.ads: Likewise.
4675 * a-intnam-solaris.ads: Likewise.
4676 * a-intnam-tru64.ads: Likewise.
4677 * a-intnam-vms.ads: Likewise.
4678 * a-intnam-vxworks.ads: Likewise.
4679 * a-intsig.adb: Likewise.
4680 * a-intsig.ads: Likewise.
4681 * a-ngcefu.adb: Likewise.
4682 * a-ngcoar.adb: Likewise.
4683 * a-ngcoty.adb: Likewise.
4684 * a-ngcoty.ads: Likewise.
4685 * a-ngelfu.adb: Likewise.
4686 * a-ngrear.adb: Likewise.
4687 * a-ngrear.ads: Likewise.
4688 * a-nudira.adb: Likewise.
4689 * a-nudira.ads: Likewise.
4690 * a-nuflra.adb: Likewise.
4691 * a-nuflra.ads: Likewise.
4692 * a-numaux-darwin.adb: Likewise.
4693 * a-numaux-darwin.ads: Likewise.
4694 * a-numaux-libc-x86.ads: Likewise.
4695 * a-numaux-vxworks.ads: Likewise.
4696 * a-numaux-x86.adb: Likewise.
4697 * a-numaux-x86.ads: Likewise.
4698 * a-numaux.ads: Likewise.
4699 * a-rbtgso.adb: Likewise.
4700 * a-rbtgso.ads: Likewise.
4701 * a-reatim.ads: Likewise.
4702 * a-retide.adb: Likewise.
4703 * a-retide.ads: Likewise.
4704 * a-rttiev.adb: Likewise.
4705 * a-rttiev.ads: Likewise.
4706 * a-secain.adb: Likewise.
4707 * a-secain.ads: Likewise.
4708 * a-sequio.adb: Likewise.
4709 * a-sequio.ads: Likewise.
4710 * a-shcain.adb: Likewise.
4711 * a-shcain.ads: Likewise.
4712 * a-siocst.adb: Likewise.
4713 * a-siocst.ads: Likewise.
4714 * a-slcain.adb: Likewise.
4715 * a-slcain.ads: Likewise.
4716 * a-ssicst.adb: Likewise.
4717 * a-ssicst.ads: Likewise.
4718 * a-stboha.adb: Likewise.
4719 * a-stmaco.ads: Likewise.
4720 * a-storio.adb: Likewise.
4721 * a-strbou.adb: Likewise.
4722 * a-strbou.ads: Likewise.
4723 * a-stream.ads: Likewise.
4724 * a-strfix.adb: Likewise.
4725 * a-strhas.adb: Likewise.
4726 * a-strmap.adb: Likewise.
4727 * a-strmap.ads: Likewise.
4728 * a-strsea.adb: Likewise.
4729 * a-strsea.ads: Likewise.
4730 * a-strsup.adb: Likewise.
4731 * a-strsup.ads: Likewise.
4732 * a-strunb.adb: Likewise.
4733 * a-strunb.ads: Likewise.
4734 * a-ststio.adb: Likewise.
4735 * a-ststio.ads: Likewise.
4736 * a-stunau.adb: Likewise.
4737 * a-stunau.ads: Likewise.
4738 * a-stunha.adb: Likewise.
4739 * a-stwibo.adb: Likewise.
4740 * a-stwibo.ads: Likewise.
4741 * a-stwifi.adb: Likewise.
4742 * a-stwiha.adb: Likewise.
4743 * a-stwima.adb: Likewise.
4744 * a-stwima.ads: Likewise.
4745 * a-stwise.adb: Likewise.
4746 * a-stwise.ads: Likewise.
4747 * a-stwisu.adb: Likewise.
4748 * a-stwisu.ads: Likewise.
4749 * a-stwiun.adb: Likewise.
4750 * a-stwiun.ads: Likewise.
4751 * a-stzbou.adb: Likewise.
4752 * a-stzbou.ads: Likewise.
4753 * a-stzfix.adb: Likewise.
4754 * a-stzhas.adb: Likewise.
4755 * a-stzmap.adb: Likewise.
4756 * a-stzmap.ads: Likewise.
4757 * a-stzsea.adb: Likewise.
4758 * a-stzsea.ads: Likewise.
4759 * a-stzsup.adb: Likewise.
4760 * a-stzsup.ads: Likewise.
4761 * a-stzunb.adb: Likewise.
4762 * a-stzunb.ads: Likewise.
4763 * a-suteio.adb: Likewise.
4764 * a-suteio.ads: Likewise.
4765 * a-swbwha.adb: Likewise.
4766 * a-swmwco.ads: Likewise.
4767 * a-swunau.adb: Likewise.
4768 * a-swunau.ads: Likewise.
4769 * a-swuwha.adb: Likewise.
4770 * a-swuwti.adb: Likewise.
4771 * a-swuwti.ads: Likewise.
4772 * a-sytaco.adb: Likewise.
4773 * a-sytaco.ads: Likewise.
4774 * a-szbzha.adb: Likewise.
4775 * a-szmzco.ads: Likewise.
4776 * a-szunau.adb: Likewise.
4777 * a-szunau.ads: Likewise.
4778 * a-szuzha.adb: Likewise.
4779 * a-szuzti.adb: Likewise.
4780 * a-szuzti.ads: Likewise.
4781 * a-tags.adb: Likewise.
4782 * a-tags.ads: Likewise.
4783 * a-tasatt.ads: Likewise.
4784 * a-taside.adb: Likewise.
4785 * a-taside.ads: Likewise.
4786 * a-taster.adb: Likewise.
4787 * a-teioed.adb: Likewise.
4788 * a-teioed.ads: Likewise.
4789 * a-textio.adb: Likewise.
4790 * a-textio.ads: Likewise.
4791 * a-tiboio.adb: Likewise.
4792 * a-ticoau.adb: Likewise.
4793 * a-ticoau.ads: Likewise.
4794 * a-ticoio.adb: Likewise.
4795 * a-ticoio.ads: Likewise.
4796 * a-tideau.adb: Likewise.
4797 * a-tideau.ads: Likewise.
4798 * a-tideio.adb: Likewise.
4799 * a-tideio.ads: Likewise.
4800 * a-tienau.adb: Likewise.
4801 * a-tienau.ads: Likewise.
4802 * a-tienio.adb: Likewise.
4803 * a-tienio.ads: Likewise.
4804 * a-tifiio.adb: Likewise.
4805 * a-tifiio.ads: Likewise.
4806 * a-tiflau.adb: Likewise.
4807 * a-tiflau.ads: Likewise.
4808 * a-tiflio.adb: Likewise.
4809 * a-tiflio.ads: Likewise.
4810 * a-tigeau.adb: Likewise.
4811 * a-tigeau.ads: Likewise.
4812 * a-tiinau.adb: Likewise.
4813 * a-tiinau.ads: Likewise.
4814 * a-tiinio.adb: Likewise.
4815 * a-tiinio.ads: Likewise.
4816 * a-timoau.adb: Likewise.
4817 * a-timoau.ads: Likewise.
4818 * a-timoio.adb: Likewise.
4819 * a-timoio.ads: Likewise.
4820 * a-tiocst.adb: Likewise.
4821 * a-tiocst.ads: Likewise.
4822 * a-titest.adb: Likewise.
4823 * a-wichun.adb: Likewise.
4824 * a-wichun.ads: Likewise.
4825 * a-witeio.adb: Likewise.
4826 * a-witeio.ads: Likewise.
4827 * a-wtcoau.adb: Likewise.
4828 * a-wtcoau.ads: Likewise.
4829 * a-wtcoio.adb: Likewise.
4830 * a-wtcstr.adb: Likewise.
4831 * a-wtcstr.ads: Likewise.
4832 * a-wtdeau.adb: Likewise.
4833 * a-wtdeau.ads: Likewise.
4834 * a-wtdeio.adb: Likewise.
4835 * a-wtdeio.ads: Likewise.
4836 * a-wtedit.adb: Likewise.
4837 * a-wtedit.ads: Likewise.
4838 * a-wtenau.adb: Likewise.
4839 * a-wtenau.ads: Likewise.
4840 * a-wtenio.adb: Likewise.
4841 * a-wtenio.ads: Likewise.
4842 * a-wtfiio.adb: Likewise.
4843 * a-wtfiio.ads: Likewise.
4844 * a-wtflau.adb: Likewise.
4845 * a-wtflau.ads: Likewise.
4846 * a-wtflio.adb: Likewise.
4847 * a-wtflio.ads: Likewise.
4848 * a-wtgeau.adb: Likewise.
4849 * a-wtgeau.ads: Likewise.
4850 * a-wtinau.adb: Likewise.
4851 * a-wtinau.ads: Likewise.
4852 * a-wtinio.adb: Likewise.
4853 * a-wtmoau.adb: Likewise.
4854 * a-wtmoau.ads: Likewise.
4855 * a-wtmoio.adb: Likewise.
4856 * a-wtmoio.ads: Likewise.
4857 * a-wttest.adb: Likewise.
4858 * a-wwboio.adb: Likewise.
4859 * a-zchuni.adb: Likewise.
4860 * a-zchuni.ads: Likewise.
4861 * a-ztcoau.adb: Likewise.
4862 * a-ztcoau.ads: Likewise.
4863 * a-ztcoio.adb: Likewise.
4864 * a-ztcstr.adb: Likewise.
4865 * a-ztcstr.ads: Likewise.
4866 * a-ztdeau.adb: Likewise.
4867 * a-ztdeau.ads: Likewise.
4868 * a-ztdeio.adb: Likewise.
4869 * a-ztdeio.ads: Likewise.
4870 * a-ztedit.adb: Likewise.
4871 * a-ztedit.ads: Likewise.
4872 * a-ztenau.adb: Likewise.
4873 * a-ztenau.ads: Likewise.
4874 * a-ztenio.adb: Likewise.
4875 * a-ztenio.ads: Likewise.
4876 * a-ztexio.adb: Likewise.
4877 * a-ztexio.ads: Likewise.
4878 * a-ztfiio.adb: Likewise.
4879 * a-ztfiio.ads: Likewise.
4880 * a-ztflau.adb: Likewise.
4881 * a-ztflau.ads: Likewise.
4882 * a-ztflio.adb: Likewise.
4883 * a-ztflio.ads: Likewise.
4884 * a-ztgeau.adb: Likewise.
4885 * a-ztgeau.ads: Likewise.
4886 * a-ztinau.adb: Likewise.
4887 * a-ztinau.ads: Likewise.
4888 * a-ztinio.adb: Likewise.
4889 * a-ztmoau.adb: Likewise.
4890 * a-ztmoau.ads: Likewise.
4891 * a-ztmoio.adb: Likewise.
4892 * a-ztmoio.ads: Likewise.
4893 * a-zttest.adb: Likewise.
4894 * a-zzboio.adb: Likewise.
4895 * adadecode.c: Likewise.
4896 * adaint.c: Likewise.
4897 * adaint.h: Likewise.
4898 * alloc.ads: Likewise.
4900 * arit64.c: Likewise.
4901 * atree.adb: Likewise.
4902 * atree.ads: Likewise.
4903 * aux-io.c: Likewise.
4905 * casing.adb: Likewise.
4906 * casing.ads: Likewise.
4908 * csets.adb: Likewise.
4909 * csets.ads: Likewise.
4910 * cstreams.c: Likewise.
4911 * ctrl_c.c: Likewise.
4912 * debug.adb: Likewise.
4913 * debug.ads: Likewise.
4914 * dec.ads: Likewise.
4915 * einfo.adb: Likewise.
4916 * einfo.ads: Likewise.
4917 * elists.adb: Likewise.
4918 * elists.ads: Likewise.
4921 * errno.c: Likewise.
4924 * final.c: Likewise.
4925 * fname.adb: Likewise.
4926 * fname.ads: Likewise.
4927 * g-allein.ads: Likewise.
4928 * g-alleve.adb: Likewise.
4929 * g-alleve.ads: Likewise.
4930 * g-altcon.adb: Likewise.
4931 * g-altcon.ads: Likewise.
4932 * g-altive.ads: Likewise.
4933 * g-alveop.adb: Likewise.
4934 * g-alveop.ads: Likewise.
4935 * g-alvety.ads: Likewise.
4936 * g-alvevi.ads: Likewise.
4937 * g-arrspl.adb: Likewise.
4938 * g-arrspl.ads: Likewise.
4939 * g-calend.ads: Likewise.
4940 * g-comlin.adb: Likewise.
4941 * g-debpoo.adb: Likewise.
4942 * g-debpoo.ads: Likewise.
4943 * g-eacodu-vms.adb: Likewise.
4944 * g-eacodu.adb: Likewise.
4945 * g-excact.adb: Likewise.
4946 * g-excact.ads: Likewise.
4947 * g-locfil.adb: Likewise.
4948 * g-os_lib.ads: Likewise.
4949 * g-rannum.adb: Likewise.
4950 * g-rannum.ads: Likewise.
4951 * g-regist.adb: Likewise.
4952 * g-regist.ads: Likewise.
4953 * g-signal.adb: Likewise.
4954 * g-signal.ads: Likewise.
4955 * g-soccon.ads: Likewise.
4956 * g-string.adb: Likewise.
4957 * g-string.ads: Likewise.
4958 * g-strspl.ads: Likewise.
4959 * g-timsta.adb: Likewise.
4960 * g-timsta.ads: Likewise.
4961 * g-trasym-vms-alpha.adb: Likewise.
4962 * g-trasym-vms-ia64.adb: Likewise.
4963 * g-utf_32.adb: Likewise.
4964 * g-utf_32.ads: Likewise.
4965 * g-wistsp.ads: Likewise.
4966 * g-zstspl.ads: Likewise.
4968 * gnatvsn.adb: Likewise.
4969 * gnatvsn.ads: Likewise.
4970 * gsocket.h: Likewise.
4971 * hostparm.ads: Likewise.
4972 * i-c.adb: Likewise.
4973 * i-cexten.ads: Likewise.
4974 * i-cobol.adb: Likewise.
4975 * i-cobol.ads: Likewise.
4976 * i-cpoint.adb: Likewise.
4977 * i-cpoint.ads: Likewise.
4978 * i-cpp.adb: Likewise.
4979 * i-cpp.ads: Likewise.
4980 * i-cstrea-vms.adb: Likewise.
4981 * i-cstrea.adb: Likewise.
4982 * i-cstrea.ads: Likewise.
4983 * i-cstrin.adb: Likewise.
4984 * i-cstrin.ads: Likewise.
4985 * i-forbla-darwin.adb: Likewise.
4986 * i-forbla-unimplemented.ads: Likewise.
4987 * i-forbla.adb: Likewise.
4988 * i-forbla.ads: Likewise.
4989 * i-forlap.ads: Likewise.
4990 * i-fortra.adb: Likewise.
4991 * i-pacdec.adb: Likewise.
4992 * i-pacdec.ads: Likewise.
4993 * i-vxwoio.adb: Likewise.
4994 * i-vxwoio.ads: Likewise.
4995 * indepsw-aix.adb: Likewise.
4996 * indepsw-gnu.adb: Likewise.
4997 * indepsw-mingw.adb: Likewise.
4998 * indepsw.adb: Likewise.
4999 * indepsw.ads: Likewise.
5001 * initialize.c: Likewise.
5002 * interfac.ads: Likewise.
5003 * krunch.adb: Likewise.
5004 * krunch.ads: Likewise.
5005 * lib-list.adb: Likewise.
5006 * lib-sort.adb: Likewise.
5007 * lib.adb: Likewise.
5008 * lib.ads: Likewise.
5010 * math_lib.adb: Likewise.
5011 * memtrack.adb: Likewise.
5012 * mingw32.h: Likewise.
5013 * mkdir.c: Likewise.
5014 * namet-sp.adb: Likewise.
5015 * namet-sp.ads: Likewise.
5016 * namet.adb: Likewise.
5017 * namet.ads: Likewise.
5018 * nlists.adb: Likewise.
5019 * nlists.ads: Likewise.
5020 * opt.adb: Likewise.
5021 * opt.ads: Likewise.
5022 * output.adb: Likewise.
5023 * output.ads: Likewise.
5024 * raise-gcc.c: Likewise.
5025 * raise.c: Likewise.
5026 * raise.h: Likewise.
5027 * repinfo.adb: Likewise.
5028 * repinfo.ads: Likewise.
5029 * repinfo.h: Likewise.
5030 * rident.ads: Likewise.
5031 * s-addima.adb: Likewise.
5032 * s-addima.ads: Likewise.
5033 * s-addope.adb: Likewise.
5034 * s-addope.ads: Likewise.
5035 * s-arit64.adb: Likewise.
5036 * s-arit64.ads: Likewise.
5037 * s-assert.adb: Likewise.
5038 * s-assert.ads: Likewise.
5039 * s-asthan-vms-alpha.adb: Likewise.
5040 * s-asthan.adb: Likewise.
5041 * s-asthan.ads: Likewise.
5042 * s-atacco.adb: Likewise.
5043 * s-atacco.ads: Likewise.
5044 * s-auxdec-empty.adb: Likewise.
5045 * s-auxdec-empty.ads: Likewise.
5046 * s-auxdec-vms_64.ads: Likewise.
5047 * s-auxdec.adb: Likewise.
5048 * s-auxdec.ads: Likewise.
5049 * s-bitops.adb: Likewise.
5050 * s-bitops.ads: Likewise.
5051 * s-boarop.ads: Likewise.
5052 * s-carsi8.adb: Likewise.
5053 * s-carsi8.ads: Likewise.
5054 * s-carun8.adb: Likewise.
5055 * s-carun8.ads: Likewise.
5056 * s-casi16.adb: Likewise.
5057 * s-casi16.ads: Likewise.
5058 * s-casi32.adb: Likewise.
5059 * s-casi32.ads: Likewise.
5060 * s-casi64.adb: Likewise.
5061 * s-casi64.ads: Likewise.
5062 * s-casuti.ads: Likewise.
5063 * s-caun16.adb: Likewise.
5064 * s-caun16.ads: Likewise.
5065 * s-caun32.adb: Likewise.
5066 * s-caun32.ads: Likewise.
5067 * s-caun64.adb: Likewise.
5068 * s-caun64.ads: Likewise.
5069 * s-chepoo.ads: Likewise.
5070 * s-crc32.adb: Likewise.
5071 * s-crc32.ads: Likewise.
5072 * s-crtl.ads: Likewise.
5073 * s-direio.adb: Likewise.
5074 * s-direio.ads: Likewise.
5075 * s-dsaser.ads: Likewise.
5076 * s-except.adb: Likewise.
5077 * s-except.ads: Likewise.
5078 * s-exctab.adb: Likewise.
5079 * s-exctab.ads: Likewise.
5080 * s-exnint.adb: Likewise.
5081 * s-exnint.ads: Likewise.
5082 * s-exnllf.adb: Likewise.
5083 * s-exnllf.ads: Likewise.
5084 * s-exnlli.adb: Likewise.
5085 * s-exnlli.ads: Likewise.
5086 * s-expint.adb: Likewise.
5087 * s-expint.ads: Likewise.
5088 * s-explli.adb: Likewise.
5089 * s-explli.ads: Likewise.
5090 * s-expllu.adb: Likewise.
5091 * s-expllu.ads: Likewise.
5092 * s-expmod.adb: Likewise.
5093 * s-expmod.ads: Likewise.
5094 * s-expuns.adb: Likewise.
5095 * s-expuns.ads: Likewise.
5096 * s-fatflt.ads: Likewise.
5097 * s-fatgen.adb: Likewise.
5098 * s-fatgen.ads: Likewise.
5099 * s-fatlfl.ads: Likewise.
5100 * s-fatllf.ads: Likewise.
5101 * s-fatsfl.ads: Likewise.
5102 * s-ficobl.ads: Likewise.
5103 * s-fileio.adb: Likewise.
5104 * s-fileio.ads: Likewise.
5105 * s-filofl.ads: Likewise.
5106 * s-finimp.adb: Likewise.
5107 * s-finimp.ads: Likewise.
5108 * s-finroo.adb: Likewise.
5109 * s-finroo.ads: Likewise.
5110 * s-fishfl.ads: Likewise.
5111 * s-fore.adb: Likewise.
5112 * s-fore.ads: Likewise.
5113 * s-fvadfl.ads: Likewise.
5114 * s-fvaffl.ads: Likewise.
5115 * s-fvagfl.ads: Likewise.
5116 * s-gearop.adb: Likewise.
5117 * s-gearop.ads: Likewise.
5118 * s-gecobl.adb: Likewise.
5119 * s-gecobl.ads: Likewise.
5120 * s-gecola.adb: Likewise.
5121 * s-gecola.ads: Likewise.
5122 * s-gerebl.adb: Likewise.
5123 * s-gerebl.ads: Likewise.
5124 * s-gerela.adb: Likewise.
5125 * s-gerela.ads: Likewise.
5126 * s-geveop.adb: Likewise.
5127 * s-geveop.ads: Likewise.
5128 * s-gloloc.adb: Likewise.
5129 * s-gloloc.ads: Likewise.
5130 * s-hibaen.ads: Likewise.
5131 * s-imenne.adb: Likewise.
5132 * s-imenne.ads: Likewise.
5133 * s-imgbiu.adb: Likewise.
5134 * s-imgbiu.ads: Likewise.
5135 * s-imgboo.adb: Likewise.
5136 * s-imgboo.ads: Likewise.
5137 * s-imgcha.adb: Likewise.
5138 * s-imgcha.ads: Likewise.
5139 * s-imgdec.adb: Likewise.
5140 * s-imgdec.ads: Likewise.
5141 * s-imgenu.adb: Likewise.
5142 * s-imgenu.ads: Likewise.
5143 * s-imgint.adb: Likewise.
5144 * s-imgint.ads: Likewise.
5145 * s-imgllb.adb: Likewise.
5146 * s-imgllb.ads: Likewise.
5147 * s-imglld.adb: Likewise.
5148 * s-imglld.ads: Likewise.
5149 * s-imglli.adb: Likewise.
5150 * s-imglli.ads: Likewise.
5151 * s-imgllu.adb: Likewise.
5152 * s-imgllu.ads: Likewise.
5153 * s-imgllw.adb: Likewise.
5154 * s-imgllw.ads: Likewise.
5155 * s-imgrea.adb: Likewise.
5156 * s-imgrea.ads: Likewise.
5157 * s-imguns.adb: Likewise.
5158 * s-imguns.ads: Likewise.
5159 * s-imgwch.adb: Likewise.
5160 * s-imgwch.ads: Likewise.
5161 * s-imgwiu.adb: Likewise.
5162 * s-imgwiu.ads: Likewise.
5163 * s-inmaop-dummy.adb: Likewise.
5164 * s-inmaop-vms.adb: Likewise.
5165 * s-inmaop.ads: Likewise.
5166 * s-interr-hwint.adb: Likewise.
5167 * s-interr-sigaction.adb: Likewise.
5168 * s-interr-vms.adb: Likewise.
5169 * s-interr.adb: Likewise.
5170 * s-interr.ads: Likewise.
5171 * s-intman-dummy.adb: Likewise.
5172 * s-intman-mingw.adb: Likewise.
5173 * s-intman-posix.adb: Likewise.
5174 * s-intman-solaris.adb: Likewise.
5175 * s-intman-vms.adb: Likewise.
5176 * s-intman-vms.ads: Likewise.
5177 * s-intman-vxworks.adb: Likewise.
5178 * s-intman-vxworks.ads: Likewise.
5179 * s-intman.ads: Likewise.
5180 * s-io.adb: Likewise.
5181 * s-io.ads: Likewise.
5182 * s-linux-alpha.ads: Likewise.
5183 * s-linux-hppa.ads: Likewise.
5184 * s-linux.ads: Likewise.
5185 * s-maccod.ads: Likewise.
5186 * s-mantis.adb: Likewise.
5187 * s-mantis.ads: Likewise.
5188 * s-mastop-irix.adb: Likewise.
5189 * s-mastop.adb: Likewise.
5190 * s-mastop.ads: Likewise.
5191 * s-memcop.ads: Likewise.
5192 * s-memory-mingw.adb: Likewise.
5193 * s-memory.adb: Likewise.
5194 * s-memory.ads: Likewise.
5195 * s-os_lib.ads: Likewise.
5196 * s-oscons-tmplt.c: Likewise.
5197 * s-osinte-aix.adb: Likewise.
5198 * s-osinte-darwin.adb: Likewise.
5199 * s-osinte-freebsd.adb: Likewise.
5200 * s-osinte-irix.adb: Likewise.
5201 * s-osinte-lynxos-3.adb: Likewise.
5202 * s-osinte-rtems.ads: Likewise.
5203 * s-osinte-tru64.adb: Likewise.
5204 * s-osinte-vxworks-kernel.adb: Likewise.
5205 * s-osinte-vxworks.adb: Likewise.
5206 * s-osprim-mingw.adb: Likewise.
5207 * s-osprim-posix.adb: Likewise.
5208 * s-osprim-solaris.adb: Likewise.
5209 * s-osprim-unix.adb: Likewise.
5210 * s-osprim-vms.adb: Likewise.
5211 * s-osprim-vms.ads: Likewise.
5212 * s-osprim-vxworks.adb: Likewise.
5213 * s-osprim.ads: Likewise.
5214 * s-pack03.adb: Likewise.
5215 * s-pack03.ads: Likewise.
5216 * s-pack05.adb: Likewise.
5217 * s-pack05.ads: Likewise.
5218 * s-pack06.adb: Likewise.
5219 * s-pack06.ads: Likewise.
5220 * s-pack07.adb: Likewise.
5221 * s-pack07.ads: Likewise.
5222 * s-pack09.adb: Likewise.
5223 * s-pack09.ads: Likewise.
5224 * s-pack10.adb: Likewise.
5225 * s-pack10.ads: Likewise.
5226 * s-pack11.adb: Likewise.
5227 * s-pack11.ads: Likewise.
5228 * s-pack12.adb: Likewise.
5229 * s-pack12.ads: Likewise.
5230 * s-pack13.adb: Likewise.
5231 * s-pack13.ads: Likewise.
5232 * s-pack14.adb: Likewise.
5233 * s-pack14.ads: Likewise.
5234 * s-pack15.adb: Likewise.
5235 * s-pack15.ads: Likewise.
5236 * s-pack17.adb: Likewise.
5237 * s-pack17.ads: Likewise.
5238 * s-pack18.adb: Likewise.
5239 * s-pack18.ads: Likewise.
5240 * s-pack19.adb: Likewise.
5241 * s-pack19.ads: Likewise.
5242 * s-pack20.adb: Likewise.
5243 * s-pack20.ads: Likewise.
5244 * s-pack21.adb: Likewise.
5245 * s-pack21.ads: Likewise.
5246 * s-pack22.adb: Likewise.
5247 * s-pack22.ads: Likewise.
5248 * s-pack23.adb: Likewise.
5249 * s-pack23.ads: Likewise.
5250 * s-pack24.adb: Likewise.
5251 * s-pack24.ads: Likewise.
5252 * s-pack25.adb: Likewise.
5253 * s-pack25.ads: Likewise.
5254 * s-pack26.adb: Likewise.
5255 * s-pack26.ads: Likewise.
5256 * s-pack27.adb: Likewise.
5257 * s-pack27.ads: Likewise.
5258 * s-pack28.adb: Likewise.
5259 * s-pack28.ads: Likewise.
5260 * s-pack29.adb: Likewise.
5261 * s-pack29.ads: Likewise.
5262 * s-pack30.adb: Likewise.
5263 * s-pack30.ads: Likewise.
5264 * s-pack31.adb: Likewise.
5265 * s-pack31.ads: Likewise.
5266 * s-pack33.adb: Likewise.
5267 * s-pack33.ads: Likewise.
5268 * s-pack34.adb: Likewise.
5269 * s-pack34.ads: Likewise.
5270 * s-pack35.adb: Likewise.
5271 * s-pack35.ads: Likewise.
5272 * s-pack36.adb: Likewise.
5273 * s-pack36.ads: Likewise.
5274 * s-pack37.adb: Likewise.
5275 * s-pack37.ads: Likewise.
5276 * s-pack38.adb: Likewise.
5277 * s-pack38.ads: Likewise.
5278 * s-pack39.adb: Likewise.
5279 * s-pack39.ads: Likewise.
5280 * s-pack40.adb: Likewise.
5281 * s-pack40.ads: Likewise.
5282 * s-pack41.adb: Likewise.
5283 * s-pack41.ads: Likewise.
5284 * s-pack42.adb: Likewise.
5285 * s-pack42.ads: Likewise.
5286 * s-pack43.adb: Likewise.
5287 * s-pack43.ads: Likewise.
5288 * s-pack44.adb: Likewise.
5289 * s-pack44.ads: Likewise.
5290 * s-pack45.adb: Likewise.
5291 * s-pack45.ads: Likewise.
5292 * s-pack46.adb: Likewise.
5293 * s-pack46.ads: Likewise.
5294 * s-pack47.adb: Likewise.
5295 * s-pack47.ads: Likewise.
5296 * s-pack48.adb: Likewise.
5297 * s-pack48.ads: Likewise.
5298 * s-pack49.adb: Likewise.
5299 * s-pack49.ads: Likewise.
5300 * s-pack50.adb: Likewise.
5301 * s-pack50.ads: Likewise.
5302 * s-pack51.adb: Likewise.
5303 * s-pack51.ads: Likewise.
5304 * s-pack52.adb: Likewise.
5305 * s-pack52.ads: Likewise.
5306 * s-pack53.adb: Likewise.
5307 * s-pack53.ads: Likewise.
5308 * s-pack54.adb: Likewise.
5309 * s-pack54.ads: Likewise.
5310 * s-pack55.adb: Likewise.
5311 * s-pack55.ads: Likewise.
5312 * s-pack56.adb: Likewise.
5313 * s-pack56.ads: Likewise.
5314 * s-pack57.adb: Likewise.
5315 * s-pack57.ads: Likewise.
5316 * s-pack58.adb: Likewise.
5317 * s-pack58.ads: Likewise.
5318 * s-pack59.adb: Likewise.
5319 * s-pack59.ads: Likewise.
5320 * s-pack60.adb: Likewise.
5321 * s-pack60.ads: Likewise.
5322 * s-pack61.adb: Likewise.
5323 * s-pack61.ads: Likewise.
5324 * s-pack62.adb: Likewise.
5325 * s-pack62.ads: Likewise.
5326 * s-pack63.adb: Likewise.
5327 * s-pack63.ads: Likewise.
5328 * s-parame-ae653.ads: Likewise.
5329 * s-parame-hpux.ads: Likewise.
5330 * s-parame-rtems.adb: Likewise.
5331 * s-parame-vms-alpha.ads: Likewise.
5332 * s-parame-vms-ia64.ads: Likewise.
5333 * s-parame-vms-restrict.ads: Likewise.
5334 * s-parame-vxworks.adb: Likewise.
5335 * s-parame-vxworks.ads: Likewise.
5336 * s-parame.adb: Likewise.
5337 * s-parame.ads: Likewise.
5338 * s-parint.adb: Likewise.
5339 * s-parint.ads: Likewise.
5340 * s-pooglo.adb: Likewise.
5341 * s-pooglo.ads: Likewise.
5342 * s-pooloc.adb: Likewise.
5343 * s-pooloc.ads: Likewise.
5344 * s-poosiz.adb: Likewise.
5345 * s-poosiz.ads: Likewise.
5346 * s-powtab.ads: Likewise.
5347 * s-proinf-irix-athread.adb: Likewise.
5348 * s-proinf-irix-athread.ads: Likewise.
5349 * s-proinf.adb: Likewise.
5350 * s-proinf.ads: Likewise.
5351 * s-purexc.ads: Likewise.
5352 * s-rannum.adb: Likewise.
5353 * s-rannum.ads: Likewise.
5354 * s-restri.adb: Likewise.
5355 * s-restri.ads: Likewise.
5356 * s-rident.ads: Likewise.
5357 * s-rpc.adb: Likewise.
5358 * s-rpc.ads: Likewise.
5359 * s-scaval.adb: Likewise.
5360 * s-scaval.ads: Likewise.
5361 * s-secsta.adb: Likewise.
5362 * s-secsta.ads: Likewise.
5363 * s-sequio.adb: Likewise.
5364 * s-sequio.ads: Likewise.
5365 * s-shasto.adb: Likewise.
5366 * s-shasto.ads: Likewise.
5367 * s-soflin.adb: Likewise.
5368 * s-soflin.ads: Likewise.
5369 * s-solita.adb: Likewise.
5370 * s-solita.ads: Likewise.
5371 * s-sopco3.adb: Likewise.
5372 * s-sopco3.ads: Likewise.
5373 * s-sopco4.adb: Likewise.
5374 * s-sopco4.ads: Likewise.
5375 * s-sopco5.adb: Likewise.
5376 * s-sopco5.ads: Likewise.
5377 * s-stache.adb: Likewise.
5378 * s-stache.ads: Likewise.
5379 * s-stalib.adb: Likewise.
5380 * s-stalib.ads: Likewise.
5381 * s-stausa.adb: Likewise.
5382 * s-stausa.ads: Likewise.
5383 * s-stchop-limit.ads: Likewise.
5384 * s-stchop-rtems.adb: Likewise.
5385 * s-stchop-vxworks.adb: Likewise.
5386 * s-stchop.adb: Likewise.
5387 * s-stchop.ads: Likewise.
5388 * s-stoele.adb: Likewise.
5389 * s-stoele.ads: Likewise.
5390 * s-stopoo.adb: Likewise.
5391 * s-stopoo.ads: Likewise.
5392 * s-stratt.adb: Likewise.
5393 * s-stratt.ads: Likewise.
5394 * s-strcom.adb: Likewise.
5395 * s-strcom.ads: Likewise.
5396 * s-string.adb: Likewise.
5397 * s-string.ads: Likewise.
5398 * s-strops.adb: Likewise.
5399 * s-strops.ads: Likewise.
5400 * s-strxdr.adb: Likewise.
5401 * s-ststop.adb: Likewise.
5402 * s-ststop.ads: Likewise.
5403 * s-taasde.adb: Likewise.
5404 * s-taasde.ads: Likewise.
5405 * s-tadeca.adb: Likewise.
5406 * s-tadeca.ads: Likewise.
5407 * s-tadert.adb: Likewise.
5408 * s-tadert.ads: Likewise.
5409 * s-taenca.adb: Likewise.
5410 * s-taenca.ads: Likewise.
5411 * s-taprob.ads: Likewise.
5412 * s-taprop-dummy.adb: Likewise.
5413 * s-taprop-hpux-dce.adb: Likewise.
5414 * s-taprop-irix.adb: Likewise.
5415 * s-taprop-linux.adb: Likewise.
5416 * s-taprop-lynxos.adb: Likewise.
5417 * s-taprop-mingw.adb: Likewise.
5418 * s-taprop-posix.adb: Likewise.
5419 * s-taprop-solaris.adb: Likewise.
5420 * s-taprop-tru64.adb: Likewise.
5421 * s-taprop-vms.adb: Likewise.
5422 * s-taprop-vxworks.adb: Likewise.
5423 * s-taprop.ads: Likewise.
5424 * s-tarest.adb: Likewise.
5425 * s-tarest.ads: Likewise.
5426 * s-tasdeb.adb: Likewise.
5427 * s-tasdeb.ads: Likewise.
5428 * s-tasinf-irix.ads: Likewise.
5429 * s-tasinf-linux.adb: Likewise.
5430 * s-tasinf-linux.ads: Likewise.
5431 * s-tasinf-mingw.adb: Likewise.
5432 * s-tasinf-mingw.ads: Likewise.
5433 * s-tasinf-solaris.adb: Likewise.
5434 * s-tasinf-solaris.ads: Likewise.
5435 * s-tasinf-tru64.ads: Likewise.
5436 * s-tasinf.adb: Likewise.
5437 * s-tasinf.ads: Likewise.
5438 * s-tasini.adb: Likewise.
5439 * s-tasini.ads: Likewise.
5440 * s-taskin.adb: Likewise.
5441 * s-taskin.ads: Likewise.
5442 * s-taspri-dummy.ads: Likewise.
5443 * s-taspri-hpux-dce.ads: Likewise.
5444 * s-taspri-mingw.ads: Likewise.
5445 * s-taspri-solaris.ads: Likewise.
5446 * s-taspri-tru64.ads: Likewise.
5447 * s-taspri-vms.ads: Likewise.
5448 * s-taspri-vxworks.ads: Likewise.
5449 * s-tasque.adb: Likewise.
5450 * s-tasque.ads: Likewise.
5451 * s-tasren.adb: Likewise.
5452 * s-tasren.ads: Likewise.
5453 * s-tasres.ads: Likewise.
5454 * s-tassta.adb: Likewise.
5455 * s-tassta.ads: Likewise.
5456 * s-tasuti.adb: Likewise.
5457 * s-tasuti.ads: Likewise.
5458 * s-tfsetr-default.adb: Likewise.
5459 * s-tfsetr-vxworks.adb: Likewise.
5460 * s-tpinop.adb: Likewise.
5461 * s-tpinop.ads: Likewise.
5462 * s-tpoben.adb: Likewise.
5463 * s-tpoben.ads: Likewise.
5464 * s-tpobop.adb: Likewise.
5465 * s-tpobop.ads: Likewise.
5466 * s-tpopde-vms.adb: Likewise.
5467 * s-tpopde-vms.ads: Likewise.
5468 * s-tpopsp-lynxos.adb: Likewise.
5469 * s-tpopsp-posix-foreign.adb: Likewise.
5470 * s-tpopsp-posix.adb: Likewise.
5471 * s-tpopsp-solaris.adb: Likewise.
5472 * s-tpopsp-vxworks.adb: Likewise.
5473 * s-tporft.adb: Likewise.
5474 * s-tposen.adb: Likewise.
5475 * s-tposen.ads: Likewise.
5476 * s-traceb.adb: Likewise.
5477 * s-traceb.ads: Likewise.
5478 * s-traces-default.adb: Likewise.
5479 * s-traces.adb: Likewise.
5480 * s-traces.ads: Likewise.
5481 * s-traent-vms.adb: Likewise.
5482 * s-traent-vms.ads: Likewise.
5483 * s-traent.adb: Likewise.
5484 * s-traent.ads: Likewise.
5485 * s-trafor-default.adb: Likewise.
5486 * s-trafor-default.ads: Likewise.
5487 * s-tratas-default.adb: Likewise.
5488 * s-tratas.adb: Likewise.
5489 * s-tratas.ads: Likewise.
5490 * s-unstyp.ads: Likewise.
5491 * s-utf_32.adb: Likewise.
5492 * s-utf_32.ads: Likewise.
5493 * s-vaflop-vms-alpha.adb: Likewise.
5494 * s-vaflop.adb: Likewise.
5495 * s-vaflop.ads: Likewise.
5496 * s-valboo.adb: Likewise.
5497 * s-valboo.ads: Likewise.
5498 * s-valcha.adb: Likewise.
5499 * s-valcha.ads: Likewise.
5500 * s-valdec.adb: Likewise.
5501 * s-valdec.ads: Likewise.
5502 * s-valenu.adb: Likewise.
5503 * s-valenu.ads: Likewise.
5504 * s-valint.adb: Likewise.
5505 * s-valint.ads: Likewise.
5506 * s-vallld.adb: Likewise.
5507 * s-vallld.ads: Likewise.
5508 * s-vallli.adb: Likewise.
5509 * s-vallli.ads: Likewise.
5510 * s-valllu.adb: Likewise.
5511 * s-valllu.ads: Likewise.
5512 * s-valrea.adb: Likewise.
5513 * s-valrea.ads: Likewise.
5514 * s-valuns.adb: Likewise.
5515 * s-valuns.ads: Likewise.
5516 * s-valuti.adb: Likewise.
5517 * s-valuti.ads: Likewise.
5518 * s-valwch.adb: Likewise.
5519 * s-valwch.ads: Likewise.
5520 * s-veboop.adb: Likewise.
5521 * s-veboop.ads: Likewise.
5522 * s-vector.ads: Likewise.
5523 * s-vercon.adb: Likewise.
5524 * s-vercon.ads: Likewise.
5525 * s-vmexta.adb: Likewise.
5526 * s-vmexta.ads: Likewise.
5527 * s-vxwext-kernel.ads: Likewise.
5528 * s-vxwext-rtp.adb: Likewise.
5529 * s-vxwext-rtp.ads: Likewise.
5530 * s-vxwext.ads: Likewise.
5531 * s-vxwork-arm.ads: Likewise.
5532 * s-vxwork-m68k.ads: Likewise.
5533 * s-vxwork-mips.ads: Likewise.
5534 * s-vxwork-ppc.ads: Likewise.
5535 * s-vxwork-sparcv9.ads: Likewise.
5536 * s-vxwork-x86.ads: Likewise.
5537 * s-wchcnv.adb: Likewise.
5538 * s-wchcnv.ads: Likewise.
5539 * s-wchcon.adb: Likewise.
5540 * s-wchcon.ads: Likewise.
5541 * s-wchjis.adb: Likewise.
5542 * s-wchjis.ads: Likewise.
5543 * s-wchstw.adb: Likewise.
5544 * s-wchstw.ads: Likewise.
5545 * s-wchwts.adb: Likewise.
5546 * s-wchwts.ads: Likewise.
5547 * s-widboo.adb: Likewise.
5548 * s-widboo.ads: Likewise.
5549 * s-widcha.adb: Likewise.
5550 * s-widcha.ads: Likewise.
5551 * s-widenu.adb: Likewise.
5552 * s-widenu.ads: Likewise.
5553 * s-widlli.adb: Likewise.
5554 * s-widlli.ads: Likewise.
5555 * s-widllu.adb: Likewise.
5556 * s-widllu.ads: Likewise.
5557 * s-widwch.adb: Likewise.
5558 * s-widwch.ads: Likewise.
5559 * s-win32.ads: Likewise.
5560 * s-winext.ads: Likewise.
5561 * s-wwdcha.adb: Likewise.
5562 * s-wwdcha.ads: Likewise.
5563 * s-wwdenu.adb: Likewise.
5564 * s-wwdenu.ads: Likewise.
5565 * s-wwdwch.adb: Likewise.
5566 * s-wwdwch.ads: Likewise.
5567 * scans.adb: Likewise.
5568 * scans.ads: Likewise.
5569 * seh_init.c: Likewise.
5570 * sfn_scan.adb: Likewise.
5571 * sinfo.adb: Likewise.
5572 * sinfo.ads: Likewise.
5573 * sinput.adb: Likewise.
5574 * sinput.ads: Likewise.
5575 * snames.adb: Likewise.
5576 * snames.ads: Likewise.
5577 * socket.c: Likewise.
5578 * stand.adb: Likewise.
5579 * stand.ads: Likewise.
5580 * stringt.adb: Likewise.
5581 * stringt.ads: Likewise.
5582 * sysdep.c: Likewise.
5583 * system-aix.ads: Likewise.
5584 * system-darwin-ppc.ads: Likewise.
5585 * system-darwin-x86.ads: Likewise.
5586 * system-darwin-x86_64.ads: Likewise.
5587 * system-freebsd-x86.ads: Likewise.
5588 * system-hpux-ia64.ads: Likewise.
5589 * system-hpux.ads: Likewise.
5590 * system-irix-n32.ads: Likewise.
5591 * system-irix-n64.ads: Likewise.
5592 * system-irix-o32.ads: Likewise.
5593 * system-linux-alpha.ads: Likewise.
5594 * system-linux-hppa.ads: Likewise.
5595 * system-linux-ia64.ads: Likewise.
5596 * system-linux-mips.ads: Likewise.
5597 * system-linux-mipsel.ads: Likewise.
5598 * system-linux-ppc.ads: Likewise.
5599 * system-linux-ppc64.ads: Likewise.
5600 * system-linux-s390.ads: Likewise.
5601 * system-linux-s390x.ads: Likewise.
5602 * system-linux-sh4.ads: Likewise.
5603 * system-linux-sparc.ads: Likewise.
5604 * system-linux-sparcv9.ads: Likewise.
5605 * system-linux-x86.ads: Likewise.
5606 * system-linux-x86_64.ads: Likewise.
5607 * system-lynxos-ppc.ads: Likewise.
5608 * system-lynxos-x86.ads: Likewise.
5609 * system-mingw-x86_64.ads: Likewise.
5610 * system-mingw.ads: Likewise.
5611 * system-rtems.ads: Likewise.
5612 * system-solaris-sparc.ads: Likewise.
5613 * system-solaris-sparcv9.ads: Likewise.
5614 * system-solaris-x86.ads: Likewise.
5615 * system-solaris-x86_64.ads: Likewise.
5616 * system-tru64.ads: Likewise.
5617 * system-vms-ia64.ads: Likewise.
5618 * system-vms-zcx.ads: Likewise.
5619 * system-vms.ads: Likewise.
5620 * system-vms_64.ads: Likewise.
5621 * system-vxworks-arm.ads: Likewise.
5622 * system-vxworks-m68k.ads: Likewise.
5623 * system-vxworks-mips.ads: Likewise.
5624 * system-vxworks-ppc.ads: Likewise.
5625 * system-vxworks-sparcv9.ads: Likewise.
5626 * system-vxworks-x86.ads: Likewise.
5627 * system.ads: Likewise.
5628 * table.adb: Likewise.
5629 * table.ads: Likewise.
5630 * targext.c: Likewise.
5631 * targparm.ads: Likewise.
5632 * tree_in.adb: Likewise.
5633 * tree_in.ads: Likewise.
5634 * tree_io.adb: Likewise.
5635 * tree_io.ads: Likewise.
5636 * types.adb: Likewise.
5637 * types.ads: Likewise.
5638 * uintp.adb: Likewise.
5639 * uintp.ads: Likewise.
5640 * uname.adb: Likewise.
5641 * uname.ads: Likewise.
5642 * urealp.adb: Likewise.
5643 * urealp.ads: Likewise.
5644 * vx_stack_info.c: Likewise.
5645 * widechar.adb: Likewise.
5646 * widechar.ads: Likewise.
5647 * exp_attr.adb: Change copyright header to refer to version
5648 3 of the GNU General Public License and to point readers at the
5649 COPYING3 file and the FSF's license web page.
5650 * sem.adb: Likewise.
5651 * sem_attr.ads: Likewise.
5652 * freeze.adb: Likewise.
5653 * freeze.ads: Likewise.
5654 * errout.ads: Likewise.
5655 * erroutc.adb: Likewise.
5656 * exp_ch11.ads: Likewise.
5658 2009-04-09 Jakub Jelinek <jakub@redhat.com>
5660 * config-lang.in: Change copyright header to refer to version
5661 3 of the GNU General Public License and to point readers at the
5662 COPYING3 file and the FSF's license web page.
5663 * gcc-interface/trans.c: Likewise.
5664 * gnathtml.pl: Likewise.
5665 * gcc-interface/ada.h: Likewise. Remove runtime exception.
5666 * gcc-interface/gigi.h: Likewise.
5667 * gcc-interface/misc.c: Likewise.
5668 * gcc-interface/targtyps.c: Likewise.
5670 2009-04-09 Nicolas Setton <setton@adacore.com>
5672 * s-osinte-darwin.ads: Fix wrong binding to struc timeval.
5674 * s-osinte-darwin.adb (To_Timeval): Adapt to fixed implementation of
5677 2009-04-09 Bob Duff <duff@adacore.com>
5679 * exp_ch5.adb, exp_ch9.adb: Correct miscellaneous Slocs in
5680 internally-generated nodes related to select statements to avoid
5681 confusing the debugger.
5683 2009-04-09 Pascal Obry <obry@adacore.com>
5685 * make.adb: Ensure that all linker arguments are duplicated.
5687 2009-04-09 Robert Dewar <dewar@adacore.com>
5689 * sem_ch5.adb: Minor reformatting
5691 2009-04-09 Vincent Celier <celier@adacore.com>
5694 Change GNAT CHECK qualifier /DIAGNOSIS_LIMIT to /DIAGNOSTIC_LIMIT
5695 New qualifier /LEXPAND_SOURCE=nnn for -gnatGnnn
5696 New qualifier /LXDEBUG=nnn for -gnatDnnn
5700 Update documentation for VMS qualifiers equivalent to -gnatGnn and
5703 2009-04-09 Nicolas Setton <setton@adacore.com>
5705 * s-osinte-darwin.ads: (Pad_Type): Make this an array of unsigned_long,
5706 to match layout of siginfo_t in sys/signal.h.
5708 * gcc-interface/Makefile.in: Add section for x86_64 darwin.
5710 2009-04-09 Thomas Quinot <quinot@adacore.com>
5712 * g-socket.ads: (Fd_Set): Use Interfaces.C.long alignment.
5714 2009-04-09 Nicolas Setton <setton@adacore.com>
5716 * s-oscons-tmplt.c: Allow long lines in the generated spec.
5717 Add generation of Darwin-specific constants needed when binding to the
5720 2009-04-09 Robert Dewar <dewar@adacore.com>
5723 (Insert_Valid_Check): Avoid unnecessary generation of junk declaration
5724 when no invalid values exist, Avoid duplicate read of atomic variable.
5726 * cstand.adb (Build_Signed_Integer_Type): Set Is_Known_Valid
5727 (Standard_Unsigned): Set Is_Known_Valid
5729 * sem_ch3.adb (Analyze_Subtype_Declaration): Copy Is_Known_Valid on
5730 subtype declaration if no constraint.
5731 (Set_Modular_Size): Set Is_Known_Valid if appropriate
5732 (Build_Derived_Numeric_Type): Copy Is_Known_Valid if no constraint
5734 2009-04-09 Robert Dewar <dewar@adacore.com>
5736 * switch-c.adb, gnat_ugn.texi, vms_data.ads, switch.adb,
5737 switch.ads: for numeric switches, an optional equal sign is always
5740 2009-04-09 Vincent Celier <celier@adacore.com>
5742 * prj-nmsc.adb (Get_Unit): Do not consider Casing on platform where
5743 the case of file names is not significant.
5745 2009-04-09 Vincent Celier <celier@adacore.com>
5747 * errout.adb: Remove dependency on package Style
5749 * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function,
5752 * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from
5755 * errutil.adb, par.adb: Import Stylesw
5757 2009-04-09 Arnaud Charlet <charlet@adacore.com>
5759 * opt.ads: Fix typos.
5761 2009-04-09 Robert Dewar <dewar@adacore.com>
5763 * einfo.adb: Minor reformatting
5765 2009-04-09 Robert Dewar <dewar@adacore.com>
5767 * gcc-interface/Make-lang.in, style.ads, style.adb: Reorganize style
5770 * styleg-c.ads, styleg-c.adb: Removed, no longer used.
5772 2009-04-09 Robert Dewar <dewar@adacore.com>
5774 * g-comver.adb: Minor reformatting.
5776 2009-04-09 Thomas Quinot <quinot@adacore.com>
5778 * lib-load.ads (Load_Unit): Update documentation.
5780 2009-04-09 Ed Schonberg <schonberg@adacore.com>
5782 * lib-load.adb (Load_Unit): When loading the parent of a child unit
5783 named in a with_clause, retain the with_clause to preserve a
5784 limited_with indication.
5786 2009-04-09 Robert Dewar <dewar@adacore.com>
5788 * sem_ch7.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_util.adb,
5789 exp_ch13.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb,
5790 sem_cat.adb: Code clean up: use Is_Package_Or_Generic_Package where
5791 possible to replace an OR of two separate tests.
5793 2009-04-09 Robert Dewar <dewar@adacore.com>
5795 * binderr.adb, errout.adb, errutil.adb: New circuitry for handling
5798 * erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global
5799 warning status as well.
5801 * opt.ads (Maximum_Messages): New name for Maximum_Errors.
5803 * switch-b.adb, switch-c.adb: Change name Maximum_Errors to
5806 * bindusg.adb, usage.adb: Update line for -gnatm switch
5808 * gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and
5811 2009-04-09 Robert Dewar <dewar@adacore.com>
5813 * sem_ch10.adb: Minor reformatting.
5815 2009-04-09 Bob Duff <duff@adacore.com>
5817 * exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler):
5818 Set Sloc of generated nodes for calls to Undefer_Aborts and
5819 Save_Occurrence to No_Location, so the debugger ignores them and
5820 therefore does not jump back and forth when single stepping.
5822 2009-04-09 Robert Dewar <dewar@adacore.com>
5824 * switch-b.adb: Minor reformatting.
5826 2009-04-09 Robert Dewar <dewar@adacore.com>
5828 * sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, exp_atag.adb, layout.adb,
5829 sem_dist.adb, exp_ch7.adb, sem_ch5.adb, sem_type.adb, exp_imgv.adb,
5830 exp_util.adb, sem_aux.adb, sem_aux.ads, exp_attr.adb, exp_ch9.adb,
5831 sem_ch7.adb, inline.adb, fe.h, sem_ch9.adb, exp_code.adb, einfo.adb,
5832 einfo.ads, exp_pakd.adb, checks.adb, sem_ch12.adb, exp_smem.adb,
5833 tbuild.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb,
5834 exp_dbug.adb, sem_case.adb, exp_tss.adb, exp_ch4.adb, exp_ch6.adb,
5835 sem_smem.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, exp_disp.adb,
5836 sem_ch8.adb, exp_aggr.adb, sem_eval.adb, sem_cat.adb, exp_dist.adb,
5837 sem_ch13.adb, exp_strm.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb:
5838 Reorganize einfo/sem_aux, moving routines from einfo to sem_aux
5840 2009-04-09 Robert Dewar <dewar@adacore.com>
5842 * exp_util.adb (Silly_Boolean_Array_Xor_Test): Simplify existing code.
5844 * atree.h: Add Elist26
5846 * gnat_ugn.texi: Complete documentation deprecating -gnatN for non-gcc
5849 2009-04-09 Javier Miranda <miranda@adacore.com>
5851 * exp_disp.adb (Export_DT): Addition of a new argument (Index); used to
5852 retrieve from the Dispatch_Table_Wrappers list the external name.
5853 Addition of documentation.
5854 (Make_Secondary_DT): Addition of a new argument (Suffix_Index) that is
5855 used to export secondary dispatch tables (in the previous version of
5856 the frontend only primary dispatch tables were exported). Addition of
5858 (Import_DT): New subprogram (internal of Make_Tags). Used to import a
5859 dispatch table of a given tagged type.
5860 (Make_Tags): Modified to import secondary dispatch tables.
5862 * sem_ch3.adb (Analyze_Object_Declaration): Code cleanup.
5863 (Constant_Redeclaration): Code cleanup.
5865 * einfo.ads (Dispatch_Table_Wrapper): Renamed to
5866 Dispatch_Table_Wrappers. Update documentation.
5868 * einfo.adb (Dispatch_Table_Wrapper, Set_Dispatch_Table_Wrapper):
5869 Renamed to Dispatch_Table_Wrappers.
5871 * sem_util.adb (Collect_Interface_Components): Improve handling of
5874 * atree.ads (Elist26, Set_Elist26): New subprograms
5876 * atree.adb (Elist26, Set_Elist26): New subprograms
5878 2009-04-09 Javier Miranda <miranda@adacore.com>
5880 * sem_ch3.adb (Build_Derived_Record_Type): Fix typo.
5881 (Derive_Progenitor_Subprograms): Handle interfaces in subtypes of
5884 2009-04-09 Robert Dewar <dewar@adacore.com>
5886 * s-direio.adb: Minor reformatting
5888 * exp_ch4.adb (Expand_Concatenate): Avoid overflow checks for String
5890 2009-04-09 Robert Dewar <dewar@adacore.com>
5892 * exp_ch4.adb (Expand_Concatenate): Improve handling of overflow cases
5894 2009-04-09 Pascal Obry <obry@adacore.com>
5896 * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coinve.ads,
5897 s-tpoben.adb, s-tpoben.ads, s-finimp.adb, s-finimp.ads,
5898 a-convec.adb, a-convec.ads, a-finali.adb, a-finali.ads,
5899 a-filico.ads: Add some missing overriding keywords.
5901 2009-04-09 Pascal Obry <obry@adacore.com>
5903 * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb,
5904 a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads,
5905 a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor
5908 2009-04-09 Ed Schonberg <schonberg@adacore.com>
5910 * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on
5911 missing overriding indicator if the new declaration is not seen as
5914 2009-04-09 Thomas Quinot <quinot@adacore.com>
5916 * exp_ch4.adb (Expand_Concatenate): Add circuitry to properly handle
5917 overflows in computation of bounds.
5919 2009-04-09 Pascal Obry <obry@adacore.com>
5921 * a-cihama.adb, a-cgcaso.adb, a-cihase.adb, a-cohase.adb: Fix some
5924 2009-04-09 Robert Dewar <dewar@adacore.com>
5926 * sem_attr.adb (Check_Stream_Attribute): Check violation of
5927 restriction No_Streams
5929 * gnat_rm.texi: Clarify No_Streams restriction
5931 * g-socket.adb: Minor reformatting.
5933 2009-04-09 Thomas Quinot <quinot@adacore.com>
5935 * g-socket.ads: Mark Initialize and Finalize as obsolesent interfaces.
5937 2009-04-09 Geert Bosch <bosch@adacore.com>
5939 * exp_fixd.adb (Build_Conversion): Accept new optional Trunc argument.
5940 (Set_Result): Likewise.
5941 (Expand_Convert_Float_To_Fixed): Have Set_Result truncate the
5942 conversion, as required by RM 4.6(31).
5944 2009-04-08 Robert Dewar <dewar@adacore.com>
5946 * checks.adb (Enable_Overflow_Check): Do not enable if overflow checks
5949 * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all
5952 2009-04-08 Robert Dewar <dewar@adacore.com>
5954 * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for
5955 No_Local_Allocators restriction preventing local instantiation.
5957 2009-04-08 Thomas Quinot <quinot@adacore.com>
5959 * sem_eval.adb: Minor comment fix
5961 2009-04-08 Thomas Quinot <quinot@adacore.com>
5963 * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller):
5964 New limited controlled type used to automate the initialization and
5965 finalization of the sockets implementation.
5966 (GNAT.Sockets.Initialize, Finalize): Make these no-ops
5968 2009-04-08 Vincent Celier <celier@adacore.com>
5970 * prj-attr.adb: New read-only project-level attribute Project_Dir
5972 * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of
5973 read-only attribute of the same name.
5974 (Process_Declarative_Items): Call Add_Attributes with Project_Dir
5975 (Recursive_Process): Ditto
5977 * snames.adb: Add new standard name Project_Dir
5979 * snames.ads: Add new standard name Project_Dir
5981 2009-04-08 Thomas Quinot <quinot@adacore.com>
5983 * checks.adb: Minor reformatting
5985 2009-04-08 Vincent Celier <celier@adacore.com>
5987 * vms_data.ads: Add documentation for new style keyword
5988 OVERRIDING_INDICATORS
5990 2009-04-08 Robert Dewar <dewar@adacore.com>
5992 * sem_ch3.adb (Check_Completion.Post_Error): Post error on spec if the
5993 spec is in the current unit.
5995 2009-04-08 Ed Schonberg <schonberg@adacore.com>
5997 * sem_util.adb (Is_Protected_Self_Reference): Add guard to check for
6000 * usage.adb, gnat_ugn.texi: add info on -gnatyO: overriding indicators
6002 2009-04-08 Vincent Celier <celier@adacore.com>
6004 * vms_data.ads: Add VMS equivalent for -gnatyO (OVERRIDING_INDICATORS)
6006 2009-04-08 Thomas Quinot <quinot@adacore.com>
6008 * checks.ads: Minor reformatting
6010 2009-04-08 Robert Dewar <dewar@adacore.com>
6012 * gnat_rm.texi: Update documentation of pragma Obsolescent
6014 * sem_prag.adb (Analyze_Pragma, case Obsolescent): Allow identifiers to
6015 be omitted, and allow Entity parameter to be omitted.
6017 2009-04-08 Thomas Quinot <quinot@adacore.com>
6019 * exp_util.adb: Minor comment fix
6021 2009-04-08 Robert Dewar <dewar@adacore.com>
6023 * g-socket.ads: Fix bad syntax in pragma Obsolescent
6025 * par-ch2.adb (Scan_Pragma_Argument_Association): Check for error of
6026 argument with no identifier following one that has an identifier. Was
6027 missed in some cases.
6029 * sem_prag.adb (Analyze_Pragma, case Check_Policy): Allow Policy
6031 (Analyze_Pragma, case Obsolescent): Allow Message, Version identifiers
6033 * snames.adb: Add Name_Policy
6035 * snames.ads: Add Name_Policy
6037 2009-04-08 Robert Dewar <dewar@adacore.com>
6039 * gnat_rm.texi: Minor reformatting
6041 * par-ch2.adb: Minor reformatting
6043 2009-04-08 Robert Dewar <dewar@adacore.com>
6045 * exp_attr.adb, sem_attr.adb, sem_util.adb: Code clean up.
6047 2009-04-08 Robert Dewar <dewar@adacore.com>
6049 * sem_cat.adb (Check_Categorization_Dependencies): Handle Preelaborate
6050 properly in the presence of Remote_Types or Remote_Call_Interface.
6052 * sem_util.adb: Add comment.
6054 2009-04-08 Robert Dewar <dewar@adacore.com>
6056 * ug_words: Add /ASSUME_VALID for -gnatB
6058 * vms_data.ads: Add /ASSUME_VALID for -gnatB
6060 * sem_cat.adb: Add clarifying commment
6062 * a-direio.ads (Bytes): Make sure value is non-zero
6064 2009-04-08 Ed Schonberg <schonberg@adacore.com>
6066 * sem_util.adb (Is_Variable): If the prefix is an explicit dereference
6067 that does not come from source, check for a rewritten function call in
6068 prefixed notation before other forms of rewriting.
6070 2009-04-08 Robert Dewar <dewar@adacore.com>
6072 * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since
6073 these are now obsolescent units used only for bootrapping with an
6076 2009-04-08 Robert Dewar <dewar@adacore.com>
6078 * gnat_rm.texi: Add documentation for pragma Thread_Local_Storage
6080 * sem_ch3.adb: Minor comment updates
6082 2009-04-08 Ed Schonberg <schonberg@adacore.com>
6084 * inline.adb (Back_End_Cannot_Inline): restrict warning to subprograms
6085 that come from source.
6087 2009-04-08 Tristan Gingold <gingold@adacore.com>
6089 * gcc-interface/gigi.h (enum attr_type): Add ATTR_THREAD_LOCAL_STORAGE.
6090 * gcc-interface/decl.c (prepend_attributes): New case
6091 Pragma_Thread_Local_Storage.
6092 * gcc-interface/utils.c (process_attributes): New case
6093 ATTR_THREAD_LOCAL_STORAGE.
6095 2009-04-08 Ed Schonberg <schonberg@adacore.com>
6097 * inline.adb (Back_End_Cannot_Inline): Do not mark a body as inlineable
6098 by the back-end if it contains a call to a subprogram without a
6099 previous spec that is declared in the same unit.
6101 * errout.ads: Update comments on uses of dirs
6103 2009-04-08 Robert Dewar <dewar@adacore.com>
6105 * exp_ch4.adb (Expand_Concatenate): Make sure nodes are properly typed
6107 2009-04-08 Tristan Gingold <gingold@adacore.com>
6109 * sem_prag.adb: Restrict pragma Thread_Local_Storage to library level
6111 Set Has_Gigi_Rep_Item flag to TLS variables (to ease gigi work).
6113 2009-04-08 Vincent Celier <celier@adacore.com>
6116 (Add_Source): Add the mapping of the unit name to source file name in
6117 the Unit_Sources_HT hash table, if the unit name is not null.
6119 * prj.adb (Reset): Reset hash table Tree.Unit_Sources_HT
6121 * prj.ads (Unit_Sources_Htable): New hash table instantiation
6122 (Project_Tree_Data): New component Unit_Sources_HT
6124 2009-04-08 Thomas Quinot <quinot@adacore.com>
6126 * sem_ch8.adb: Minor reformatting.
6127 Minor code reorganization.
6129 2009-04-08 Robert Dewar <dewar@adacore.com>
6131 * snames.h, einfo.adb, einfo.ads, sem_prag.adb, snames.adb,
6132 snames.ads, freeze.adb, par-prag.adb: Add implementation of
6133 pragma Thread_Local_Storage, setting new flag
6134 Has_Pragma_Thread_Local_Storage in corresponding entities.
6136 2009-04-08 Emmanuel Briot <briot@adacore.com>
6138 * prj.ads: Update comment on switches file
6140 * prj-nmsc.adb: Code clean up. Use renaming clauses.
6142 2009-04-08 Robert Dewar <dewar@adacore.com>
6144 * exp_ch4.adb (Expand_Concatenate): Further fixes to bounds handling
6146 2009-04-08 Thomas Quinot <quinot@adacore.com>
6148 * ali-util.adb: Minor comment fix
6150 2009-04-08 Ed Schonberg <schonberg@adacore.com>
6152 * sem_ch8.adb (Analyze_Use_Type): Improve error message when clause
6153 appears in a context clause, and the enclosing package is mentioned in
6154 a limited_with_clause.
6155 (Use_One_Type): Reject clause if type is still incomplete.
6157 2009-04-08 Emmanuel Briot <briot@adacore.com>
6159 * prj-nmsc.adb (Check_File, Process_Sources_In_Multi_Language_Mode):
6160 avoid copies of Source_Data variables when possible, since these
6161 involve calls to memcpy() which are done too many times.
6163 2009-04-08 Robert Dewar <dewar@adacore.com>
6165 * exp_ch4.adb (Expand_Concatenate): Clean up code
6167 2009-04-07 Thomas Quinot <quinot@adacore.com>
6169 * exp_ch4.adb (Expand_Concatenate): Add missing conversion to index
6170 type for the case of concatenating a constrained array indexed by an
6173 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6175 * sem_ch6.adb (Check_Conformance): when checking conformance of an
6176 operation that overrides an abstract operation inherited from an
6177 interface, return False if only one of the controlling formals is an
6180 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6182 * sem_ch8.adb (Analyze_Object_Renaming): additional error messages
6183 mandated by AI05-105.
6185 2009-04-07 Vincent Celier <celier@adacore.com>
6187 * prj-nmsc.adb (Get_Mains): Warn if a main is an empty string
6189 2009-04-07 Thomas Quinot <quinot@adacore.com>
6191 * usage.adb: Minor fix in usage message.
6193 * sem_ch10.adb (Remove_Homonyms): Fix subtype of formal in body to
6194 match declaration; the correct subtype is Node_Id, not Entity_Id,
6195 because the expected node kind is an identifier, not a defining
6198 * switch-c.adb: Minor reformatting.
6200 * uintp.adb: Minor reformatting.
6202 2009-04-07 Robert Dewar <dewar@adacore.com>
6204 * exp_ch13.adb: Minor reformatting
6206 2009-04-07 Robert Dewar <dewar@adacore.com>
6208 * sem_warn.adb (Check_Infinite_Loop_Warning.Test_Ref): Add defence
6209 against missing parent.
6211 2009-04-07 Thomas Quinot <quinot@adacore.com>
6213 * xoscons.adb: Minor reformatting
6215 2009-04-07 Robert Dewar <dewar@adacore.com>
6217 * rtsfind.ads: Remove obsolete string concatenation entries
6219 2009-04-07 Robert Dewar <dewar@adacore.com>
6221 * exp_ch4.adb (Expand_Concatenate): Redo handling of bounds
6223 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6225 * sem_ch10.adb (Check_Body_Required): Handle properly imported
6228 2009-04-07 Gary Dismukes <dismukes@adacore.com>
6230 * exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case
6231 Attribute_Address): When Init_Or_Norm_Scalars is True and the object
6232 is of a scalar or string type then suppress the setting of the
6233 expression to Empty.
6235 * freeze.adb (Warn_Overlay): Also emit the warnings about default
6236 initialization for the cases of scalar and string objects when
6237 Init_Or_Norm_Scalars is True.
6239 2009-04-07 Bob Duff <duff@adacore.com>
6241 * s-secsta.ads, g-pehage.ads, s-fileio.ads: Minor comment fixes
6243 2009-04-07 Bob Duff <duff@adacore.com>
6245 * gnat_rm.texi, s-fileio.adb (System.File_IO.Open): New feature: A
6246 Form parameter of Text_Translation=No allows binary mode for Text_IO
6249 * gnat_rm.texi: Document Form parameter Text_Translation=xxx.
6251 2009-04-07 Javier Miranda <miranda@adacore.com>
6253 * exp_ch5.adb (Expand_Assign_Array): Add implicit conversion when
6254 processing the bounds for bit packed arrays or VM target machines.
6256 2009-04-07 Thomas Quinot <quinot@adacore.com>
6258 * g-sothco.ads (Int_Access): Remove extraneous access type (use
6259 anonymous access instead).
6260 (Get_Socket_From_Set): Fix incorrectly reverted formals
6261 Last and Socket to match the underlying C routine.
6263 * g-socket.adb, g-socket.ads
6264 (Get): Use named parameter associations instead of positional ones in
6265 call go Get_Socket_From_Set, since this routine has two formals of the
6267 (Image): New procedure.
6269 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
6270 g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads:
6271 (C_Ioctl, Syscall_Ioctl): use "access C.int" instead of "Int_Access"
6272 for type of Arg formal.
6274 * sem_warn.adb: Minor reformatting
6276 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6278 * sem_util.adb (Has_Tagged_Component): Fix typo in loop that iterates
6279 over record components.
6281 2009-04-07 Nicolas Roche <roche@adacore.com>
6284 Don't include resolvLib.h on VxWorks 6 (kernel and rtp). This library
6285 has disappeared between VxWorks 6.4 and VxWorks 6.5
6286 In RTP mode use time.h instead of times.h
6288 2009-04-07 Robert Dewar <dewar@adacore.com>
6290 * exp_ch4.adb (Expand_N_Op_Concat): Improve lower bound handling
6292 2009-04-07 Kevin Pouget <pouget@adacore.com>
6294 * exp_dist.adb: Modify Build_From_Any_Fonction procedure to correct
6295 expanded code for constrained types.
6297 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6299 * sem_ch4.adb (Analyze_Overloaded_Selected_Component): implement
6300 AI05-105: in an object renaming declaration, anonymousness is a name
6303 * sem_ch8.adb (Analyze_Object_Renaming): Ditto.
6305 2009-04-07 Arnaud Charlet <charlet@adacore.com>
6307 * g-comlin.adb (Expansion): Fix old regression: also return directory
6308 names when matching.
6310 2009-04-07 Robert Dewar <dewar@adacore.com>
6313 (Expand_N_Op_Concat): Call Expand_Concatenate for all cases
6314 (Expand_Concatenate): New name for Expand_Concatenate_String which has
6315 been rewritten to handle all types.
6316 (Expand_Concatenate_Other): Remove
6318 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6320 * lib-xref.adb (Generate_Reference): A default subprogram in an
6321 instance appears within the tree for the instance, but generates an
6322 implicit reference in the ALI.
6324 2009-04-07 Javier Miranda <miranda@adacore.com>
6326 * sem_ch3.adb (Build_Derived_Record_Type): When processing a tagged
6327 derived type that has discriminants, propagate the list of interfaces
6328 to the corresponding new base type. In addition, propagate also
6329 attribute Limited_Present (found working in this patch).
6331 2009-04-07 Robert Dewar <dewar@adacore.com>
6333 * exp_ch4.adb: Rewrite concatenation expansion.
6335 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6337 * sem_ch8.adb (Restore_Scope_Stack): First_Private_Entity is only
6338 relevant to packages.
6340 2009-04-07 Robert Dewar <dewar@adacore.com>
6342 * sem_attr.adb: Minor reformatting
6344 * sem_ch6.adb: Minor reformatting
6346 2009-04-07 Tristan Gingold <gingold@adacore.com>
6348 * socket.c: Add more protections against S_resolvLib_ macros.
6350 2009-04-07 Thomas Quinot <quinot@adacore.com>
6352 * sem_attr.adb: Minor reformatting
6354 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6356 * sem_ch6.adb (New_Overloaded_Entity): New predicate
6357 Is_Overriding_Alias to handle properly types that inherit two homonym
6358 operations that have distinct dispatch table entries.
6360 2009-04-07 Emmanuel Briot <briot@adacore.com>
6362 * s-regexp.adb (Create_Mapping): Ignore excaped open parenthesis when
6363 looking for the end of a parenthesis group
6365 2009-04-07 Tristan Gingold <gingold@adacore.com>
6367 * gsocket.h Don't #include resolvLib.h if __RTP__ is defined.
6369 * socket.c Don't use resolvLib_ macros if not defined.
6371 2009-04-07 Robert Dewar <dewar@adacore.com>
6373 * g-socket.adb: Minor reformatting.
6375 * g-socthi-mingw.adb: Minor reformatting
6377 * g-sothco.ads: Minor reformatting
6380 (Expand_Concatenate_String): Complete rewrite to generate efficient code
6381 inline instead of relying on external library routines.
6383 * s-strops.ads, s-sopco5.ads, s-sopco5.adb, s-sopco4.ads, s-sopco4.adb,
6384 s-sopco3.ads, s-sopco3.adb, s-strops.adb: Note that this unit is now
6387 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6390 (Eval_Attribute): for attributes of array objects that are not strings,
6391 attributes are not static if nominal subtype of object is unconstrained.
6393 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6395 * sem_ch6.adb (New_Overloaded_Entity): If two implicit homonym
6396 operations for a type T in an instance do not override each other,
6397 when T is derived from a formal private type, the corresponding
6398 operations inherited by a type derived from T outside
6399 of the instance do not override each other either.
6401 2009-04-07 Robert Dewar <dewar@adacore.com>
6403 (Osint.Fail): Change calling sequence to have one string arg
6404 (Make.Make_Failed): Same change
6405 All callers are adjusted to use concatenation
6407 2009-04-07 Robert Dewar <dewar@adacore.com>
6409 * exp_ch4.adb: Fix documentation typo
6411 2009-04-07 Robert Dewar <dewar@adacore.com>
6413 * tbuild.ads: Minor reformatting
6415 2009-04-07 Javier Miranda <miranda@adacore.com>
6417 * exp_disp.adb (Make_DT): Avoid the generation of the OSD_Table
6418 when compiling under ZFP runtime.
6420 2009-04-07 Robert Dewar <dewar@adacore.com>
6422 * g-comlin.adb: Minor reformatting
6424 2009-04-07 Thomas Quinot <quinot@adacore.com>
6426 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
6427 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
6428 g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads, g-sothco.ads:
6429 Remove dynamic allocation of Fd_Set in Socket_Set_Type objects.
6431 2009-04-07 Robert Dewar <dewar@adacore.com>
6433 * gnat_ugn.texi: Document -gnatDnn/-gnatGnn
6435 * opt.ads (Sprint_Line_Limit): New parameter
6437 * sprint.adb: Usa Sprint_Line_Limit instead of Line_Limit throughout
6439 * switch-c.adb: Recognize -gnatDnnn and -gnatGnnn switches
6441 * usage.adb: Output information for -gnatGnn -gnatDnn
6443 2009-04-07 Robert Dewar <dewar@adacore.com>
6445 * make.adb: Minor reformatting
6447 2009-04-07 Robert Dewar <dewar@adacore.com>
6449 * mlib-tgt-specific-vms-alpha.adb: Minor reformatting
6451 2009-04-07 Robert Dewar <dewar@adacore.com>
6453 * mlib-tgt-specific-vms-ia64.adb: Minor reformatting
6455 2009-04-07 Robert Dewar <dewar@adacore.com>
6458 Remove Assume_Valid parameter from In_Subrange_Of calls
6461 (Is_Subrange_Of): Remove Assume_Valid parameter, not needed
6462 (Is_In_Range): Remove incorrect use of Assume_Valid
6463 (Is_Out_Of_Range): Remove incorrect use of Assume_Valid
6466 (Is_Subrange_Of): Remove Assume_Valid parameter, not needed
6467 (Is_In_Range): Documentation cleanup
6468 (Is_Out_Of_Range): Documentation cleanup
6471 Add documentation for Assume_No_Invalid_Values pragma
6473 * sem_ch12.adb: Minor reformatting
6475 * sem_ch6.adb: (Check_Conformance): Avoid cascaded errors
6477 * sem_prag.adb: Improve error message.
6479 * gnatchop.adb, osint.ads, sinput.adb, sinput.ads, styleg.adb:
6480 LF/CR no longer recognized as line terminator
6482 * switch.ads: Minor documentation improvement
6484 * vms_data.ads: Minor reformatting
6486 2009-04-07 Robert Dewar <dewar@adacore.com>
6488 * checks.adb (Determine_Range): Add Assume_Valid parameter
6490 * checks.ads (Determine_Range): Add Assume_Valid parameter
6492 * errout.adb (Error_Msg_NEL): Use Suppress_Loop_Warnings rather than
6493 Is_Null_Loop to suppress warnings in a loop body.
6496 (Rewrite_Comparison): Major rewrite to accomodate invalid values
6499 (Expand_N_Loop_Statement): Delete loop known not to execute
6502 (Assume_No_Invalid_Values): Now set to False, and as documented, this
6503 fully enables the proper handling of invalid values.
6506 New calling sequence for Is_In_Range
6509 (Analyze_Iteration_Scheme): Accomodate possible invalid values
6510 in determining if a loop range is null.
6513 (Is_In_Range): Add Assume_Valid parameter
6514 (Is_Out_Of_Range): Add Assume_Valid_Parameter
6515 (Compile_Time_Compare): Major rewrite to accomodate invalid values and
6516 also to do more accurate and complete range analysis, catching more
6520 (Is_In_Range): Add Assume_Valid parameter
6521 (Is_Out_Of_Range): Add Assume_Valid_Parameter
6524 New calling sequence for Is_In_Range
6527 (Suppress_Loop_Warnings): New flag
6530 (Is_Null_Loop): Update documentation
6531 (Suppress_Loop_Warnings): New flag
6533 * gnat_ugn.texi: Document -gnatB switch
6535 2009-04-07 Arnaud Charlet <charlet@adacore.com>
6537 * gnatvsn.ads: Bump version number.
6539 2009-04-07 Thomas Quinot <quinot@adacore.com>
6541 * exp_ch3.adb: Minor rewording (comments)
6543 2009-04-07 Robert Dewar <dewar@adacore.com>
6545 * exp_disp.adb: Minor reformatting
6547 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
6549 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Test the
6551 * gcc-interface/trans.c (lvalue_required_p): Likewise.
6553 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
6555 * gcc-interface/trans.c (Attribute_to_gnu) <Max_Size_In_Storage_Elmts>:
6556 Do not convert the result. Remove obsolete comment.
6558 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
6560 * gcc-interface/trans.c (establish_gnat_vms_condition_handler): Clear
6562 (Subprogram_Body_to_gnu): Fix pasto.
6564 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
6566 * gcc-interface/gigi.h (standard_datatypes): Remove ADT_void_type_decl.
6567 (void_type_decl_node): Remove.
6568 (init_gigi_decls): Likewise.
6569 (gnat_install_builtins): Declare.
6570 (record_builtin_type): Likewise.
6571 (create_type_stub_decl): Likewise.
6572 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Void>: Use void_type.
6573 (gnat_to_gnu_entity) <E_Array_Type>: Make fat and thin pointer types
6575 <E_Array_Subtype>: Use the index types, not only their name, in the
6576 record giving the names of the bounds, if any.
6577 For a packed array type, make it artificial only if the base type
6578 was artificial as well. Remove redundant statement.
6579 (gnat_to_gnu_entity) <E_Incomplete_Type>: Do not create TYPE_DECL for
6581 Use create_type_stub_decl to build the TYPE_STUB_DECL of types.
6582 (rest_of_type_decl_compilation_no_defer): Likewise.
6583 * gcc-interface/misc.c (gnat_printable_name): Add missing guard.
6584 * gcc-interface/utils.c (make_dummy_type): Always create TYPE_STUB_DECL
6585 and use create_type_stub_decl to build it.
6586 (gnat_pushdecl): Rewrite condition.
6587 (gnat_install_builtins): Remove bogus declaration.
6588 (record_builtin_type): New function.
6589 (finish_record_type): Use create_type_stub_decl to build TYPE_STUB_DECL
6591 (create_type_stub_decl): New function.
6592 (create_type_decl): Assert that the type is not dummy. If the type
6593 hasn't been named yet, equate the TYPE_STUB_DECL to the created node.
6594 (build_vms_descriptor32): Do not create TYPE_DECL for the descriptor.
6595 (build_vms_descriptor): Likewise.
6596 (init_gigi_decls): Delete and move bulk of code to...
6597 * gcc-interface/trans.c (gigi): ...here. Use record_builtin_type.
6598 (emit_range_check): Add gnat_node parameter.
6599 (emit_index_check): Likewise.
6600 (emit_check): Likewise.
6601 (build_unary_op_trapv): Likewise.
6602 (build_binary_op_trapv): Likewise.
6603 (convert_with_check): Likewise.
6604 (Attribute_to_gnu): Adjust calls for above changes.
6605 (call_to_gnu): Likewise.
6606 (gnat_to_gnu): Likewise.
6607 (assoc_to_constructor): Likewise.
6608 (pos_to_constructor): Likewise.
6609 (Sloc_to_locus): Set BUILTINS_LOCATION for Standard_Location nodes.
6610 (process_type): Do not create TYPE_DECL for dummy types.
6612 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
6614 * gcc-interface/decl.c (gnat_to_gnu_entity): Reorder local variables.
6615 * gcc-interface/trans.c: Fix formatting throughout. Fix comments.
6616 * gcc-interface/utils.c: Fix comments.
6618 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
6620 * gcc-interface/decl.c (compile_time_known_address_p): Rewrite and
6622 (gnat_to_gnu_type): Move around.
6623 (get_unpadded_type): Likewise.
6624 * gcc-interface/utils.c (update_pointer_to): Use synthetic macro.
6627 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
6629 * gcc-interface/trans.c (check_for_eliminated_entity): New function.
6630 (Attribute_to_gnu): Invoke it for Access- and Address-like attributes.
6631 (call_to_gnu): Invoke it instead of manually checking.
6633 2009-04-04 Eric Botcazou <ebotcazou@adacore.com>
6635 * gcc-interface/utils.c (finish_record_type): Force structural equality
6636 checks if the record type is discriminated.
6638 2009-03-31 Eric Botcazou <ebotcazou@adacore.com>
6640 * system-linux-alpha.ads (Functions_Return_By_DSP): Remove.
6641 * system-linux-mips.ads (Functions_Return_By_DSP): Likewise.
6642 * system-linux-mipsel.ads (Functions_Return_By_DSP): Likewise.
6643 * system-linux-s390.ads (Functions_Return_By_DSP): Likewise.
6644 * system-linux-s390x.ads (Functions_Return_By_DSP): Likewise.
6645 * system-linux-sparc.ads (Functions_Return_By_DSP): Likewise.
6646 * system-linux-sparcv9.ads (Functions_Return_By_DSP): Likewise.
6648 2009-03-30 Paolo Bonzini <bonzini@gnu.org>
6650 * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW instead
6651 of TREE_CONSTANT_OVERFLOW.
6653 2009-03-30 Joseph Myers <joseph@codesourcery.com>
6655 PR rtl-optimization/323
6656 * gcc-interface/misc.c (gnat_post_options): Set
6657 flag_excess_precision_cmdline. Give an error for
6658 -fexcess-precision=standard for processors where the option is
6661 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
6664 * gcc-interface/utils.c (create_field_decl): Use "unsigned int"
6667 2009-03-11 Olivier Hainque <hainque@adacore.com>
6669 * gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range
6670 checks processing, remove unintended TREE_TYPE walk on index type.
6672 2009-03-01 Eric Botcazou <ebotcazou@adacore.com>
6675 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no
6676 call make_packable_type on fat pointer types.
6677 <E_Array_Subtype>: Likewise.
6678 <E_Record_Subtype>: Call make_packable_type on all record types
6679 except for fat pointer types.
6680 (make_packable_type): Likewise.
6681 (gnat_to_gnu_field): Likewise.
6683 2009-02-28 Eric Botcazou <ebotcazou@adacore.com>
6685 * gcc-interface/Makefile.in (cygwin/mingw): Revert accidental
6686 EH_MECHANISM change made on 2007-12-06.
6688 2009-02-26 Andreas Schwab <schwab@suse.de>
6691 * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
6692 * gcc-interface/Makefile.in: Change all uses of $(srcdir),
6693 $(fsrcdir) and $(fsrcpfx) to add ada subdir.
6695 (target_cpu_default): Substitute.
6697 2009-02-25 Laurent GUERBY <laurent@guerby.net>
6700 * a-teioed.adb (Expand): Fix Result overflow.
6702 2009-02-25 Laurent GUERBY <laurent@guerby.net>
6704 * gcc-interface/Makefile.in: Fix multilib handling for
6707 2009-02-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6709 * s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6.
6711 2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
6713 * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi.
6715 2009-02-16 Eric Botcazou <ebotcazou@adacore.com>
6717 * gcc-interface/deftarg.c: Remove.
6719 2009-02-10 Olivier Hainque <hainque@adacore.com>
6720 Eric Botcazou <ebotcazou@adacore.com>
6722 * gcc-interface/decl.c (enum alias_set_op): New enumeration.
6723 (copy_alias_set): Rename into...
6724 (relate_alias_sets): ...this. Add third parameter OP. Retrieve the
6725 underlying array of unconstrained arrays for the new type as well.
6726 If the old and new alias sets don't conflict, make one a subset of
6727 the other as per the OP parameter.
6728 (gnat_to_gnu_entity): Adjust calls to copy_alias_set.
6729 <E_Record_Type>: Do not copy the alias set for derived types.
6730 For all types, make the alias set of derived types a superset of
6731 that of their parent type.
6732 (make_aligning_type): Adjust calls to copy_alias_set.
6733 (make_packable_type): Likewise.
6734 * gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>:
6735 Check for alias set conflict instead of strict equality to issue the
6738 2009-02-09 Eric Botcazou <ebotcazou@adacore.com>
6740 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>:
6741 Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate.
6742 (copy_alias_set): Assert that arrays have the same aliasing settings.
6743 (substitute_in_type) <ARRAY_TYPE>: Copy TYPE_NONALIASED_COMPONENT.
6745 2009-02-08 Eric Botcazou <ebotcazou@adacore.com>
6747 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>:
6748 Set TYPE_NONALIASED_COMPONENT on the array type.
6750 2009-01-31 Laurent GUERBY <laurent@guerby.net>
6752 * gcc-interface/Makefile.in: Fix mipsel linux handling.
6754 2009-01-16 Jakub Jelinek <jakub@redhat.com>
6756 * gcc-interface/Makefile.in: Fix multilib handling for
6759 2009-01-12 Eric Botcazou <ebotcazou@adacore.com>
6761 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip
6762 only useless conversions around renamed objects.
6764 2009-01-11 Eric Botcazou <ebotcazou@adacore.com>
6766 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put
6767 the _Tag field before any discriminants in the field list.
6768 (components_to_record): Remove obsolete comment.
6772 Copyright (C) 2009 Free Software Foundation, Inc.
6774 Copying and distribution of this file, with or without modification,
6775 are permitted in any medium without royalty provided the copyright
6776 notice and this notice are preserved.