Re: libstdc++/10809: [3.3 regression] mips-sgi-irix6.5 libstdc++-v3 testsuite execution failure in 27_io/istream_unformatted.cc

Eric Botcazou <[email protected]>
Newsgroups gmane.comp.gcc.prs
Message-ID <[email protected]>
The following reply was made to PR libstdc++/10809; it has been noted by GNATS.

From: Eric Botcazou <[email protected]>
To: Paolo Carlini <[email protected]>
Cc: [email protected],
 [email protected],
 [email protected],
 [email protected]
Subject: Re: libstdc++/10809: [3.3 regression] mips-sgi-irix6.5 libstdc++-v3 testsuite execution failure in 27_io/istream_unformatted.cc
Date: Mon, 19 May 2003 10:32:49 +0200

 > (*) Just copy the whole test file (together with the required
 > 'istream_unformatted-1.tst') and replace <testsuite_hooks.h> by
 > <cassert> and each VERIFY by assert. Then build and step into that
 > in_avail call.
 
 It's getting weirder: the log file contains
 
 Assertion failed: i != 0, file 
 /opt/build/eric/gcc-3_3-branch/src/libstdc++-v3/t
 estsuite/27_io/istream_unformatted.cc, line 606
 
 Now if I manually compile and run the test as you suggested, I get:
 
 Assertion failed: sum != 0, file istream_unformatted.cc, line 619
 
 and
 
 i = 4294967295 
 extracted = 0
 
 I get random bus errors with both GDB 5.2.1 and GDB 5.3. And I can't 
 step into in_avail (GDB jumps to the next line instead, after a little 
 delay), not too sure why.
 
 -- 
 Eric Botcazou
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.