3 ms·
> Thus I think it is absolutely a bug. While I agree with your rationale, I disagree with it's application in this case. Changing this compiler behavior won't
by MaulingMonkey 7y ago
> Thus I think it is absolutely a bug.
While I agree with your rationale, I disagree with it's application in this case. Changing this compiler behavior won't get rid of alignment-related crashes - it'll just make them harder for me to reproduce / debug because I'll have to get coredumps and symbols off of my ARM hardware instead.
> [...] MSVC [...]
Has it's own history of alignment issues as well FWIW, although I'm happy to see that v19 seems to error out on __declspec(align(...))ments it won't guarantee for parameters - whereas that used to be a mere warning. A warning that was missing and wouldn't trigger in at least one MSVC version, which caused it's share of debugging sessions for me: https://clang.godbolt.org/z/hykGEm https://clang.godbolt.org/z/hykGEm