This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Further analysis of g77.f-torture/execute/20000503-1.f
On Sat, Jul 08, 2000 at 05:15:44PM +0200, Toon Moene wrote:
> Please review this patch - it might need some polishing (for one, I do
> not understand why I need *TRUNC*_MOD_EXPR - I just copied the condition
> from earlier in the function).
It doesn't make any difference, really. Any of TRUNC, EXACT, CEIL,
FLOOR, or ROUND_MOD_EXPR would yield non-zero results unless op1 is
an exact multiple of c.
> * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
> Check whether c divides op1 exactly if operation is not
> multiplication.
Ok. Thanks.
r~