This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/8486: file i/o using c++ iostream crashes when option malign-double is used
- From: colin at apcinc dot com
- To: gcc-gnats at gcc dot gnu dot org
- Cc: loria at apcinc dot com
- Date: 6 Nov 2002 22:35:17 -0000
- Subject: libstdc++/8486: file i/o using c++ iostream crashes when option malign-double is used
- Reply-to: colin at apcinc dot com
>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: