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
<rgue...@gcc.gnu.org>:

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

commit r10-9408-g85977f624a34eac309f9d77a58164553dfc82975
Author: Richard Biener <rguent...@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  <rguent...@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)

Reply via email to