[Bug other/28322] GCC new warnings and compatibility
------- Comment #21 from doko at gcc dot gnu dot org 2008-07-10 03:51 -------
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 <pmaydell@chiark.greenend.org.uk>
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/opts.c
trunk/gcc/testsuite/gcc.dg/pr28322-2.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28322
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: