re PR lto/54811 (tree code '�' is not supported in LTO streams)
2012-10-05 Richard Guenther <rguenther@suse.de> PR middle-end/54811 * tree-ssa-live.c (clear_unused_block_pointer_1): Look at DECL_DEBUG_EXPR again. From-SVN: r192120
This commit is contained in:
parent
bfc61b40d4
commit
4f60bf181e
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-10-05 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR middle-end/54811
|
||||
* tree-ssa-live.c (clear_unused_block_pointer_1): Look at
|
||||
DECL_DEBUG_EXPR again.
|
||||
|
||||
2012-10-05 Jan Hubicka <jh@suse.cz>
|
||||
Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
|
|
|
@ -621,6 +621,11 @@ clear_unused_block_pointer_1 (tree *tp, int *, void *)
|
|||
if (EXPR_P (*tp) && TREE_BLOCK (*tp)
|
||||
&& !TREE_USED (TREE_BLOCK (*tp)))
|
||||
TREE_SET_BLOCK (*tp, NULL);
|
||||
if (TREE_CODE (*tp) == VAR_DECL && DECL_DEBUG_EXPR_IS_FROM (*tp))
|
||||
{
|
||||
tree debug_expr = DECL_DEBUG_EXPR (*tp);
|
||||
walk_tree (&debug_expr, clear_unused_block_pointer_1, NULL, NULL);
|
||||
}
|
||||
return NULL_TREE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue