aboutsummaryrefslogtreecommitdiff
path: root/gcc/stor-layout.c
diff options
context:
space:
mode:
authorGeoff Keating <geoffk@cygnus.com>2000-04-03 00:17:03 -0600
committerJeff Law <law@gcc.gnu.org>2000-04-03 00:17:03 -0600
commitf0fddb1554eb70f0adb3eeb73fb5991a4686deb4 (patch)
tree52597e527b10490385fe55df22fb56164b0dffd7 /gcc/stor-layout.c
parent053f11267ab96a04ba8f5fe6181760cd19bf52cc (diff)
downloadgcc-f0fddb1554eb70f0adb3eeb73fb5991a4686deb4.zip
gcc-f0fddb1554eb70f0adb3eeb73fb5991a4686deb4.tar.gz
gcc-f0fddb1554eb70f0adb3eeb73fb5991a4686deb4.tar.bz2
stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than CEIL_DIV_EXPR.
* stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than CEIL_DIV_EXPR. From-SVN: r32874
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r--gcc/stor-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c
index 008c29c..c27cc22 100644
--- a/gcc/stor-layout.c
+++ b/gcc/stor-layout.c
@@ -451,7 +451,7 @@ byte_from_pos (offset, bitpos)
{
return size_binop (PLUS_EXPR, offset,
convert (sizetype,
- size_binop (CEIL_DIV_EXPR, bitpos,
+ size_binop (TRUNC_DIV_EXPR, bitpos,
bitsize_unit_node)));
}