From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31093 invoked by alias); 6 Nov 2002 22:36:01 -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 31064 invoked by uid 71); 6 Nov 2002 22:36:00 -0000 Resent-Date: 6 Nov 2002 22:36:00 -0000 Resent-Message-ID: <20021106223600.31062.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, loria@apcinc.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, colin@apcinc.com Received: (qmail 30362 invoked by uid 61); 6 Nov 2002 22:35:17 -0000 Message-Id: <20021106223517.30356.qmail@sources.redhat.com> Date: Wed, 06 Nov 2002 14:36:00 -0000 From: colin@apcinc.com Reply-To: colin@apcinc.com To: gcc-gnats@gcc.gnu.org Cc: loria@apcinc.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: loria@apcinc.com Subject: libstdc++/8486: file i/o using c++ iostream crashes when option malign-double is used X-SW-Source: 2002-11/txt/msg00334.txt.bz2 List-Id: >Number: 8486 >Category: libstdc++ >Synopsis: file i/o using c++ iostream crashes when option malign-double is used >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Nov 06 14:36:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Colin Wyatt >Release: gcc-2.95 >Organization: >Environment: SUSE linux 8.0 >Description: When using the gcc compiler option "-malign-double", file i/o operations using libc++ (specifically, fstream.write() and close() methods) cause core dumps. These operations work fine when this flag is removed. >How-To-Repeat: Create a test file that opens a new file, writes, reads, then close the file. Compile with and without the -malign-double flag to see the difference in execution. >Fix: ??? >Release-Note: >Audit-Trail: >Unformatted: