David Edelsohn <edelsohn@gnu.org>
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 May 1999 01:52:36 +0000 (01:52 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 May 1999 01:52:36 +0000 (01:52 +0000)
        * ginclude/stdarg.h (__va_rounded_size): Use long type for
        rounding on AIX.
        * ginclude/varargs.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26837 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ginclude/stdarg.h
gcc/ginclude/varargs.h

index 578df48..3db9085 100644 (file)
@@ -1,3 +1,9 @@
+Sat May  8 01:51:50 1999  David Edelsohn  <edelsohn@gnu.org>
+
+       * ginclude/stdarg.h (__va_rounded_size): Use long type for
+       rounding on AIX.
+       * ginclude/varargs.h: Likewise.
+
 Sat May  8 01:47:20 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
        * invoke.texi: Remove duplicates in the description of -d
index c9c6156..3607db1 100644 (file)
@@ -84,6 +84,9 @@ typedef void *__gnuc_va_list;
 #if defined(sysV68)
 #define __va_rounded_size(TYPE)  \
   (((sizeof (TYPE) + sizeof (short) - 1) / sizeof (short)) * sizeof (short))
+#elif defined(_AIX)
+#define __va_rounded_size(TYPE)  \
+  (((sizeof (TYPE) + sizeof (long) - 1) / sizeof (long)) * sizeof (long))
 #else
 #define __va_rounded_size(TYPE)  \
   (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
index d170407..132d1d1 100644 (file)
@@ -113,6 +113,9 @@ typedef void *__gnuc_va_list;
 #if defined(sysV68)
 #define __va_rounded_size(TYPE)  \
   (((sizeof (TYPE) + sizeof (short) - 1) / sizeof (short)) * sizeof (short))
+#elif defined(_AIX)
+#define __va_rounded_size(TYPE)  \
+  (((sizeof (TYPE) + sizeof (long) - 1) / sizeof (long)) * sizeof (long))
 #else
 #define __va_rounded_size(TYPE)  \
   (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))