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
This commit is contained in:
Jeff Law 2014-04-28 07:38:19 -06:00 committed by Jeff Law
parent 6c6aa8e6ca
commit 07357f2f5a
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2014-04-28 Jeff Law <law@redhat.com>
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.
2014-04-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/60979

View File

@ -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