Commit f0fddb15 by Geoff Keating Committed by Jeff Law

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
parent 053f1126
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> 2000-04-03 Philipp Thomas <pthomas@suse.de>
* i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo. * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
......
...@@ -451,7 +451,7 @@ byte_from_pos (offset, bitpos) ...@@ -451,7 +451,7 @@ byte_from_pos (offset, bitpos)
{ {
return size_binop (PLUS_EXPR, offset, return size_binop (PLUS_EXPR, offset,
convert (sizetype, convert (sizetype,
size_binop (CEIL_DIV_EXPR, bitpos, size_binop (TRUNC_DIV_EXPR, bitpos,
bitsize_unit_node))); bitsize_unit_node)));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment