1 2010-06-09 Eric Botcazou <ebotcazou@adacore.com>
3 * gcc-interface/ada-tree.h: Fix formatting nits.
5 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
7 * gcc-interface/utils.c (init_gnat_to_gnu): Use typed GC
9 (init_dummy_type): Likewise.
10 (gnat_pushlevel): Likewise.
12 * gcc-interface/trans.c (Attribute_to_gnu): Likewise.
13 (Subprogram_Body_to_gnu): Likewise.
14 (Compilation_Unit_to_gnu): Likewise.
15 (start_stmt_group): Likewise.
16 (extract_encoding): Likewise.
17 (decode_name): Likewise.
19 * gcc-interface/misc.c (gnat_printable_name): Likewise.
21 * gcc-interface/decl.c (annotate_value): Likewise.
23 * gcc-interface/ada-tree.h (struct lang_type): Add variable_size
25 (struct lang_decl): Likewise.
26 (SET_TYPE_LANG_SPECIFIC): Use typed GC allocation.
27 (SET_DECL_LANG_SPECIFIC): Likewise.
29 2010-06-04 Eric Botcazou <ebotcazou@adacore.com>
31 * gnatlink.adb (gnatlink): Remove support for -fsjlj switch.
32 * gcc-interface/lang-specs.h: Likewise.
34 2010-06-03 H.J. Lu <hongjiu.lu@intel.com>
37 * gcc-interface/decl.c (MAX_FIXED_MODE_SIZE): Removed.
39 2010-06-01 Arnaud Charlet <charlet@adacore.com>
41 * gnat_ugn.texi: Improve doc on -fdump-ada-spec, mention limitations.
43 2010-05-30 Eric Botcazou <ebotcazou@adacore.com>
45 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Task_Type>: Reuse the
46 TYPE_DECL of the equivalent type instead of building a new one.
48 2010-05-30 Eric Botcazou <ebotcazou@adacore.com>
50 * gcc-interface/decl.c (gnat_to_gnu_entity): Adjust warning message.
52 * gcc-interface/misc.c (gnat_init_gcc_eh): Likewise.
53 * gcc-interface/trans.c (gigi): Likewise.
54 (Attribute_to_gnu): Likewise.
55 (Case_Statement_to_gnu): Likewise.
56 (gnat_to_gnu): Adjust warning message.
57 * gcc-interface/utils.c (create_var_decl_1): Fix nits in comments.
58 (build_vms_descriptor32): Likewise.
60 2010-05-27 Steven Bosscher <steven@gcc.gnu.org>
62 * gcc-interface/decl.c: Pretend to be a backend file by undefining
63 IN_GCC_FRONTEND (still need rtl.h here).
65 2010-05-26 Steven Bosscher <steven@gcc.gnu.org>
67 * gcc-interface/trans.c: Do not include rtl.h, insclude libfuncs.h.
68 (gigi): Adjust call to set_stack_check_libfunc.
70 2010-05-26 Steven Bosscher <steven@gcc.gnu.org>
72 * gcc-interface/utils.c: Do not include rtl.h.
74 2010-05-25 Steven Bosscher <steven@gcc.gnu.org>
76 * gcc-interface/utils.c: Do not include function.h, pointer-set.h,
77 and gimple.h. Explain why rtl.h has to be included.
78 (handle_vector_size_attribute): Call reconstruct_complex_type directly.
79 * gcc-interface/targtyps.c: Do not include tm_p.h
80 * gcc-interface/utils2.c: Do not include flags.h.
81 * gcc-interface/trans.c: Do not include expr.h. Include rtl.h instead,
82 and explain why it has to be included.
83 * gcc-interface/misc.c: Do not include expr.h, libfuncs.h, cgraph.h,
85 Include function.h and explain why. Explain why except.h is included.
86 (enumerate_modes): Remove unused function.
87 * gcc-interface/gigi.h (enumerate_modes): Remove prototype.
88 * gcc-interface/Make-lang.in: Update dependencies.
90 2010-05-25 Joseph Myers <joseph@codesourcery.com>
92 * gcc-interface/misc.c (internal_error_function): Add context
93 parameter. Use it to access show_column flag and instead of using
94 global_dc. Call warn_if_plugins.
95 * gcc-interface/Make-lang.in (ada/misc.o): Update dependencies.
97 2010-05-19 Eric Botcazou <ebotcazou@adacore.com>
99 * gcc-interface/misc.c (LANG_HOOKS_DEEP_UNSHARING): Redefine.
100 * gcc-interface/trans.c (unshare_save_expr): Delete.
101 (gigi): Do not unshare trees under SAVE_EXPRs here.
103 2010-05-18 Nathan Froyd <froydnj@codesourcery.com>
105 * gcc-interface/trans.c (call_to_gnu): Use build_call_vec instead of
107 * gcc-interface/utils.c (build_function_stub): Likewise.
109 2010-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
111 * gcc-interface/misc.c (gnat_handle_option): Remove special logic
112 for Wuninitialized without -O.
114 2010-05-16 Eric Botcazou <ebotcazou@adacore.com>
116 * gcc-interface/gigi.h (enum standard_datatypes): Add new value
117 ADT_exception_data_name_id.
118 (exception_data_name_id): New define.
119 * gcc-interface/trans.c (gigi): Initialize it.
120 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Use the standard
121 exception type for standard exception definitions. Do not make them
123 <E_Record_Type>: Equate fields of types associated with an exception
124 definition to those of the standard exception type.
126 2010-05-13 Andreas Schwab <schwab@linux-m68k.org>
128 * tracebak.c (__gnat_backtrace): Mark top_stack with ATTRIBUTE_UNUSED.
130 2010-05-12 Eric Botcazou <ebotcazou@adacore.com>
132 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Tidy up
133 code, improve comments and fix formatting nits.
135 2010-05-12 Eric Botcazou <ebotcazou@adacore.com>
137 * gcc-interface/utils.c (update_pointer_to): Return early if the old
138 pointer already points to the new type. Chain the old pointer and its
139 variants at the end of new pointer's chain after updating them.
141 2010-05-10 Eric Botcazou <ebotcazou@adacore.com>
143 * exp_disp.adb (Make_Tags): Mark the imported view of dispatch tables
144 built for interfaces.
145 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Use
146 imported_p instead of Is_Imported when considering constants.
147 Do not promote alignment of exported objects.
148 <E_Record_Subtype>: Strip all suffixes for dispatch table entities.
150 2010-05-08 Eric Botcazou <ebotcazou@adacore.com>
152 * exp_disp.adb (Make_Tags): Mark the imported view of dispatch tables.
153 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Make imported
154 constants really constant.
155 <E_Record_Subtype>: Strip the suffix for dispatch table entities.
157 2010-05-08 Eric Botcazou <ebotcazou@adacore.com>
159 * gcc-interface/decl.c (make_aligning_type): Declare the type.
161 2010-05-08 Eric Botcazou <ebotcazou@adacore.com>
163 * gcc-interface/decl.c (gnat_to_gnu_entity): Create variables for size
164 expressions of variant part of record types declared at library level.
166 2010-05-08 Eric Botcazou <ebotcazou@adacore.com>
168 * gcc-interface/gigi.h (create_field_decl): Move PACKED parameter.
169 * gcc-interface/utils.c (create_field_decl): Move PACKED parameter.
170 (rest_of_record_type_compilation): Adjust call to create_field_decl.
171 (make_descriptor_field): Likewise and pass correctly typed constants.
172 (build_unc_object_type): Likewise.
173 (unchecked_convert): Likewise.
174 * gcc-interface/decl.c (elaborate_expression_2): New static function.
175 (gnat_to_gnu_entity): Use it to make alignment factors explicit.
176 Adjust call to create_field_decl.
177 (make_aligning_type): Likewise.
178 (make_packable_type): Likewise.
179 (maybe_pad_type): Likewise.
180 (gnat_to_gnu_field): Likewise.
181 (components_to_record): Likewise.
182 (create_field_decl_from): Likewise.
183 (create_variant_part_from): Remove superfluous test.
184 * gcc-interface/trans.c (gigi): Adjust call to create_field_decl.
186 2010-05-08 Eric Botcazou <ebotcazou@adacore.com>
188 * gcc-interface/gigi.h (build_unc_object_type): Add DEBUG_INFO_P param.
189 (build_unc_object_type_from_ptr): Likewise.
190 * gcc-interface/utils.c (build_unc_object_type): Add DEBUG_INFO_P param
191 and pass it to create_type_decl. Declare the type. Simplify.
192 (build_unc_object_type_from_ptr): Add DEBUG_INFO_P parameter and pass
193 it to build_unc_object_type.
194 * gcc-interface/decl.c (gnat_to_gnu_entity): Adjust to above change.
195 * gcc-interface/trans.c (Attribute_to_gnu): Likewise.
196 (gnat_to_gnu): Likewise.
197 * gcc-interface/utils2.c (build_allocator): Likewise.
199 2010-05-07 Eric Botcazou <ebotcazou@adacore.com>
202 * gcc-interface/misc.c (gnat_handle_option): Fix long line.
204 2010-05-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
206 * gcc-interface/Makefile.in: Removed mips-sgi-irix5* support.
208 2010-05-06 Manuel López-Ibáñez <manu@gcc.gnu.org>
211 * gcc-interface/misc.c (gnat_handle_option): Add argument kind.
213 2010-05-02 Giuseppe Scrivano <gscrivano@gnu.org>
215 * gnathtml.pl: Use 755 as mask for new directories.
217 2010-04-28 Eric Botcazou <ebotcazou@adacore.com>
219 * gcc-interface/trans.c (gnat_gimplify_expr) <ADDR_EXPR>: Uniquize
220 constant constructors before taking their address.
222 2010-04-25 Eric Botcazou <ebotcazou@adacore.com>
224 * exp_dbug.ads: Fix outdated description. Mention link between XVS
226 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Set
227 XVZ variable as unit size of XVS type.
228 (maybe_pad_type): Likewise.
230 2010-04-25 Eric Botcazou <ebotcazou@adacore.com>
232 * gcc-interface/trans.c (gnat_to_gnu) <N_Assignment_Statement>: Do not
233 use memmove if the array type is bit-packed.
235 2010-04-18 Eric Botcazou <ebotcazou@adacore.com>
237 * gcc-interface/misc.c (gnat_init): Remove second argument in call to
238 build_common_tree_nodes.
240 2010-04-18 Ozkan Sezer <sezeroz@gmail.com>
242 * gsocket.h: Make sure that winsock2.h is included before windows.h.
244 2010-04-17 Eric Botcazou <ebotcazou@adacore.com>
246 * gcc-interface/utils2.c (build_unary_op) <ATTR_ADDR_EXPR>: Do not
249 2010-04-17 Eric Botcazou <ebotcazou@adacore.com>
251 * uintp.h (UI_Lt): Declare.
252 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do the size
253 computation in sizetype.
254 <E_Array_Subtype>: Use unified handling for all index types. Do not
255 generate MAX_EXPR-based expressions, only COND_EXPR-based ones. Add
257 (annotate_value): Change test for negative values.
258 (validate_size): Apply test for negative values on GNAT nodes.
259 (set_rm_size): Likewise.
260 * gcc-interface/misc.c (gnat_init): Set unsigned types for sizetypes.
261 * gcc-interface/utils.c (rest_of_record_type_compilation): Change test
263 (max_size) <MINUS_EXPR>: Do not reassociate a COND_EXPR on the LHS.
264 (builtin_type_for_size): Adjust definition of signed_size_type_node.
265 * gcc-interface/utils2.c (compare_arrays): Optimize comparison of
266 lengths against zero.
268 2010-04-17 Eric Botcazou <ebotcazou@adacore.com>
270 * back-end.adb (Call_Back_End): Pass Standard_Character to gigi.
271 * gcc-interface/gigi.h (gigi): Add standard_character parameter.
272 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
273 LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE,
274 LONG_DOUBLE_TYPE_SIZE, SIZE_TYPE): Delete.
275 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Call
277 * gcc-interface/misc.c (gnat_init): Set signedness of char as per
278 flag_signed_char. Tag sizetype with "size_type" moniker.
279 * gcc-interface/trans.c (gigi): Add standard_character parameter.
280 Remove useless built-in types. Equate unsigned_char_type_node to
281 Standard.Character. Use it instead of char_type_node throughout.
282 (Attribute_to_gnu): Likewise.
283 (gnat_to_gnu): Likewise.
284 * gcc-interface/utils2.c (build_call_raise): Likewise.
286 2010-04-17 Eric Botcazou <ebotcazou@adacore.com>
288 * gcc-interface/gigi.h (enum standard_datatypes): Add new values
289 ADT_sbitsize_one_node and ADT_sbitsize_unit_node.
290 (sbitsize_one_node): New macro.
291 (sbitsize_unit_node): Likewise.
292 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Fix
293 latent bug in the computation of subrange_p. Fold wider_p predicate.
294 (cannot_be_superflat_p): Use an explicitly signed 64-bit type to do
295 the final comparison.
296 (make_aligning_type): Build real negation and use sizetype throughout
297 the offset computation.
298 (maybe_pad_type): Do not issue the warning when the new size expression
300 (annotate_value) <INTEGER_CST>: Simplify code handling negative values.
301 * gcc-interface/misc.c (gnat_init): Initialize sbitsize_one_node and
303 * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Pool_Address>: Fold
305 (gnat_to_gnu) <N_Free_Statement>: Likewise.
306 * gcc-interface/utils.c (convert): Use sbitsize_unit_node.
307 * gcc-interface/utils2.c (compare_arrays): Compute real lengths and use
308 constants in sizetype. Remove dead code and tweak comments. Generate
309 equality instead of inequality comparisons for zero length tests.
311 2010-04-16 Eric Botcazou <ebotcazou@adacore.com>
313 * gcc-interface/gigi.h (gnat_init_decl_processing): Delete.
314 * gcc-interface/decl.c (gnat_to_gnu_entity): Constify a few variables.
315 <object>: Do not create the fake PARM_DECL if no debug info is needed.
316 Do not create the corresponding VAR_DECL of a CONST_DECL for debugging
317 purposes if no debug info is needed.
318 Fix formatting. Reorder and add comments.
319 * gcc-interface/trans.c (gnat_to_gnu) <N_Attribute_Reference>: Constify
320 variable and remove obsolete comment.
321 * gcc-interface/utils.c (convert_vms_descriptor64): Tweak comment.
322 (convert_vms_descriptor32): Likewise.
323 (convert): Remove dead code.
324 <UNCONSTRAINED_ARRAY_REF>: Pass the field instead of its name to build
325 the reference to the P_ARRAY pointer.
326 <POINTER_TYPE>: Likewise.
327 (maybe_unconstrained_array) <UNCONSTRAINED_ARRAY_TYPE>: Likewise.
328 (gnat_init_decl_processing): Delete, move contents to...
329 * gcc-interface/misc.c (gnat_init): ...here.
331 2010-04-16 Eric Botcazou <ebotcazou@adacore.com>
333 * gcc-interface/trans.c (unchecked_conversion_nop): Handle function
334 calls. Return true for conversion from a record subtype to its type.
336 2010-04-16 Eric Botcazou <ebotcazou@adacore.com>
338 * gcc-interface/decl.c (gnat_to_gnu_entity): Use boolean_type_node in
339 lieu of integer_type_node for boolean operations.
340 (choices_to_gnu): Likewise.
341 * gcc-interface/trans.c (Attribute_to_gnu): Likewise.
342 (Loop_Statement_to_gnu): Likewise.
343 (establish_gnat_vms_condition_handler): Likewise.
344 (Exception_Handler_to_gnu_sjlj): Likewise.
345 (gnat_to_gnu): Likewise.
346 (build_unary_op_trapv): Likewise.
347 (build_binary_op_trapv): Likewise.
348 (emit_range_check): Likewise.
349 (emit_index_check): Likewise.
350 (convert_with_check): Likewise.
351 * gcc-interface/utils.c (convert_vms_descriptor64): Likewise.
352 (convert_vms_descriptor32): Likewise.
353 (convert_vms_descriptor): Likewise.
354 * gcc-interface/utils2.c (nonbinary_modular_operation): Likewise.
355 (compare_arrays): Use boolean instead of integer constants.
356 (build_binary_op) <TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, TRUTH_AND_EXPR,
357 TRUTH_OR_EXPR, TRUTH_XOR_EXPR>: New case. Check that the result type
359 <GE_EXPR, LE_EXPR, GT_EXPR, LT_EXPR>: Remove obsolete assertion.
360 <EQ_EXPR, NE_EXPR>: Check that the result type is a boolean type.
361 <PREINC/PREDECREMENT_EXPR, POSTINC/POSTDECREMENT_EXPR>: Delete.
362 <TRUTH_NOT_EXPR>: Check that the result type is a boolean type.
363 (build_unary_op): Use boolean_type_node in lieu of integer_type_node
364 for boolean operations.
365 (fill_vms_descriptor): Likewise. Fix formatting nits.
367 2010-04-16 Eric Botcazou <ebotcazou@adacore.com>
369 * gcc-interface/ada-tree.def (LOOP_STMT): Change to 4-operand nodes.
370 * gcc-interface/ada-tree.h (LOOP_STMT_TOP_COND, LOOP_STMT_BOT_COND):
372 (LOOP_STMT_COND): ...this.
373 (LOOP_STMT_BOTTOM_COND_P): New flag.
374 (LOOP_STMT_TOP_UPDATE_P): Likewise.
375 * gcc-interface/trans.c (can_equal_min_or_max_val_p): New function.
376 (can_equal_min_val_p): New static inline function.
377 (can_equal_max_val_p): Likewise.
378 (Loop_Statement_to_gnu): Use build4 in lieu of build5 and adjust to
379 new LOOP_STMT semantics. Use two different strategies depending on
380 whether optimization is enabled to translate the loop.
381 (gnat_gimplify_stmt) <LOOP_STMT>: Adjust to new LOOP_STMT semantics.
383 2010-04-16 Eric Botcazou <ebotcazou@adacore.com>
385 * uintp.adb (UI_From_Dint): Remove useless code.
386 (UI_From_Int): Likewise.
387 * uintp.h: Reorder declarations.
388 (UI_From_gnu): Declare.
390 (Vector_Template): Likewise.
391 (Vector_To_Uint): Likewise.
394 * gcc-interface/gigi.h: Tweak comments.
395 * gcc-interface/cuintp.c (UI_From_gnu): New global function.
396 * gcc-interface/decl.c (maybe_pad_type): Do not warn if either size
398 (annotate_value) <INTEGER_CST>: Call UI_From_gnu.
399 * gcc-interface/trans.c (post_error_ne_num): Call post_error_ne.
400 (post_error_ne_tree): Call UI_From_gnu and post_error_ne.
401 * gcc-interface/utils.c (max_size) <tcc_binary>: Do not special-case
404 2010-04-16 Eric Botcazou <ebotcazou@adacore.com>
406 * gcc-interface/decl.c (make_type_from_size) <INTEGER_TYPE>: Just copy
408 * gcc-interface/trans.c (smaller_packable_type_p): Rename into...
409 (smaller_form_type_p): ...this. Change parameter and variable names.
410 (call_to_gnu): Use the nominal type of the parameter to create the
411 temporary if it's a smaller form of the actual type.
412 (addressable_p): Return false if the actual type is integral and its
413 size is greater than that of the expected type.
415 2010-04-15 Eric Botcazou <ebotcazou@adacore.com>
417 * gcc-interface/cuintp.c (UI_To_gnu): Fix long line.
418 * gcc-interface/gigi.h (MARK_VISITED): Skip objects of constant class.
419 (process_attributes): Delete.
420 (post_error_ne_num): Change parameter name.
421 * gcc-interface/decl.c (gnat_to_gnu_entity): Do not force debug info
422 with -g3. Remove a couple of obsolete lines. Minor tweaks.
423 If type annotating mode, operate on trees to compute the adjustment to
424 the sizes of tagged types. Fix long line.
425 (cannot_be_superflat_p): Tweak head comment.
426 (annotate_value): Fold local constant.
427 (set_rm_size): Fix long line.
428 * gcc-interface/trans.c (Identifier_to_gnu): Rework comments.
429 (Attribute_to_gnu): Fix long line.
430 <Attr_Size>: Remove useless assertion.
431 Reorder statements. Use size_binop routine.
432 (Loop_Statement_to_gnu): Use build5 in lieu of build_nt.
433 Create local variables for the label and the test. Tweak comments.
434 (Subprogram_Body_to_gnu): Reset cfun to NULL.
435 (Compilation_Unit_to_gnu): Use the Sloc of the Unit node.
436 (process_inlined_subprograms): Integrate into...
437 (Compilation_Unit_to_gnu): ...this.
438 (gnat_to_gnu): Fix long line.
439 (post_error_ne_num): Change parameter name.
440 * gcc-interface/utils.c (process_attributes): Static-ify.
441 <ATTR_MACHINE_ATTRIBUTE>: Set input_location before proceeding.
442 (create_type_decl): Add comment.
443 (create_var_decl_1): Process the attributes after adding the VAR_DECL
444 to the current binding level.
445 (create_subprog_decl): Likewise for the FUNCTION_DECL.
446 (end_subprog_body): Do not reset cfun to NULL.
447 (build_vms_descriptor32): Fix long line.
448 (build_vms_descriptor): Likewise.
449 (handle_nonnull_attribute): Likewise.
450 (convert_vms_descriptor64): Likewise.
451 * gcc-interface/utils2.c (fill_vms_descriptor): Fix long line.
452 (gnat_protect_expr): Fix thinko.
454 2010-04-15 Eric Botcazou <ebotcazou@adacore.com>
456 * gcc-interface/trans.c (gigi): Set DECL_IGNORED_P on EH functions.
457 (gnat_to_gnu) <N_Op_Eq>: Restore the value of input_location
458 before translating the top-level node.
459 (lvalue_required_p) <N_Function_Call>: Return 1 if !constant.
460 <N_Object_Declaration>: Likewise.
461 <N_Assignment_Statement>: Likewise.
462 <N_Unchecked_Type_Conversion>: Likewise.
463 (call_to_gnu): Remove kludge.
464 (gnat_to_gnu) <N_Return_Statement>: When not optimizing, force labels
465 associated with user returns to be preserved.
466 (gnat_to_gnu): Add special code to deal with boolean rvalues.
467 * gcc-interface/utils2.c (compare_arrays): Set input_location on all
469 (build_unary_op) <ADDR_EXPR>: Call build_fold_addr_expr.
470 <INDIRECT_REF>: Call build_fold_indirect_ref.
472 2010-04-15 Joel Sherrill <joel.sherrill@oarcorp.com>
474 * g-socket.adb: A target can have multiple missing errno's. This
475 will result in multiple errno's being defined as -1. Because of this
476 we can not use a case but must use a series of if's to avoid
477 a duplicate case error in GNAT.Sockets.Resolve_Error.
479 2010-04-15 Eric Botcazou <ebotcazou@adacore.com>
481 * gcc-interface/trans.c (call_to_gnu): Open a nesting level if this is
482 a statement. Otherwise, if at top-level, push the processing of the
483 elaboration routine. In the misaligned case, issue the error messages
484 again on entry and create the temporary explicitly. Do not issue them
486 For a function call, emit the range check if necessary.
487 In the copy-in copy-out case, create the temporary for the return
489 Do not unnecessarily convert by-ref parameters to the formal's type.
490 Remove obsolete guards in conditions.
491 (gnat_to_gnu) <N_Assignment_Statement>: For a function call, pass the
492 target to call_to_gnu in all cases.
493 (gnat_gimplify_expr) <ADDR_EXPR>: Remove handling of SAVE_EXPR.
494 (addressable_p) <CONSTRUCTOR>: Return false if not static.
495 <COMPOUND_EXPR>: New case.
496 * gcc-interface/utils2.c (build_unary_op) <ADDR_EXPR>: Fold a compound
497 expression if it has unconstrained array type.
498 (gnat_mark_addressable) <COMPOUND_EXPR>: New case.
499 (gnat_stabilize_reference) <COMPOUND_EXPR>: Stabilize operands on an
502 2010-04-15 Eric Botcazou <ebotcazou@adacore.com>
504 * gcc-interface/trans.c (gigi): Do not start statement group.
505 (Compilation_Unit_to_gnu): Set current_function_decl to NULL.
506 Start statement group and push binding level here...
507 (gnat_to_gnu) <N_Compilation_Unit>: ...and not here.
508 Do not push fake contexts at top level. Remove redundant code.
509 (call_to_gnu): Rename a local variable and constify another.
510 * gcc-interface/utils.c (gnat_pushlevel): Fix formatting nits.
511 (set_current_block_context): Set it as the group's block.
512 (gnat_init_decl_processing): Delete unrelated init code.
513 (end_subprog_body): Use NULL_TREE.
515 2010-04-15 Eric Botcazou <ebotcazou@adacore.com>
517 * gcc-interface/trans.c (call_to_gnu): Do not unnecessarily force
518 side-effects of actual parameters before the call.
520 2010-04-15 Eric Botcazou <ebotcazou@adacore.com>
522 * gcc-interface/decl.c (validate_size): Reorder, remove obsolete test
524 (set_rm_size): Reorder and remove obsolete test.
526 2010-04-14 Eric Botcazou <ebotcazou@adacore.com>
528 * gcc-interface/gigi.h: Reorder declarations and tweak comments.
529 (gigi): Adjust ATTRIBUTE_UNUSED markers.
530 * gcc-interface/gadaint.h: New file.
531 * gcc-interface/trans.c: Include it in lieu of adaint.h. Reorder.
532 (__gnat_to_canonical_file_spec): Remove declaration.
533 (number_names): Delete.
534 (number_files): Likewise.
536 * gcc-interface/Make-lang.in (ada/trans.o): Adjust dependencies to
539 2010-04-14 Eric Botcazou <ebotcazou@adacore.com>
541 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Class_Wide_Type>: Fix
543 * gcc-interface/trans.c (process_freeze_entity): Use local copy of
544 Ekind. Return early for class-wide types. Do not compute initializer
545 unless necessary. Reuse the tree for an associated class-wide type
546 only if processing its root type.
548 2010-04-13 Joel Sherrill <joel.sherrill@oarcorp.com>
550 * gsocket.h: Run-time can no longer be built without network
551 OS headers available. Changing RTEMS GNAT build procedure to
552 reflect this and letting run-time build use network .h files.
554 2010-04-13 Duncan Sands <baldrick@free.fr>
556 * gcc-interface/misc.c (gnat_eh_type_covers): Remove.
557 * gcc-interface/trans.c (Exception_Handler_to_gnu_zcx): Update comment.
559 2010-04-13 Eric Botcazou <ebotcazou@adacore.com>
561 * gcc-interface/gigi.h (standard_datatypes): Add ADT_parent_name_id.
562 (parent_name_id): New macro.
563 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Use it.
564 * gcc-interface/trans.c (gigi): Initialize it.
565 (lvalue_required_p) <N_Type_Conversion>: New case.
566 <N_Qualified_Expression>: Likewise.
567 <N_Allocator>: Likewise.
568 * gcc-interface/utils.c (convert): Try to properly upcast tagged types.
570 2010-04-13 Eric Botcazou <ebotcazou@adacore.com>
572 * gcc-interface/ada-tree.h (TYPE_BY_REFERENCE_P): Delete.
573 (DECL_CONST_ADDRESS_P): New macro.
574 (SET_DECL_ORIGINAL_FIELD_TO_FIELD): Likewise.
575 (SAME_FIELD_P): Likewise.
576 * gcc-interface/decl.c (constructor_address_p): New static function.
577 (gnat_to_gnu_entity) <object>: Set DECL_CONST_ADDRESS_P according to
578 the return value of above function.
579 (gnat_to_gnu_entity) <E_Record_Type>: Force BLKmode for all types
581 <E_Record_Subtype>: Likewise.
582 Set TREE_ADDRESSABLE on the type if it passed by reference.
583 (make_packable_type): Use SET_DECL_ORIGINAL_FIELD_TO_FIELD.
584 (create_field_decl_from): Likewise.
585 (substitute_in_type): Likewise.
586 (purpose_member_field): Use SAME_FIELD_P.
587 * gcc-interface/misc.c (must_pass_by_ref): Test TREE_ADDRESSABLE.
588 * gcc-interface/trans.c (lvalue_required_p): Add ADDRESS_OF_CONSTANT
589 parameter and adjust recursive calls.
590 <N_Explicit_Dereference>: New case.
591 <N_Object_Declaration>: Return 1 if the object is of a class-wide type.
592 Adjust calls to lvalue_required_p. Do not return the initializer of a
593 DECL_CONST_ADDRESS_P constant if an lvalue is required for it.
594 (call_to_gnu): Delay issuing error message for a misaligned actual and
595 avoid the associated back-end assertion. Test TREE_ADDRESSABLE.
596 (gnat_gimplify_expr) <ADDR_EXPR>: Handle non-static constructors.
597 * gcc-interface/utils.c (make_dummy_type): Set TREE_ADDRESSABLE if the
598 type is passed by reference.
599 (convert) <CONSTRUCTOR>: Convert in-place in more cases.
600 * gcc-interface/utils2.c (build_cond_expr): Drop TYPE_BY_REFERENCE_P.
601 (build_simple_component_ref): Use SAME_FIELD_P.
603 2010-04-12 Eric Botcazou <ebotcazou@adacore.com>
605 * gcc-interface/trans.c (Identifier_to_gnu): Use boolean variable.
606 (call_to_gnu): Test gigi's flag TYPE_BY_REFERENCE_P instead of calling
607 front-end's predicate Is_By_Reference_Type. Use consistent order and
608 remove ??? comment. Use original conversion in all cases, if any.
609 * gcc-interface/utils.c (make_dummy_type): Minor tweak.
610 (convert): Use local copy in more cases.
611 <INDIRECT_REF>: Remove deactivated code.
612 (unchecked_convert): Use a couple of local copies.
614 2010-04-11 Eric Botcazou <ebotcazou@adacore.com>
616 * gcc-interface/trans.c (lvalue_required_for_attribute_p): New static
618 (lvalue_required_p) <N_Attribute_Reference>: Call it.
619 (gnat_to_gnu) <N_Selected_Component>: Prevent build_component_ref from
620 folding the result only if lvalue_required_for_attribute_p is true.
621 * gcc-interface/utils.c (maybe_unconstrained_array): Pass correctly
622 typed constant to build_component_ref.
623 (unchecked_convert): Likewise.
624 * gcc-interface/utils2.c (maybe_wrap_malloc): Likewise.
625 (build_allocator): Likewise.
627 2010-04-11 Eric Botcazou <ebotcazou@adacore.com>
629 * gcc-interface/utils2.c (build_cond_expr): Take the address and
630 dereference if the result type is passed by reference.
632 2010-04-11 Eric Botcazou <ebotcazou@adacore.com>
634 * gcc-interface/trans.c (Case_Statement_to_gnu): Bool-ify variable.
635 (gnat_to_gnu) <N_Null_Statement>: When not optimizing, generate a
636 goto to the next statement.
638 2010-04-09 Eric Botcazou <ebotcazou@adacore.com>
640 * gcc-interface/gigi.h (maybe_variable): Delete.
641 (protect_multiple_eval): Likewise.
642 (maybe_stabilize_reference): Likewise.
643 (gnat_save_expr): Declare.
644 (gnat_protect_expr): Likewise.
645 (gnat_stabilize_reference): Likewise.
646 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Use
647 gnat_stabilize_reference.
648 (maybe_variable): Delete.
649 (elaborate_expression_1): Use gnat_save_expr.
650 * gcc-interface/trans.c (Attribute_to_gnu): Use gnat_protect_expr.
651 (call_to_gnu): Pass NULL to gnat_stabilize_reference.
652 (gnat_to_gnu) <N_Object_Declaration>: Use gnat_save_expr.
653 <N_Slice>: Use gnat_protect_exp.
654 <N_Selected_Component>: Pass NULL to gnat_stabilize_reference.
655 <N_In>: Use gnat_protect_expr.
656 Pass NULL to gnat_stabilize_reference.
657 (build_unary_op_trapv): Use gnat_protect_expr.
658 (build_binary_op_trapv): Likewise.
659 (emit_range_check): Likewise.
660 (emit_index_check): Likewise.
661 (convert_with_check): Likewise.
662 (protect_multiple_eval): Move to utils2.c file.
663 (maybe_stabilize_reference): Merge into...
664 (gnat_stabilize_reference): ...this. Move to utils2.c file.
665 (gnat_stabilize_reference_1): Likewise.
666 * gcc-interface/utils.c (convert_to_fat_pointer): Use gnat_protect_expr
667 instead of protect_multiple_eval.
668 * gcc-interface/utils2.c (compare_arrays): Likewise.
669 (nonbinary_modular_operation): Likewise.
670 (maybe_wrap_malloc): Likewise.
671 (build_allocator): Likewise.
672 (gnat_save_expr): New function.
673 (gnat_protect_expr): Rename from protect_multiple_eval. Early return
674 in common cases. Propagate TREE_READONLY onto dereferences.
675 (gnat_stabilize_reference_1): Move from trans.c file.
676 (gnat_stabilize_reference): Likewise.
678 2010-04-09 Eric Botcazou <ebotcazou@adacore.com>
680 * gcc-interface/gigi.h (gnat_mark_addressable): Rename parameter.
681 * gcc-interface/decl.c (maybe_variable): Do not set TREE_STATIC on _REF
682 node. Use the type of the operand to set TREE_READONLY.
683 * gcc-interface/trans.c (Identifier_to_gnu): Do not set TREE_STATIC on
684 _REF node. Do not overwrite TREE_READONLY.
685 (call_to_gnu): Rename local variable and fix various nits. In the
686 copy-in/copy-out case, build the SAVE_EXPR manually.
687 (convert_with_check): Call protect_multiple_eval in lieu of save_expr
688 and fold the computations.
689 (protect_multiple_eval): Always save entire fat pointers.
690 (maybe_stabilize_reference): Minor tweaks.
691 (gnat_stabilize_reference_1): Likewise. Do not deal with tcc_constant,
692 tcc_type and tcc_statement.
693 * gcc-interface/utils.c (convert_to_fat_pointer): Call
694 protect_multiple_eval in lieu of save_expr.
695 (convert): Minor tweaks.
696 (maybe_unconstrained_array): Do not set TREE_STATIC on _REF node.
697 (builtin_type_for_size): Call gnat_type_for_size directly.
698 * gcc-interface/utils2.c (contains_save_expr_p): Delete.
699 (contains_null_expr): Likewise
700 (gnat_build_constructor): Do not call it.
701 (compare_arrays): Deal with all side-effects, use protect_multiple_eval
702 instead of gnat_stabilize_reference to protect the operands.
703 (nonbinary_modular_operation): Call protect_multiple_eval in lieu of
705 (maybe_wrap_malloc): Likewise.
706 (build_allocator): Likewise.
707 (build_unary_op) <INDIRECT_REF>: Do not set TREE_STATIC on _REF node.
708 (gnat_mark_addressable): Rename parameter.
710 2010-04-08 Eric Botcazou <ebotcazou@adacore.com>
712 * gcc-interface/ada-tree.h (TYPE_RETURNS_UNCONSTRAINED_P): Rename into.
713 (TYPE_RETURN_UNCONSTRAINED_P): ...this.
714 (TYPE_RETURNS_BY_REF_P): Rename into.
715 (TYPE_RETURN_BY_DIRECT_REF_P): ...this.
716 (TYPE_RETURNS_BY_TARGET_PTR_P): Delete.
717 * gcc-interface/gigi.h (create_subprog_type): Adjust parameter names.
718 (build_return_expr): Likewise.
719 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Subprogram_Type>:
720 Rename local variables. If the return Mechanism is By_Reference, pass
721 return_by_invisible_ref_p to create_subprog_type instead of toggling
722 TREE_ADDRESSABLE. Test return_by_invisible_ref_p in order to annotate
723 the mechanism. Use regular return for contrained types with non-static
724 size and return by invisible reference for unconstrained return types
725 with default discriminants. Update comment.
726 * gcc-interface/trans.c (Subprogram_Body_to_gnu): If the function
727 returns by invisible reference, turn the RESULT_DECL into a pointer.
728 Do not handle DECL_BY_REF_P in the CICO case here.
729 (call_to_gnu): Remove code handling return by target pointer. For a
730 function call, if the return type has non-constant size, generate the
731 assignment with an INIT_EXPR.
732 (gnat_to_gnu) <N_Return_Statement>: Remove dead code in the CICO case.
733 If the function returns by invisible reference, build the copy return
735 (add_decl_expr): Initialize the variable with an INIT_EXPR.
736 * gcc-interface/utils.c (create_subprog_type): Adjust parameter names.
737 Adjust for renaming of macros. Copy the node only when necessary.
738 (create_subprog_decl): Do not toggle TREE_ADDRESSABLE on the return
739 type, only change DECL_BY_REFERENCE on the RETURN_DECL.
740 (convert_from_reference): Delete.
741 (is_byref_result): Likewise.
742 (gnat_genericize_r): Likewise.
743 (gnat_genericize): Likewise.
744 (end_subprog_body): Do not call gnat_genericize.
745 * gcc-interface/utils2.c (build_binary_op) <INIT_EXPR>: New case.
746 (build_return_expr): Adjust parameter names, logic and comment.
748 2010-04-07 Eric Botcazou <ebotcazou@adacore.com>
750 * exp_pakd.adb (Create_Packed_Array_Type): Always use a modular type
751 if the size is small enough. Propagate the alignment if there is an
752 alignment clause on the original array type.
753 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>
754 Deal with under-aligned packed array types. Copy the size onto the
755 justified modular type and don't lay it out again. Likewise for the
756 padding type built for other under-aligned subtypes.
757 * gcc-interface/utils.c (finish_record_type): Do not set a default mode
760 2010-04-07 Eric Botcazou <ebotcazou@adacore.com>
762 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Procedure>: Set default
763 alignment on the RETURN type built for the Copy-In Copy-Out mechanism.
765 2010-04-07 Eric Botcazou <ebotcazou@adacore.com>
767 * gcc-interface/trans.c (call_to_gnu): In the return-by-target-ptr case
768 do not set the result type if there is a specified target and do not
769 convert the result in any cases.
770 (protect_multiple_eval): Make direct SAVE_EXPR for CALL_EXPR.
771 (maybe_stabilize_reference) <COMPOUND_EXPR>: Merge with CALL_EXPR.
773 2010-03-10 Eric Botcazou <ebotcazou@adacore.com>
775 * gcc-interface/Makefile.in (SPARC/Solaris): Use sparcv8plus.
777 2010-02-27 Eric Botcazou <ebotcazou@adacore.com>
780 * gcc-interface/utils2.c (build_binary_op) <EQ_EXPR>: Assert that fat
781 pointer base types are variant of each other. Apply special treatment
782 for null to fat pointer types in all cases.
784 2010-01-28 Pascal Obry <obry@adacore.com>
786 * s-win32.ads: Add some missing constants.
788 2010-01-28 Vincent Celier <celier@adacore.com>
790 * prj-attr-pm.adb (Add_Attribute): Do nothing if To_Package is
793 2010-01-28 Robert Dewar <dewar@adacore.com>
795 * gnat_rm.texi: Minor correction
797 2010-01-27 Pascal Obry <obry@adacore.com>
799 * g-awk.adb: ensure that an AWK session is reusable.
801 2010-01-27 Vasiliy Fofanov <fofanov@adacore.com>
803 * g-regist.adb (For_Every_Key): Fix previous change.
806 2010-01-27 Thomas Quinot <quinot@adacore.com>
808 * lib-writ.ads: Current version of spec for new N (note) ALI lines
810 2010-01-27 Yannick Moy <moy@adacore.com>
812 * a-cdlili.adb (Insert): Correct exception message when cursor
813 designates wrong list.
815 2010-01-27 Vincent Celier <celier@adacore.com>
817 * gnatcmd.adb: When there is only one main specified, the package
818 support Switches (<main>) and attribute Switches is specified for the
819 main, use these switches, instead of Default_Switches ("Ada").
821 2010-01-27 Robert Dewar <dewar@adacore.com>
823 * sem_prag.adb, par-prag.adb, snames.ads-tmpl: pragma Dimension initial
825 * exp_disp.adb: Minor reformatting
827 2010-01-27 Tristan Gingold <gingold@adacore.com>
829 * seh_init.c: Use __ImageBase instead of _ImageBase.
831 2010-01-27 Javier Miranda <miranda@adacore.com>
833 * exp_disp.ads, exp_disp.adb (Expand_Interface_Thunk): Modify the
834 profile of interface thunks. The type of the controlling formal is now
835 the covered interface type (instead of the target tagged type).
837 2010-01-27 Sergey Rybin <rybin@adacore.com>
839 * gnat_rm.texi, gnat_ugn.texi: Update gnatcheck doc.
841 2010-01-27 Robert Dewar <dewar@adacore.com>
843 * sinput.ads, sinput.adb (Sloc_Range): Applies to all nodes, formal
844 changed from Expr to N.
846 2010-01-26 Thomas Quinot <quinot@adacore.com>
848 * gnat_ugn.texi: Adjust documentation of -gnatz switches.
849 * usage.adb: Replace line for -gnatz with two lines for -gnatzc and
852 2010-01-26 Vincent Celier <celier@adacore.com>
854 * prj-attr.adb: Add new attribute Library_Install_Name_Option
855 Replace attribute Run_Path_Origin_Supported with Run_Path_Origin
856 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process
857 attributes Run_Path_Option and Library_Install_Name_Option.
858 * prj.ads (Project_Configuration): Replace component
859 Run_Path_Origin_Supported with component Run_Path_Origin. Add new
860 component Library_Install_Name_Option.
861 * snames.ads-tmpl: Add new standard name Library_Install_Name_Option
862 Replace Run_Path_Origin_Supported with Run_Path_Origin
864 2010-01-26 Ed Schonberg <schonberg@adacore.com>
866 * sem_ch8.adb (Use_One_Package): Within an instance, an actual package
867 is not hidden by a homograph declared in another actual package.
869 2010-01-26 Robert Dewar <dewar@adacore.com>
871 * par_sco.adb (Traverse_Declarations_Or_Statements): Only generate
872 decisions for pragmas Assert, Check, Precondition, Postcondition if
874 * scos.ads: Update comments.
875 * get_scos.adb, put_scos.adb: Minor fix to code reading statement SCOs.
876 Also remove obsolete code for CT (exit point) SCOs.
878 2010-01-26 Thomas Quinot <quinot@adacore.com>
880 * switch-c.adb: Fix handling of -gnatz*
882 2010-01-26 Robert Dewar <dewar@adacore.com>
884 * par_sco.adb (Traverse_Declarations_Or_Statements): Separate F/W
885 qualifiers for FOR/WHILE loops
886 * scos.ads: Use separate type letters F/W for for/while loops
888 2010-01-26 Robert Dewar <dewar@adacore.com>
890 * get_scos.adb (Get_SCOs): Implement new form of CS entries (multiple
891 entries per line, one for each statement in the sequence).
892 * par_sco.adb (Traverse_Declarations_Or_Statements): Increase array
893 size from 100 to 10_000 for SC_Array to avoid any real possibility of
894 overflow. Output decisions in for loops.
895 Exclude labels from CS lines.
896 * scos.ads: Clarify that label is not included in the entry point
898 2010-01-26 Robert Dewar <dewar@adacore.com>
900 * par_sco.adb (Traverse_Declarations_Or_Statments): Implement new
901 format of statement sequence SCO entries (one location/statement).
902 * put_scos.adb (Put_SCOs): Implement new format of CS lines
903 * scos.ads: Update comments.
904 * sem_eval.adb: Minor reformatting.
906 2010-01-26 Robert Dewar <dewar@adacore.com>
908 * par_sco.ads, par_sco.adb (Set_Statement_Entry): New handling of exits
909 (Extend_Statement_Sequence): New procedures
910 (Traverse_Declarations_Or_Statements): New handling for exits.
912 2010-01-26 Robert Dewar <dewar@adacore.com>
914 * par_sco.adb (Traverse_Declarations_Or_Statements): Add processing for
917 2010-01-26 Robert Dewar <dewar@adacore.com>
919 * par_sco.adb (Is_Logical_Operator): Exclude AND/OR/XOR
920 * scos.ads: Clarify handling of logical operators
922 2010-01-26 Arnaud Charlet <charlet@adacore.com>
924 * s-tpoben.adb: Update comments.
926 2010-01-26 Robert Dewar <dewar@adacore.com>
928 * freeze.adb (Set_Small_Size): Don't set size if alignment clause
931 2010-01-26 Robert Dewar <dewar@adacore.com>
933 * scos.ads: Clean up documentation, remove obsolete XOR references
934 2010-01-26 Vincent Celier <celier@adacore.com>
936 * gnat_ugn.texi: Complete documentation on the restrictions for
937 combined options in -gnatxxx switches.
940 2010-01-26 Arnaud Charlet <charlet@adacore.com>
942 * s-tpoben.adb (Initialize_Protection_Entries): If a PO is created from
943 a controlled operation, abort is already deferred at this point, so we
944 need to use Defer_Abort_Nestable.
946 2010-01-26 Vincent Celier <celier@adacore.com>
948 * prj-conf.adb (Get_Config_Switches): Check for a default language for
949 a project extending a project with no languages.
951 2010-01-26 Vincent Celier <celier@adacore.com>
953 * switch-c.adb (Scan_Front_End_Switches): Take into account options
955 Allow -gnateG to be followed by other options.
957 2010-01-26 Robert Dewar <dewar@adacore.com>
959 * s-commun.ads, s-osprim-mingw.adb, s-stchop-vxworks.adb, sem_aggr.adb,
960 s-vxwext.adb, sem_ch10.adb, sem_eval.adb, sem_prag.adb: Minor
963 2010-01-26 Vasiliy Fofanov <fofanov@adacore.com>
965 * g-regist.adb, g-regist.ads (For_Every_Key): New generic procedure
966 that allows to iterate over all subkeys of a key.
968 2010-01-26 Ed Falis <falis@adacore.com>
970 * sysdep.c: enable NFS for VxWorks MILS
971 * env.c: enable __gnat_environ for VxWorks MILS
972 * gcc-interface/Makefile.in: Add VxWorks MILS target pairs.
974 2010-01-25 Bob Duff <duff@adacore.com>
976 * sem_aggr.adb (Resolve_Array_Aggregate): Check for the case where this
977 is an internally-generated positional aggregate, and the bounds are
978 already correctly set. We don't want to overwrite those bounds with
979 bounds determined by context.
981 2010-01-25 Robert Dewar <dewar@adacore.com>
983 * g-sercom.ads, gnatcmd.adb, gnatlink.adb, a-ststio.adb, exp_ch6.adb,
984 exp_ch9.adb, g-sechas.ads: Minor reformatting.
986 2010-01-25 Thomas Quinot <quinot@adacore.com>
988 * s-commun.adb (Last_Index): Count must be converted to SEO (a signed
989 integer type) before subtracting 1, otherwise the computation may wrap
990 (because size_t is modular) and cause the conversion to fail.
992 2010-01-25 Ed Falis <falis@adacore.com>
994 * sysdep.c, init.c: Adapt to support full run-time on VxWorks MILS.
996 2010-01-25 Vincent Celier <celier@adacore.com>
998 * prj-attr.adb: New attribute Run_Path_Origin_Required
999 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process new
1000 attribute Run_Path_Origin_Required.
1001 * prj.ads (Project_Configuration): New component
1002 Run_Path_Origin_Supported.
1003 * snames.ads-tmpl: New standard name Run_Path_Origin_Required
1005 2010-01-25 Ed Schonberg <schonberg@adacore.com>
1007 * sem_aggr.adb (Resolve_Array_Aggregate): If the bounds in a choice
1008 have errors, do not continue resolution of the aggregate.
1009 * sem_eval.adb (Eval_Indexed_Component): Do not attempt to evaluate if
1010 the array type indicates an error.
1012 2010-01-25 Bob Duff <duff@adacore.com>
1014 * sinfo.ads: Minor comment fixes.
1016 2010-01-25 Bob Duff <duff@adacore.com>
1018 * exp_ch4.adb, exp_aggr.adb: Minor comment fixes and code clean up.
1020 2010-01-25 Arnaud Charlet <charlet@adacore.com>
1022 * gnatvsn.ads (Current_Year): Update.
1024 2010-01-25 Florian Villoing <villoing@adacore.com>
1026 * gnat_ugn.texi: Fix typo.
1028 2010-01-25 Thomas Quinot <quinot@adacore.com>
1030 * scos.ads: Update specification.
1032 2010-01-25 Ed Schonberg <schonberg@adacore.com>
1034 * sem_ch6.adb (Process_PPCs): If a postcondition is present and the
1035 enclosing subprogram has no previous spec, attach postcondition
1036 procedure to the defining entity for the body.
1038 2010-01-25 Ed Schonberg <schonberg@adacore.com>
1040 * exp_aggr.adb (Build_Record_Aggr_Code); Do not generate call to
1041 initialization procedure of the ancestor part of an extension aggregate
1042 if it is an interface type.
1044 2010-01-25 Vincent Celier <celier@adacore.com>
1046 * gnatlink.adb (Process_Binder_File): The directory for the shared
1047 version of libgcc in the run path options is found in the subdirectory
1048 indicated by __gnat_default_libgcc_subdir.
1049 * link.c: Declare new const char * __gnat_default_libgcc_subdir for
1052 2010-01-25 Ed Schonberg <schonberg@adacore.com>
1054 * sem_prag.adb: More flexible pragma Annotate.
1056 2010-01-22 Eric Botcazou <ebotcazou@adacore.com>
1058 * system-linux-armel.ads (Stack_Check_Probes): Set to True.
1059 * system-linux-armeb.ads (Stack_Check_Probes): Likewise.
1061 2010-01-18 Eric Botcazou <ebotcazou@adacore.com>
1063 * gcc-interface/utils.c (create_var_decl_1): Fix formatting nits.
1065 2010-01-18 Jan Hubicka <jh@suse.cz>
1068 * gcc-interface/utils.c (create_var_decl_1): Do not set COMMON flag for
1069 unit local variables.
1071 2010-01-17 Laurent GUERBY <laurent@guerby.net>
1073 * gcc-interface/Makefile.in: Fix typo in arm*-*-linux-gnueabi.
1075 2010-01-11 Mikael Pettersson <mikpe@it.uu.se>
1077 * gcc-interface/Makefile.in: Add arm*-*-linux-gnueabi.
1078 * system-linux-armeb.ads, system-linux-armel.ads: New files.
1080 2010-01-09 Simon Wright <simon@pushface.org>
1083 * gcc-interface/Makefile.in (gnatlib-shared-darwin): Add missing
1088 Copyright (C) 2010 Free Software Foundation, Inc.
1090 Copying and distribution of this file, with or without modification,
1091 are permitted in any medium without royalty provided the copyright
1092 notice and this notice are preserved.