Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr83609.c
blobeac11fca9361c970f4b0f095c44c7cd618508809
1 /* PR middle-end/83609 */
2 /* { dg-do run } */
3 /* { dg-options "-O2 -fno-tree-forwprop -fno-tree-ccp -fno-tree-fre -fno-tree-pre -fno-code-hoisting" } */
5 #if __SIZEOF_LONG_LONG__ == 2 * __SIZEOF_FLOAT__
6 _Complex float
7 foo (void)
9 _Complex float c;
10 *((unsigned long long *)&c) = 0x123456789abcdef0ULL;
11 return c;
14 int
15 main ()
17 union { _Complex float c; unsigned long long l; } u;
18 u.c = foo ();
19 if (u.l != 0x123456789abcdef0ULL)
20 __builtin_abort ();
21 return 0;
23 #else
24 int
25 main ()
27 return 0;
29 #endif