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 tree-optimization/82244] [7 Regression] -O2: ICE: tree check: expected ssa_name, have integer_cst in replace_uses_by, at tree-cfg.c:1904


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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Sep 21 12:12:33 2017
New Revision: 253062

URL: https://gcc.gnu.org/viewcvs?rev=253062&root=gcc&view=rev
Log:
2017-09-21  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/82276
        PR tree-optimization/82244
        * tree-vrp.c (build_assert_expr_for): Set
        SSA_NAME_OCCURS_IN_ABNORMAL_PHI if the variable we assert on
        has it set.
        (remove_range_assertions): Revert earlier change.

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

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr82276.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c

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