Commit 955f6531 by Eric Botcazou Committed by Eric Botcazou

tree-inline.c (copy_body_r): Copy TREE_SIDE_EFFECTS along with…

tree-inline.c (copy_body_r): Copy TREE_SIDE_EFFECTS along with TREE_THIS_VOLATILE on INDIRECT_REF nodes.

	* tree-inline.c (copy_body_r): Copy TREE_SIDE_EFFECTS along with
	TREE_THIS_VOLATILE on INDIRECT_REF nodes.

From-SVN: r136702
parent bd323ce5
2008-06-12 Eric Botcazou <ebotcazou@adacore.com> 2008-06-12 Eric Botcazou <ebotcazou@adacore.com>
* tree-inline.c (copy_body_r): Copy TREE_SIDE_EFFECTS along with
TREE_THIS_VOLATILE on INDIRECT_REF nodes.
2008-06-12 Eric Botcazou <ebotcazou@adacore.com>
* expr.c (store_field): Do a block copy from BLKmode to BLKmode-like. * expr.c (store_field): Do a block copy from BLKmode to BLKmode-like.
(get_inner_reference): Use BLKmode for byte-aligned BLKmode bitfields. (get_inner_reference): Use BLKmode for byte-aligned BLKmode bitfields.
......
...@@ -715,6 +715,7 @@ copy_body_r (tree *tp, int *walk_subtrees, void *data) ...@@ -715,6 +715,7 @@ copy_body_r (tree *tp, int *walk_subtrees, void *data)
{ {
*tp = build1 (INDIRECT_REF, type, new); *tp = build1 (INDIRECT_REF, type, new);
TREE_THIS_VOLATILE (*tp) = TREE_THIS_VOLATILE (old); TREE_THIS_VOLATILE (*tp) = TREE_THIS_VOLATILE (old);
TREE_SIDE_EFFECTS (*tp) = TREE_SIDE_EFFECTS (old);
} }
} }
*walk_subtrees = 0; *walk_subtrees = 0;
......
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