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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |documentation
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-06-01
     Ever confirmed|0                           |1

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The Common Variable Attributes section of the manual mentions the following:

When used as part of a typedef, the aligned attribute can both increase and
decrease alignment, and specifying the packed attribute generates a warning.

There is at least one test in the GCC test suite that exercises the ability to
decrease the alignment of a typedef (gcc/testsuite/gcc.dg/misaligned-expand-2.c
 added in r185336) so this is a documentation bug for not documenting the
feature in the right section of the manual (Common Type Attributes).

Confirming based bug 51628, comment #24.

Reply via email to