* [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options
[not found] <bug-44209-4@http.gcc.gnu.org/bugzilla/>
@ 2023-07-05 16:52 ` egallager at gcc dot gnu.org
2023-08-17 15:37 ` jemarch at gcc dot gnu.org
` (9 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: egallager at gcc dot gnu.org @ 2023-07-05 16:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
additional example raised on gcc mailing list:
https://gcc.gnu.org/pipermail/gcc/2023-July/241970.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options
[not found] <bug-44209-4@http.gcc.gnu.org/bugzilla/>
2023-07-05 16:52 ` [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options egallager at gcc dot gnu.org
@ 2023-08-17 15:37 ` jemarch at gcc dot gnu.org
2023-08-24 13:53 ` jemarch at gcc dot gnu.org
` (8 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: jemarch at gcc dot gnu.org @ 2023-08-17 15:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
Bug 44209 depends on bug 106537, which changed state.
Bug 106537 Summary: GCC doesn't support -W[no-]compare-distinct-pointer-types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106537
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options
[not found] <bug-44209-4@http.gcc.gnu.org/bugzilla/>
2023-07-05 16:52 ` [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options egallager at gcc dot gnu.org
2023-08-17 15:37 ` jemarch at gcc dot gnu.org
@ 2023-08-24 13:53 ` jemarch at gcc dot gnu.org
2023-10-02 5:07 ` tanksherman27 at gmail dot com
` (7 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: jemarch at gcc dot gnu.org @ 2023-08-24 13:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
Bug 44209 depends on bug 106537, which changed state.
Bug 106537 Summary: GCC doesn't support -W[no-]compare-distinct-pointer-types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106537
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options
[not found] <bug-44209-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2023-08-24 13:53 ` jemarch at gcc dot gnu.org
@ 2023-10-02 5:07 ` tanksherman27 at gmail dot com
2023-10-02 12:53 ` manu at gcc dot gnu.org
` (6 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: tanksherman27 at gmail dot com @ 2023-10-02 5:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
Julian Waters <tanksherman27 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tanksherman27 at gmail dot com
--- Comment #8 from Julian Waters <tanksherman27 at gmail dot com> ---
I have a patch ready for the noreturn warning at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111654, is anyone willing to help
review and push it?
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options
[not found] <bug-44209-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2023-10-02 5:07 ` tanksherman27 at gmail dot com
@ 2023-10-02 12:53 ` manu at gcc dot gnu.org
2023-10-20 20:16 ` cvs-commit at gcc dot gnu.org
` (5 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: manu at gcc dot gnu.org @ 2023-10-02 12:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
--- Comment #9 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
For the sake of other potential readers: Patches should be submitted to
gcc-patches@gcc.gnu.org and reviewers do not review patches in bugzilla.
Nevertheless, it is a good idea to add the link to the mailing list archive
here in bugzilla so the patch is not forgotten.
For more details, please read:
https://gcc.gnu.org/wiki/GettingStarted#Basics:_Contributing_to_GCC_in_10_easy_steps
How to submit and ping patches: https://gcc.gnu.org/contribute.html#patches
See other suggestions on how to interact with the GCC community here:
https://gcc.gnu.org/wiki/Community
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options
[not found] <bug-44209-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2023-10-02 12:53 ` manu at gcc dot gnu.org
@ 2023-10-20 20:16 ` cvs-commit at gcc dot gnu.org
2023-10-20 20:16 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-10-20 20:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Florian Weimer <fw@gcc.gnu.org>:
https://gcc.gnu.org/g:857a6ee25ff5cbb97715de4dd97e1641285c6085
commit r14-4804-g857a6ee25ff5cbb97715de4dd97e1641285c6085
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Oct 20 21:27:52 2023 +0200
c: -Wincompatible-pointer-types should cover mismatches in ?:
gcc/c/
PR c/109826
PR other/44209
* c-typeck.cc (build_conditional_expr): Use
OPT_Wincompatible_pointer_types for pointer mismatches.
Emit location information for the operand.
gcc/testsuite/
* gcc.dg/Wincompatible-pointer-types-2.c: New.
* gcc.dg/Wincompatible-pointer-types-3.c: New.
* gcc.dg/Wincompatible-pointer-types-4.c: New.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options
[not found] <bug-44209-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2023-10-20 20:16 ` cvs-commit at gcc dot gnu.org
@ 2023-10-20 20:16 ` cvs-commit at gcc dot gnu.org
2023-10-20 20:19 ` fw at gcc dot gnu.org
` (3 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-10-20 20:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Florian Weimer <fw@gcc.gnu.org>:
https://gcc.gnu.org/g:7069ea909f5292a17d22e5e68218373186820d29
commit r14-4805-g7069ea909f5292a17d22e5e68218373186820d29
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Oct 20 21:27:52 2023 +0200
c: -Wint-conversion should cover pointer/integer mismatches in ?:
gcc/c/
PR c/109827
PR other/44209
* c-typeck.cc (build_conditional_expr): Use OPT_Wint_conversion
for pointer/integer mismatch warnings.
gcc/testsuite/
* gcc.dg/Wint-conversion-3.c: New.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options
[not found] <bug-44209-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2023-10-20 20:16 ` cvs-commit at gcc dot gnu.org
@ 2023-10-20 20:19 ` fw at gcc dot gnu.org
2023-10-20 20:20 ` fw at gcc dot gnu.org
` (2 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: fw at gcc dot gnu.org @ 2023-10-20 20:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
Bug 44209 depends on bug 109826, which changed state.
Bug 109826 Summary: Incompatible pointer types in ?: not covered by -Wincompatible-pointer-types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109826
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options
[not found] <bug-44209-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2023-10-20 20:19 ` fw at gcc dot gnu.org
@ 2023-10-20 20:20 ` fw at gcc dot gnu.org
2023-12-01 7:12 ` cvs-commit at gcc dot gnu.org
2023-12-01 8:45 ` sjames at gcc dot gnu.org
10 siblings, 0 replies; 11+ messages in thread
From: fw at gcc dot gnu.org @ 2023-10-20 20:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
Bug 44209 depends on bug 109827, which changed state.
Bug 109827 Summary: Pointer/integer mismatch in ?: not covered by -Wint-conversion
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109827
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options
[not found] <bug-44209-4@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2023-10-20 20:20 ` fw at gcc dot gnu.org
@ 2023-12-01 7:12 ` cvs-commit at gcc dot gnu.org
2023-12-01 8:45 ` sjames at gcc dot gnu.org
10 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-12-01 7:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Florian Weimer <fw@gcc.gnu.org>:
https://gcc.gnu.org/g:ff9efa3fc48baa1dee7ed376c25ecfcfbc28d35c
commit r14-6038-gff9efa3fc48baa1dee7ed376c25ecfcfbc28d35c
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri Dec 1 08:10:13 2023 +0100
c: Add new -Wdeclaration-missing-parameter-type permerror
This used to be a warning, enabled by default, without its own option.
A subsequent change could improve diagnostics and provide spelling
hints for declarations like âvoid function (int32t);â.
gcc/c-family/
* c.opt (Wdeclaration-missing-parameter-type): New.
gcc/c/ChangeLog:
PR other/44209
* c-decl.cc (grokparms): Issue permerror for
OPT_Wdeclaration_missing_parameter_type instead of a pedwarn.
gcc/ChangeLog:
* doc/invoke.texi (Warning Options): Document
-Wdeclaration-missing-parameter-type.
gcc/testsuite/ChangeLog:
* gcc.dg/permerror-default.c (missing_parameter_type):
Expect error.
* gcc.dg/permerror-fpermissive.c (missing_parameter_type):
Expect -Wdeclaration-missing-parameter-type warning.
* gcc.dg/permerror-gnu89-nopermissive.c (missing_parameter_type):
Expect -Wdeclaration-missing-parameter-type error.
* gcc.dg/permerror-gnu89-pedantic.c (missing_parameter_type):
Likewise.
* gcc.dg/permerror-gnu89.c (missing_parameter_type):
Expect -Wdeclaration-missing-parameter-type warning.
* gcc.dg/permerror-noerror.c: Add
-Wno-error=declaration-missing-parameter-type to build flags.
(missing_parameter_type): Expect
-Wdeclaration-missing-parameter-type warning.
* gcc.dg/permerror-nowarning.c: Build with
-Wno-declaration-missing-parameter-type. Remove previously
expected warning.
* gcc.dg/permerror-fpermissive-nowarning.c: Likewise.
* gcc.dg/permerror-pedantic.c (missing_parameter_type):
Expect -Wdeclaration-missing-parameter-type error.
* gcc.dg/permerror-system.c (missing_parameter_type):
Likewise.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug other/44209] [meta-bug] Some warnings are not linked to diagnostics options
[not found] <bug-44209-4@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2023-12-01 7:12 ` cvs-commit at gcc dot gnu.org
@ 2023-12-01 8:45 ` sjames at gcc dot gnu.org
10 siblings, 0 replies; 11+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-12-01 8:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
Bug 44209 depends on bug 106537, which changed state.
Bug 106537 Summary: GCC doesn't support -W[no-]compare-distinct-pointer-types
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106537
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
^ permalink raw reply [flat|nested] 11+ messages in thread