summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr45234.c
blob: b11096b65e22fe594ee80ea62f59d69b50374b5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR middle-end/45234 */
/* { dg-do compile } */
/* { dg-options "-march=i586" { target ilp32 } } */

struct S { union { double b[4]; } a[18]; } s, a[5];
void foo (struct S);
struct S bar (struct S, struct S *, struct S);

void
foo (struct S arg)
{
}

void
baz (void)
{
 foo (bar (s, &a[1], a[2]));
}