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

--- Comment #14 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Tue Mar  1 23:12:10 2016
New Revision: 233870

URL: https://gcc.gnu.org/viewcvs?rev=233870&root=gcc&view=rev
Log:
        PR tree-optimization/69196
        * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
        Appropriately clamp the number of statements to copy when the
        thread path does not traverse a loop backedge.

        PR tree-optimization/69196
        * gcc.dg/tree-ssa/pr69196.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr69196-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-threadbackward.c

Reply via email to