This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
ginclude/va-ppc.h confused about "long long" in overflow area
- To: Michael Meissner <meissner at cygnus dot com>
- Subject: ginclude/va-ppc.h confused about "long long" in overflow area
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Mon, 31 Aug 1998 18:31:02 -0400
- Cc: egcs-bugs at cygnus dot com
In va_arg macro:
if (__va_longlong_p(TYPE) && ((long)__va_overflow(AP) & 4) != 0) \
__va_overflow(AP) += 4; \
does not match the way the compiler is storing "long long" arguments in
the stack that do not fit in registers. I do not know if the compiler is
implementing the SVR4 PPC ABI incorrectly or if the va_args macro is
applying the register alignment requirement to the stack improperly.
David