mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
673910d7aa
commit
1db1c6f520
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2012-05-31 Greta Yorsh <Greta.Yorsh@arm.com>
|
||||||
|
|
||||||
* lib/target-supports.exp (check_effective_target_vect_char_mult): Add
|
* lib/target-supports.exp (check_effective_target_vect_char_mult): Add
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
/* { 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);
|
||||||
|
}
|
Loading…
Reference in New Issue