On Fri, Apr 17, 2026 at 12:38:31AM +0300, Evgeniy Berdnikov wrote:
I can't imagine compiler generating different memory addresses for
such members.
that's not the issue.
if the compiler decides that it's undefined behavior, it might do
literally anything - usually it will just drop possibly large chunks of
code. this has been increasingly happening over the last years as
compilers are optimizing more and more aggressively. the "i can't
imagine a compiler would do something so obviously developer-hostile"
argument is wishful thinking.
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel