summaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 659bfbb5566..535b897f80c 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -1053,8 +1053,7 @@ excess_unit_span (HOST_WIDE_INT byte_offset, HOST_WIDE_INT bit_offset,
offset = offset % align;
return ((offset + size + align - 1) / align
- > ((unsigned HOST_WIDE_INT) tree_to_uhwi (TYPE_SIZE (type))
- / align));
+ > tree_to_uhwi (TYPE_SIZE (type)) / align);
}
#endif