https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96993
--- Comment #5 from Jan Smets <jan.smets at nokia dot com> --- Hi Andrew I agree that __builtin_offsetof would of good use here. However, I believe this code predates the availability of the builtin (was written around the time we were using gcc3.4)