https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118982
Bug ID: 118982
Summary: Documentation for constructor and init_priority should
be refenceing each other
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: documentation
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Depends on: 65115
Target Milestone: ---
I noticed while looking into PR 118981, that init_priority mentions priority
are `101 and 65535` while priority only mentions that 0-100 are reserved; not
the upper bound.
The documentation for constructor does reference the init_priority attribute
but does not links to it directly.
Plus init_priority does not link back to the constructor documentation.
And neither describe what happens if some have priorities on them but others
does not. (this is PR 65115 really).
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65115
[Bug 65115] default init_priority attribute