diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-17 19:35:57 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-17 19:35:57 +0000 |
commit | d85d1efc03a614320861cfbffbf7dade2cb0e32f (patch) | |
tree | c53aea5b9cc7f39754d6086b25b6fb669c0ed392 /gcc/tree.c | |
parent | 00f2171561b1524f9b683b3361545469ea6c94aa (diff) | |
download | gcc-d85d1efc03a614320861cfbffbf7dade2cb0e32f.tar.gz |
* tree.c (free_lang_data_in_decl): Set DECL_FUNCTION_SPECIFIC_OPTIMIZATION
to optimization_default_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217671 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 498d52e648c..3d1d6370fb0 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -5118,6 +5118,9 @@ free_lang_data_in_decl (tree decl) if (!DECL_FUNCTION_SPECIFIC_TARGET (decl)) DECL_FUNCTION_SPECIFIC_TARGET (decl) = 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. |