[Bug tree-optimization/98758] [9/10 Regression] ice in lambda_matrix_right_hermite by r9-3927

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jan 20 08:47:19 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98758

--- Comment #5 from David Binderman <dcb314 at hotmail dot com> ---
Minor quibble over the patch. I notice that integer division by abs_b occurs.

Belt and braces, but is zero a legal value for abs_b ? 

If so, it might be worth putting in some code to avoid divide by zero.

If not, it might be worth putting in some code to show the future
readers of the code that integer division by zero doesn't happen.


More information about the Gcc-bugs mailing list