| 1 |
/* PR middle-end/46360 */ |
| 2 |
|
| 3 |
__attribute__((gnu_inline, always_inline)) extern inline char * |
| 4 |
strncpy (char *dest, const char *src, __SIZE_TYPE__ len) |
| 5 |
{ |
| 6 |
return __builtin_strncpy (dest, src, len); |
| 7 |
} |
| 8 |
|
| 9 |
void |
| 10 |
foo (char *s) |
| 11 |
{ |
| 12 |
strncpy (s, "", 0); |
| 13 |
} |