Bug 276841
Summary: | gfortran compiler ffails to create a correct binary file | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jose_Saucedo <jlsaucedo> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 4.1.2-12 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-09-05 15:32:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jose_Saucedo
2007-09-04 18:04:09 UTC
FC5 is not supported any longer for quite some time. And current F7 gfortran or F7 testing update gfortran certainly creates bitwise identical output to what g77 creates. Particularly gfortran --version | head -n 1; cat X.f; rm -f bug.bin; gfortran -o X X.f; ./X; md5sum bug.bin GNU Fortran (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12) program bug dimension r(3,3) open(10,file='bug.bin',form='unformatted') do i=1,3 do j=1,3 r(i,j)=i+j !or any other stuff, just generate a matrix end do end do write(10)3,3 write(10)r end 6d731e7ef16e83c92ab79d53c4b5073b bug.bin g77 --version | head -n 1; rm -f bug.bin; g77 -o X2 X.f; ./X2; md5sum bug.bin GNU Fortran (GCC) 3.4.6 20060404 (Red Hat 3.4.6-7) 6d731e7ef16e83c92ab79d53c4b5073b bug.bin |