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

Andrew Pinski pinskia@gmail.com
Tue Dec 30 04:30:00 GMT 2008

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

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

Andrew Pinski

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

* g++.dg/other/var_copy-1.C: New test.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vacopy.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081230/4bce0137/attachment.txt>

More information about the Gcc-patches mailing list