re PR rtl-optimization/27735 (ICE at -O3 caused by loop unswitching)
authorZdenek Dvorak <dvorakz@suse.cz>
Wed, 30 Aug 2006 08:14:29 +0000 (10:14 +0200)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Wed, 30 Aug 2006 08:14:29 +0000 (08:14 +0000)
commitdc14f1915ccb1fb35de2c582f6cd98837cadc0b5
tree60331baa5669c81c73c3772f0667c674953ff487
parentb0d3a6aeb8b18937740877996a862d7dd7e65557
re PR rtl-optimization/27735 (ICE at -O3 caused by loop unswitching)

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.

From-SVN: r116582
gcc/ChangeLog
gcc/cfgloopmanip.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/loop-unswitch-1.c [new file with mode: 0644]