[Bug tree-optimization/51070] [4.6/4.7 Regression] ICE verify_gimple failed

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 3 12:12:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51070

--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-03 12:11:49 UTC ---
Author: rguenth
Date: Tue Jan  3 12:11:41 2012
New Revision: 182840

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182840
Log:
2012-01-03  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/51070
        * tree-loop-distribution.c (generate_builtin): Do not replace
        the loop with a builtin if the partition contains statements which
        results are used outside of the loop.
        (stmt_has_scalar_dependences_outside_loop): Properly handle calls.

        * gcc.dg/torture/pr51070.c: New testcase.
        * gcc.dg/torture/pr51070-2.c: Likewise.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/torture/pr51070-2.c
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/torture/pr51070.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/tree-loop-distribution.c



More information about the Gcc-bugs mailing list