PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr38151-1.c
blob6500a5029b6aff4e15cf6b45a5008f9dc924c7e7
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
4 void abort (void);
6 struct S2848
8 unsigned int a;
9 _Complex int b;
12 struct S2848 s2848;
14 void __attribute__((noinline))
15 check2848 (struct S2848 arg0)
17 if (arg0.b != s2848.b)
18 abort ();
21 int main()
23 s2848.a = 4027477739U;
24 s2848.b = (723419448 + -218144346 * __extension__ 1i);
26 check2848 (s2848);
28 return 0;