------- Comment #22 from marc dot glisse at normalesup dot org 2009-07-18 04:50 ------- (In reply to comment #20) > buf[n] = 6; > memset (buf+n, 0, i + j); > if (buf[0] != 6)
It looks like you forgot to replace the second buf[0] by buf[n]. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40757