------- Additional Comments From wanderer at rsu dot ru 2004-12-31 17:58
-------
I extract problematic compiled (with -O2) function:
---8X-----------------------------
#include <bits/basic_file.h>
#include <fcntl.h>
#include <limits> // For <off_t>::max() and min() and <streamsize>::max()
namespace std
{
streamoff
__basic_file<char>::seekoff(streamoff __off, ios_base::seekdir __way)
{
if (__off > numeric_limits<off_t>::max()
|| __off < numeric_limits<off_t>::min())
return -1L;
return lseek(this->fd(), __off, __way);
}
} // namespace std
---X8-----------------------------
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060