Message ID | 20160515221841.GA33559@kam.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Index: tree.c =================================================================== --- tree.c (revision 236211) +++ tree.c (working copy) @@ -5418,7 +5418,7 @@ free_lang_data_in_decl (tree decl) DECL_INITIAL (decl) = error_mark_node; } } - if (gimple_has_body_p (decl)) + if (gimple_has_body_p (decl) || (node && node->thunk.thunk_p)) { tree t;