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/53063] encode group options in the .opt files


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

--- Comment #3 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-05-14 13:30:39 UTC ---
Author: manu
Date: Mon May 14 13:30:32 2012
New Revision: 187462

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

    PR 53063
c-family/
    * c.opt (Wc++0X-compat,Wdelete-non-virtual-dtor,Wjump-misses-init,
    Wreorder): Use LangEnabledBy.
    * c-opts.c (c_common_handle_option): Do not enable them
    explicitly. Call lang-specific generated functions.
    (c_common_post_options): Do not set them here.
gcc/
    * doc/options.texi: (LangEnabledBy): Document it.
    * optc-gen.awk: Handle LangEnabledBy.
    * opth-gen.awk: Generate declaration for lang-specific functions.
    * opt-read.awk: Record lang numbers.
    * opt-functions.awk (flag_set_p): Ignore the arguments of flags.
    (lang_sanitized_name): New.
ada/
    * gcc-interface/misc.c: Include opts.h and options.h before tm.h.
    (gnat_handle_option): Call lang-specific generated function.
fortran/
    * options.c (gfc_handle_option): Call lang-specific generated function.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/misc.c
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-opts.c
    trunk/gcc/c-family/c.opt
    trunk/gcc/doc/options.texi
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/options.c
    trunk/gcc/opt-functions.awk
    trunk/gcc/opt-read.awk
    trunk/gcc/optc-gen.awk
    trunk/gcc/opth-gen.awk


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