Commit 5aa709ad by Diego Novillo Committed by Diego Novillo

c-semantics.c (prune_unused_decls): Return error_mark_node instead of (tree) 1…

c-semantics.c (prune_unused_decls): Return error_mark_node instead of (tree) 1 to stop traversing the tree chain.

2001-03-01  Diego Novillo  <dnovillo@redhat.com>

	* c-semantics.c (prune_unused_decls): Return error_mark_node
	instead of (tree) 1 to stop traversing the tree chain.

From-SVN: r40166
parent a810c642
2001-03-01 Diego Novillo <dnovillo@redhat.com>
* c-semantics.c (prune_unused_decls): Return error_mark_node
instead of (tree) 1 to stop traversing the tree chain.
2001-03-01 Bernd Schmidt <bernds@redhat.com>
Fix a problem introduced by Kenner's Feb 18 change.
......
......@@ -151,7 +151,7 @@ prune_unused_decls (tp, walk_subtrees, data)
tree t = *tp;
if (t == NULL_TREE)
return (tree) 1;
return error_mark_node;
if (TREE_CODE (t) == DECL_STMT)
{
......
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