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

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Sep  3 13:28:25 2018
New Revision: 264057

URL: https://gcc.gnu.org/viewcvs?rev=264057&root=gcc&view=rev
Log:
2018-09-03  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/87197
        * tree-ssa-sccvn.c (vn_nary_build_or_lookup_1): Mark the new def
        visited.  CSE the VN_INFO hashtable lookup.

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

        PR tree-optimization/87169
        * tree-ssa-sccvn.c (do_rpo_vn): When marking loops for not
        iterating make sure there's no extra backedges from irreducible
        regions feeding the header.  Mark the destination block
        executable.

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

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr87169.c
    trunk/gcc/testsuite/gcc.dg/torture/pr87197.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-sccvn.c

Reply via email to