This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]