This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ginclude/va-ppc.h confused about "long long" in overflow area


	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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]