This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36701] [4.4 Regression] unaligned access in gcc.c-torture/execute/complex-7.c
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2008 22:25:08 -0000
- Subject: [Bug target/36701] [4.4 Regression] unaligned access in gcc.c-torture/execute/complex-7.c
- References: <bug-36701-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from hjl dot tools at gmail dot com 2008-07-07 22:25 -------
assign_parm_remove_parallels:
if (GET_CODE (entry_parm) == PARALLEL && GET_MODE (entry_parm) != BLKmode)
{
rtx parmreg = gen_reg_rtx (GET_MODE (entry_parm));
emit_group_store (parmreg, entry_parm, NULL_TREE,
GET_MODE_SIZE (GET_MODE (entry_parm)));
entry_parm = parmreg;
}
is incorrect for ia64 HFA. You can't do
rtx parmreg = gen_reg_rtx (GET_MODE (entry_parm));
when entry_parm is HFA passed in GR:
(parallel:SC [
(expr_list:REG_DEP_TRUE (reg:DI 117 in5 [ a5 ])
(const_int 0 [0x0]))
])
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36701