From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16152 invoked by alias); 25 Aug 2003 04:14:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16143 invoked by uid 48); 25 Aug 2003 04:14:12 -0000 Date: Mon, 25 Aug 2003 04:14:00 -0000 Message-ID: <20030825041412.16142.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030825035409.12048.poschmid@peem.als.lbl.gov> References: <20030825035409.12048.poschmid@peem.als.lbl.gov> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/12048] [3.4 Regression] unget does not work X-Bugzilla-Reason: CC X-SW-Source: 2003-08/txt/msg02884.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12048 pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2003-08-25 04:14:11 date| | Summary|Problems with IOStreams |[3.4 Regression] unget does | |not work Target Milestone|--- |3.4 ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-25 04:14 ------- I can confirm this on the mainline (20030823), this worked in 3.3 so this is a regression. Here is a reduced case as it looks like unget is not working: #include int main() { char c,c1; std::cin.get(c); std::cin.unget(); std::cin.get(c1); if(c1!=c) abort(); }