diff options
author | Jeff Law <law@redhat.com> | 2012-10-26 11:33:11 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2012-10-26 11:33:11 -0600 |
commit | 24db014b404691782133ca6717bf73f26047341d (patch) | |
tree | 1d4ddcd24619c9b4714ac638541a60376319a144 /gcc/tree-ssa-threadedge.c | |
parent | 9eaff65375cda9e13fe4503404cbe1d91a00d26d (diff) | |
download | gcc-24db014b404691782133ca6717bf73f26047341d.zip gcc-24db014b404691782133ca6717bf73f26047341d.tar.gz gcc-24db014b404691782133ca6717bf73f26047341d.tar.bz2 |
* tree-ssa-threadedge.c (cond_arg_set_in_bb): Use last stmt.
From-SVN: r192852
Diffstat (limited to 'gcc/tree-ssa-threadedge.c')
-rw-r--r-- | gcc/tree-ssa-threadedge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-threadedge.c b/gcc/tree-ssa-threadedge.c index 6249e2f..ddaa7d1 100644 --- a/gcc/tree-ssa-threadedge.c +++ b/gcc/tree-ssa-threadedge.c @@ -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 |