diff options
author | Geoff Keating <geoffk@cygnus.com> | 2000-04-03 00:17:03 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-04-03 00:17:03 -0600 |
commit | f0fddb1554eb70f0adb3eeb73fb5991a4686deb4 (patch) | |
tree | 52597e527b10490385fe55df22fb56164b0dffd7 /gcc/stor-layout.c | |
parent | 053f11267ab96a04ba8f5fe6181760cd19bf52cc (diff) | |
download | gcc-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.c | 2 |
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))); } |