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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue May 17 12:53:30 2016
New Revision: 236320

URL: https://gcc.gnu.org/viewcvs?rev=236320&root=gcc&view=rev
Log:
2016-05-17  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/71132
        * tree-loop-distribution.c (create_rdg_cd_edges): Pass in loop.
        Only add control dependences for blocks in the loop.
        (build_rdg): Adjust.
        (generate_code_for_partition): Return whether loop should
        be destroyed and delay that.
        (distribute_loop): Likewise.
        (pass_loop_distribution::execute): Record loops to be destroyed
        and perform delayed destroying of loops.

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

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr71132.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-loop-distribution.c

Reply via email to