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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:34599780d0de72faf5719ea08d11a061722b9d19

commit r11-6811-g34599780d0de72faf5719ea08d11a061722b9d19
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.

Reply via email to