diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2009-04-23 11:06:47 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2009-04-23 11:06:47 +0000 |
commit | c1abd261d91caa67f71439292081b7299d4f5788 (patch) | |
tree | c0d0a561438c71036620f0c5eb0f8ebf5a404485 /gcc/ada/gcc-interface/gigi.h | |
parent | 8713b7e4f5f8cb2bf3c046dda4000c448500b746 (diff) | |
download | gcc-c1abd261d91caa67f71439292081b7299d4f5788.zip gcc-c1abd261d91caa67f71439292081b7299d4f5788.tar.gz gcc-c1abd261d91caa67f71439292081b7299d4f5788.tar.bz2 |
gigi.h (create_index_type): Adjust head comment.
* gcc-interface/gigi.h (create_index_type): Adjust head comment.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
Use front-end predicates to compute signedness and precision.
<E_String_Literal_Subtype>: Fold range type.
Make sure to set longest_float_type_node to a scalar type.
(elaborate_entity): Use consistent Constraint_Error spelling.
(substitute_in_type) <INTEGER_TYPE>: Always copy the type.
* gcc-interface/misc.c (gnat_print_type) <INTEGER_TYPE>: Use brief
output for the modulus, if any.
<ENUMERAL_TYPE>: Likewise for the RM size.
* gcc-interface/trans.c (gnat_to_gnu): Use consistent Constraint_Error
spelling.
* gcc-interface/utils.c (finish_record_type): Really test the alignment
of BLKmode bit-fields to compute their addressability.
(create_index_type): Adjust comments.
(create_param_decl): Create the biased subtype manually.
* gcc-interface/utils2.c (build_component_ref): Use consistent
Constraint_Error spelling.
From-SVN: r146644
Diffstat (limited to 'gcc/ada/gcc-interface/gigi.h')
-rw-r--r-- | gcc/ada/gcc-interface/gigi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/gcc-interface/gigi.h b/gcc/ada/gcc-interface/gigi.h index e9f6885..1dca8c9 100644 --- a/gcc/ada/gcc-interface/gigi.h +++ b/gcc/ada/gcc-interface/gigi.h @@ -141,7 +141,7 @@ extern tree choices_to_gnu (tree operand, Node_Id choices); nothing has changed. */ extern tree substitute_in_type (tree t, tree f, tree r); -/* Return the "RM size" of GNU_TYPE. This is the actual number of bits +/* Return the RM size of GNU_TYPE. This is the actual number of bits needed to represent the object. */ extern tree rm_size (tree gnu_type); @@ -542,9 +542,9 @@ extern tree create_subprog_type (tree return_type, tree param_decl_list, /* Return a copy of TYPE, but safe to modify in any way. */ extern tree copy_type (tree type); -/* Return an INTEGER_TYPE of SIZETYPE with range MIN to MAX and whose - TYPE_INDEX_TYPE is INDEX. GNAT_NODE is used for the position of - the decl. */ +/* Return a subtype of sizetype with range MIN to MAX and whose + TYPE_INDEX_TYPE is INDEX. GNAT_NODE is used for the position + of the associated TYPE_DECL. */ extern tree create_index_type (tree min, tree max, tree index, Node_Id gnat_node); |