Commit 1e54d32b by Mark Mitchell Committed by Mark Mitchell

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
parent c97e511d
1999-12-09 Mark Mitchell <mark@codesourcery.com>
* tree.c (copy_node): Do zero the TREE_CHAIN, even for an
EXPR_WITH_FILE_LOCATION.
Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz> Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
......
...@@ -1191,9 +1191,7 @@ copy_node (node) ...@@ -1191,9 +1191,7 @@ copy_node (node)
t = (tree) obstack_alloc (current_obstack, length); t = (tree) obstack_alloc (current_obstack, length);
memcpy (t, node, length); memcpy (t, node, length);
/* EXPR_WITH_FILE_LOCATION must keep filename info stored in TREE_CHAIN */ TREE_CHAIN (t) = 0;
if (TREE_CODE (node) != EXPR_WITH_FILE_LOCATION)
TREE_CHAIN (t) = 0;
TREE_ASM_WRITTEN (t) = 0; TREE_ASM_WRITTEN (t) = 0;
if (TREE_CODE_CLASS (code) == 'd') if (TREE_CODE_CLASS (code) == 'd')
......
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