[Bug c/79319] sizeof returns the wrong size of a union containing aligned members
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 1 09:20:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79319
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
This is as otherwise you can't build arrays with that type (so it has to have
padding).
More information about the Gcc-bugs
mailing list