[Bug fortran/35873] New: problem with gfortran -malign-double
hjj at ifk dot sdu dot dk
gcc-bugzilla@gcc.gnu.org
Tue Apr 8 16:45:00 GMT 2008
--> 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
More information about the Gcc-bugs
mailing list