libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr116406.c
blob6643c49218fee8facb36efb8a2230b4542c01768
1 /* { dg-do compile } */
2 /* { dg-options "-Os -finstrument-functions-once" } */
3 /* { dg-additional-options "-mfpmath=387" { target { x86_64-*-* i?86-*-* } } } */
5 typedef union {
6 float f32;
7 double f64;
8 long i64;
9 } U;
11 _Bool
12 foo (int c, U u)
14 switch (c)
16 case 1:
17 return u.f32 - u.f64;
18 case 0:
19 return u.i64;