Further analysis of g77.f-torture/execute/20000503-1.f

Richard Henderson rth@cygnus.com
Sat Jul 8 13:35:00 GMT 2000


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~


More information about the Gcc-bugs mailing list