summaryrefslogtreecommitdiff
path: root/gcc/ginclude/va-i860.h
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-01-19 04:23:39 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-01-19 04:23:39 +0000
commitbed3e6b43fd47bf972a6d587255823a1014182d4 (patch)
tree7cc6295dad7ae1b102e0bdee8cbdc4c76acbe5f2 /gcc/ginclude/va-i860.h
parent7628b7301299cd4e1337a714d55a5857012eef34 (diff)
downloadgcc-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.h7
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 */ \