Commit 77e60088 by Marek Polacek Committed by Marek Polacek

re PR tree-optimization/61686 (Incorrect check in comparison function…

re PR tree-optimization/61686 (Incorrect check in comparison function range_entry_cmp() in tree_ssa_reassoc.c)

	PR tree-optimization/61686
	* tree-ssa-reassoc.c (range_entry_cmp): Use q->high instead of
	p->high.

From-SVN: r218560
parent 5d56a585
2014-12-10 Marek Polacek <polacek@redhat.com>
PR tree-optimization/61686
* tree-ssa-reassoc.c (range_entry_cmp): Use q->high instead of
p->high.
2014-12-10 Kito Cheng <kito@0xlab.org>
* doc/libgcc.texi: Update text to match implementation in
......@@ -2069,7 +2069,7 @@ range_entry_cmp (const void *a, const void *b)
else
return -1;
}
else if (p->high != NULL_TREE)
else if (q->high != NULL_TREE)
return 1;
/* If both ranges are the same, sort below by ascending idx. */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment