]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mips.h (FUNCTION_ARG_REGNO_P): Fix to check only range of valid arg registers and...
authorEric Christopher <echristo@redhat.com>
Thu, 4 Mar 2004 10:02:31 +0000 (10:02 +0000)
committerEric Christopher <echristo@gcc.gnu.org>
Thu, 4 Mar 2004 10:02:31 +0000 (10:02 +0000)
2004-03-04  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h (FUNCTION_ARG_REGNO_P): Fix to check
only range of valid arg registers and fixed_regs.

From-SVN: r78899

gcc/ChangeLog
gcc/config/mips/mips.h

index 337c4c2e747d346bbc25fc0c2255aeed23435384..148e55da340d915c822953defba3d3a2cf80fbbb 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-04  Eric Christopher  <echristo@redhat.com>
+
+       * 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  <amodra@bigpond.net.au>
 
        PR target/14406
index d2612c929b9532152f7fb5c057b2d9142e1cb5ce..cb3a9f39349892fba2a1221c4dbbee3f15312f4f 100644 (file)
@@ -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])
 \f
 /* This structure has to cope with two different argument allocation