Some cleanups in preparation for more EnabledBy goodness.

Bootstrapped and regression tested.

OK?

2012-05-16  Manuel López-Ibáñez  <m...@gcc.gnu.org>

c-family/
        * c.opt (--pedantic-errors,-pedantic-errors): Do not handle here.
        * c-opts.c (c_common_handle_option): Do not handle explicitly
        Wreturn-type, Wwrite-strings, warn_ecpp, and -pedantic-errors.
gcc/
        * opts.c (common_handle_option): -pedantic-errors enables -Wpedantic.
        (enable_warning_as_error): Do not special case Wuninitialized.
        * optc-gen.awk: Add sanity checks.

Attachment: enabledy-cleanup.diff
Description: Binary data

Reply via email to