https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106873
--- Comment #6 from Kemal Akcam <info at kemalakcam dot com> --- (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 of filing bugs like this and PR 106869, please find somewhere more > suitable to learn how C++ works. Both your "bugs" would be appropriate as > questions on StackOverflow (in fact they have probably already been answered > there, and you could find the answers by searching). "I find GCC's behaviour > surprising" is not a bug. I like writing a piece of code to analyse software behaviour and sometimes it is not the software that I'm analysing. I thank both of you giving quick insight with your responses. I still like GCC thou. Best regards.