mirror of git://gcc.gnu.org/git/gcc.git
re PR regression/54084 (Bunch of fails for x86)
PR regression/54084 * sel-sched-ir.c (cmp_v_in_regset_pool): Clarify logic, fix pointer difference check. From-SVN: r189891
This commit is contained in:
parent
6dd8f4bb61
commit
d38933a003
|
|
@ -1,3 +1,9 @@
|
||||||
|
2012-07-26 Steven Bosscher <steven@gcc.gnu.org>
|
||||||
|
|
||||||
|
PR regression/54084
|
||||||
|
* sel-sched-ir.c (cmp_v_in_regset_pool): Clarify logic, fix
|
||||||
|
pointer difference check.
|
||||||
|
|
||||||
2012-07-26 Bill Schmidt <wschmidt@linux.ibm.com>
|
2012-07-26 Bill Schmidt <wschmidt@linux.ibm.com>
|
||||||
|
|
||||||
* tree-ssa-loop-ivopts.c (mbc_entry_hash): Remove.
|
* tree-ssa-loop-ivopts.c (mbc_entry_hash): Remove.
|
||||||
|
|
|
||||||
|
|
@ -954,7 +954,13 @@ return_regset_to_pool (regset rs)
|
||||||
static int
|
static int
|
||||||
cmp_v_in_regset_pool (const void *x, const void *xx)
|
cmp_v_in_regset_pool (const void *x, const void *xx)
|
||||||
{
|
{
|
||||||
return *((const regset *) x) - *((const regset *) xx);
|
uintptr_t r1 = (uintptr_t) *((const regset *) x);
|
||||||
|
uintptr_t r2 = (uintptr_t) *((const regset *) xx);
|
||||||
|
if (r1 > r2)
|
||||||
|
return 1;
|
||||||
|
else if (r1 < r2)
|
||||||
|
return -1;
|
||||||
|
gcc_unreachable ();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue