diff options
author | Michael Meissner <gnu@the-meissners.org> | 2008-08-30 23:50:40 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2008-08-30 23:50:40 +0000 |
commit | 5779e7133d84c5873249bb643d9852f314022f0b (patch) | |
tree | b3ee120a2ecf25d00fba24415c8566f83135a110 /gcc/target.h | |
parent | 0257eee5bd4700647061f61b13a2f89b2a4b4f28 (diff) | |
download | gcc-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/target.h')
-rw-r--r-- | gcc/target.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/gcc/target.h b/gcc/target.h index 610d765..a44eb92 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -991,19 +991,13 @@ struct gcc_target void (*print) (FILE *, int, struct cl_target_option *); /* Function to parse arguments to be validated for #pragma option, and to - change the state if the options are valid. If the arguments are NULL, - use the default target options. Return true if the options are valid, - and set the current state. */ - bool (*pragma_parse) (tree); + change the state if the options are valid. If the first argument is + NULL, the second argument specifies the default options to use. Return + true if the options are valid, and set the current state. */ + bool (*pragma_parse) (tree, tree); /* Function to determine if one function can inline another function. */ bool (*can_inline_p) (tree, tree); - - /* Whether the cold attribute changes the optimization level. */ - bool cold_attribute_sets_optimization; - - /* Whether the hot attribute changes the optimization level. */ - bool hot_attribute_sets_optimization; } target_option; /* For targets that need to mark extra registers as live on entry to |