aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/ChangeLog')
-rw-r--r--gcc/ada/ChangeLog96
1 files changed, 96 insertions, 0 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index f2b46b35db7..64e4c711145 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,99 @@
+2016-01-18 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/gigi.h (build_call_raise_column): Adjust prototype.
+ (build_call_raise_range): Likewise.
+ (gnat_unsigned_type): Delete.
+ (gnat_signed_type): Likewise.
+ (gnat_signed_or_unsigned_type_for): New prototype.
+ (gnat_unsigned_type_for): New inline function.
+ (gnat_signed_type_for): Likewise.
+ * gcc-interface/cuintp.c (build_cst_from_int): Call build_int_cst.
+ * gcc-interface/decl.c (gnat_to_gnu_entity): Likewise.
+ (gnat_to_gnu_entity) <E_Array_Type>: Always translate the index types
+ and compute their base type from that.
+ <E_Array_Subtype>: Remove duplicate declaration.
+ * gcc-interface/misc.c (get_array_bit_stride): Call build_int_cst.
+ * gcc-interface/trans.c (get_type_length): Likewise.
+ (Attribute_to_gnu): Likewise.
+ (Loop_Statement_to_gnu): Likewise.
+ (Call_to_gnu): Likewise.
+ (gnat_to_gnu): Call build_real, build_int_cst, gnat_unsigned_type_for
+ and gnat_signed_type_for. Minor tweaks.
+ (build_binary_op_trapv): Likewise.
+ (emit_check): Likewise.
+ (convert_with_check): Likewise.
+ (Raise_Error_to_gnu): Adjust calls to the build_call_raise family of
+ functions. Minor tweaks.
+ (Case_Statement_to_gnu): Remove dead code.
+ (gnat_to_gnu): Call gnat_unsigned_type_for and gnat_signed_type_for.
+ (init_code_table): Minor reordering.
+ * gcc-interface/utils.c (gnat_unsigned_type): Delete.
+ (gnat_signed_type): Likewise.
+ (gnat_signed_or_unsigned_type_for): New function.
+ (unchecked_convert): Use directly the size in the test for precision
+ vs size adjustments.
+ (install_builtin_elementary_types): Call gnat_signed_type_for.
+ * gcc-interface/utils2.c (nonbinary_modular_operation): Call
+ build_int_cst.
+ (build_goto_raise): New function taken from...
+ (build_call_raise): ...here. Call it.
+ (build_call_raise_column): Add KIND parameter and call it.
+ (build_call_raise_range): Likewise.
+
+2016-01-18 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc-interface/ada-tree.h (TYPE_IMPLEMENTS_PACKED_ARRAY_P): Rename to
+ (TYPE_IMPL_PACKED_ARRAY_P): ...this.
+ (TYPE_CAN_HAVE_DEBUG_TYPE_P): Do not test TYPE_DEBUG_TYPE.
+ * gcc-interface/decl.c (gnat_to_gnu_entity): Simplify NULL_TREE tests
+ and tweak gnat_encodings tests throughout.
+ (initial_value_needs_conversion): Likewise.
+ (intrin_arglists_compatible_p): Likewise.
+ * gcc-interface/misc.c (gnat_print_type): Likewise.
+ (gnat_get_debug_type): Likewise.
+ (gnat_get_fixed_point_type_info): Likewise.
+ (gnat_get_array_descr_info): Likewise.
+ (get_array_bit_stride): Likewise.
+ (gnat_get_type_bias): Fix formatting.
+ (enumerate_modes): Likewise.
+ * gcc-interface/trans.c (gnat_to_gnu): Likewise.
+ (add_decl_expr): Simplify NULL_TREE test.
+ (end_stmt_group): Likewise.
+ (build_binary_op_trapv): Fix formatting.
+ (get_exception_label): Use switch statement.
+ (init_code_table): Move around.
+ * gcc-interface/utils.c (global_bindings_p): Simplify NULL_TREE test.
+ (gnat_poplevel): Likewise.
+ (gnat_set_type_context): Likewise.
+ (defer_or_set_type_context): Fix formatting.
+ (gnat_pushdecl): Simplify NULL_TREE test.
+ (maybe_pad_type): Likewise.
+ (add_parallel_type): Likewise.
+ (create_range_type): Likewise.
+ (process_deferred_decl_context): Likewise.
+ (convert): Likewise.
+ (def_builtin_1): Likewise.
+ * gcc-interface/utils2.c (find_common_type): Likewise.
+ (build_binary_op): Likewise.
+ (gnat_rewrite_reference): Likewise.
+ (get_inner_constant_reference): Likewise.
+
+2016-01-18 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR ada/69219
+ * gcc-interface/trans.c (check_inlining_for_nested_subprog): Consider
+ the parent function instead of the current function in order to issue
+ the warning or the error. Add guard for ignored functions.
+
+2016-01-17 Jakub Jelinek <jakub@redhat.com>
+
+ * adaint.c (__gnat_killprocesstree): Avoid -Wparentheses warning.
+
+2016-01-15 Jakub Jelinek <jakub@redhat.com>
+
+ * adaint.c (__gnat_locate_exec_on_path): Use const char * instead
+ of char * for path_val to avoid warnings.
+
2016-01-06 Pierre-Marie de Rodat <derodat@adacore.com>
* gcc-interface/utils.c: Bump copyright year.