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

2022-09-11 Thread info at kemalakcam dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106873 --- Comment #6 from Kemal Akcam --- (In reply to Jonathan Wakely from comment #5) > Read https://en.cppreference.com/w/c/language/object#Alignment (for C) and > https://en.cppreference.com/w/cpp/language/object#Alignment (for C++). > > Instead

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

2022-09-07 Thread info at kemalakcam dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106873 --- Comment #3 from Kemal Akcam --- 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?

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

2022-09-07 Thread info at kemalakcam dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106873 Bug ID: 106873 Summary: unsigned short skips byte when used for memory mapping depending on position in structure Product: gcc Version: 12.1.0 Status: UNCONFIRMED

[Bug c++/106869] New: ranges::unique does nothing unless ranges::sort called first or something else is wrong.

2022-09-07 Thread info at kemalakcam dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106869 Bug ID: 106869 Summary: ranges::unique does nothing unless ranges::sort called first or something else is wrong. Product: gcc Version: 12.1.0 Status: UNCONFIRMED