diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-02-25 23:59:44 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-02-25 23:59:44 +0000 |
commit | 683d6ff954e871028b34e8bd5e9fdda491ec2cbf (patch) | |
tree | 64878ef154456615c954564cc936b478852e6c76 /gcc/testsuite/gcc.dg/pthread-init-2.c | |
parent | 369dcbd9d2f7d4577f689b46ee3028bc7949049c (diff) | |
download | gcc-683d6ff954e871028b34e8bd5e9fdda491ec2cbf.zip gcc-683d6ff954e871028b34e8bd5e9fdda491ec2cbf.tar.gz gcc-683d6ff954e871028b34e8bd5e9fdda491ec2cbf.tar.bz2 |
c-common.c (match_case_to_enum_1): Add appropriate OPT_W* parameter to warning.
2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* c-common.c (match_case_to_enum_1): Add appropriate
OPT_W* parameter to warning.
(c_do_switch_warnings): Likewise.
* c-typeck.c (warning_init): Add one more parameter following
'warning' function.
(push_init_level): Update call to warning_init.
(pop_init_level): Likewise.
(add_pending_init): Likewise.
(output_init_element: Likewise.
cp/
* typeck.c (build_class_member_access_expr): Add appropriate
OPT_W* parameter to warning.
(build_reinterpret_cast_1): Likewise.
* name-lookup.c (push_overloaded_decl): Likewise.
testsuite/
* gcc.dg/Wswitch-enum-error.c: New.
* gcc.dg/Wswitch-error.c: New.
* gcc.dg/20011021-1.c: Use two directives to match two different
messages.
From-SVN: r132649
Diffstat (limited to 'gcc/testsuite/gcc.dg/pthread-init-2.c')
0 files changed, 0 insertions, 0 deletions