re PR tree-optimization/23048 (ICE in get_loop_body with -O1 -ftree-vectorize on...
authorDevang Patel <dpatel@apple.com>
Fri, 19 Aug 2005 17:54:16 +0000 (10:54 -0700)
committerDevang Patel <dpatel@gcc.gnu.org>
Fri, 19 Aug 2005 17:54:16 +0000 (10:54 -0700)
commit3d91803a0bef3a11c5ef7ff86a51fa91a2bcd581
tree1016344868a3b33776af1c9c10fcdd485a44ec50
parente55ef7f426bab0863601f5f0d3e7a98e87806c5d
re PR tree-optimization/23048 (ICE in get_loop_body with -O1 -ftree-vectorize on 4.1.x)

       PR tree-optimization/23048
       * tree-if-conv.c (if_convertible_bb_p): Supply basic_block as
       third parameter. Check whether latch is dominated by exit
       block or not.
       (if_convertible_loop_p): Supply exit block itself to
       if_convertible_bb_p.

       * gcc.dg/tree-ssa/pr23048.c: New test.

From-SVN: r103287
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr23048.c [new file with mode: 0644]
gcc/tree-if-conv.c