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