aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-02-11 08:37:07 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2002-02-11 08:37:07 +0000
commit1d1ade42a54c38522533a9ddc8347d8dfb41a5c7 (patch)
treec9ab3c19f82e4aed2d067e6c73f7eddb73c4e116 /gcc
parent4210cb5b17ef3c0b39e800aecfc5bccf016307ff (diff)
downloadgcc-1d1ade42a54c38522533a9ddc8347d8dfb41a5c7.zip
gcc-1d1ade42a54c38522533a9ddc8347d8dfb41a5c7.tar.gz
gcc-1d1ade42a54c38522533a9ddc8347d8dfb41a5c7.tar.bz2
* config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
From-SVN: r49674
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/sh/sh.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0ae6707..d669773 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
2002-02-11 Alexandre Oliva <aoliva@redhat.com>
+ * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
+
* combine.c (try_combine): Apply substitutions in
CALL_INSN_FUNCTION_USAGE too.
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index 3f0cad2..800f3d9 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -1421,10 +1421,10 @@ extern const enum reg_class reg_class_from_letter[];
/* 1 if N is a possible register number for function argument passing. */
#define FUNCTION_ARG_REGNO_P(REGNO) \
(((REGNO) >= FIRST_PARM_REG && (REGNO) < (FIRST_PARM_REG \
- + NPARM_REGS (SImode)) \
+ + NPARM_REGS (SImode))) \
|| (TARGET_FPU_ANY \
&& (REGNO) >= FIRST_FP_PARM_REG && (REGNO) < (FIRST_FP_PARM_REG \
- + NPARM_REGS (SFmode)))))
+ + NPARM_REGS (SFmode))))
/* Define a data type for recording info about an argument list
during the scan of that argument list. This data type should