1int sprintf (char *s, const char *format, ...); 2 3int foo(int i, int j) 4{ 5 char *buf, *str; 6 7 if (i) 8 str = ""; 9 else if (j) 10 str = ""; 11 else 12 return 1; 13 14 /* We were propagating &""[0] here and not calling fold_stmt with a 15 proper statement pointer. */ 16 sprintf(buf, str); 17 return 0; 18} 19