https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83152
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.org --- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- By my count, you are off by one character in one of your field widths. Add a space at the end of the lines in the input file or change format to person_format='(a,2x,i3,2x,f4.2,1x,f3.0)' 1x, not 2x toward the end. (or maybe add a decimal point at end of lines in input file) I get with 1x: $ ./a.out Zahpod Beeblebrox 42 1.85 75. Ford Prefect 25 1.75 65. Arthur Dent 30 1.72 68. Trillian 30 1.65 45.