From: Marek Polacek Date: Wed, 11 Mar 2015 20:36:56 +0000 (+0000) Subject: re PR tree-optimization/65388 (Wrong comparison in same_succ_def::equal() tree-ssa... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=707550e43ef8d80a2e2213bc1f4b3af337092d2a;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6512b30fa44..28979d58b47 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-03-11 Marek Polacek + + PR tree-optimization/65388 + * tree-ssa-tail-merge.c (same_succ_def::equal): Fix typo in comparison. + 2015-03-10 Georg-Johann Lay PR target/65296 diff --git a/gcc/tree-ssa-tail-merge.c b/gcc/tree-ssa-tail-merge.c index 5d47813061f..2c48cb619c7 100644 --- a/gcc/tree-ssa-tail-merge.c +++ b/gcc/tree-ssa-tail-merge.c @@ -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; }