------- Comment #13 from anlauf at gmx dot de 2010-04-01 18:15 ------- (In reply to comment #12) > > 0 > '123456' > 7 > 'DDDDDDDDDDDDD' > 113 > > I would expect '789' and 10. Am I wrong? >
On i686 I get with trunk rev.157914: 0 '123456' 7 '789' 11 I get the same result with ifort 11.1 and Sunstudio 12.1 when I replace call ftell(10,i) by i=ftell(10). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43605