From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15118 invoked by alias); 3 Feb 2003 08:28:39 -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 14797 invoked by uid 71); 3 Feb 2003 08:27:19 -0000 Resent-Date: 3 Feb 2003 08:27:19 -0000 Resent-Message-ID: <20030203082719.14796.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, o.flebbe@science-computing.de Received: (qmail 21264 invoked by uid 48); 3 Feb 2003 08:16:21 -0000 Message-Id: <20030203081621.21263.qmail@sources.redhat.com> Date: Mon, 03 Feb 2003 08:28:00 -0000 From: o.flebbe@science-computing.de Reply-To: o.flebbe@science-computing.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libstdc++/9541: stringstreams dependencies to glibc X-SW-Source: 2003-02/txt/msg00084.txt.bz2 List-Id: >Number: 9541 >Category: libstdc++ >Synopsis: stringstreams dependencies to glibc >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Feb 03 08:26:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: o.flebbe@science-computing.de >Release: gcc-3.2.1 >Organization: >Environment: glibc 2.2.2 >Description: The following code prints 12345 rather -3e-20 on glibc 2.2.2 (i.e. RedHat 7.1 and Suse 72). #include #include #include int main() { std::istringstream iss("-3e-20"); double ret= 12345; iss >> ret; std::cout << ret << "\n"; } Please close 9527, because it is a duplicate having an incorrect synopsis. Upgrading libc on redhat71 is a workaround. On suse72 there is no updated libc available. In the releasenotes is a statement missing what glibc is required for gcc. >How-To-Repeat: compile and run gcc-3.2.1 on an unpatched redhat71 or suse72. >Fix: >Release-Note: >Audit-Trail: >Unformatted: