1 /* { dg-do run } */ 2 /* { dg-additional-options "-fgimple -fstrict-aliasing" } */ 3 4 #if __SIZEOF_INT__ != __SIZEOF_FLOAT__ main()5int main() { return 0; } 6 #else 7 struct X { int i; }; 8 float f; 9 10 int __GIMPLE (ssa,startwith("fre")) __attribute__((noipa)) foo(float * p)11foo (float *p) 12 { 13 struct X x; 14 float tem; 15 int _2; 16 17 __BB(2): 18 f = 0.0f; 19 __MEM <float> (p_1(D)) = 1.0f; 20 x = __VIEW_CONVERT <struct X> (f); 21 _2 = x.i; 22 return _2; 23 } 24 25 int main()26main() 27 { 28 if (foo (&f) == 0) 29 __builtin_abort (); 30 return 0; 31 } 32 #endif 33