1 /* { dg-do compile } */ 2 3 void foo(char * str,int i)4 foo (char *str, int i) 5 { 6 static const char text[] = ""; 7 str[i] = 0; 8 if (i & 1) 9 __builtin_strcpy (str + i, text); 10 } 11 12