------- Comment #20 from jvdelisle at gcc dot gnu dot org 2009-01-17 12:54 ------- With Dominique's reduced test case I see three valgrind errors. Actual output is fine. I am looking further.
==4359== Conditional jump or move depends on uninitialised value(s) ==4359== at 0x43793D: strlen (in /home/jerry/prs/pr38868/a.out) ==4359== by 0x40871F: write_integer (write.c:859) ==4359== by 0x40BB4E: _gfortrani_list_formatted_write (write.c:1081) ==4359== by 0x400610: MAIN__ (pr38868.f:38) ==4359== by 0x400819: main (fmain.c:21) ==4359== ==4359== Conditional jump or move depends on uninitialised value(s) ==4359== at 0x4170A4: __ctype_toupper_loc (in /home/jerry/prs/pr38868/a.out) ==4359== by 0x40DF02: next_char (format.c:93) ==4359== by 0x40DFAE: format_lex (format.c:183) ==4359== by 0x40EE86: _gfortrani_parse_format (format.c:1034) ==4359== by 0x4053F7: data_transfer_init (transfer.c:1932) ==4359== by 0x4006D6: MAIN__ (pr38868.f:39) ==4359== by 0x400819: main (fmain.c:21) ==4359== ==4359== Conditional jump or move depends on uninitialised value(s) ==4359== at 0x417064: __ctype_b_loc (in /home/jerry/prs/pr38868/a.out) ==4359== by 0x40E15F: format_lex (format.c:168) ==4359== by 0x40E34C: parse_format_list (format.c:463) ==4359== by 0x40EEB7: _gfortrani_parse_format (format.c:1035) ==4359== by 0x4053F7: data_transfer_init (transfer.c:1932) ==4359== by 0x4006D6: MAIN__ (pr38868.f:39) ==4359== by 0x400819: main (fmain.c:21) | E(BOND)= E(ANGL)= | | E(DIHE)= E(IMPR)= E(VDW )= E(ELEC)= | ==4359== -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38868