summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-04 10:02:31 +0000
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-04 10:02:31 +0000
commit7262f0b8f13f7befe0dedc0755d61fc0a9fd8516 (patch)
treeeef6440ac391829a0b94b858153205acf37f0dca
parentac1a7e5a687b39f2a0c483fb83004b834893ef61 (diff)
downloadppe42-gcc-7262f0b8f13f7befe0dedc0755d61fc0a9fd8516.tar.gz
ppe42-gcc-7262f0b8f13f7befe0dedc0755d61fc0a9fd8516.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78899 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 337c4c2e747..148e55da340 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index d2612c929b9..cb3a9f39349 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
OpenPOWER on IntegriCloud