diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-16 10:17:07 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-16 10:17:07 +0000 |
commit | 89c698921de18725963b2c4061894ac4bc0b1a8a (patch) | |
tree | 62c0d7f7821118115c0a4344974133ad19963247 /gcc/opts.h | |
parent | e28aa11462a447d3a30e8a53a7058d1158e33e5f (diff) | |
download | gcc-89c698921de18725963b2c4061894ac4bc0b1a8a.tar.gz |
* doc/options.texi (NoDriverArg): Document.
* gcc.c (cpp_unique_options): Generate -MD and -MMD instead of
-MDX and -MMDX.
* opt-functions.awk (switch_flags): Handle NoDriverArg.
* opts-common.c (decode_cmdline_option): Ignore CL_SEPARATE
marking for CL_NO_DRIVER_ARG options when in the driver.
* opts.h (CL_NO_DRIVER_ARG): Define.
(CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, CL_TARGET,
CL_COMMON): Update values.
c-family:
* c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
RejectDriver.
(MMDX): Change back to MMD. Mark NoDriverArg instead of
RejectDriver.
* c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
instead of OPT_MDX and OPT_MMDX.
fortran:
* lang.opt (MDX): Change back to MD. Mark NoDriverArg instead of
RejectDriver.
(MMDX): Change back to MMD. Mark NoDriverArg instead of
RejectDriver.
* cpp.c (gfc_cpp_handle_option): Use OPT_MD and OPT_MMD instead of
OPT_MDX and OPT_MMDX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163280 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.h')
-rw-r--r-- | gcc/opts.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/opts.h b/gcc/opts.h index 18dfdc2a096..4bfa7c1fb36 100644 --- a/gcc/opts.h +++ b/gcc/opts.h @@ -67,12 +67,12 @@ extern const unsigned int cl_options_count; extern const char *const lang_names[]; extern const unsigned int cl_lang_count; -#define CL_PARAMS (1 << 15) /* Fake entry. Used to display --param info with --help. */ -#define CL_WARNING (1 << 16) /* Enables an (optional) warning message. */ -#define CL_OPTIMIZATION (1 << 17) /* Enables an (optional) optimization. */ -#define CL_DRIVER (1 << 18) /* Driver option. */ -#define CL_TARGET (1 << 19) /* Target-specific option. */ -#define CL_COMMON (1 << 20) /* Language-independent. */ +#define CL_PARAMS (1 << 14) /* Fake entry. Used to display --param info with --help. */ +#define CL_WARNING (1 << 15) /* Enables an (optional) warning message. */ +#define CL_OPTIMIZATION (1 << 16) /* Enables an (optional) optimization. */ +#define CL_DRIVER (1 << 17) /* Driver option. */ +#define CL_TARGET (1 << 18) /* Target-specific option. */ +#define CL_COMMON (1 << 19) /* Language-independent. */ #define CL_MIN_OPTION_CLASS CL_PARAMS #define CL_MAX_OPTION_CLASS CL_COMMON @@ -82,6 +82,7 @@ extern const unsigned int cl_lang_count; This distinction is important because --help will not list options which only have these higher bits set. */ +#define CL_NO_DRIVER_ARG (1 << 20) /* Option takes no argument in the driver. */ #define CL_REJECT_DRIVER (1 << 21) /* Reject this option in the driver. */ #define CL_SAVE (1 << 22) /* Target-specific option for attribute. */ #define CL_DISABLED (1 << 23) /* Disabled in this configuration. */ |