Commit 88436c83 by Jan Hubicka Committed by Jan Hubicka

tree.c (free_lang_data_in_decl): Set DECL_FUNCTION_SPECIFIC_OPTIMIZATION to…

tree.c (free_lang_data_in_decl): Set DECL_FUNCTION_SPECIFIC_OPTIMIZATION to optimization_default_node.

	* tree.c (free_lang_data_in_decl): Set DECL_FUNCTION_SPECIFIC_OPTIMIZATION
	to optimization_default_node.

From-SVN: r217671
parent 56632b27
2014-11-17 Jan Hubicka <hubicka@ucw.cz> 2014-11-17 Jan Hubicka <hubicka@ucw.cz>
* tree.c (free_lang_data_in_decl): Set DECL_FUNCTION_SPECIFIC_OPTIMIZATION
to optimization_default_node.
2014-11-17 Jan Hubicka <hubicka@ucw.cz>
* cgraphunit.c (analyze_functions): Use opt_for_fn. * cgraphunit.c (analyze_functions): Use opt_for_fn.
* cgraph.h (cgraph_node::optimize_for_size_p): Likewise. * cgraph.h (cgraph_node::optimize_for_size_p): Likewise.
...@@ -5118,6 +5118,9 @@ free_lang_data_in_decl (tree decl) ...@@ -5118,6 +5118,9 @@ free_lang_data_in_decl (tree decl)
if (!DECL_FUNCTION_SPECIFIC_TARGET (decl)) if (!DECL_FUNCTION_SPECIFIC_TARGET (decl))
DECL_FUNCTION_SPECIFIC_TARGET (decl) DECL_FUNCTION_SPECIFIC_TARGET (decl)
= target_option_default_node; = target_option_default_node;
if (!DECL_FUNCTION_SPECIFIC_OPTIMIZATION (decl))
DECL_FUNCTION_SPECIFIC_OPTIMIZATION (decl)
= optimization_default_node;
} }
/* DECL_SAVED_TREE holds the GENERIC representation for DECL. /* DECL_SAVED_TREE holds the GENERIC representation for DECL.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment