summaryrefslogtreecommitdiff
path: root/gcc/tree-object-size.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-18 16:00:55 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-18 16:00:55 +0000
commit81c6af2dc6f960f98ef064146de297755d6b0894 (patch)
tree6caa7792f45dc14f92d076c6b3fe85c28f7de3d0 /gcc/tree-object-size.c
parenta342dbb23c12ed61e824661be2dd672f6dceea4c (diff)
parentaa59f000a84f3f0016bcb959a077047090c8d91c (diff)
downloadgcc-81c6af2dc6f960f98ef064146de297755d6b0894.tar.gz
Merge from trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@204969 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-object-size.c')
-rw-r--r--gcc/tree-object-size.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/tree-object-size.c b/gcc/tree-object-size.c
index 81a922bd26a..be07fd03992 100644
--- a/gcc/tree-object-size.c
+++ b/gcc/tree-object-size.c
@@ -210,15 +210,13 @@ addr_object_size (struct object_size_info *osi, const_tree ptr,
else if (pt_var
&& DECL_P (pt_var)
&& tree_fits_uhwi_p (DECL_SIZE_UNIT (pt_var))
- && (unsigned HOST_WIDE_INT)
- tree_to_uhwi (DECL_SIZE_UNIT (pt_var)) < offset_limit)
+ && tree_to_uhwi (DECL_SIZE_UNIT (pt_var)) < offset_limit)
pt_var_size = DECL_SIZE_UNIT (pt_var);
else if (pt_var
&& TREE_CODE (pt_var) == STRING_CST
&& TYPE_SIZE_UNIT (TREE_TYPE (pt_var))
&& tree_fits_uhwi_p (TYPE_SIZE_UNIT (TREE_TYPE (pt_var)))
- && (unsigned HOST_WIDE_INT)
- tree_to_uhwi (TYPE_SIZE_UNIT (TREE_TYPE (pt_var)))
+ && tree_to_uhwi (TYPE_SIZE_UNIT (TREE_TYPE (pt_var)))
< offset_limit)
pt_var_size = TYPE_SIZE_UNIT (TREE_TYPE (pt_var));
else