[Bug tree-optimization/46355] [4.5 Regression] ICE: SIGSEGV in create_preheader (cfgloopmanip.c:1336) with -O -fstrict-overflow -ftree-loop-distribution

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 12 15:31:00 GMT 2010


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-12 14:43:24 UTC ---
Fixed.

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-12 14:43:25 UTC ---
Author: rguenth
Date: Fri Nov 12 14:43:19 2010
New Revision: 166652

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166652
Log:
2010-11-12  Richard Guenther  <rguenther@suse.de>

    Backport from mainline
    2010-11-09  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/46355
    * tree-loop-distribution.c (tree_loop_distribution): Do not
    distribute loops without a single exit.

    * gcc.dg/pr46355.c: New testcase.

    2010-11-02  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/46177
    * tree-loop-distribution.c (prop_phis): Use
    mark_virtual_phi_result_for_renaming.

    * gcc.dg/pr46177.c: New testcase.

    2010-11-09  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/46177
    * tree-loop-distribution.c (prop_phis): Remove.
    (generate_builtin): Re-use the old loop exit edge to avoid
    needing to update PHI nodes.

    * gcc.dg/pr46177-2.c: New testcase.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr46177-2.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr46177.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr46355.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-loop-distribution.c



More information about the Gcc-bugs mailing list