summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-30 23:50:40 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-30 23:50:40 +0000
commit2447005502283065f2232ce09edf1b3c808a1c7f (patch)
treeb3ee120a2ecf25d00fba24415c8566f83135a110 /gcc/target.h
parentac785357337a7e170d547963987890e6284185b0 (diff)
downloadgcc-2447005502283065f2232ce09edf1b3c808a1c7f.tar.gz
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}
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139812 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 610d7650198..a44eb921a60 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