This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

[PATCH] Fix C++/36799, va_copy in C++0x mode


This is really a patch ping but the patch given there needed a
changelog and a testcase so I did that
(http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00146.html).  I had came
up with the same patch myself too before finding the patch that was
posted.

OK? Bootstrapped and tested on i386-darwin8.11 with no regressions.

Thanks,
Andrew Pinski

ChangeLog:
* ginclude/stdarg.h (va_copy): Define also for __GXX_EXPERIMENTAL_CXX0X__.

* g++.dg/other/var_copy-1.C: New test.

Attachment: vacopy.diff.txt
Description: Text document


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