summaryrefslogtreecommitdiffstats
path: root/gcc/c-semantics.c
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-01 23:11:05 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-01 23:11:05 +0000
commitd76c69d6ff32d648543145cc819184dddb27b439 (patch)
tree8bb2b38575d04cc4f2b927ab86c241f2fca69488 /gcc/c-semantics.c
parent8a17dd2ee3a6e05a38497369f8e208840264fd08 (diff)
downloadppe42-gcc-d76c69d6ff32d648543145cc819184dddb27b439.tar.gz
ppe42-gcc-d76c69d6ff32d648543145cc819184dddb27b439.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40166 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-semantics.c')
-rw-r--r--gcc/c-semantics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c
index bf85f7fcc13..ac916c4805f 100644
--- a/gcc/c-semantics.c
+++ b/gcc/c-semantics.c
@@ -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)
{
OpenPOWER on IntegriCloud