https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118982
--- Comment #2 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:12533c0c8b27dcbb1b83517bf4eb09faa98bf814 commit r15-9142-g12533c0c8b27dcbb1b83517bf4eb09faa98bf814 Author: Sandra Loosemore <sloosem...@baylibre.com> Date: Wed Apr 2 02:50:10 2025 +0000 Doc: Cross-reference constructor and init_priority attributes [PR118982] Per the issue, the discussion of these two attributes needed to be better integrated. I also did some editing for style and readability, and clarified that almost all targets support this feature (it is enabled by default unless the back end disables it), not just "some". Co-Authored_by: Jonathan Wakely <jwak...@redhat.com> gcc/ChangeLog PR c++/118982 * doc/extend.texi (Common Function Attributes): For the constructor/destructory attribute, be more explicit about the relationship between the constructor attribute and the C++ init_priority attribute, and add a cross-reference. Also document that most targets support this. (C++ Attributes): Similarly for the init_priority attribute.