Commit 4f60bf18 by Richard Guenther Committed by Richard Biener

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
parent bfc61b40
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;
}
......
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