mirror of git://gcc.gnu.org/git/gcc.git
tree.c (free_lang_data_in_decl): Free DECL_FCONTEXT.
2009-10-15 Richard Guenther <rguenther@suse.de> * tree.c (free_lang_data_in_decl): Free DECL_FCONTEXT. From-SVN: r152841
This commit is contained in:
parent
b44dd04358
commit
23503efce3
|
@ -1,3 +1,7 @@
|
|||
2009-10-15 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* tree.c (free_lang_data_in_decl): Free DECL_FCONTEXT.
|
||||
|
||||
2009-10-15 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* config/rs6000/option-defaults.h (OPTION_DEFAULT_SPECS): Don't
|
||||
|
|
|
@ -4402,6 +4402,10 @@ free_lang_data_in_decl (tree decl)
|
|||
&& DECL_FIELD_OFFSET (decl)
|
||||
&& TREE_CODE (DECL_FIELD_OFFSET (decl)) != INTEGER_CST)
|
||||
DECL_FIELD_OFFSET (decl) = NULL_TREE;
|
||||
|
||||
/* DECL_FCONTEXT is only used for debug info generation. */
|
||||
if (TREE_CODE (decl) == FIELD_DECL)
|
||||
DECL_FCONTEXT (decl) = NULL_TREE;
|
||||
}
|
||||
else if (TREE_CODE (decl) == FUNCTION_DECL)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue