[patch] Avoid division by zero in data-refs dependence analysis
Thu Mar 22 15:04:00 GMT 2007
An attempt to divide by zero was made (causing ICE on the attached test
case) for evolution functions with zero step.
Thanks to Revital for the test case.
Bootstrapped and tested on ppc-linux.
O.K. for mainline?
* tree-data-ref.c (chrec_steps_divide_constant_p): Avoid division
(See attached file: patch.txt)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Gcc-patches