diff options
author | Jeff Law <law@redhat.com> | 2014-04-28 07:38:19 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2014-04-28 07:38:19 -0600 |
commit | 07357f2f5a81e008b78af738e5e0050d850425a8 (patch) | |
tree | a75c0f64105fcedae9d4a9f266e4f16235c96325 /gcc/tree-ssa-threadedge.c | |
parent | 6c6aa8e6ca95c9415d21359e606bc0bba1b87846 (diff) |
re PR tree-optimization/60902 (ffmpeg built with gcc 4.9 RC produces incorrect flac playback code)
PR tree-optimization/60902
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts_at_dest): Only iterate
over real defs when invalidating outputs from statements that do not
produce useful outputs for threading.
From-SVN: r209860
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 8a0103b1637..7621348944f 100644 --- a/gcc/tree-ssa-threadedge.c +++ b/gcc/tree-ssa-threadedge.c @@ -398,7 +398,7 @@ record_temporary_equivalences_from_stmts_at_dest (edge e, ssa_op_iter iter; if (backedge_seen) - FOR_EACH_SSA_TREE_OPERAND (op, stmt, iter, SSA_OP_ALL_DEFS) + FOR_EACH_SSA_TREE_OPERAND (op, stmt, iter, SSA_OP_DEF) { /* This call only invalidates equivalences created by PHI nodes. This is by design to keep the cost of |