This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35873] New: problem with gfortran -malign-double
- From: "hjj at ifk dot sdu dot dk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Apr 2008 16:44:45 -0000
- Subject: [Bug fortran/35873] New: problem with gfortran -malign-double
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
--> discovered error with gcc 4.2.1
--> fetched newest gcc binary (4.4.0): error persists
--> my system: openSuse 10.3 Linux i686 (Pentium 4)
--> gcc -malign-double test.f; a.out # ERROR: Segmentation violation
--> gcc test.f; a.out # OK
--> test.f:
program test
character*20 wrkmem
call getenv("WRKMEM",wrkmem)
write (0,*) wrkmem
read (wrkmem, '(I20)', err=10) lmwrkmem
write (0,*) lmwrkmem
stop
10 continue
write (0,*) 'err'
end
--
Summary: problem with gfortran -malign-double
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjj at ifk dot sdu dot dk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35873