Compilation successful without -fopenmp; ICE only with -fopenmp Using latest binary release on gfortran / GCC Wiki
Code attached. #gfortran -v -save-temps -fopenmp -c -o xrotate.o xrotate.f Using built-in specs. Target: i386-apple-darwin8.10.1 Configured with: /tmp/gfortran-20090604/ibin/../gcc/configure --prefix=/usr/local/gfortran --enable-languages=c,fortran --with-gmp=/tmp/gfortran-20090604/gfortran_libs --enable-bootstrap Thread model: posix gcc version 4.5.0 20090604 (experimental) [trunk revision 148180] (GCC) COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.5.6' '-v' '-save-temps' '-fopenmp' '-c' '-o' 'xrotate.o' '-mtune=generic' /usr/local/gfortran/libexec/gcc/i386-apple-darwin8.10.1/4.5.0/f951 xrotate.f -ffixed-form -fPIC -quiet -dumpbase xrotate.f -mmacosx-version-min=10.5.6 -mtune=generic -auxbase-strip xrotate.o -version -fopenmp -fintrinsic-modules-path /usr/local/gfortran/lib/gcc/i386-apple-darwin8.10.1/4.5.0/finclude -o xrotate.s GNU Fortran (GCC) version 4.5.0 20090604 (experimental) [trunk revision 148180] (i386-apple-darwin8.10.1) compiled by GNU C version 4.5.0 20090604 (experimental) [trunk revision 148180], GMP version 4.3.1, MPFR version 2.4.1-p5 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU Fortran (GCC) version 4.5.0 20090604 (experimental) [trunk revision 148180] (i386-apple-darwin8.10.1) compiled by GNU C version 4.5.0 20090604 (experimental) [trunk revision 148180], GMP version 4.3.1, MPFR version 2.4.1-p5 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 xrotate.f: In function 'xrotate': xrotate.f:1275:0: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE / Bus error on OpenMP compile Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: george at gcc dot gnu dot org GCC build triplet: i386-apple-darwin8.10.1 GCC host triplet: i386-apple-darwin8.10.1 GCC target triplet: i386-apple-darwin8.10.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41344