* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
@ 2006-08-28 20:33 ` pinskia at gcc dot gnu dot org
2006-12-15 12:35 ` patchapp at dberlin dot org
` (21 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-28 20:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-08-28 20:33 -------
*** Bug 28876 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gnu at behdad dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
2006-08-28 20:33 ` [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags pinskia at gcc dot gnu dot org
@ 2006-12-15 12:35 ` patchapp at dberlin dot org
2006-12-16 16:48 ` manu at gcc dot gnu dot org
` (20 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2006-12-15 12:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from patchapp at dberlin dot org 2006-12-15 12:35 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01103.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
2006-08-28 20:33 ` [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags pinskia at gcc dot gnu dot org
2006-12-15 12:35 ` patchapp at dberlin dot org
@ 2006-12-16 16:48 ` manu at gcc dot gnu dot org
2006-12-18 0:20 ` patchapp at dberlin dot org
` (19 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: manu at gcc dot gnu dot org @ 2006-12-16 16:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from manu at gcc dot gnu dot org 2006-12-16 16:48 -------
Subject: Bug 7651
Author: manu
Date: Sat Dec 16 16:48:01 2006
New Revision: 119963
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119963
Log:
2006-12-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/7651
* c.opt (Wempty-body): New.
* doc/invoke.texi (Wempty-body): Document it.
(Wextra): Enabled by -Wextra.
* c-opts.c (c_common_post_options): Enabled by -Wextra.
* c-common.c (empty_body_warning): Replace Wextra with Wempty-body.
* c-parser.c (c_parser_c99_block_statement): Likewise.
testsuite/
* gcc.dg/20001116-1.c: Replace -Wextra with -Wempty-body.
* gcc.dg/if-empty-1.c: Likewise.
* gcc.dg/pr23165.c: Likewise.
* g++.dg/warn/empty-body.C: Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-common.c
trunk/gcc/c-opts.c
trunk/gcc/c-parser.c
trunk/gcc/c.opt
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/warn/empty-body.C
trunk/gcc/testsuite/gcc.dg/20001116-1.c
trunk/gcc/testsuite/gcc.dg/if-empty-1.c
trunk/gcc/testsuite/gcc.dg/pr23165.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-12-16 16:48 ` manu at gcc dot gnu dot org
@ 2006-12-18 0:20 ` patchapp at dberlin dot org
2006-12-20 0:57 ` patchapp at dberlin dot org
` (18 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2006-12-18 0:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from patchapp at dberlin dot org 2006-12-18 00:20 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01244.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2006-12-18 0:20 ` patchapp at dberlin dot org
@ 2006-12-20 0:57 ` patchapp at dberlin dot org
2006-12-22 15:54 ` manu at gcc dot gnu dot org
` (17 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2006-12-20 0:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from patchapp at dberlin dot org 2006-12-20 00:57 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01415.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2006-12-20 0:57 ` patchapp at dberlin dot org
@ 2006-12-22 15:54 ` manu at gcc dot gnu dot org
2006-12-23 17:45 ` manu at gcc dot gnu dot org
` (16 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: manu at gcc dot gnu dot org @ 2006-12-22 15:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from manu at gcc dot gnu dot org 2006-12-22 15:54 -------
Subject: Bug 7651
Author: manu
Date: Fri Dec 22 15:54:05 2006
New Revision: 120151
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120151
Log:
2006-12-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/7651
* c.opt (Wclobbered): New.
* doc/invoke.texi (Wclobbered): Document it.
(Wextra): Enabled by -Wextra.
* c-opts.c (c_common_post_options): Enabled by -Wextra.
* flow.c (rest_of_handle_life): Replace Wextra with Wclobbered.
* function.c (setjmp_vars_warning): Only warn for Wclobbered.
(setjmp_args_warning): Likewise.
testsuite/
* gcc.dg/attr-returns_twice-1.c: Replace Wextra with Wclobbered.
* gcc.dg/setjmp-1.c: Add explicit Wclobbered.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-opts.c
trunk/gcc/c.opt
trunk/gcc/doc/invoke.texi
trunk/gcc/flow.c
trunk/gcc/function.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/attr-returns_twice-1.c
trunk/gcc/testsuite/gcc.dg/setjmp-1.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2006-12-22 15:54 ` manu at gcc dot gnu dot org
@ 2006-12-23 17:45 ` manu at gcc dot gnu dot org
2006-12-24 14:15 ` patchapp at dberlin dot org
` (15 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: manu at gcc dot gnu dot org @ 2006-12-23 17:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from manu at gcc dot gnu dot org 2006-12-23 17:45 -------
Subject: Bug 7651
Author: manu
Date: Sat Dec 23 17:45:33 2006
New Revision: 120173
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120173
Log:
2006-12-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/7651
* c.opt (Wmissing-parameter-type): New.
* doc/invoke.texi (Wmissing-parameter-type): Document it.
(Wextra): Enabled by -Wextra.
* c-opts.c (c_common_post_options): Enabled by -Wextra.
* c-decl.c (store_parm_decls_oldstyle): Replace Wextra with
Wmissing-parameter-type.
testsuite/
* gcc.dg/Wmissing-parameter-type.c: New.
* gcc.dg/Wmissing-parameter-type-Wextra.c: New.
* gcc.dg/Wmissing-parameter-type-no.c: New.
Added:
trunk/gcc/testsuite/gcc.dg/Wmissing-parameter-type-Wextra.c
trunk/gcc/testsuite/gcc.dg/Wmissing-parameter-type-no.c
trunk/gcc/testsuite/gcc.dg/Wmissing-parameter-type.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/c-opts.c
trunk/gcc/c.opt
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2006-12-23 17:45 ` manu at gcc dot gnu dot org
@ 2006-12-24 14:15 ` patchapp at dberlin dot org
2006-12-24 14:30 ` patchapp at dberlin dot org
` (14 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2006-12-24 14:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from patchapp at dberlin dot org 2006-12-24 14:15 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01661.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2006-12-24 14:15 ` patchapp at dberlin dot org
@ 2006-12-24 14:30 ` patchapp at dberlin dot org
2006-12-29 18:35 ` patchapp at dberlin dot org
` (13 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2006-12-24 14:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from patchapp at dberlin dot org 2006-12-24 14:30 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01663.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2006-12-24 14:30 ` patchapp at dberlin dot org
@ 2006-12-29 18:35 ` patchapp at dberlin dot org
2006-12-29 19:30 ` patchapp at dberlin dot org
` (12 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2006-12-29 18:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from patchapp at dberlin dot org 2006-12-29 18:35 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01837.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2006-12-29 18:35 ` patchapp at dberlin dot org
@ 2006-12-29 19:30 ` patchapp at dberlin dot org
2007-01-02 17:33 ` manu at gcc dot gnu dot org
` (11 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2006-12-29 19:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from patchapp at dberlin dot org 2006-12-29 19:30 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01842.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (10 preceding siblings ...)
2006-12-29 19:30 ` patchapp at dberlin dot org
@ 2007-01-02 17:33 ` manu at gcc dot gnu dot org
2007-01-05 23:40 ` patchapp at dberlin dot org
` (10 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-01-02 17:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from manu at gcc dot gnu dot org 2007-01-02 17:33 -------
Subject: Bug 7651
Author: manu
Date: Tue Jan 2 17:33:25 2007
New Revision: 120347
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120347
Log:
2007-01-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/7651
* c.opt (Wold-style-declaration): New.
* doc/invoke.texi (C-only Warning Options): New.
(Wold-style-declaration): Document it.
(Wextra): Enabled by -Wextra.
* c-opts.c (c_common_post_options): Enabled by -Wextra.
* c-decl.c (declspecs_add_scspec): Replace -Wextra with
-Wold-style-declaration.
testsuite/
* gcc.dg/declspec-3.c: Replace -W with -Wold-style-declaration.
* gcc.dg/declspec-3-Wextra.c: New.
* gcc.dg/declspec-3-no.c: New
Added:
trunk/gcc/testsuite/gcc.dg/declspec-3-Wextra.c
trunk/gcc/testsuite/gcc.dg/declspec-3-no.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/c-opts.c
trunk/gcc/c.opt
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/declspec-3.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (11 preceding siblings ...)
2007-01-02 17:33 ` manu at gcc dot gnu dot org
@ 2007-01-05 23:40 ` patchapp at dberlin dot org
2007-01-07 12:56 ` patchapp at dberlin dot org
` (9 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-05 23:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from patchapp at dberlin dot org 2007-01-05 23:40 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00440.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (12 preceding siblings ...)
2007-01-05 23:40 ` patchapp at dberlin dot org
@ 2007-01-07 12:56 ` patchapp at dberlin dot org
2007-01-07 21:05 ` patchapp at dberlin dot org
` (8 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-07 12:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from patchapp at dberlin dot org 2007-01-07 12:55 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00503.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (13 preceding siblings ...)
2007-01-07 12:56 ` patchapp at dberlin dot org
@ 2007-01-07 21:05 ` patchapp at dberlin dot org
2007-01-08 21:25 ` patchapp at dberlin dot org
` (7 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-07 21:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from patchapp at dberlin dot org 2007-01-07 21:05 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00520.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (14 preceding siblings ...)
2007-01-07 21:05 ` patchapp at dberlin dot org
@ 2007-01-08 21:25 ` patchapp at dberlin dot org
2007-01-16 0:57 ` patchapp at dberlin dot org
` (6 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-08 21:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #20 from patchapp at dberlin dot org 2007-01-08 21:25 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00608.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (15 preceding siblings ...)
2007-01-08 21:25 ` patchapp at dberlin dot org
@ 2007-01-16 0:57 ` patchapp at dberlin dot org
2007-01-23 19:45 ` patchapp at dberlin dot org
` (5 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-16 0:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #21 from patchapp at dberlin dot org 2007-01-16 00:56 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01120.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (16 preceding siblings ...)
2007-01-16 0:57 ` patchapp at dberlin dot org
@ 2007-01-23 19:45 ` patchapp at dberlin dot org
2007-02-12 9:32 ` manu at gcc dot gnu dot org
` (4 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-23 19:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #22 from patchapp at dberlin dot org 2007-01-23 19:45 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01933.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (17 preceding siblings ...)
2007-01-23 19:45 ` patchapp at dberlin dot org
@ 2007-02-12 9:32 ` manu at gcc dot gnu dot org
2007-02-12 22:10 ` patchapp at dberlin dot org
` (3 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-02-12 9:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #23 from manu at gcc dot gnu dot org 2007-02-12 09:32 -------
Subject: Bug 7651
Author: manu
Date: Mon Feb 12 09:32:08 2007
New Revision: 121843
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121843
Log:
2007-02-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/7651
* doc/invoke.texi (Wunused-value): Update description.
(Wextra): Delete item.
* opts.c (set_Wextra): Don't use the value of Wextra to set the
value of Wunused-value.
* c-typeck.c (c_process_expr_stmt): Don't check extra_warnings.
(c_finish_stmt_expr): Don't check extra_warnings.
(emit_side_effect_warnings): The caller is responsible to check
warn_unused_value.
cp/
* cp-gimplify.c (gimplify_expr_stmt): Don't check extra_warnings.
Check warn_unused_value just once.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-typeck.c
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/doc/invoke.texi
trunk/gcc/opts.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (18 preceding siblings ...)
2007-02-12 9:32 ` manu at gcc dot gnu dot org
@ 2007-02-12 22:10 ` patchapp at dberlin dot org
2007-05-20 0:46 ` manu at gcc dot gnu dot org
` (2 subsequent siblings)
22 siblings, 0 replies; 28+ messages in thread
From: patchapp at dberlin dot org @ 2007-02-12 22:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #24 from patchapp at dberlin dot org 2007-02-12 22:10 -------
Subject: Bug number PR7651
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01102.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (19 preceding siblings ...)
2007-02-12 22:10 ` patchapp at dberlin dot org
@ 2007-05-20 0:46 ` manu at gcc dot gnu dot org
2007-05-20 20:34 ` manu at gcc dot gnu dot org
2008-08-08 23:35 ` manu at gcc dot gnu dot org
22 siblings, 0 replies; 28+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-05-20 0:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #25 from manu at gcc dot gnu dot org 2007-05-20 01:46 -------
Subject: Bug 7651
Author: manu
Date: Sun May 20 00:45:58 2007
New Revision: 124866
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124866
Log:
2006-05-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/7651
* doc/invoke.texi (Wreturn-type): Complete description.
(Wextra): Delete item about return-type warning.
* c-decl.c: Delete redundant Wextra warning.
testsuite/
* gcc.dg/20030906-1.c: Replace Wextra with Wreturn-type.
* gcc.dg/20030906-2.c: Likewise.
* objc.dg/method-17.m: Add -Wreturn-type.
* obj-c++.dg/method-21.mm: Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-decl.c
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/20030906-1.c
trunk/gcc/testsuite/gcc.dg/20030906-2.c
trunk/gcc/testsuite/obj-c++.dg/method-21.mm
trunk/gcc/testsuite/objc.dg/method-17.m
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (20 preceding siblings ...)
2007-05-20 0:46 ` manu at gcc dot gnu dot org
@ 2007-05-20 20:34 ` manu at gcc dot gnu dot org
2008-08-08 23:35 ` manu at gcc dot gnu dot org
22 siblings, 0 replies; 28+ messages in thread
From: manu at gcc dot gnu dot org @ 2007-05-20 20:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #26 from manu at gcc dot gnu dot org 2007-05-20 21:31 -------
Subject: Bug 7651
Author: manu
Date: Sun May 20 20:29:55 2007
New Revision: 124875
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124875
Log:
2007-05-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/7651
PR c++/11856
PR c/12963
PR c/23587
PR other/29694
* c.opt (Wtype-limits): New.
* doc/invoke.texi (Wtype-limits): Document it.
(Wextra): Enabled by -Wextra.
* c-opts.c (c_common_post_options): Enabled by -Wextra.
* c-common.c (shorten_compare): Warn with Wtype-limits.
testsuite/
* gcc.dg/compare6.c: Replace Wall with Wtype-limits.
* gcc.dg/Wtype-limits.c: New.
* gcc.dg/Wtype-limits-Wextra.c: New.
* gcc.dg/Wtype-limits-no.c: New.
* g++.dg/warn/Wtype-limits.C: New.
* g++.dg/warn/Wtype-limits-Wextra.C: New.
* g++.dg/warn/Wtype-limits-no.C: New.
Added:
trunk/gcc/testsuite/g++.dg/warn/Wtype-limits-Wextra.C
trunk/gcc/testsuite/g++.dg/warn/Wtype-limits-no.C
trunk/gcc/testsuite/g++.dg/warn/Wtype-limits.C
trunk/gcc/testsuite/gcc.dg/Wtype-limits-Wextra.c
trunk/gcc/testsuite/gcc.dg/Wtype-limits-no.c
trunk/gcc/testsuite/gcc.dg/Wtype-limits.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-common.c
trunk/gcc/c-opts.c
trunk/gcc/c.opt
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/compare6.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-1366@http.gcc.gnu.org/bugzilla/>
` (21 preceding siblings ...)
2007-05-20 20:34 ` manu at gcc dot gnu dot org
@ 2008-08-08 23:35 ` manu at gcc dot gnu dot org
22 siblings, 0 replies; 28+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-08-08 23:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #27 from manu at gcc dot gnu dot org 2008-08-08 23:33 -------
Subject: Bug 7651
Author: manu
Date: Fri Aug 8 23:32:23 2008
New Revision: 138892
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138892
Log:
2008-08-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR 7651
* doc/invoke.texi (-Wextra): Move warning from here...
(-Wuninitialized): ... to here.
cp/
* class.c (check_bases_and_members): Warn with -Wuninitialized
instead of -Wextra.
testsuite/
* g++.dg/warn/Wuninitializable-member.C: New.
* g++.dg/warn/Wuninitializable-member-no.C: New.
Added:
trunk/gcc/testsuite/g++.dg/warn/Wuninitializable-member-no.C
trunk/gcc/testsuite/g++.dg/warn/Wuninitializable-member.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-4@http.gcc.gnu.org/bugzilla/>
@ 2014-08-21 7:05 ` mpolacek at gcc dot gnu.org
2014-08-21 9:02 ` manu at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 28+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-08-21 7:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |mpolacek at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org
Target Milestone|--- |5.0
--- Comment #29 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I'll look at it if I find some free time, this should be easy.
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-4@http.gcc.gnu.org/bugzilla/>
2014-08-21 7:05 ` mpolacek at gcc dot gnu.org
@ 2014-08-21 9:02 ` manu at gcc dot gnu.org
2014-11-11 8:18 ` mpolacek at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 28+ messages in thread
From: manu at gcc dot gnu.org @ 2014-08-21 9:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
--- Comment #30 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #29)
> I'll look at it if I find some free time, this should be easy.
Fine, although this is such a minor issue that it doesn't seem worth your
time/skills. I'd rather see you tackle the really challenging stuff that
newbies and sporadic contributors could not manage, like the folding in the FEs
or PR52959 or the various bugs present in our macro unwinder (see point I at
https://gcc.gnu.org/wiki/Better_Diagnostics).
The last ones would require some discussion with Dodji about what result he
really wants to see. Perhaps this would be easier for you than for an outsider.
>From gcc-bugs-return-458951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Aug 21 09:31:57 2014
Return-Path: <gcc-bugs-return-458951-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20565 invoked by alias); 21 Aug 2014 09:31:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 20525 invoked by uid 48); 21 Aug 2014 09:31:52 -0000
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/61031] [5 Regression] ICE building libjava (verify_flow_info failed)
Date: Thu, 21 Aug 2014 09:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution cf_known_to_fail
Message-ID: <bug-61031-4-esokOfkjdA@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61031-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61031-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-08/txt/msg01448.txt.bz2
Content-length: 494
https://gcc.gnu.org/bugzilla/show_bug.cgi?ida031
Matthias Klose <doko at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
Known to fail|4.10.0 |5.0
--- Comment #3 from Matthias Klose <doko at gcc dot gnu.org> ---
builds again on the trunk
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-4@http.gcc.gnu.org/bugzilla/>
2014-08-21 7:05 ` mpolacek at gcc dot gnu.org
2014-08-21 9:02 ` manu at gcc dot gnu.org
@ 2014-11-11 8:18 ` mpolacek at gcc dot gnu.org
2015-04-22 11:59 ` jakub at gcc dot gnu.org
2015-07-16 9:16 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 28+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-11-11 8:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
Assignee|mpolacek at gcc dot gnu.org |unassigned at gcc dot gnu.org
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2014-11-11 8:18 ` mpolacek at gcc dot gnu.org
@ 2015-04-22 11:59 ` jakub at gcc dot gnu.org
2015-07-16 9:16 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 28+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-04-22 11:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|5.0 |5.2
--- Comment #31 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 5.1 has been released.
^ permalink raw reply [flat|nested] 28+ messages in thread
* [Bug middle-end/7651] Define -Wextra strictly in terms of other warning flags
[not found] <bug-7651-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2015-04-22 11:59 ` jakub at gcc dot gnu.org
@ 2015-07-16 9:16 ` rguenth at gcc dot gnu.org
4 siblings, 0 replies; 28+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-16 9:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|5.2 |5.3
--- Comment #32 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 5.2 is being released, adjusting target milestone to 5.3.
^ permalink raw reply [flat|nested] 28+ messages in thread