From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6398 invoked by alias); 10 Nov 2002 18:46:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 6383 invoked by uid 71); 10 Nov 2002 18:46:02 -0000 Date: Sun, 10 Nov 2002 10:46:00 -0000 Message-ID: <20021110184602.6382.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Paolo Carlini Subject: Re: libstdc++/8399: sync_with_stdio(false) breaks unformatted input Reply-To: Paolo Carlini X-SW-Source: 2002-11/txt/msg00476.txt.bz2 List-Id: The following reply was made to PR libstdc++/8399; it has been noted by GNATS. From: Paolo Carlini To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, marc-oliver.gewaltig@hre-ftr.f.rd.honda.co.jp, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: bkoz Subject: Re: libstdc++/8399: sync_with_stdio(false) breaks unformatted input Date: Sun, 10 Nov 2002 19:46:41 +0100 Hi, this is a reduced testcase: //// #include using namespace std; int main() { ios::sync_with_stdio(false); char c; cin.get(c); cout.put(c); return 0; } //// What happens with current mainline is that a doesn't end the get, whereas this happens with the 'sync'. Therefore, the issue seems more than vaguely related to the obnoxious libstdc++/6745 and all that... Ciao, Paolo. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8399