I'm am using the gcc-4.0 gfortran binaries from http://www.swarm.org/wiki/ Swarm:_MacOS_X_binaries. From that page: This compiler is based on Apple source code for gcc-5026 as shipped with Xcode 2.1. It includes the new gfortran compiler and runtime libraries for Fortran 77, 90 or 95 code. The Fortran code is updated with patches from the FSF gcc-4.0 compiler sources as at 4 July 2005.
Compiling this file: SUBROUTINE ARCDER() REAL*8 XA,PL1 CALL ENTERS(*9999) XA=PL1()*XA write(*,*)xa 9999 RETURN END Produces this output: $ gfortran -v -fsyntax-only -save-temps arcder.f Using built-in specs. Target: powerpc-apple-darwin8 Configured with: /Users/billn/Public/Darwin/gcc-5026patched/build/obj/src/configure --disable- checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++,f95 -- program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/ 4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple- darwin8 Thread model: posix gcc version 4.0.0 (Apple Computer, Inc. build 5026) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.0/f951 arcder.f -ffixed-form -fPIC -quiet -dumpbase arcder.f -auxbase arcder -version -fsyntax-only -o arcder GNU F95 version 4.0.0 (Apple Computer, Inc. build 5026) (powerpc-apple-darwin8) compiled by GNU C version 4.0.0 (Apple Computer, Inc. build 5026). GGC heuristics: --param ggc-min-expand=82 --param ggc-min-heapsize=98304 arcder.f: In function 'arcder': arcder.f:7: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. -- Summary: gfortran dies with "internal compiler error: Bus error" Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbrown at bioeng dot ucsd dot edu CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: powerpc-apple-darwin8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24134