Commit 93868a8e by James E Wilson Committed by Jim Wilson

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
parent d78e147a
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> 2003-12-01 Zack Weinberg <zack@codesourcery.com>
* common.opt: Remove -fgnu-linker. * common.opt: Remove -fgnu-linker.
......
...@@ -1383,7 +1383,7 @@ do { \ ...@@ -1383,7 +1383,7 @@ do { \
On many machines, no registers can be used for this purpose since all On many machines, no registers can be used for this purpose since all
function arguments are pushed on the stack. */ function arguments are pushed on the stack. */
#define FUNCTION_ARG_REGNO_P(REGNO) \ #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))) || ((REGNO) >= FR_ARG_FIRST && (REGNO) < (FR_ARG_FIRST + MAX_ARGUMENT_SLOTS)))
/* Implement `va_arg'. */ /* Implement `va_arg'. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment