From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23153 invoked by alias); 2 Jan 2002 09:06: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 23130 invoked by uid 71); 2 Jan 2002 09:06:02 -0000 Resent-Date: 2 Jan 2002 09:06:02 -0000 Resent-Message-ID: <20020102090602.23129.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, xomy@stoltoffshore.no Received:(qmail 22459 invoked by uid 61); 2 Jan 2002 08:57:52 -0000 Message-Id:<20020102085752.22458.qmail@sources.redhat.com> Date: Wed, 02 Jan 2002 01:06:00 -0000 From: xomy@stoltoffshore.no Reply-To: xomy@stoltoffshore.no To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/5241: Fstream error using the -malign-double compiler flag X-SW-Source: 2002-01/txt/msg00042.txt.bz2 List-Id: >Number: 5241 >Category: c++ >Synopsis: Fstream error using the -malign-double compiler flag >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Jan 02 01:06:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Oddvard Myrnes >Release: 2.93.5-52 (also occurs on 3.0) >Organization: >Environment: Linux 2.4.4-4GB i686. Intel CPU. Suse version 7.2 distribution. >Description: When the I try to write to a fstream it crashes with a SEGMENTATION violation error when the -malign-double flag is used. Runs fine without. The compiler flags. g++ -Wno-non-template-friend -W -ansi -mpentiumpro -malign-double -mpreferred-stack-boundary=8 -g -save-temps >How-To-Repeat: Just compile and run it without any parameters. >Fix: >Release-Note: >Audit-Trail: >Unformatted: