re PR rtl-optimization/47866 (gcc.dg/torture/vector-2.c fails on IA64)
authorJakub Jelinek <jakub@redhat.com>
Wed, 9 Mar 2011 20:49:00 +0000 (21:49 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 9 Mar 2011 20:49:00 +0000 (21:49 +0100)
commitdb7ec03597533caa93e7eb3688de61c0d6e2bc77
treef2e41a1f3f62ddafe04756aa6068b27b92c97866
parent0ad313411053e359863e5ec1a5e426254b67de8f
re PR rtl-optimization/47866 (gcc.dg/torture/vector-2.c fails on IA64)

PR rtl-optimization/47866
* expr.c (store_field): If MEM_SCALAR_P (target), don't use
MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx)
if target wasn't scalar.
* function.c (assign_stack_temp_for_type): Assert that neither
MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either
MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P
macro.
* rtl.h (MEM_SET_IN_STRUCT_P): Removed.

From-SVN: r170834
gcc/ChangeLog
gcc/expr.c
gcc/function.c
gcc/rtl.h