This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PING: PATCH: middle-end/36701: [4.4 Regression] unaligned access in gcc.c-torture/execute/complex-7.c
- From: <sje at cup dot hp dot com>
- To: hjl dot tools at gmail dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Aug 2008 15:56:54 -0700
- Subject: PING: PATCH: middle-end/36701: [4.4 Regression] unaligned access in gcc.c-torture/execute/complex-7.c
> 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
>
> PR middle-end/36701
> * expr.c (emit_group_store): Allocate stack temp with the
> largest alignment when copying from register to stack.
H.J.,
I am running into the gcc_assert in this patch on IA64 HP-UX (but not Linux)
with this test case:
typedef struct { _Complex char a; } Scc1;
void checkScc1 (Scc1 x) { }
When I get to the gcc_assert I find that dest_mode is CQImode (size 2)
and tmp_mode is DImode (size 8) and the assert fails.
Steve Ellcey
sje@cup.hp.com