]> git.ipfire.org Git - thirdparty/gcc.git/commit
Move docs for -Wuse-after-free and -Wuseless-cast [PR111693]
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 17 Jan 2024 04:41:52 +0000 (04:41 +0000)
committerSandra Loosemore <sandra@codesourcery.com>
Wed, 17 Jan 2024 04:51:45 +0000 (04:51 +0000)
commit25bb8a40abd91fccf9a59dd6518a7a283433dea3
treec683444408d2b99df74ca76a9faf30e5bde12f94
parentb503c8787503943c2738058828c3d0037d024fea
Move docs for -Wuse-after-free and -Wuseless-cast [PR111693]

These options were categorized as C++ options, but they apply to all
C-family languages.

gcc/ChangeLog
PR c/111693
* doc/invoke.texi (Option Summary): Move -Wuseless-cast
from C++ Language Options to Warning Options.  Add entry for
-Wuse-after-free.
(C++ Dialect Options): Move -Wuse-after-free and -Wuseless-cast
from here....
(Warning Options): ...to here.  Minor copy-editing to fix typo
and grammar.
gcc/doc/invoke.texi