1 2010-04-15 Eric Botcazou <ebotcazou@adacore.com>
3 * gcc-interface/trans.c (call_to_gnu): Open a nesting level if this is
4 a statement. Otherwise, if at top-level, push the processing of the
5 elaboration routine. In the misaligned case, issue the error messages
6 again on entry and create the temporary explicitly. Do not issue them
8 For a function call, emit the range check if necessary.
9 In the copy-in copy-out case, create the temporary for the return
11 Do not unnecessarily convert by-ref parameters to the formal's type.
12 Remove obsolete guards in conditions.
13 (gnat_to_gnu) <N_Assignment_Statement>: For a function call, pass the
14 target to call_to_gnu in all cases.
15 (gnat_gimplify_expr) <ADDR_EXPR>: Remove handling of SAVE_EXPR.
16 (addressable_p) <CONSTRUCTOR>: Return false if not static.
17 <COMPOUND_EXPR>: New case.
18 * gcc-interface/utils2.c (build_unary_op) <ADDR_EXPR>: Fold a compound
19 expression if it has unconstrained array type.
20 (gnat_mark_addressable) <COMPOUND_EXPR>: New case.
21 (gnat_stabilize_reference) <COMPOUND_EXPR>: Stabilize operands on an
24 2010-04-15 Eric Botcazou <ebotcazou@adacore.com>
26 * gcc-interface/trans.c (gigi): Do not start statement group.
27 (Compilation_Unit_to_gnu): Set current_function_decl to NULL.
28 Start statement group and push binding level here...
29 (gnat_to_gnu) <N_Compilation_Unit>: ...and not here.
30 Do not push fake contexts at top level. Remove redundant code.
31 (call_to_gnu): Rename a local variable and constify another.
32 * gcc-interface/utils.c (gnat_pushlevel): Fix formatting nits.
33 (set_current_block_context): Set it as the group's block.
34 (gnat_init_decl_processing): Delete unrelated init code.
35 (end_subprog_body): Use NULL_TREE.
37 2010-04-15 Eric Botcazou <ebotcazou@adacore.com>
39 * gcc-interface/trans.c (call_to_gnu): Do not unnecessarily force
40 side-effects of actual parameters before the call.
42 2010-04-15 Eric Botcazou <ebotcazou@adacore.com>
44 * gcc-interface/decl.c (validate_size): Reorder, remove obsolete test
46 (set_rm_size): Reorder and remove obsolete test.
48 2010-04-14 Eric Botcazou <ebotcazou@adacore.com>
50 * gcc-interface/gigi.h: Reorder declarations and tweak comments.
51 (gigi): Adjust ATTRIBUTE_UNUSED markers.
52 * gcc-interface/gadaint.h: New file.
53 * gcc-interface/trans.c: Include it in lieu of adaint.h. Reorder.
54 (__gnat_to_canonical_file_spec): Remove declaration.
55 (number_names): Delete.
56 (number_files): Likewise.
58 * gcc-interface/Make-lang.in (ada/trans.o): Adjust dependencies to
61 2010-04-14 Eric Botcazou <ebotcazou@adacore.com>
63 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Class_Wide_Type>: Fix
65 * gcc-interface/trans.c (process_freeze_entity): Use local copy of
66 Ekind. Return early for class-wide types. Do not compute initializer
67 unless necessary. Reuse the tree for an associated class-wide type
68 only if processing its root type.
70 2010-04-13 Duncan Sands <baldrick@free.fr>
72 * gcc-interface/misc.c (gnat_eh_type_covers): Remove.
73 * gcc-interface/trans.c (Exception_Handler_to_gnu_zcx): Update comment.
75 2010-04-13 Eric Botcazou <ebotcazou@adacore.com>
77 * gcc-interface/gigi.h (standard_datatypes): Add ADT_parent_name_id.
78 (parent_name_id): New macro.
79 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Use it.
80 * gcc-interface/trans.c (gigi): Initialize it.
81 (lvalue_required_p) <N_Type_Conversion>: New case.
82 <N_Qualified_Expression>: Likewise.
83 <N_Allocator>: Likewise.
84 * gcc-interface/utils.c (convert): Try to properly upcast tagged types.
86 2010-04-13 Eric Botcazou <ebotcazou@adacore.com>
88 * gcc-interface/ada-tree.h (TYPE_BY_REFERENCE_P): Delete.
89 (DECL_CONST_ADDRESS_P): New macro.
90 (SET_DECL_ORIGINAL_FIELD_TO_FIELD): Likewise.
91 (SAME_FIELD_P): Likewise.
92 * gcc-interface/decl.c (constructor_address_p): New static function.
93 (gnat_to_gnu_entity) <object>: Set DECL_CONST_ADDRESS_P according to
94 the return value of above function.
95 (gnat_to_gnu_entity) <E_Record_Type>: Force BLKmode for all types
97 <E_Record_Subtype>: Likewise.
98 Set TREE_ADDRESSABLE on the type if it passed by reference.
99 (make_packable_type): Use SET_DECL_ORIGINAL_FIELD_TO_FIELD.
100 (create_field_decl_from): Likewise.
101 (substitute_in_type): Likewise.
102 (purpose_member_field): Use SAME_FIELD_P.
103 * gcc-interface/misc.c (must_pass_by_ref): Test TREE_ADDRESSABLE.
104 * gcc-interface/trans.c (lvalue_required_p): Add ADDRESS_OF_CONSTANT
105 parameter and adjust recursive calls.
106 <N_Explicit_Dereference>: New case.
107 <N_Object_Declaration>: Return 1 if the object is of a class-wide type.
108 Adjust calls to lvalue_required_p. Do not return the initializer of a
109 DECL_CONST_ADDRESS_P constant if an lvalue is required for it.
110 (call_to_gnu): Delay issuing error message for a misaligned actual and
111 avoid the associated back-end assertion. Test TREE_ADDRESSABLE.
112 (gnat_gimplify_expr) <ADDR_EXPR>: Handle non-static constructors.
113 * gcc-interface/utils.c (make_dummy_type): Set TREE_ADDRESSABLE if the
114 type is passed by reference.
115 (convert) <CONSTRUCTOR>: Convert in-place in more cases.
116 * gcc-interface/utils2.c (build_cond_expr): Drop TYPE_BY_REFERENCE_P.
117 (build_simple_component_ref): Use SAME_FIELD_P.
119 2010-04-12 Eric Botcazou <ebotcazou@adacore.com>
121 * gcc-interface/trans.c (Identifier_to_gnu): Use boolean variable.
122 (call_to_gnu): Test gigi's flag TYPE_BY_REFERENCE_P instead of calling
123 front-end's predicate Is_By_Reference_Type. Use consistent order and
124 remove ??? comment. Use original conversion in all cases, if any.
125 * gcc-interface/utils.c (make_dummy_type): Minor tweak.
126 (convert): Use local copy in more cases.
127 <INDIRECT_REF>: Remove deactivated code.
128 (unchecked_convert): Use a couple of local copies.
130 2010-04-11 Eric Botcazou <ebotcazou@adacore.com>
132 * gcc-interface/trans.c (lvalue_required_for_attribute_p): New static
134 (lvalue_required_p) <N_Attribute_Reference>: Call it.
135 (gnat_to_gnu) <N_Selected_Component>: Prevent build_component_ref from
136 folding the result only if lvalue_required_for_attribute_p is true.
137 * gcc-interface/utils.c (maybe_unconstrained_array): Pass correctly
138 typed constant to build_component_ref.
139 (unchecked_convert): Likewise.
140 * gcc-interface/utils2.c (maybe_wrap_malloc): Likewise.
141 (build_allocator): Likewise.
143 2010-04-11 Eric Botcazou <ebotcazou@adacore.com>
145 * gcc-interface/utils2.c (build_cond_expr): Take the address and
146 dereference if the result type is passed by reference.
148 2010-04-11 Eric Botcazou <ebotcazou@adacore.com>
150 * gcc-interface/trans.c (Case_Statement_to_gnu): Bool-ify variable.
151 (gnat_to_gnu) <N_Null_Statement>: When not optimizing, generate a
152 goto to the next statement.
154 2010-04-09 Eric Botcazou <ebotcazou@adacore.com>
156 * gcc-interface/gigi.h (maybe_variable): Delete.
157 (protect_multiple_eval): Likewise.
158 (maybe_stabilize_reference): Likewise.
159 (gnat_save_expr): Declare.
160 (gnat_protect_expr): Likewise.
161 (gnat_stabilize_reference): Likewise.
162 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Use
163 gnat_stabilize_reference.
164 (maybe_variable): Delete.
165 (elaborate_expression_1): Use gnat_save_expr.
166 * gcc-interface/trans.c (Attribute_to_gnu): Use gnat_protect_expr.
167 (call_to_gnu): Pass NULL to gnat_stabilize_reference.
168 (gnat_to_gnu) <N_Object_Declaration>: Use gnat_save_expr.
169 <N_Slice>: Use gnat_protect_exp.
170 <N_Selected_Component>: Pass NULL to gnat_stabilize_reference.
171 <N_In>: Use gnat_protect_expr.
172 Pass NULL to gnat_stabilize_reference.
173 (build_unary_op_trapv): Use gnat_protect_expr.
174 (build_binary_op_trapv): Likewise.
175 (emit_range_check): Likewise.
176 (emit_index_check): Likewise.
177 (convert_with_check): Likewise.
178 (protect_multiple_eval): Move to utils2.c file.
179 (maybe_stabilize_reference): Merge into...
180 (gnat_stabilize_reference): ...this. Move to utils2.c file.
181 (gnat_stabilize_reference_1): Likewise.
182 * gcc-interface/utils.c (convert_to_fat_pointer): Use gnat_protect_expr
183 instead of protect_multiple_eval.
184 * gcc-interface/utils2.c (compare_arrays): Likewise.
185 (nonbinary_modular_operation): Likewise.
186 (maybe_wrap_malloc): Likewise.
187 (build_allocator): Likewise.
188 (gnat_save_expr): New function.
189 (gnat_protect_expr): Rename from protect_multiple_eval. Early return
190 in common cases. Propagate TREE_READONLY onto dereferences.
191 (gnat_stabilize_reference_1): Move from trans.c file.
192 (gnat_stabilize_reference): Likewise.
194 2010-04-09 Eric Botcazou <ebotcazou@adacore.com>
196 * gcc-interface/gigi.h (gnat_mark_addressable): Rename parameter.
197 * gcc-interface/decl.c (maybe_variable): Do not set TREE_STATIC on _REF
198 node. Use the type of the operand to set TREE_READONLY.
199 * gcc-interface/trans.c (Identifier_to_gnu): Do not set TREE_STATIC on
200 _REF node. Do not overwrite TREE_READONLY.
201 (call_to_gnu): Rename local variable and fix various nits. In the
202 copy-in/copy-out case, build the SAVE_EXPR manually.
203 (convert_with_check): Call protect_multiple_eval in lieu of save_expr
204 and fold the computations.
205 (protect_multiple_eval): Always save entire fat pointers.
206 (maybe_stabilize_reference): Minor tweaks.
207 (gnat_stabilize_reference_1): Likewise. Do not deal with tcc_constant,
208 tcc_type and tcc_statement.
209 * gcc-interface/utils.c (convert_to_fat_pointer): Call
210 protect_multiple_eval in lieu of save_expr.
211 (convert): Minor tweaks.
212 (maybe_unconstrained_array): Do not set TREE_STATIC on _REF node.
213 (builtin_type_for_size): Call gnat_type_for_size directly.
214 * gcc-interface/utils2.c (contains_save_expr_p): Delete.
215 (contains_null_expr): Likewise
216 (gnat_build_constructor): Do not call it.
217 (compare_arrays): Deal with all side-effects, use protect_multiple_eval
218 instead of gnat_stabilize_reference to protect the operands.
219 (nonbinary_modular_operation): Call protect_multiple_eval in lieu of
221 (maybe_wrap_malloc): Likewise.
222 (build_allocator): Likewise.
223 (build_unary_op) <INDIRECT_REF>: Do not set TREE_STATIC on _REF node.
224 (gnat_mark_addressable): Rename parameter.
226 2010-04-08 Eric Botcazou <ebotcazou@adacore.com>
228 * gcc-interface/ada-tree.h (TYPE_RETURNS_UNCONSTRAINED_P): Rename into.
229 (TYPE_RETURN_UNCONSTRAINED_P): ...this.
230 (TYPE_RETURNS_BY_REF_P): Rename into.
231 (TYPE_RETURN_BY_DIRECT_REF_P): ...this.
232 (TYPE_RETURNS_BY_TARGET_PTR_P): Delete.
233 * gcc-interface/gigi.h (create_subprog_type): Adjust parameter names.
234 (build_return_expr): Likewise.
235 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Subprogram_Type>:
236 Rename local variables. If the return Mechanism is By_Reference, pass
237 return_by_invisible_ref_p to create_subprog_type instead of toggling
238 TREE_ADDRESSABLE. Test return_by_invisible_ref_p in order to annotate
239 the mechanism. Use regular return for contrained types with non-static
240 size and return by invisible reference for unconstrained return types
241 with default discriminants. Update comment.
242 * gcc-interface/trans.c (Subprogram_Body_to_gnu): If the function
243 returns by invisible reference, turn the RESULT_DECL into a pointer.
244 Do not handle DECL_BY_REF_P in the CICO case here.
245 (call_to_gnu): Remove code handling return by target pointer. For a
246 function call, if the return type has non-constant size, generate the
247 assignment with an INIT_EXPR.
248 (gnat_to_gnu) <N_Return_Statement>: Remove dead code in the CICO case.
249 If the function returns by invisible reference, build the copy return
251 (add_decl_expr): Initialize the variable with an INIT_EXPR.
252 * gcc-interface/utils.c (create_subprog_type): Adjust parameter names.
253 Adjust for renaming of macros. Copy the node only when necessary.
254 (create_subprog_decl): Do not toggle TREE_ADDRESSABLE on the return
255 type, only change DECL_BY_REFERENCE on the RETURN_DECL.
256 (convert_from_reference): Delete.
257 (is_byref_result): Likewise.
258 (gnat_genericize_r): Likewise.
259 (gnat_genericize): Likewise.
260 (end_subprog_body): Do not call gnat_genericize.
261 * gcc-interface/utils2.c (build_binary_op) <INIT_EXPR>: New case.
262 (build_return_expr): Adjust parameter names, logic and comment.
264 2010-04-07 Eric Botcazou <ebotcazou@adacore.com>
266 * exp_pakd.adb (Create_Packed_Array_Type): Always use a modular type
267 if the size is small enough. Propagate the alignment if there is an
268 alignment clause on the original array type.
269 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>
270 Deal with under-aligned packed array types. Copy the size onto the
271 justified modular type and don't lay it out again. Likewise for the
272 padding type built for other under-aligned subtypes.
273 * gcc-interface/utils.c (finish_record_type): Do not set a default mode
276 2010-04-07 Eric Botcazou <ebotcazou@adacore.com>
278 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Procedure>: Set default
279 alignment on the RETURN type built for the Copy-In Copy-Out mechanism.
281 2010-04-07 Eric Botcazou <ebotcazou@adacore.com>
283 * gcc-interface/trans.c (call_to_gnu): In the return-by-target-ptr case
284 do not set the result type if there is a specified target and do not
285 convert the result in any cases.
286 (protect_multiple_eval): Make direct SAVE_EXPR for CALL_EXPR.
287 (maybe_stabilize_reference) <COMPOUND_EXPR>: Merge with CALL_EXPR.
289 2010-03-10 Eric Botcazou <ebotcazou@adacore.com>
291 * gcc-interface/Makefile.in (SPARC/Solaris): Use sparcv8plus.
293 2010-02-27 Eric Botcazou <ebotcazou@adacore.com>
296 * gcc-interface/utils2.c (build_binary_op) <EQ_EXPR>: Assert that fat
297 pointer base types are variant of each other. Apply special treatment
298 for null to fat pointer types in all cases.
300 2010-01-28 Pascal Obry <obry@adacore.com>
302 * s-win32.ads: Add some missing constants.
304 2010-01-28 Vincent Celier <celier@adacore.com>
306 * prj-attr-pm.adb (Add_Attribute): Do nothing if To_Package is
309 2010-01-28 Robert Dewar <dewar@adacore.com>
311 * gnat_rm.texi: Minor correction
313 2010-01-27 Pascal Obry <obry@adacore.com>
315 * g-awk.adb: ensure that an AWK session is reusable.
317 2010-01-27 Vasiliy Fofanov <fofanov@adacore.com>
319 * g-regist.adb (For_Every_Key): Fix previous change.
322 2010-01-27 Thomas Quinot <quinot@adacore.com>
324 * lib-writ.ads: Current version of spec for new N (note) ALI lines
326 2010-01-27 Yannick Moy <moy@adacore.com>
328 * a-cdlili.adb (Insert): Correct exception message when cursor
329 designates wrong list.
331 2010-01-27 Vincent Celier <celier@adacore.com>
333 * gnatcmd.adb: When there is only one main specified, the package
334 support Switches (<main>) and attribute Switches is specified for the
335 main, use these switches, instead of Default_Switches ("Ada").
337 2010-01-27 Robert Dewar <dewar@adacore.com>
339 * sem_prag.adb, par-prag.adb, snames.ads-tmpl: pragma Dimension initial
341 * exp_disp.adb: Minor reformatting
343 2010-01-27 Tristan Gingold <gingold@adacore.com>
345 * seh_init.c: Use __ImageBase instead of _ImageBase.
347 2010-01-27 Javier Miranda <miranda@adacore.com>
349 * exp_disp.ads, exp_disp.adb (Expand_Interface_Thunk): Modify the
350 profile of interface thunks. The type of the controlling formal is now
351 the covered interface type (instead of the target tagged type).
353 2010-01-27 Sergey Rybin <rybin@adacore.com>
355 * gnat_rm.texi, gnat_ugn.texi: Update gnatcheck doc.
357 2010-01-27 Robert Dewar <dewar@adacore.com>
359 * sinput.ads, sinput.adb (Sloc_Range): Applies to all nodes, formal
360 changed from Expr to N.
362 2010-01-26 Thomas Quinot <quinot@adacore.com>
364 * gnat_ugn.texi: Adjust documentation of -gnatz switches.
365 * usage.adb: Replace line for -gnatz with two lines for -gnatzc and
368 2010-01-26 Vincent Celier <celier@adacore.com>
370 * prj-attr.adb: Add new attribute Library_Install_Name_Option
371 Replace attribute Run_Path_Origin_Supported with Run_Path_Origin
372 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process
373 attributes Run_Path_Option and Library_Install_Name_Option.
374 * prj.ads (Project_Configuration): Replace component
375 Run_Path_Origin_Supported with component Run_Path_Origin. Add new
376 component Library_Install_Name_Option.
377 * snames.ads-tmpl: Add new standard name Library_Install_Name_Option
378 Replace Run_Path_Origin_Supported with Run_Path_Origin
380 2010-01-26 Ed Schonberg <schonberg@adacore.com>
382 * sem_ch8.adb (Use_One_Package): Within an instance, an actual package
383 is not hidden by a homograph declared in another actual package.
385 2010-01-26 Robert Dewar <dewar@adacore.com>
387 * par_sco.adb (Traverse_Declarations_Or_Statements): Only generate
388 decisions for pragmas Assert, Check, Precondition, Postcondition if
390 * scos.ads: Update comments.
391 * get_scos.adb, put_scos.adb: Minor fix to code reading statement SCOs.
392 Also remove obsolete code for CT (exit point) SCOs.
394 2010-01-26 Thomas Quinot <quinot@adacore.com>
396 * switch-c.adb: Fix handling of -gnatz*
398 2010-01-26 Robert Dewar <dewar@adacore.com>
400 * par_sco.adb (Traverse_Declarations_Or_Statements): Separate F/W
401 qualifiers for FOR/WHILE loops
402 * scos.ads: Use separate type letters F/W for for/while loops
404 2010-01-26 Robert Dewar <dewar@adacore.com>
406 * get_scos.adb (Get_SCOs): Implement new form of CS entries (multiple
407 entries per line, one for each statement in the sequence).
408 * par_sco.adb (Traverse_Declarations_Or_Statements): Increase array
409 size from 100 to 10_000 for SC_Array to avoid any real possibility of
410 overflow. Output decisions in for loops.
411 Exclude labels from CS lines.
412 * scos.ads: Clarify that label is not included in the entry point
414 2010-01-26 Robert Dewar <dewar@adacore.com>
416 * par_sco.adb (Traverse_Declarations_Or_Statments): Implement new
417 format of statement sequence SCO entries (one location/statement).
418 * put_scos.adb (Put_SCOs): Implement new format of CS lines
419 * scos.ads: Update comments.
420 * sem_eval.adb: Minor reformatting.
422 2010-01-26 Robert Dewar <dewar@adacore.com>
424 * par_sco.ads, par_sco.adb (Set_Statement_Entry): New handling of exits
425 (Extend_Statement_Sequence): New procedures
426 (Traverse_Declarations_Or_Statements): New handling for exits.
428 2010-01-26 Robert Dewar <dewar@adacore.com>
430 * par_sco.adb (Traverse_Declarations_Or_Statements): Add processing for
433 2010-01-26 Robert Dewar <dewar@adacore.com>
435 * par_sco.adb (Is_Logical_Operator): Exclude AND/OR/XOR
436 * scos.ads: Clarify handling of logical operators
438 2010-01-26 Arnaud Charlet <charlet@adacore.com>
440 * s-tpoben.adb: Update comments.
442 2010-01-26 Robert Dewar <dewar@adacore.com>
444 * freeze.adb (Set_Small_Size): Don't set size if alignment clause
447 2010-01-26 Robert Dewar <dewar@adacore.com>
449 * scos.ads: Clean up documentation, remove obsolete XOR references
450 2010-01-26 Vincent Celier <celier@adacore.com>
452 * gnat_ugn.texi: Complete documentation on the restrictions for
453 combined options in -gnatxxx switches.
456 2010-01-26 Arnaud Charlet <charlet@adacore.com>
458 * s-tpoben.adb (Initialize_Protection_Entries): If a PO is created from
459 a controlled operation, abort is already deferred at this point, so we
460 need to use Defer_Abort_Nestable.
462 2010-01-26 Vincent Celier <celier@adacore.com>
464 * prj-conf.adb (Get_Config_Switches): Check for a default language for
465 a project extending a project with no languages.
467 2010-01-26 Vincent Celier <celier@adacore.com>
469 * switch-c.adb (Scan_Front_End_Switches): Take into account options
471 Allow -gnateG to be followed by other options.
473 2010-01-26 Robert Dewar <dewar@adacore.com>
475 * s-commun.ads, s-osprim-mingw.adb, s-stchop-vxworks.adb, sem_aggr.adb,
476 s-vxwext.adb, sem_ch10.adb, sem_eval.adb, sem_prag.adb: Minor
479 2010-01-26 Vasiliy Fofanov <fofanov@adacore.com>
481 * g-regist.adb, g-regist.ads (For_Every_Key): New generic procedure
482 that allows to iterate over all subkeys of a key.
484 2010-01-26 Ed Falis <falis@adacore.com>
486 * sysdep.c: enable NFS for VxWorks MILS
487 * env.c: enable __gnat_environ for VxWorks MILS
488 * gcc-interface/Makefile.in: Add VxWorks MILS target pairs.
490 2010-01-25 Bob Duff <duff@adacore.com>
492 * sem_aggr.adb (Resolve_Array_Aggregate): Check for the case where this
493 is an internally-generated positional aggregate, and the bounds are
494 already correctly set. We don't want to overwrite those bounds with
495 bounds determined by context.
497 2010-01-25 Robert Dewar <dewar@adacore.com>
499 * g-sercom.ads, gnatcmd.adb, gnatlink.adb, a-ststio.adb, exp_ch6.adb,
500 exp_ch9.adb, g-sechas.ads: Minor reformatting.
502 2010-01-25 Thomas Quinot <quinot@adacore.com>
504 * s-commun.adb (Last_Index): Count must be converted to SEO (a signed
505 integer type) before subtracting 1, otherwise the computation may wrap
506 (because size_t is modular) and cause the conversion to fail.
508 2010-01-25 Ed Falis <falis@adacore.com>
510 * sysdep.c, init.c: Adapt to support full run-time on VxWorks MILS.
512 2010-01-25 Vincent Celier <celier@adacore.com>
514 * prj-attr.adb: New attribute Run_Path_Origin_Required
515 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process new
516 attribute Run_Path_Origin_Required.
517 * prj.ads (Project_Configuration): New component
518 Run_Path_Origin_Supported.
519 * snames.ads-tmpl: New standard name Run_Path_Origin_Required
521 2010-01-25 Ed Schonberg <schonberg@adacore.com>
523 * sem_aggr.adb (Resolve_Array_Aggregate): If the bounds in a choice
524 have errors, do not continue resolution of the aggregate.
525 * sem_eval.adb (Eval_Indexed_Component): Do not attempt to evaluate if
526 the array type indicates an error.
528 2010-01-25 Bob Duff <duff@adacore.com>
530 * sinfo.ads: Minor comment fixes.
532 2010-01-25 Bob Duff <duff@adacore.com>
534 * exp_ch4.adb, exp_aggr.adb: Minor comment fixes and code clean up.
536 2010-01-25 Arnaud Charlet <charlet@adacore.com>
538 * gnatvsn.ads (Current_Year): Update.
540 2010-01-25 Florian Villoing <villoing@adacore.com>
542 * gnat_ugn.texi: Fix typo.
544 2010-01-25 Thomas Quinot <quinot@adacore.com>
546 * scos.ads: Update specification.
548 2010-01-25 Ed Schonberg <schonberg@adacore.com>
550 * sem_ch6.adb (Process_PPCs): If a postcondition is present and the
551 enclosing subprogram has no previous spec, attach postcondition
552 procedure to the defining entity for the body.
554 2010-01-25 Ed Schonberg <schonberg@adacore.com>
556 * exp_aggr.adb (Build_Record_Aggr_Code); Do not generate call to
557 initialization procedure of the ancestor part of an extension aggregate
558 if it is an interface type.
560 2010-01-25 Vincent Celier <celier@adacore.com>
562 * gnatlink.adb (Process_Binder_File): The directory for the shared
563 version of libgcc in the run path options is found in the subdirectory
564 indicated by __gnat_default_libgcc_subdir.
565 * link.c: Declare new const char * __gnat_default_libgcc_subdir for
568 2010-01-25 Ed Schonberg <schonberg@adacore.com>
570 * sem_prag.adb: More flexible pragma Annotate.
572 2010-01-22 Eric Botcazou <ebotcazou@adacore.com>
574 * system-linux-armel.ads (Stack_Check_Probes): Set to True.
575 * system-linux-armeb.ads (Stack_Check_Probes): Likewise.
577 2010-01-18 Eric Botcazou <ebotcazou@adacore.com>
579 * gcc-interface/utils.c (create_var_decl_1): Fix formatting nits.
581 2010-01-18 Jan Hubicka <jh@suse.cz>
584 * gcc-interface/utils.c (create_var_decl_1): Do not set COMMON flag for
585 unit local variables.
587 2010-01-17 Laurent GUERBY <laurent@guerby.net>
589 * gcc-interface/Makefile.in: Fix typo in arm*-*-linux-gnueabi.
591 2010-01-11 Mikael Pettersson <mikpe@it.uu.se>
593 * gcc-interface/Makefile.in: Add arm*-*-linux-gnueabi.
594 * system-linux-armeb.ads, system-linux-armel.ads: New files.
596 2010-01-09 Simon Wright <simon@pushface.org>
599 * gcc-interface/Makefile.in (gnatlib-shared-darwin): Add missing
604 Copyright (C) 2010 Free Software Foundation, Inc.
606 Copying and distribution of this file, with or without modification,
607 are permitted in any medium without royalty provided the copyright
608 notice and this notice are preserved.