re PR tree-optimization/65388 (Wrong comparison in same_succ_def::equal() tree-ssa-tail-merge.c:590)

PR tree-optimization/65388
	* tree-ssa-tail-merge.c (same_succ_def::equal): Fix typo in comparison.

From-SVN: r221359
This commit is contained in:
Marek Polacek 2015-03-11 20:36:56 +00:00 committed by Marek Polacek
parent 17958621a2
commit 707550e43e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-03-11 Marek Polacek <polacek@redhat.com>
PR tree-optimization/65388
* tree-ssa-tail-merge.c (same_succ_def::equal): Fix typo in comparison.
2015-03-10 Georg-Johann Lay <avr@gjlay.de>
PR target/65296

View File

@ -587,7 +587,7 @@ same_succ_def::equal (const value_type *e1, const compare_type *e2)
if (!inverse_flags (e1, e2))
{
for (i = 0; i < e1->succ_flags.length (); ++i)
if (e1->succ_flags[i] != e1->succ_flags[i])
if (e1->succ_flags[i] != e2->succ_flags[i])
return 0;
}