This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/47866] [4.5/4.6 Regression] gcc.dg/torture/vector-2.c fails on IA64
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 9 Mar 2011 20:49:25 +0000
- Subject: [Bug rtl-optimization/47866] [4.5/4.6 Regression] gcc.dg/torture/vector-2.c fails on IA64
- Auto-submitted: auto-generated
- References: <bug-47866-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47866
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-09 20:49:03 UTC ---
Author: jakub
Date: Wed Mar 9 20:49:00 2011
New Revision: 170834
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170834
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
trunk/gcc/function.c
trunk/gcc/rtl.h