This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO] Fix C++ thunks
On Mon, Dec 29, 2008 at 6:03 PM, Rafael Espindola <espindola@google.com> wrote:
>>> This fixes 32 tests in libstdc++ and produces two new failures in
>>> g++ (because non-asm thunks don't support varargs).
>>
>> It should be possible to add this as we now have builtins to pass on
>> varargs properly.
>
> Which one? __builtin_apply? Ian tells me that it should not be used.
__builtin_va_arg_pack()
Richard.
> Cheers,
> --
> Rafael Avila de Espindola
>
> Google | Gordon House | Barrow Street | Dublin 4 | Ireland
> Registered in Dublin, Ireland | Registration Number: 368047
>