[Bug c++/106873] unsigned short skips byte when used for memory mapping depending on position in structure

info at kemalakcam dot com gcc-bugzilla@gcc.gnu.org
Wed Sep 7 16:35:37 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106873

--- Comment #3 from Kemal Akcam <info at kemalakcam dot com> ---
I did not report as if unsigned short was different than 2 bytes.

Please check the output and explain 
1. why output values changes?
2. why it reads/advances 10 bytes instead of 8 bytes?


More information about the Gcc-bugs mailing list