From 1e54d32b0524638e375a871ef3cb6b8897ce203c Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 9 Dec 1999 18:59:30 +0000 Subject: tree.c (copy_node): Do zero the TREE_CHAIN, even for an EXPR_WITH_FILE_LOCATION. * tree.c (copy_node): Do zero the TREE_CHAIN, even for an EXPR_WITH_FILE_LOCATION. From-SVN: r30848 --- gcc/tree.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gcc/tree.c') diff --git a/gcc/tree.c b/gcc/tree.c index 1ec2976..37a8654 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -1191,9 +1191,7 @@ copy_node (node) t = (tree) obstack_alloc (current_obstack, length); memcpy (t, node, length); - /* EXPR_WITH_FILE_LOCATION must keep filename info stored in TREE_CHAIN */ - if (TREE_CODE (node) != EXPR_WITH_FILE_LOCATION) - TREE_CHAIN (t) = 0; + TREE_CHAIN (t) = 0; TREE_ASM_WRITTEN (t) = 0; if (TREE_CODE_CLASS (code) == 'd') -- cgit v1.1