This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, Feb 11, 2003 at 12:10:29PM +0100, Paolo Carlini wrote: > Weird that it only shows up at -O3 and could not be noticed > running the testsuite. > > If nobody objects will apply today to both trunk and 3_3. > ! // Seek successful. > ! __ret = __tmp + > ! std::max(this->_M_out_cur, this->_M_in_cur) - _M_filepos; > --- 456,467 ---- > ! { > ! // Seek successful. > ! __ret = __tmp; > ! __ret += > ! std::max(this->_M_out_cur, this->_M_in_cur) - _M_filepos; > ! } This looks to me like a grave compiler bug. It should be fixed in the compiler, not in the library. In particular we shouldn't release any new compiler version that has this bug. Nathan Myers ncm-nospam@cantrip.org
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |