re PR other/28322 (GCC new warnings and compatibility)
authorPeter Maydell <pmaydell@chiark.greenend.org.uk>
Thu, 10 Jul 2008 03:51:04 +0000 (03:51 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Thu, 10 Jul 2008 03:51:04 +0000 (03:51 +0000)
commit15e1dac036941cf6f094ef8b4f11353d05968ac8
treeb4ac0f8b506dab7f430e4dfdd07dc085a83e5dfc
parentd674c8bacd2483bbdbbd82e067b39fc09f661b1b
re PR other/28322 (GCC new warnings and compatibility)

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.

From-SVN: r137687
gcc/ChangeLog
gcc/opts.c
gcc/testsuite/gcc.dg/pr28322-2.c