Bug 231261 - gfortran gives "internal compiler error: Bus error"
gfortran gives "internal compiler error: Bus error"
Product: Fedora
Classification: Fedora
Component: gcc4 (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2007-03-06 22:53 EST by Dan Davis
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 4.1.2-4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-13 10:54:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Test case and generated output files. (3.27 KB, application/octet-stream)
2007-03-06 22:53 EST, Dan Davis
no flags Details

  None (edit)
Description Dan Davis 2007-03-06 22:53:19 EST
Description of problem:
When attempting to compile the file simparams.f95 (attached below) on an Opteron
system, the gfortran compiler gives the error "simparams.f95:0: internal
compiler error: Bus error"  The other 2 files compile correctly.

File compiles fine on an i386 system with Fedora Core 5.

Version-Release number of selected component (if applicable):
GNU Fortran 95 (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51)

How reproducible:
Occurs every time I try to compile this file.  I have tried numerous edits to
the file and it continues to occur.

Steps to Reproduce:
1.  Download attached simparam.tar.gz and untar.
2.  Run make simparam.o

Actual results:
gfortran yields the error "simparams.f95:0: internal compiler error: Bus error"
and exits with partially complete module file

Expected results:
gfortran compiles the files and produces simparams.o and simparams.mod

Additional info:
I have included the output of the compiler in the attachment.
Comment 1 Dan Davis 2007-03-06 22:53:20 EST
Created attachment 149425 [details]
Test case and generated output files.
Comment 2 Jakub Jelinek 2007-03-13 10:54:37 EDT
Should be fixed in gcc-4.1.2-4 in rawhide.

Note You need to log in before you can comment on or make changes to this bug.