OSDN Git Service

PR rtl-optimization/47866
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Mar 2011 20:49:00 +0000 (20:49 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Mar 2011 20:49:00 +0000 (20:49 +0000)
commita7101bd389280626e3cc2d0637750276177e241f
treef2e41a1f3f62ddafe04756aa6068b27b92c97866
parent6dd885164728fbb73a45f3e9e9863979eea08b5f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170834 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/function.c
gcc/rtl.h