|
|
|
|
|
by leni536
29 days ago
|
|
Unaligned access being fine in one architecture, but not in others would create separate dialects, regardless of being blessed by ISO C. Just don't do unaligned access, it's a dialect that doesn't exist currently, and should never exist. |
|
That doesn't mean unaligned access would need to be UB. It could be implementation defined. Or could just be defined to result in an error on all machines.