actions.c (chill_convert_for_assignment): Make a copy of the result node before modifying it.

Thu Sep 10 17:52:36 1998  Dave Brolley  <brolley@cygnus.com>
	* actions.c (chill_convert_for_assignment): Make a copy of the result
	node before modifying it.

From-SVN: r22382
This commit is contained in:
Dave Brolley 1998-09-10 14:56:22 +00:00 committed by Dave Brolley
parent 1c80fb65ce
commit 6cf624a0a5
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Thu Sep 10 17:52:36 1998 Dave Brolley <brolley@cygnus.com>
* actions.c (chill_convert_for_assignment): Make a copy of the result
node before modifying it.
Sat Sep 5 16:55:37 1998 John Carr <jfc@mit.edu>
* Make-lang.in: Comment ^L characters. Sun make doesn't like them.

View file

@ -589,6 +589,7 @@ chill_convert_for_assignment (type, expr, place)
}
}
}
result = copy_node (result);
TREE_OPERAND (result, 1) = nreverse (new_list);
TREE_TYPE (result) = build_bitstring_type (TYPE_SIZE (type));
}