rs6000.h (USE_FP_FOR_ARG_P): Move to rs6000.c.
authorGeoffrey Keating <geoffk@apple.com>
Thu, 6 Nov 2003 21:52:36 +0000 (21:52 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Thu, 6 Nov 2003 21:52:36 +0000 (21:52 +0000)
commit2858f73ac1ea6ce3ea2841412bbcca0a4457d939
treec287691f13ab129d28d129a7659cd182d4d7dae7
parent8c17530ef3d7a0e4db6706df5507ace7714ad56d
rs6000.h (USE_FP_FOR_ARG_P): Move to rs6000.c.

* config/rs6000/rs6000.h (USE_FP_FOR_ARG_P): Move to rs6000.c.
(USE_ALTIVEC_FOR_ARG_P): Likewise.
* config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Move from rs6000.h.
Take a pointer as the CUM parameter.  Update callers.
(USE_ALTIVEC_FOR_ARG_P): Likewise.  Also correct for Darwin/AIX
32-bit ABIs.
(function_arg_advance): Use USE_ALTIVEC_FOR_ARG_P.  Correct case
of vector parameters as named arguments of stdarg function.
(function_arg): Likewise.

* config/rs6000/darwin.h (ASM_SPEC): Use -force_cpusubtype_ALL when
-maltivec is specified, not the non-existent -faltivec.

From-SVN: r73317
gcc/ChangeLog
gcc/config/rs6000/darwin.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/altivec-varargs-1.c [new file with mode: 0644]