diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2009-04-23 10:22:55 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2009-04-23 10:22:55 +0000 |
commit | 26383c648f1e2bb6e3e2da84eaa6061159fe3904 (patch) | |
tree | 9e425a0292fcfe1ed87343fee372b792fc2df72f /gcc/ada/gcc-interface/trans.c | |
parent | 4782dfa72f25706e3276784417630b6d163e784d (diff) | |
download | gcc-26383c648f1e2bb6e3e2da84eaa6061159fe3904.zip gcc-26383c648f1e2bb6e3e2da84eaa6061159fe3904.tar.gz gcc-26383c648f1e2bb6e3e2da84eaa6061159fe3904.tar.bz2 |
ada-tree.h (union lang_tree_node): Use standard idiom.
* gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom.
(SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting.
(SET_DECL_LANG_SPECIFIC): Likewise.
Reorder macros.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
Update comment about use of build_range_type.
<E_Array_Type, E_Array_Subtype>: Use consistent naming convention.
<E_Array_Subtype>: Rework comments about TYPE_ACTUAL_BOUNDS and add
check for other cases of overloading.
* gcc-interface/trans.c (gigi): Use size_int in lieu of build_int_cst.
* gcc-interface/utils2.c (build_call_raise): Fix off-by-one error.
Use size_int in lieu of build_int_cst.
(build_call_alloc_dealloc): Use build_index_2_type in lieu of
build_range_type.
From-SVN: r146639
Diffstat (limited to 'gcc/ada/gcc-interface/trans.c')
-rw-r--r-- | gcc/ada/gcc-interface/trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/trans.c b/gcc/ada/gcc-interface/trans.c index cfc9fbc..cb5dc7b 100644 --- a/gcc/ada/gcc-interface/trans.c +++ b/gcc/ada/gcc-interface/trans.c @@ -405,7 +405,7 @@ gigi (Node_Id gnat_root, int max_gnat_node, int number_name, /* Make the types and functions used for exception processing. */ jmpbuf_type = build_array_type (gnat_type_for_mode (Pmode, 0), - build_index_type (build_int_cst (NULL_TREE, 5))); + build_index_type (size_int (5))); record_builtin_type ("JMPBUF_T", jmpbuf_type); jmpbuf_ptr_type = build_pointer_type (jmpbuf_type); |