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

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 3 10:36:32 GMT 2021


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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:85977f624a34eac309f9d77a58164553dfc82975

commit r10-9408-g85977f624a34eac309f9d77a58164553dfc82975
Author: Richard Biener <rguenther@suse.de>
Date:   Wed Jan 20 08:48:34 2021 +0100

    tree-optimization/98758 - fix integer arithmetic in data-ref analysis

    This fixes some int arithmetic issues and a bogus truncation.

    2021-01-20  Richard Biener  <rguenther@suse.de>

            PR tree-optimization/98758
            * tree-data-ref.c (int_divides_p): Use lambda_int arguments.
            (lambda_matrix_right_hermite): Avoid undefinedness with
            signed integer abs and multiplication.
            (analyze_subscript_affine_affine): Use lambda_int.

            * gcc.dg/torture/pr98758.c: New testcase.

    (cherry picked from commit 34599780d0de72faf5719ea08d11a061722b9d19)


More information about the Gcc-bugs mailing list