On 05/23/2014 01:30 PM, Jan Hubicka wrote:
Vtables are always accessed via the vtbl pointer otherwise (that is almost always misaligned because of the offset to RTTI pointer), so for vtables static to given compilation unit, there is no way other compiler can derive the alignment based on ABI promises.
This makes sense to me. There's no reason why a compiler would rely on the alignment of the vtable as a whole, since access is always to a particular element.
Jason