Commit 963a2a84 by Graham Stott Committed by Graham Stott

expr.c (store_constructor): If a field is non addressable and the target is a…

expr.c (store_constructor): If a field is non addressable and the target is a MEM use MEM_ALIAS_SET...


	* expr.c (store_constructor): If a field is non addressable and
	the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.

From-SVN: r37700
parent f9b697bf
2000-11-23 Graham Stott <grahams@redhat.com>
* expr.c (store_constructor): If a field is non addressable and
the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
2000-11-23 Bernd Schmidt <bernds@redhat.co.uk> 2000-11-23 Bernd Schmidt <bernds@redhat.co.uk>
* flow.c (print_rtl_and_abort): New function. * flow.c (print_rtl_and_abort): New function.
......
...@@ -4408,7 +4408,8 @@ store_constructor (exp, target, align, cleared, size) ...@@ -4408,7 +4408,8 @@ store_constructor (exp, target, align, cleared, size)
#endif #endif
store_constructor_field (to_rtx, bitsize, bitpos, mode, store_constructor_field (to_rtx, bitsize, bitpos, mode,
TREE_VALUE (elt), type, align, cleared, TREE_VALUE (elt), type, align, cleared,
DECL_NONADDRESSABLE_P (field) (DECL_NONADDRESSABLE_P (field)
&& GET_CODE (to_rtx) == MEM)
? MEM_ALIAS_SET (to_rtx) ? MEM_ALIAS_SET (to_rtx)
: get_alias_set (TREE_TYPE (field))); : get_alias_set (TREE_TYPE (field)));
} }
......
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