From: Eric Christopher Date: Thu, 4 Mar 2004 10:02:31 +0000 (+0000) Subject: mips.h (FUNCTION_ARG_REGNO_P): Fix to check only range of valid arg registers and... X-Git-Tag: releases/gcc-4.0.0~9637 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca87076c9bfac0090fcc26c06dd1c24dc5e72bc9;p=thirdparty%2Fgcc.git mips.h (FUNCTION_ARG_REGNO_P): Fix to check only range of valid arg registers and fixed_regs. 2004-03-04 Eric Christopher * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Fix to check only range of valid arg registers and fixed_regs. From-SVN: r78899 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 337c4c2e747d..148e55da340d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-03-04 Eric Christopher + + * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Fix to check + only range of valid arg registers and fixed_regs. + 2004-03-04 Alan Modra PR target/14406 diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index d2612c929b95..cb3a9f393498 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -2201,8 +2201,7 @@ extern enum reg_class mips_char_to_class[256]; #define FUNCTION_ARG_REGNO_P(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)) \ + || (IN_RANGE((N), FP_ARG_FIRST, FP_ARG_LAST))) \ && !fixed_regs[N]) /* This structure has to cope with two different argument allocation