Pre-built gfortran on OS X (10.3) crashes when compiling the following write to internal file (Linux version on PC does not crash).
character*2 junk(2) character*1 i write(junk,fmt=1000)i,i,i,i 1000 format(a,a,a,a) end [macf3c-3:~/test/gfortran] harry% gfortran -c break.f break.f: In function 'MAIN__': break.f:3: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. [macf3c-3:~/test/gfortran] harry% gfortran -v Using built-in specs. Target: powerpc-apple-darwin7.8.0 Configured with: ../gcc/configure --prefix=/usr/local/gfortran --enable-languages=c,f95 Thread model: posix gcc version 4.1.0 20050325 (experimental) -- Summary: compiler crashes Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: critical Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: harry at mrc-lmb dot cam dot ac dot uk CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23284