PR tree-optimization/52255
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Feb 2012 10:20:26 +0000 (10:20 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Feb 2012 10:20:26 +0000 (10:20 +0000)
commit38091110b0abe5afe1594f002f58521fd02b46d3
treebcc4d6f1cbee98dbf9bb01d20e7a4e350b084a42
parentd114e642dbedf2d6713dee17f49eafe38cace351
PR tree-optimization/52255
* tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): If
loop->header has virtual PHI, but exit_e->dest doesn't, add
virtual PHI to exit_e->dest and adjust all uses after the loop.

* gcc.c-torture/compile/pr52255.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184306 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr52255.c [new file with mode: 0644]
gcc/tree-vect-loop-manip.c