From mboxrd@z Thu Jan 1 00:00:00 1970 From: wavexx@users.sf.net To: gcc-gnats@gcc.gnu.org Subject: c++/3014: gcc3: cin problems with solaris 5.8 and >> extractors Date: Thu, 31 May 2001 10:16:00 -0000 Message-id: <20010531171441.12624.qmail@sourceware.cygnus.com> X-SW-Source: 2001-05/msg01061.html List-Id: >Number: 3014 >Category: c++ >Synopsis: gcc3: cin problems with solaris 5.8 and >> extractors >Confidential: no >Severity: serious >Priority: high >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu May 31 10:16:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Wave++ >Release: gcc version 3.0 20010529 (prerelease) >Organization: >Environment: System: Solaris 5.9 x86 Architecture: i686 host: i386-pc-solaris2.8 build: i386-pc-solaris2.8 target: i386-pc-solaris2.8 Configured with: ../gcc/configure --prefix=/opt/gcc-cvs --enable-shared --enable-threads --enable-languages=c++,f77,objc --disable-libgcj >Description: When using cin extractors (eg: cin >> astring) I need to type AT LEAST return 2 times, or insert an EOF (^D) to effectively stop parsing input. >How-To-Repeat: Compile the example: g++ -o gcc3_trigger gcc3_trigger.cpp run it: ./gcc3_trigger On solaris 5.8 I need to type return twice to end the program. >Fix: - >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="gcc3_trigger.cpp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="gcc3_trigger.cpp" I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKdXNpbmcgc3RkOjpjaW47CnVz aW5nIHN0ZDo6c3RyaW5nOwoKaW50IG1haW4oKQp7CiAgc3RyaW5nIGJ1ZjsKICBjaW4gPj4gYnVm Owp9Cg==