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

2010-11-12 Thread rguenth at gcc dot gnu.org
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=gccview=revrev=166652
Log:
2010-11-12  Richard Guenther  rguent...@suse.de

Backport from mainline
2010-11-09  Richard Guenther  rguent...@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  rguent...@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  rguent...@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


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

2010-11-12 Thread rguenth at gcc dot gnu.org
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.


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

2010-11-09 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46355

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

  Known to work||4.6.0
Summary|[4.5/4.6 Regression] ICE:   |[4.5 Regression] ICE:
   |SIGSEGV in create_preheader |SIGSEGV in create_preheader
   |(cfgloopmanip.c:1336) with  |(cfgloopmanip.c:1336) with
   |-O -fstrict-overflow|-O -fstrict-overflow
   |-ftree-loop-distribution|-ftree-loop-distribution
  Known to fail|4.6.0   |

--- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-09 
16:54:52 UTC ---
Fixed on the trunk sofar.