aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr45234.c
blob: 3996fa27fb6b41dd2f1cdd4f4db282aacf0ff9ee (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 ia32 } } */

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]));
}