------- Comment #2 from burnus at gcc dot gnu dot org 2010-02-23 08:54 ------- (In reply to comment #1) > troutmask:sgk[209] gfc43 -o z j.f90 && ./z | od -t x1 > 0000000 0a 69 6e 76 61 72 73 31 6d 20 3a 20 65 6e 74 65 > 0000020 72 20 6a 64 74 73 65 74 3d 0a > 0000032
Same result also with gcc version 4.2.1 and gcc version 4.1.2 20070115 - and for comparison with NAG f95. You wrote that you have 4.4.1 installed. Can you give more information? For a starter, what does gfortran -v show? What does ./a.out | od -t x1 show? Steve tested with: > troutmask:sgk[212] gfc44 --version > GNU Fortran (GCC) 4.4.3 20091216 (prerelease) I also tested with 4.4.4 20100223 and 4.4.2 [gcc-4_4-branch revision 155966] (SUSE Linux). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43146