https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114957
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Sandra Loosemore <san...@gcc.gnu.org>: https://gcc.gnu.org/g:a2e03736fc932ef613ad01a9499126cbaa538bf8 commit r15-9155-ga2e03736fc932ef613ad01a9499126cbaa538bf8 Author: Sandra Loosemore <sloosem...@baylibre.com> Date: Wed Apr 2 18:20:35 2025 +0000 Doc: #pragma pack documentation cleanup [PR114957] [PR78008] [PR60972] This patch addresses a number of issues with the documentation of - None of the things in this section had @cindex entries [PR114957]. - The document formatting didn't match that of other #pragma documentation sections. - The effect of #pragma pack(0) wasn't documented [PR78008]. - There's a long-standing bug [PR60972] reporting that #pragma pack and the __attribute__(packed) don't get along well. It seems worthwhile to warn users about that since elsewhere pragmas are cross-referenced with related or equivalent attributes. gcc/ChangeLog PR c/114957 PR c/78008 PR c++/60972 * doc/extend.texi (Structure-Layout Pragmas): Add @cindex entries and reformat the pragma descriptions to match the markup used for other pragmas. Document what #pragma pack(0) does. Add cross-references to similar attributes.