This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/5241: Fstream error using the -malign-double compiler flag
- From: xomy at stoltoffshore dot no
- To: gcc-gnats at gcc dot gnu dot org
- Date: 2 Jan 2002 08:57:52 -0000
- Subject: c++/5241: Fstream error using the -malign-double compiler flag
- Reply-to: xomy at stoltoffshore dot no
>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: