PING: PATCH: middle-end/36701: [4.4 Regression] unaligned access in gcc.c-torture/execute/complex-7.c

sje@cup.hp.com sje@cup.hp.com
Sat Aug 16 06:09:00 GMT 2008


> 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



More information about the Gcc-patches mailing list