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
This commit is contained in:
parent
053f11267a
commit
f0fddb1554
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
|
||||
|
||||
* stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
|
||||
CEIL_DIV_EXPR.
|
||||
|
||||
2000-04-03 Philipp Thomas <pthomas@suse.de>
|
||||
|
||||
* i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
|
||||
|
|
|
@ -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)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue