diff options
author | James E Wilson <wilson@specifixinc.com> | 2003-12-01 19:04:53 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2003-12-01 11:04:53 -0800 |
commit | 93868a8e5a0d648ff0e93c3a4416b04cd2387cb9 (patch) | |
tree | 3b9f9900234e0d014da56cec4baae2f9aec94386 | |
parent | d78e147a14209d759f79a95ca0fcdffce924eb81 (diff) | |
download | gcc-93868a8e5a0d648ff0e93c3a4416b04cd2387cb9.zip gcc-93868a8e5a0d648ff0e93c3a4416b04cd2387cb9.tar.gz gcc-93868a8e5a0d648ff0e93c3a4416b04cd2387cb9.tar.bz2 |
Fix for aliasing problem reported by Michael Matz.
* config/ia64/ia64.h (FUNCTION_ARG_REGNO_P): Use AR_REG_FIRST not
GR_ARG_FIRST.
From-SVN: r74120
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d3d205c..4dcabfc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-12-01 James E Wilson <wilson@specifixinc.com> + + * config/ia64/ia64.h (FUNCTION_ARG_REGNO_P): Use AR_REG_FIRST not + GR_ARG_FIRST. + 2003-12-01 Zack Weinberg <zack@codesourcery.com> * common.opt: Remove -fgnu-linker. diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h index 44ef6c6..a1d0544 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -1383,7 +1383,7 @@ do { \ On many machines, no registers can be used for this purpose since all function arguments are pushed on the stack. */ #define FUNCTION_ARG_REGNO_P(REGNO) \ -(((REGNO) >= GR_ARG_FIRST && (REGNO) < (GR_ARG_FIRST + MAX_ARGUMENT_SLOTS)) \ +(((REGNO) >= AR_ARG_FIRST && (REGNO) < (AR_ARG_FIRST + MAX_ARGUMENT_SLOTS)) \ || ((REGNO) >= FR_ARG_FIRST && (REGNO) < (FR_ARG_FIRST + MAX_ARGUMENT_SLOTS))) /* Implement `va_arg'. */ |