re PR rtl-optimization/47899 (ICE in get_loop_body, at cfgloop.c:831)
authorZdenek Dvorak <ook@ucw.cz>
Sat, 5 Mar 2011 14:28:14 +0000 (15:28 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 5 Mar 2011 14:28:14 +0000 (15:28 +0100)
commit634ee309bb7a6ece7b02ccb86aec0061d7e5e444
tree8380a4d0ef4aacbc3059d789c8ee2360c0c3d0fc
parent6fe471c8ca8eddcfa7ed64b290e24758bbca669e
re PR rtl-optimization/47899 (ICE in get_loop_body, at cfgloop.c:831)

PR rtl-optimization/47899
* cfgloopmanip.c (fix_bb_placements): Fix first argument
to flow_loop_nested_p when moving the loop upward.

* gcc.dg/pr47899.c: New test.

From-SVN: r170699
gcc/ChangeLog
gcc/cfgloopmanip.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr47899.c [new file with mode: 0644]