------- Comment #4 from pcarlini at suse dot de 2006-02-09 17:24 ------- Martin, I have a patch in the making which is supposed to fix the problem.
However, with that patch applied, your testcase still fails the third assertion, that is 'assert (-1 == ifs.tellg ());' at line 15, because tellg returns the length of the file, not -1. By the way, Dinkum as bundled together with ICC does the same. I will look into that, as soon as I finish the first part of the work, but I wonder if you could possibly also investigate a bit? Maybe we are diverging in the implementation (not implementation) of some DRs? Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26181