From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1C3F53898C6F; Wed, 4 Oct 2023 17:01:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C3F53898C6F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696438918; bh=6gwoc2KxhnV/FZCdRrgjHvLJbtXD/tRFqqFSY6GxeRg=; h=From:To:Subject:Date:From; b=CrL5yUfM6+SYEnYdiHbX07wsLcSrEJz/7FWkBGMxs/A9wFtUgt1vHsjCtLKGqc+wb NldoOfMmi0gjBrIyc3Fg5+4z6PiLW23umgy/vVCcmT/52y5ylOOgScmhCtkxPXXvV9 Vzl5AQ7y1rMk1RT+/QtIs/6PQizGlMv5MuSQIovk= From: "jonathan.leffler at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/111693] New: Online manual mentions -Wuse-after-free but does not document it further Date: Wed, 04 Oct 2023 17:01:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jonathan.leffler at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111693 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 l= ist of options enabled by "-Wall" includes "-Wuse-after-free=3D2", 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 l= ist of options enabled by "-Wall" includes "-Wuse-after-free=3D3", 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 wh= at 1 and 0 mean too.=