diff options
author | Bernd Schmidt <bernds@cygnus.co.uk> | 1999-09-06 14:29:19 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 1999-09-06 14:29:19 +0000 |
commit | 2e28f042c025317bc5c73b736cb0bd8e62f6ac60 (patch) | |
tree | abccc2e1ef82765600197238efd9b21b87094f43 /gcc/tree.c | |
parent | 421cba926889ba3e5573b22834780eee5132ace1 (diff) | |
download | gcc-2e28f042c025317bc5c73b736cb0bd8e62f6ac60.zip gcc-2e28f042c025317bc5c73b736cb0bd8e62f6ac60.tar.gz gcc-2e28f042c025317bc5c73b736cb0bd8e62f6ac60.tar.bz2 |
copy_node should copy the node
From-SVN: r29142
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1140,10 +1140,8 @@ copy_node (node) if (ggc_p) t = ggc_alloc_tree (length); else - { - t = (tree) obstack_alloc (current_obstack, length); - memcpy (t, node, length); - } + 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) |