1 // { dg-do run } 2 // { dg-options "-w" } 3 // Used to crash on the alpha with optimization. 4 5 extern "C" void abort (void); 6 7 struct Fix { 8 unsigned short l; 9 }; 10 f(int len)11static inline void f (int len) 12 { 13 if (len > 65535) 14 abort (); 15 } 16 17 struct Fix a = { 33 }; 18 main()19main() 20 { 21 f (a.l); 22 } 23