From: Kaveh R. Ghazi Date: Mon, 1 Jul 2002 12:13:03 +0000 (+0000) Subject: * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses. X-Git-Tag: releases/gcc-3.3.0~4029 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8bf3ccbbbd4cfbcd1ca9e16f57af9c7ae387b07d;p=thirdparty%2Fgcc.git * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses. From-SVN: r55133 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 87200bca3c00..d2dac9579177 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-07-01 Kaveh R. Ghazi + + * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses. + 2002-06-30 Devang Patel * 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 67e3fc1590e3..301f7cac9d2a 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