public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/943
@ 2001-05-24 20:56 bkoz
0 siblings, 0 replies; 4+ messages in thread
From: bkoz @ 2001-05-24 20:56 UTC (permalink / raw)
To: bkoz; +Cc: gcc-prs
The following reply was made to PR libstdc++/943; it has been noted by GNATS.
From: bkoz@gcc.gnu.org
To: bkoz@gcc.gnu.org, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org,
schmid@snake.iap.physik.tu-darmstadt.de
Cc:
Subject: Re: libstdc++/943
Date: 25 May 2001 03:50:02 -0000
Synopsis: Problems reading in complex numbers in a loop
Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Thu May 24 20:50:02 2001
Responsible-Changed-Why:
Responsible.
State-Changed-From-To: open->feedback
State-Changed-By: bkoz
State-Changed-When: Thu May 24 20:50:02 2001
State-Changed-Why:
I'm pretty sure this is fixed now. Can you confirm?
Thanks,
benjamin
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=943&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libstdc++/943
@ 2001-05-25 19:36 Peter Schmid
0 siblings, 0 replies; 4+ messages in thread
From: Peter Schmid @ 2001-05-25 19:36 UTC (permalink / raw)
To: bkoz; +Cc: gcc-prs
The following reply was made to PR libstdc++/943; it has been noted by GNATS.
From: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
To: bkoz@gcc.gnu.org
Cc: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Subject: Re: libstdc++/943
Date: Sat, 26 May 2001 05:34:22 +0200 (CEST)
Re: libstdc++/943
I am afraid, I cannot confirm. The problem still exists as of
5/25/2001. Either this a problem with the flushing of cout, or the
code is incorrect. But this code is extracted from the file num/complex2.cpp
from the book "The C++ Standard Library" by Josuttis. Any clues?
Regards,
Peter Schmid
g++ -v -o tcaus tcaus.C -W -Wall -g
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/specs
Configured with: ../gcc/configure --enable-shared --disable-nls
--enable-threads=posix --enable-long-long
--enable-languages=c,c++,f77,objc
Thread model: posix
gcc version 3.0 20010525 (prerelease)
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/cc1plus -v -D__GNUC__=3
-D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux
-D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix
-D__STDC_HOSTED__=1 -W -Wall -Acpu=i386 -Amachine=i386 -Di386 -D__i386
-D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ tcaus.C -D__GNUG__=3
-D_GNU_SOURCE -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100
-quiet -dumpbase tcaus.C -g -W -Wall -version -o /tmp/ccFwhVrK.s
GNU CPP version 3.0 20010525 (prerelease) (cpplib) (i386 Linux/ELF)
GNU C++ version 3.0 20010525 (prerelease) (i686-pc-linux-gnu)
compiled by GNU C version 3.0 20010525 (prerelease).
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include/g++-v3
/usr/local/include/g++-v3/i686-pc-linux-gnu
/usr/local/include/g++-v3/backward
/usr/local/include
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/include
/usr/local/i686-pc-linux-gnu/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../../i686-pc-linux-gnu/bin/as --traditional-format -V -Qy -o /tmp/cc8WllV6.o /tmp/ccFwhVrK.s
GNU assembler version 2.11.90.0.4 (i686-pc-linux-gnu) using BFD version 2.11.90.0.4
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/collect2 -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o tcaus /usr/lib/crt1.o /usr/lib/crti.o /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/crtbegin.o -L/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0 -L/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../../../i686-pc-linux-gnu/lib -L/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/../../.. /tmp/cc8WllV6.o -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/crtend.o /usr/lib/crtn.o
peter@kiste:~/trans/c++/neu/num > ./tcaus
(1.4,3.4)
Complex number c1: Complex number c1: (2.4,5.4)
Complex number c1: (3.5,6.5)
Complex number c1: peter@kiste:~/trans/c++/neu/num >
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libstdc++/943
@ 2001-06-11 14:06 Benjamin Kosnik
0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Kosnik @ 2001-06-11 14:06 UTC (permalink / raw)
To: bkoz; +Cc: gcc-prs
The following reply was made to PR libstdc++/943; it has been noted by GNATS.
From: Benjamin Kosnik <bkoz@redhat.com>
To: Kenny Simpson <theonetruekenny@yahoo.com>
Cc: gcc-gnats@gcc.gnu.org, schmid@snake.iap.physik.tu-darmstadt.de
Subject: Re: libstdc++/943
Date: Tue, 29 May 2001 23:43:07 -0700 (PDT)
Dunno about that, though it's a nice thought.
See LWG Defect Report 146.
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-defects.html#146
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libstdc++/943
@ 2001-06-11 14:06 Kenny Simpson
0 siblings, 0 replies; 4+ messages in thread
From: Kenny Simpson @ 2001-06-11 14:06 UTC (permalink / raw)
To: bkoz; +Cc: gcc-prs
The following reply was made to PR libstdc++/943; it has been noted by GNATS.
From: Kenny Simpson <theonetruekenny@yahoo.com>
To: bkoz@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
schmid@snake.iap.physik.tu-darmstadt.de
Cc:
Subject: Re: libstdc++/943
Date: Tue, 29 May 2001 22:37:09 -0700 (PDT)
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=943&database=gcc
The extractor for complex<> does not appear to
construct a sentry object. The sentry is where the
tying of streams takes action.
For example, in the extractor for a double as found in
include/bits/istream.tcc, the first statement
constructs a sentry.
Maybe the fix is a simple as adding that same line to
the beginning of the extractor for complex<> in
src/complex_io.cc.
-Kenny
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-06-11 14:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-24 20:56 libstdc++/943 bkoz
2001-05-25 19:36 libstdc++/943 Peter Schmid
2001-06-11 14:06 libstdc++/943 Benjamin Kosnik
2001-06-11 14:06 libstdc++/943 Kenny Simpson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).