Re:Everything in C is undefined behavior
by saagarjha on Wednesday May 20, 2026 @07:22AM
(#48205993)
This is a non-standard extension, so your compiler may provide stronger guarantees.
[ Parent
| on HN ]
Re:Everything in C is undefined behavior
by AlotOfReading on Wednesday May 20, 2026 @01:28PM
(#48211108)
In practice, both GCC and Clang consider pointers to these unaligned members to be UB and will flag them in UBSAN.