This is the mail archive of the gcc@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]

Re: vtable_thunks in powerpc-eabi?


> Are you sure that definition of ASM_OUTPUT_MI_THUNK is necessary?

AFAICT, it is not strictly needed. If not available, the compiler will
generate wrapper functions rather than thunking half-functions when
having to adjust the this-pointer in case of multiple inheritance. If
the virtual function has varargs, this is not possible, and the
compiler will be sorry.

I guess it is not difficult to provide MI thunks; it just hasn't been
done.

Regards,
Martin


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