This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/84132] [8 Regression] tree-data-ref.c:3938: poor coding ?


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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jan 31 13:07:53 2018
New Revision: 257232

URL: https://gcc.gnu.org/viewcvs?rev=257232&root=gcc&view=rev
Log:
2018-01-31  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/84132
        * tree-data-ref.c (analyze_miv_subscript): Properly
        check whether evolution_function_is_affine_multivariate_p
        before calling gcd_of_steps_may_divide_p.

        * g++.dg/torture/pr84132.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr84132.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-data-ref.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]