From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26612 invoked by alias); 7 Jun 2010 11:56:44 -0000 Received: (qmail 26558 invoked by uid 48); 7 Jun 2010 11:56:34 -0000 Date: Mon, 07 Jun 2010 11:56:00 -0000 Message-ID: <20100607115634.26557.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/44441] std::getline set failbit in situation when shouldn't In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "redi at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg00712.txt.bz2 ------- Comment #3 from redi at gcc dot gnu dot org 2010-06-07 11:56 ------- [lib.string.io] paragraph 8 If the function extracts no characters, it calls is.setstate(ios_base::failbit) which may throw ios_base::failure (27.4.4.3). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44441