------- Comment #22 from jvdelisle at gcc dot gnu dot org 2009-06-10 12:32 ------- Thanks for reduced test.
$ ./a.out >badfile $ xxd badfile 0000000: 2020 2020 2020 2020 2020 2020 2020 3320 3 0000010: 2020 2020 2020 2020 2020 2020 2020 3300 3. The NULL in the last byte should be a space. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40330