[Bug c/82265] packed attribute on variables in gcc-7.1.1 no more accepted
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 20 06:09:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82265
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Note that all GCC releases I have (4.5.0) warn the same about the attribute:
pr82265.c:1:1: warning: ‘packed’ attribute ignored [-Wattributes]
Question of the alignment is a different story, using packed attribute is
probably an abuse of the attribute.
More information about the Gcc-bugs
mailing list