diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-17 16:48:29 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-17 16:48:29 +0000 |
commit | 23de2c1dc774f7952c7d7e444471c40321871133 (patch) | |
tree | 6bf656e5818095c341835964b06853b101fed760 /gcc/tree.c | |
parent | 17d388d8eb0087180c0170db10b5ccb71592c865 (diff) | |
download | gcc-23de2c1dc774f7952c7d7e444471c40321871133.tar.gz |
* tree.c (free_lang_data_in_decl): Annotate all functio nbodies with
DECL_FUNCTION_SPECIFIC_TARGET.
* i386.c (ix86_set_current_function): Handle explicit default options.
* lto.c (lto_read_decls): Do not rebuild DECL_FUNCTION_SPECIFIC_TARGET.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217659 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index 933e8eb4d61..498d52e648c 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -5115,6 +5115,9 @@ free_lang_data_in_decl (tree decl) the PARM_DECL will be used in the function's body). */ for (t = DECL_ARGUMENTS (decl); t; t = TREE_CHAIN (t)) DECL_CONTEXT (t) = decl; + if (!DECL_FUNCTION_SPECIFIC_TARGET (decl)) + DECL_FUNCTION_SPECIFIC_TARGET (decl) + = target_option_default_node; } /* DECL_SAVED_TREE holds the GENERIC representation for DECL. |