Fix for aliasing problem reported by Michael Matz.
authorJames E Wilson <wilson@specifixinc.com>
Mon, 1 Dec 2003 19:04:53 +0000 (19:04 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 1 Dec 2003 19:04:53 +0000 (11:04 -0800)
* config/ia64/ia64.h (FUNCTION_ARG_REGNO_P): Use AR_REG_FIRST not
GR_ARG_FIRST.

From-SVN: r74120

gcc/ChangeLog
gcc/config/ia64/ia64.h

index d3d205c9d28d4fe40cca570eb4697f9ebfbbce75..4dcabfc03b3b0312b48a8998177aa9a69af2ed85 100644 (file)
@@ -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.
index 44ef6c6e1e9784f5c5c34f0a0431f00e88ecf840..a1d0544b7f5b02121da2144efdf0a6ca80f58ed8 100644 (file)
@@ -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)))
 \f
 /* Implement `va_arg'.  */