Commit 1db1c6f5 by Richard Guenther Committed by Richard Biener

re PR middle-end/48493 (ice in expand_expr_addr_expr_1 with complex types and mem_ref)

2012-05-31  Richard Guenther  <rguenther@suse.de>

	PR middle-end/48493
	* gcc.dg/torture/pr48493.c: New testcase.

From-SVN: r188058
parent 673910d7
2012-05-31 Richard Guenther <rguenther@suse.de>
PR middle-end/48493
* gcc.dg/torture/pr48493.c: New testcase.
2012-05-31 Greta Yorsh <Greta.Yorsh@arm.com>
* lib/target-supports.exp (check_effective_target_vect_char_mult): Add
......
/* { dg-do compile } */
typedef long long T __attribute__((may_alias, aligned (1)));
struct S
{
_Complex float d __attribute__((aligned (8)));
};
void bar (struct S);
void
f1 (T x)
{
struct S s;
*(T *) ((char *) &s.d + 1) = x;
bar (s);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment