Commit ab3dd4ab by Eric Botcazou Committed by Eric Botcazou

gigi.h (enum standard_datatypes): Minor tweak.

	* gcc-interface/gigi.h (enum standard_datatypes): Minor tweak.
	(gigi): Likewise.

From-SVN: r251974
parent e6a096d1
2017-09-11 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/gigi.h (enum standard_datatypes): Minor tweak.
(gigi): Likewise.
2017-09-11 Yannick Moy <moy@adacore.com> 2017-09-11 Yannick Moy <moy@adacore.com>
* lib-xref-spark_specific.adb: Minor rewrite. * lib-xref-spark_specific.adb: Minor rewrite.
......
...@@ -423,7 +423,8 @@ enum standard_datatypes ...@@ -423,7 +423,8 @@ enum standard_datatypes
ADT_all_others_decl, ADT_all_others_decl,
ADT_unhandled_others_decl, ADT_unhandled_others_decl,
ADT_LAST}; ADT_LAST
};
/* Define kind of exception information associated with raise statements. */ /* Define kind of exception information associated with raise statements. */
enum exception_info_kind enum exception_info_kind
......
...@@ -396,26 +396,26 @@ gigi (Node_Id gnat_root, ...@@ -396,26 +396,26 @@ gigi (Node_Id gnat_root,
ptr_void_ftype = build_pointer_type (void_ftype); ptr_void_ftype = build_pointer_type (void_ftype);
/* Now declare run-time functions. */ /* Now declare run-time functions. */
ftype = build_function_type_list (ptr_type_node, sizetype, NULL_TREE);
malloc_decl malloc_decl
= create_subprog_decl (get_identifier ("__gnat_malloc"), NULL_TREE, = create_subprog_decl (get_identifier ("__gnat_malloc"), NULL_TREE,
ftype, build_function_type_list (ptr_type_node, sizetype,
NULL_TREE),
NULL_TREE, is_disabled, true, true, true, false, NULL_TREE, is_disabled, true, true, true, false,
false, NULL, Empty); false, NULL, Empty);
DECL_IS_MALLOC (malloc_decl) = 1; DECL_IS_MALLOC (malloc_decl) = 1;
ftype = build_function_type_list (void_type_node, ptr_type_node, NULL_TREE);
free_decl free_decl
= create_subprog_decl (get_identifier ("__gnat_free"), NULL_TREE, = create_subprog_decl (get_identifier ("__gnat_free"), NULL_TREE,
ftype, build_function_type_list (void_type_node,
ptr_type_node, NULL_TREE),
NULL_TREE, is_disabled, true, true, true, false, NULL_TREE, is_disabled, true, true, true, false,
false, NULL, Empty); false, NULL, Empty);
ftype = build_function_type_list (ptr_type_node, ptr_type_node, sizetype,
NULL_TREE);
realloc_decl realloc_decl
= create_subprog_decl (get_identifier ("__gnat_realloc"), NULL_TREE, = create_subprog_decl (get_identifier ("__gnat_realloc"), NULL_TREE,
ftype, build_function_type_list (ptr_type_node,
ptr_type_node, sizetype,
NULL_TREE),
NULL_TREE, is_disabled, true, true, true, false, NULL_TREE, is_disabled, true, true, true, false,
false, NULL, Empty); false, NULL, Empty);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment