PR rtl-optimization/27735
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2006 08:14:29 +0000 (08:14 +0000)
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Aug 2006 08:14:29 +0000 (08:14 +0000)
commitafd8eb66d431dd78ca6599c78a6048e562e18ecc
tree60331baa5669c81c73c3772f0667c674953ff487
parentc9891f6d2ebd140d0647fce023c5e1b211e4db50
PR rtl-optimization/27735
* cfgloopmanip.c (fix_loop_placements, fix_bb_placements, unloop):
Add new argument to keep track of whether an irreducible region
was affected.  All callers changed.
(fix_irreducible_loops): Removed.
(remove_path): Call mark_irreducible_loops if EDGE_IRREDUCIBLE_LOOP
flags were invalidated.

* gcc.dg/loop-unswitch-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116582 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgloopmanip.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/loop-unswitch-1.c [new file with mode: 0644]