This is the mail archive of the
mailing list for the libstdc++ project.
Re: Repositioning fstream
On Sun, Jan 09, 2005 at 11:43:08PM +0300, Vladimir Merzliakov wrote:
> >On Fri, Jan 07, 2005 at 04:27:35PM +0000, Jonathan Wakely wrote:
> >>It does print "wibble" using GCC 2.95 and 3.3, but not 3.4 or 4.0.
> >I was wrong, I only see a problem with 4.0, and only on FreeBSD.
> >Works fine on my linux box. I'll try to figure out what I've broken.
> Can be related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19060
It might be, but I see my problem at any optimisation level, even -O0.
I do see the problem on i386-unknown-freebsd4.8 but not on
x86_64-unknown-linux-gnu, which is consistent with that PR.
Thanks for pointing it out, I'll keep investigating before I add
anything to bugzilla.
"Consistency is the last refuge of the unimaginative."
- Oscar Wilde