This is the mail archive of the gcc-bugs@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]

[Bug c/40989] -Werror= and #pragma diagnostics do not work with group flags


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40989

--- Comment #10 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-10-20 14:17:14 UTC ---
Author: manu
Date: Sat Oct 20 14:17:08 2012
New Revision: 192635

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192635
Log:
2012-10-20  Manuel LÃpez-IbÃÃez  <manu@gcc.gnu.org>

    PR c/53063
    PR c/40989
c-family/
    * c.opt (Waddress,Wchar-subscripts,Wsign-conversion,Wimplicit,
    Wimplicit-function-declaration,Wimplicit-int,Wsizeof-pointer-memaccess,
    Wnarrowing,Wparentheses,Wpointer-sign,Wreturn-type,Wsequence-point,
    Wsign-compare,Wuninitialized,Wmaybe-uninitialized,Wunused,
    Wvolatile-register-var): Add LangEnabledBy or EnabledBy.
    * c-opts.c (c_common_handle_option): Remove explicit handling from
    here.
    (c_common_post_options): Likewise.
gcc/
    * opts.c (finish_options): Remove explicit handling from here.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-opts.c
    trunk/gcc/c-family/c.opt
    trunk/gcc/opts.c


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