1 // This testcase caused ICE on IA-32 in simplify_unary_operation
2 // CSE did not assume SUBREGs changing mode from integral to floating.
3 // { dg-do run { target i?86-*-* sparc*-*-* x86_64-*-* } }
4 // { dg-options "-O2" }
14 static inline const A foo (void)
16 return A ((unsigned int) (__extension__ ((union { unsigned l; float d; })
17 { l: 0x3f800000 }).d));
19 inline A (float f) { a.f = f; }
21 inline A (unsigned int w) { a.w = w; }
31 extern "C" void abort (void);
32 extern "C" void exit (int);