Trying to compile the attached ancient fortran source file, gfortran dies with 
a bus error. g77 doesn't 
have a problem with it.

pksguest18:genutil>gfortran -v  -save-temps -O2 -c parpos.f -o parpos.o
Using built-in specs.
Target: powerpc-apple-darwin7.9.0
Configured with: ../gcc/configure --enable-languages=c++,f95
Thread model: posix
gcc version 4.1.0 20050517 (experimental)
 /usr/local/libexec/gcc/powerpc-apple-darwin7.9.0/4.1.0/f951 parpos.f -ffixed-fo
rm -fPIC -quiet -dumpbase parpos.f -auxbase-strip parpos.o -O2 -version -o parpo
s.s
GNU F95 version 4.1.0 20050517 (experimental) (powerpc-apple-darwin7.9.0)
        compiled by GNU C version 3.3 20030304 (Apple Computer, Inc. build 1671)
.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
parpos.f: In function 'parpos':
parpos.f:100: internal compiler error: Bus error


The system is Mac OS X 10.3.9 with gcc 4.1.0 . 

A minimal test file with just the offending line and minimal declarations etc 
does not reproduce the 
bug.

-- 
           Summary: gfortran dies with Bus error
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Russell dot Edwards at csiro dot au
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.9.0
  GCC host triplet: powerpc-apple-darwin7.9.0
GCC target triplet: powerpc-apple-darwin7.9.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22021

Reply via email to