[Bug c/79319] sizeof returns the wrong size of a union containing aligned members

erik at ehofman dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 1 09:28:00 GMT 2017


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

Erik Hofman <erik at ehofman dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #2 from Erik Hofman <erik at ehofman dot com> ---
Ah okay I hadn't thought of that.
It's still confusing when encountering it for the first time..
Thanks for the answer.


More information about the Gcc-bugs mailing list