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
This commit is contained in:
parent
5d56a5854f
commit
77e6008875
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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. */
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue