https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61773
--- Comment #4 from Richard Biener ---
(In reply to Richard Biener from comment #3)
> Proper testcase (string init was missing):
>
> char *stpcpy (char*, const char *);
> char *foo (void)
> {
> char *p = __builtin_calloc (64, 1);
> char *q =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61773
--- Comment #3 from Richard Biener ---
Proper testcase (string init was missing):
char *stpcpy (char*, const char *);
char *foo (void)
{
char *p = __builtin_calloc (64, 1);
char *q = __builtin_calloc (64, 1);
__builtin_strcat (q, "abcde");
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61773
--- Comment #2 from Richard Biener ---
Fixed with adding a prototype
char *stpcpy (char*, const char *);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61773
Richard Biener changed:
What|Removed |Added
Known to work||4.9.0
Target Milestone|---