diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-01-19 04:23:39 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-01-19 04:23:39 +0000 |
commit | bed3e6b43fd47bf972a6d587255823a1014182d4 (patch) | |
tree | 7cc6295dad7ae1b102e0bdee8cbdc4c76acbe5f2 /gcc/ginclude/va-i860.h | |
parent | 7628b7301299cd4e1337a714d55a5857012eef34 (diff) | |
download | gcc-bed3e6b43fd47bf972a6d587255823a1014182d4.tar.gz |
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude/va-i860.h')
-rw-r--r-- | gcc/ginclude/va-i860.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ginclude/va-i860.h b/gcc/ginclude/va-i860.h index dc9a06255e9..7da84b43ae2 100644 --- a/gcc/ginclude/va-i860.h +++ b/gcc/ginclude/va-i860.h @@ -46,10 +46,10 @@ typedef struct { #ifdef __SVR4__ unsigned __ireg_used; /* How many int regs consumed 'til now? */ unsigned __freg_used; /* How many flt regs consumed 'til now? */ - __va_saved_regs *__reg_base; /* Address of where we stored the regs. */ + long *__reg_base; /* Address of where we stored the regs. */ long * __mem_ptr; /* Address of memory overflow args area. */ #else /* pre-SVR4 */ - __va_saved_regs *__reg_base; /* Address of where we stored the regs. */ + long *__reg_base; /* Address of where we stored the regs. */ long * __mem_ptr; /* Address of memory overflow args area. */ unsigned __ireg_used; /* How many int regs consumed 'til now? */ unsigned __freg_used; /* How many flt regs consumed 'til now? */ @@ -88,7 +88,7 @@ enum { #define __NUM_PARM_FREGS 8 #define __NUM_PARM_IREGS 12 -#define __savereg(__va) (__va.__reg_base) +#define __savereg(__va) ((__va_saved_regs *) (__va.__reg_base) /* This macro works both for SVR4 and pre-SVR4 environments. */ @@ -105,6 +105,7 @@ enum { #endif #define va_arg(__va, __type) \ +__extension__ \ (* (__type *) \ ({ \ register void *__rv; /* result value */ \ |