patch for objc failures
Jeffrey A Law
law@cygnus.com
Sun Apr 2 23:17:00 GMT 2000
In message < 200004022144.OAA00505@localhost.cygnus.com >you write:
>
> This patch seems to fix the objc failures with current GCC, and not
> cause any regressions.
>
> OK to commit?
>
> --
> - Geoffrey Keating <geoffk@cygnus.com>
>
> ===File ~/patches/cygnus/egcs-bytefrompos.patch=============
> 2000-04-01 Geoffrey Keating <geoffk@cygnus.com>
>
> * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
> CEIL_DIV_EXPR.
Agreed. I went ahead and installed the patch. The old code did (effectively)
a TRUNC division, and truncation just makes a lot more sense here than
CEIL division.
jeff
More information about the Gcc-patches
mailing list