aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.h
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>2008-08-30 23:50:40 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2008-08-30 23:50:40 +0000
commit5779e7133d84c5873249bb643d9852f314022f0b (patch)
treeb3ee120a2ecf25d00fba24415c8566f83135a110 /gcc/opts.h
parent0257eee5bd4700647061f61b13a2f89b2a4b4f28 (diff)
downloadgcc-5779e7133d84c5873249bb643d9852f314022f0b.zip
gcc-5779e7133d84c5873249bb643d9852f314022f0b.tar.gz
gcc-5779e7133d84c5873249bb643d9852f314022f0b.tar.bz2
Change attribute((option(...))) to attribute((target(...))); Do not allocate tree nodes on x86 for builtins until we generate code for the ISA; Delete hot/cold functions changing optimization; Make C++ support target specific functions; Add #pragma GCC {push_options,pop_options,reset_options} instead of #pragma GCC {target,optimize} {push,reset,pop}
From-SVN: r139812
Diffstat (limited to 'gcc/opts.h')
-rw-r--r--gcc/opts.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/opts.h b/gcc/opts.h
index 62ad89a..7a51a0e 100644
--- a/gcc/opts.h
+++ b/gcc/opts.h
@@ -65,13 +65,14 @@ extern const unsigned int cl_options_count;
extern const char *const lang_names[];
extern const unsigned int cl_lang_count;
+#define CL_SAVE (1 << 17) /* Target-specific option for attribute. */
#define CL_PARAMS (1 << 18) /* Fake entry. Used to display --param info with --help. */
#define CL_WARNING (1 << 19) /* Enables an (optional) warning message. */
#define CL_OPTIMIZATION (1 << 20) /* Enables an (optional) optimization. */
#define CL_TARGET (1 << 21) /* Target-specific option. */
#define CL_COMMON (1 << 22) /* Language-independent. */
-#define CL_MIN_OPTION_CLASS CL_PARAMS
+#define CL_MIN_OPTION_CLASS CL_SAVE
#define CL_MAX_OPTION_CLASS CL_COMMON
/* From here on the bits describe attributes of the options.