This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

EnabledBy cleanups


Some cleanups in preparation for more EnabledBy goodness.

Bootstrapped and regression tested.

OK?

2012-05-16  Manuel López-Ibáñez  <manu@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]