diff options
author | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-22 19:40:28 +0000 |
---|---|---|
committer | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-22 19:40:28 +0000 |
commit | 47ed88a3b306762b293ff8f9407453a6dc166207 (patch) | |
tree | 8abb86447ab036d7fafa0dc0a46a4d24dcb22638 /gcc/lra-spills.c | |
parent | 3aeaa53f8517f8af51f62faeea903519381650b6 (diff) | |
download | gcc-47ed88a3b306762b293ff8f9407453a6dc166207.tar.gz |
PR c/61271
* ira-color.c (coalesced_pseudo_reg_slot_compare): Wrap LHS of
a comparison in parens.
* lra-spills.c (pseudo_reg_slot_compare): Wrap LHS of a comparison
in parens.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214359 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lra-spills.c')
-rw-r--r-- | gcc/lra-spills.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lra-spills.c b/gcc/lra-spills.c index a6fb65bf75f..8d494af38eb 100644 --- a/gcc/lra-spills.c +++ b/gcc/lra-spills.c @@ -237,7 +237,7 @@ pseudo_reg_slot_compare (const void *v1p, const void *v2p) slot_num2 = pseudo_slots[regno2].slot_num; if ((diff = slot_num1 - slot_num2) != 0) return (frame_pointer_needed - || !FRAME_GROWS_DOWNWARD == STACK_GROWS_DOWNWARD ? diff : -diff); + || (!FRAME_GROWS_DOWNWARD) == STACK_GROWS_DOWNWARD ? diff : -diff); total_size1 = GET_MODE_SIZE (lra_reg_info[regno1].biggest_mode); total_size2 = GET_MODE_SIZE (lra_reg_info[regno2].biggest_mode); if ((diff = total_size2 - total_size1) != 0) |