← Back to context Comment by saagarjha 5 months ago This is a non-standard extension, so your compiler may provide stronger guarantees. 1 comment saagarjha Reply AlotOfReading 5 months ago In practice, both GCC and Clang consider pointers to these unaligned members to be UB and will flag them in UBSAN.
AlotOfReading 5 months ago In practice, both GCC and Clang consider pointers to these unaligned members to be UB and will flag them in UBSAN.
In practice, both GCC and Clang consider pointers to these unaligned members to be UB and will flag them in UBSAN.