https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113752
Aldy Hernandez <aldyh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|aldyh at redhat dot com | --- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Can't reproduce on x86-64 on recent trunk: abulafia:~/bld/t/gcc []$ ./xgcc -B./ -c -O3 -Wall a.c abulafia:~/bld/t/gcc []$ cat a.c char a[10256]; char b; char *c, *g; int d, e, f; int sprintf(char *, char *, ...); unsigned long strlen(char *); int h(char *j) { if (strlen(j) + strlen(c) + strlen(g) + 32 > 10256) return 0; sprintf(a, "%s:%s:%d:%d:%d:%c:%s\n", j, c, d, e, f, b, g); return 1; }