https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82265
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |documentation
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-09-20
Ever confirmed|0 |1
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Packed has been ignored on variables since (~GCC 2.3):
commit 8fa094cd6675ea40912db2da3ac34f914777b155
Author: rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon Jul 6 20:45:11 1992 +0000
(decl_attributes): Don't set DECL_PACKED on VAR_DECL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1480
138bc75d-0d04-0410-961f-82ee72b054a4
The warning came afterwards (~GCC 2.6.0):
commit e11c493661c590c0e3f04479b3ec11c792a36309
Author: kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed Feb 23 12:29:42 1994 +0000
(decl_attributes): Warn if attribute will be ignored.
Allow `noreturn', `volatile', and `const' on object of type pointer to
function.
Always give decl with error or warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6610
138bc75d-0d04-0410-961f-82ee72b054a4
I think by now I am just going to declare this as a documentation bug; it has
been 25 years since packed has been ignored and 23 years since the warning came
in.