Hacker News new | ask | show | jobs
by saagarjha 26 days ago
This is a non-standard extension, so your compiler may provide stronger guarantees.
1 comments

In practice, both GCC and Clang consider pointers to these unaligned members to be UB and will flag them in UBSAN.