aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-07-01 12:13:03 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-07-01 12:13:03 +0000
commit8bf3ccbbbd4cfbcd1ca9e16f57af9c7ae387b07d (patch)
tree0f3bfaec70823376dc84a37ffcc1b723ad009df1 /gcc
parent0201312b89f7c8b20539b4374bc0a275be0d8633 (diff)
downloadgcc-8bf3ccbbbd4cfbcd1ca9e16f57af9c7ae387b07d.zip
gcc-8bf3ccbbbd4cfbcd1ca9e16f57af9c7ae387b07d.tar.gz
gcc-8bf3ccbbbd4cfbcd1ca9e16f57af9c7ae387b07d.tar.bz2
* mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
From-SVN: r55133
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mips/mips.h9
2 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 87200bc..d2dac95 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
+
2002-06-30 Devang Patel <dpatel@apple.com>
* objc/objc-act.c (finish_file): Avoid finish_objc() if
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 67e3fc1..301f7ca 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -2573,11 +2573,10 @@ extern enum reg_class mips_char_to_class[256];
/* For o64 we should be checking the mode for SFmode as well. */
#define FUNCTION_ARG_REGNO_P(N) \
- ((((N) >= GP_ARG_FIRST && (N) <= GP_ARG_LAST) \
- || ((N) >= FP_ARG_FIRST && (N) <= FP_ARG_LAST \
- && (((N) % FP_INC) == 0 \
- && (! mips_abi == ABI_O64))) \
- && !fixed_regs[N]))
+ ((IN_RANGE((N), GP_ARG_FIRST, GP_ARG_LAST) \
+ || (IN_RANGE((N), FP_ARG_FIRST, FP_ARG_LAST) \
+ && ((N) % FP_INC == 0) && mips_abi != ABI_O64)) \
+ && !fixed_regs[N])
/* A C expression which can inhibit the returning of certain function
values in registers, based on the type of value. A nonzero value says