diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-12-09 18:59:30 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-12-09 18:59:30 +0000 |
commit | 1e54d32b0524638e375a871ef3cb6b8897ce203c (patch) | |
tree | 869fd5404f4b2f8d4cc66f05a47d800ccfb74982 /gcc/tree.c | |
parent | c97e511d3174ec7aef16040f5325c6d14fb36f48 (diff) | |
download | gcc-1e54d32b0524638e375a871ef3cb6b8897ce203c.zip gcc-1e54d32b0524638e375a871ef3cb6b8897ce203c.tar.gz gcc-1e54d32b0524638e375a871ef3cb6b8897ce203c.tar.bz2 |
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
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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') |