1 /* PR rtl-optimization/56484 */ 2 3 unsigned char b[4096]; 4 int bar (void); 5 6 int foo(void)7 foo (void) 8 { 9 int a = 0; 10 while (bar ()) 11 { 12 int c = bar (); 13 a = a < 0 ? a : c; 14 __builtin_memset (b, 0, sizeof b); 15 } 16 return a; 17 } 18