insn before the loop_end instruction, don't look past labels.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146980
138bc75d-0d04-0410-961f-
82ee72b054a4
* config/bfin/bfin.c (bfin_optimize_loop): If we need a scratch reg,
scan backwards to try to find a constant to initialize it.
+ * config/bfin/bfin.c (bfin_optimize_loop): When looking for the last
+ insn before the loop_end instruction, don't look past labels.
+
2009-04-29 Richard Guenther <rguenther@suse.de>
PR middle-end/39937
break;
if (single_pred_p (bb)
+ && single_pred_edge (bb)->flags & EDGE_FALLTHRU
&& single_pred (bb) != ENTRY_BLOCK_PTR)
{
bb = single_pred (bb);