aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/decl.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-11-18 14:51:35 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2013-11-18 14:51:35 +0000
commit5a36c51b09466ab6c403be328a970aa65e47bc90 (patch)
tree8468c5d166122c233a29c09bc14a7da63239676d /gcc/ada/gcc-interface/decl.c
parentcc269bb6d9f1538870dc94bc3b8cad8f749d1204 (diff)
downloadgcc-5a36c51b09466ab6c403be328a970aa65e47bc90.zip
gcc-5a36c51b09466ab6c403be328a970aa65e47bc90.tar.gz
gcc-5a36c51b09466ab6c403be328a970aa65e47bc90.tar.bz2
cuintp.c: Update comments to refer to tree_fits_shwi_p rather than host_integerp.
gcc/ada/ * gcc-interface/cuintp.c: Update comments to refer to tree_fits_shwi_p rather than host_integerp. * gcc-interface/decl.c (gnat_to_gnu_entity): Use tree_fits_uhwi_p rather than host_integerp. * gcc-interface/utils.c (rest_of_record_type_compilation): Likewise. gcc/ * expr.h: Update comments to refer to tree_fits_[su]hwi_p rather than host_integerp. From-SVN: r204957
Diffstat (limited to 'gcc/ada/gcc-interface/decl.c')
-rw-r--r--gcc/ada/gcc-interface/decl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c
index 3ad53c4..bbeb9a9 100644
--- a/gcc/ada/gcc-interface/decl.c
+++ b/gcc/ada/gcc-interface/decl.c
@@ -1484,8 +1484,8 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition)
&& AGGREGATE_TYPE_P (gnu_type)
&& tree_fits_uhwi_p (TYPE_SIZE_UNIT (gnu_type))
&& !(TYPE_IS_PADDING_P (gnu_type)
- && !host_integerp (TYPE_SIZE_UNIT
- (TREE_TYPE (TYPE_FIELDS (gnu_type))), 1)))
+ && !tree_fits_uhwi_p (TYPE_SIZE_UNIT
+ (TREE_TYPE (TYPE_FIELDS (gnu_type))))))
static_p = true;
/* Now create the variable or the constant and set various flags. */