https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107844

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The reason why is folded is because some folks use the null pointer for
offsetof (previously before GCC added __builtin_offsetof).

I wonder if you could use __builtin_offsetof here.
I also curious how this is implemented in clang ...

Reply via email to