3 ms·
In practice, both GCC and Clang consider pointers to these unaligned members to be UB and will flag them in UBSAN.
by AlotOfReading 5mo ago
In practice, both GCC and Clang consider pointers to these unaligned members to be UB and will flag them in UBSAN.