------- Comment #1 from langton at gcc dot gnu dot org 2006-07-17 21:42 ------- I can confirm that there is a problem here, but I am getting different output. On MacIntel:
york.llnl.gov(771)% gfortran -c -O2 -mfpmath=sse -msse -msse2 -ffpe-trap=invalid,zero,overflow -ftrapping-math -ftrapv -fmath-errno module_utilities2.f90 module_utilities2.f90: In function 'test_check_sums': module_utilities2.f90:16: internal compiler error: in fold_binary, at fold-const.c:8250 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. york.llnl.gov(772)% gfortran --v Using built-in specs. Target: i686-apple-darwin8 Configured with: ../../source/gcc_source/configure --prefix=/home/langton2/opt --with-gmp=/home/langton2/opt --with-mpfr=/home/langton2/opt --enable-languages=c,fortran --with-arch=pentium-m --with-tune=prescott --target=i686-apple-darwin8 --host=i686-apple-darwin8 --build=i686-apple-darwin8 Thread model: posix gcc version 4.2.0 20060617 (experimental) On i686-pc-linux: ilx1(1052)% gfortran -c -O2 -mfpmath=sse -msse -msse2 -ffpe-trap=invalid,zero,overflow -ftrapping-math -ftrapv -fmath-errno module_utilities2.f90 module_utilities2.f90: In function 'test_check_sums': module_utilities2.f90:16: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. ilx1(1053)% gfortran --v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../../../mainline_source/configure --prefix=/usr/gapps/opnsrc/langton2/chaos_3_x86/mainline --with-gmp=/usr/gapps/opnsrc/langton2/chaos_3_x86/mainline --with-mpfr=/usr/gapps/opnsrc/langton2/chaos_3_x86/mainline --enable-languages=c,c++,java,fortran Thread model: posix gcc version 4.2.0 20060613 (experimental) I can't get a complete core dump on either platform. On the Mac, I see: york.llnl.gov(773)% gfortran -c -O2 -mfpmath=sse -msse -msse2 -ffpe-trap=invalid,zero,overflow -ftrapping-math -ftrapv -fmath-errno -dH module_utilities2.f90 module_utilities2.f90: In function 'test_check_sums': module_utilities2.f90:16: internal compiler error: in fold_binary, at fold-const.c:8250 gfortran: Internal error: Abort trap (program f951) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. On Linux, adding -dH causes the command to hang, and when I killed the command, the resulting incomplete core file was greater that 2GB. -- langton at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |langton at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-07-17 21:42:32 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28411