PR other/28322
* opts.c (print_ignored_options): report postponed diagnostics for
unknown -Wno-* options as warnings, not errors. (postpone_unknown_option_error): renamed to postpone_unknown_option_warning.
* gcc.dg/pr28322-2.c: check that emitted diagnostic for -Wno-foobar
is a warning and not an error.
Subject: Bug 28322
Author: doko
Date: Thu Jul 10 03:51:04 2008
New Revision: 137687
URL: http:// gcc.gnu. org/viewcvs? root=gcc& view=rev& rev=137687
Log:
2008-07-10 Peter Maydell <email address hidden>
PR other/28322 ignored_ options) : report postponed diagnostics for
(postpone_ unknown_ option_ error): renamed to
postpone_ unknown_ option_ warning.
* opts.c (print_
unknown -Wno-* options as warnings, not errors.
* gcc.dg/pr28322-2.c: check that emitted diagnostic for -Wno-foobar
is a warning and not an error.
Modified: gcc/ChangeLog gcc/opts. c gcc/testsuite/ gcc.dg/ pr28322- 2.c
trunk/
trunk/
trunk/