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

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 20 08:38:35 GMT 2021


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

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

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


More information about the Gcc-bugs mailing list