4 ms·
Didn't know about the GCC amd64 array alignment issues >16bytes and >32bytes. Horrible for my method dispatch, not just C++ vtables (fixed with gcc-5.0). Cann
by rurban 12y ago
Didn't know about the GCC amd64 array alignment issues
>16bytes and >32bytes. Horrible for my method dispatch, not just C++ vtables (fixed with gcc-5.0).
Cannot this be overturned with the aligned or packed attribute? (if not on the stack as this was broken for aligned for while)
- jacquesm 12y agoThat's pretty easy to test, simply compile an array of pointers to functions in the BSS and then print the sizeof (or use nm), then do it again in packed mode.