https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111693
Bug ID: 111693
Summary: Online manual mentions -Wuse-after-free but does not
document it further
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: jonathan.leffler at gmail dot com
Target Milestone: ---
In the 13.2.0 documentation
(https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/Warning-Options.html), the list
of options enabled by "-Wall" includes "-Wuse-after-free=2", but there is no
further mention of the option on the page.
Similarly, in the 12.3.0 documentation
(https://gcc.gnu.org/onlinedocs/gcc-12.3.0/gcc/Warning-Options.html), the list
of options enabled by "-Wall" includes "-Wuse-after-free=3", but there is no
further mention of the option on the page.
It is not mentioned at all in earlier manuals, presumably because it wasn't
available in the earlier versions.
It would be helpful to know what the values 2 and 3 mean, and presumably what 1
and 0 mean too.