summaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-03 00:31:53 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-03 00:31:53 +0000
commitab9856c93973cccb632619f9aa4b93d75c4e6fb0 (patch)
tree17a3a643332776424fef412bfde91616c63e05cd /gcc/regclass.c
parent0d89d361d8a11d1905dd8eaeb3b6e72e84718543 (diff)
downloadgcc-ab9856c93973cccb632619f9aa4b93d75c4e6fb0.tar.gz
* regclass.c (cannot_change_mode_set_regs): Correct argument order.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62302 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r--gcc/regclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index 5481ea2a26f..fe6f0a775e2 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -2640,7 +2640,7 @@ cannot_change_mode_set_regs (used, from, regno)
int i;
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
if (! TEST_HARD_REG_BIT (*used, i)
- && REG_CANNOT_CHANGE_MODE_P (from, to, i))
+ && REG_CANNOT_CHANGE_MODE_P (i, from, to))
SET_HARD_REG_BIT (*used, i);
}
}