[Bug c/111693] -Wuse-after-free is documented in the wrong location

2024-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111693

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |14.0

[Bug c/111693] -Wuse-after-free is documented in the wrong location

2024-01-16 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111693

sandra at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from sandra at gcc dot gnu.org ---
Fixed.

[Bug c/111693] -Wuse-after-free is documented in the wrong location

2024-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111693

--- Comment #10 from GCC Commits  ---
The master branch has been updated by Sandra Loosemore :

https://gcc.gnu.org/g:25bb8a40abd91fccf9a59dd6518a7a283433dea3

commit r14-8173-g25bb8a40abd91fccf9a59dd6518a7a283433dea3
Author: Sandra Loosemore 
Date:   Wed Jan 17 04:41:52 2024 +

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.

[Bug c/111693] -Wuse-after-free is documented in the wrong location

2023-10-04 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111693

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org
   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=71283

--- Comment #9 from Eric Gallager  ---
related: bug 71283

[Bug c/111693] -Wuse-after-free is documented in the wrong location

2023-10-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111693

--- Comment #8 from Jonathan Wakely  ---
(In reply to Andrew Pinski from comment #3)
> The easiest way to find documentation for an option is to look at the index
> located at:
> https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/Option-Index.html
> 
> And search for the option.

You should also be able to find it in the option summary:

https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/Option-Summary.html

But it's not there.

[Bug c/111693] -Wuse-after-free is documented in the wrong location

2023-10-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111693

Andrew Pinski  changed:

   What|Removed |Added

   Last reconfirmed||2023-10-04
Summary|Online manual mentions  |-Wuse-after-free is
   |-Wuse-after-free but does   |documented in the wrong
   |not document it further |location
   Keywords||documentation
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #7 from Andrew Pinski  ---
Oh yes -Wuse-after-free documentation should be moved. 

There are some others which are also misplaced (Wuseless-cast)