public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/84510] C front-end does not utilise -Wuseless-cast
[not found] <bug-84510-4@http.gcc.gnu.org/bugzilla/>
@ 2023-05-30 9:59 ` dev at joren dot ga
2023-08-10 11:43 ` muecker at gwdg dot de
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: dev at joren dot ga @ 2023-05-30 9:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84510
--- Comment #1 from Jakub Łukasiewicz <dev at joren dot ga> ---
It would be really helpful in preventing explicit void* casting; especially in
case with malloc().
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/84510] C front-end does not utilise -Wuseless-cast
[not found] <bug-84510-4@http.gcc.gnu.org/bugzilla/>
2023-05-30 9:59 ` [Bug c/84510] C front-end does not utilise -Wuseless-cast dev at joren dot ga
@ 2023-08-10 11:43 ` muecker at gwdg dot de
2023-08-11 5:02 ` cvs-commit at gcc dot gnu.org
2023-11-03 19:17 ` uecker at gcc dot gnu.org
3 siblings, 0 replies; 4+ messages in thread
From: muecker at gwdg dot de @ 2023-08-10 11:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84510
Martin Uecker <muecker at gwdg dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |muecker at gwdg dot de
--- Comment #2 from Martin Uecker <muecker at gwdg dot de> ---
PATCH https://gcc.gnu.org/pipermail/gcc-patches/2023-August/626973.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/84510] C front-end does not utilise -Wuseless-cast
[not found] <bug-84510-4@http.gcc.gnu.org/bugzilla/>
2023-05-30 9:59 ` [Bug c/84510] C front-end does not utilise -Wuseless-cast dev at joren dot ga
2023-08-10 11:43 ` muecker at gwdg dot de
@ 2023-08-11 5:02 ` cvs-commit at gcc dot gnu.org
2023-11-03 19:17 ` uecker at gcc dot gnu.org
3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-08-11 5:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84510
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Uecker <uecker@gcc.gnu.org>:
https://gcc.gnu.org/g:68783211f660a501dee203aec11dae99bf9808ba
commit r14-3139-g68783211f660a501dee203aec11dae99bf9808ba
Author: Martin Uecker <uecker@tugraz.at>
Date: Thu Aug 10 10:39:41 2023 +0200
c: Support for -Wuseless-cast [PR84510]
Add support for Wuseless-cast C (and ObjC).
PR c/84510
gcc/c/:
* c-typeck.cc (build_c_cast): Add warning.
gcc/c-family/:
* c.opt: Enable warning for C and ObjC.
gcc/:
* doc/invoke.texi: Update.
gcc/testsuite/:
* gcc.dg/Wuseless-cast.c: New test.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/84510] C front-end does not utilise -Wuseless-cast
[not found] <bug-84510-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2023-08-11 5:02 ` cvs-commit at gcc dot gnu.org
@ 2023-11-03 19:17 ` uecker at gcc dot gnu.org
3 siblings, 0 replies; 4+ messages in thread
From: uecker at gcc dot gnu.org @ 2023-11-03 19:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84510
uecker at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Target Milestone|--- |14.0
Resolution|--- |FIXED
CC| |uecker at gcc dot gnu.org
Known to fail| |5.4.0
--- Comment #4 from uecker at gcc dot gnu.org ---
Fixed on trunk.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-11-03 19:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-84510-4@http.gcc.gnu.org/bugzilla/>
2023-05-30 9:59 ` [Bug c/84510] C front-end does not utilise -Wuseless-cast dev at joren dot ga
2023-08-10 11:43 ` muecker at gwdg dot de
2023-08-11 5:02 ` cvs-commit at gcc dot gnu.org
2023-11-03 19:17 ` uecker at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).