istream
Frederic Tran_Minh
ftran@sophia.inria.fr
Fri Aug 24 09:03:00 GMT 2001
hi,
this is perhaps not a bug, but at least a different behavior between
gcc 2.95 and gcc 3.0, and you perhaps can give me a hint for porting.
the sample attached program makes 2 tests reading n bytes from
a file ;
test1 : file == std::cin fails on gcc3, succeeds on gcc2.95
test2 : file is a std::ifstream, succeeds on both.
Unfortunately I cannot attach you the input file since it's a 5769604
bytes confidential file, but **the same file** is used as input in **all**
cases.
you will find as attached files
1/ the bug diagnostic bugrep00
2/ the sample source file test_istream.cc
Fred
More information about the Gcc-bugs
mailing list