Fix a problematic logic at unswitch-loops pass.
authorJing Yu <jingyu@google.com>
Thu, 8 Apr 2010 18:16:57 +0000 (18:16 +0000)
committerJing Yu <jingyu@gcc.gnu.org>
Thu, 8 Apr 2010 18:16:57 +0000 (18:16 +0000)
commitdc5ee869f578f51a2691833b4d60054bf7e2a0a9
tree06ba5a757773ce104bb48ef3ccbaae8c74222aaa
parent98c07c54a05e2969417acde52a8d132cfa51be18
Fix a problematic logic at unswitch-loops pass.

2010-04-07  Jing Yu  <jingyu@google.com>
            Zdenek Dvorak  <ook@ucw.cz>

PR tree-optimization/42720
* tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops): Move one-time
loop unswitch conditions here from
(tree_unswitch_single_loop).

Co-Authored-By: Zdenek Dvorak <ook@ucw.cz>
From-SVN: r158138
gcc/ChangeLog
gcc/tree-ssa-loop-unswitch.c