From e1abec2b6c76e939310fa347937137d41c67dcc6 Mon Sep 17 00:00:00 2001 From: meissner Date: Mon, 10 May 1993 15:51:47 +0000 Subject: Use __alignof__ instead of __alignof. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4408 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ginclude/va-mips.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ginclude/va-mips.h') diff --git a/gcc/ginclude/va-mips.h b/gcc/ginclude/va-mips.h index 3345abfcf40..ce96411854d 100644 --- a/gcc/ginclude/va-mips.h +++ b/gcc/ginclude/va-mips.h @@ -54,7 +54,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */ /* We cast to void * and then to TYPE * because this avoids a warning about increasing the alignment requirement. */ #define va_arg(__AP, __type) \ - ((__type *) (void *) (__AP = (char *) ((__alignof(__type) > 4 \ + ((__type *) (void *) (__AP = (char *) ((__alignof__(__type) > 4 \ ? ((int)__AP + 8 - 1) & -8 \ : ((int)__AP + 4 - 1) & -4) \ + __va_rounded_size(__type))))[-1] -- cgit v1.2.1