* tree-ssa-threadedge.c (cond_arg_set_in_bb): Use last stmt.

From-SVN: r192852
This commit is contained in:
Jeff Law 2012-10-26 11:33:11 -06:00 committed by Jeff Law
parent 9eaff65375
commit 24db014b40
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2012-10-26 Jeff Law <law@redhat.com>
* tree-ssa-threadedge.c (cond_arg_set_in_bb): Use last stmt.
2012-10-26 Gunther Nikl <gnikl@users.sourceforge.net>
* common/config/m68k/m68k-common.c (m68k_handle_option): Set

View file

@ -584,7 +584,7 @@ cond_arg_set_in_bb (edge e, basic_block bb)
{
ssa_op_iter iter;
use_operand_p use_p;
gimple last = gsi_stmt (gsi_last_bb (e->dest));
gimple last = last_stmt (e->dest);
/* E->dest does not have to end with a control transferring
instruction. This can occurr when we try to extend a jump