http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50774
Bug #: 50774 Summary: Internal Compiler Error when march=bdver1 Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: ibeth...@epcc.ed.ac.uk Created attachment 25539 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25539 Source file which triggers the ICE In the attached simple code, compilation fails when using the -march=bdver1 flag: ibethune@login3:~/gcc46_test> gfortran -c -O3 -ffast-math -g -march=bdver1 helium_interactions.f90 gfortran: internal compiler error: Segmentation fault (program f951) Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Without the -march file compilation completes successfully. Gfortran version infromation below: ibethune@login3:~/gcc46_test> gfortran -v Using built-in specs. COLLECT_GCC=/opt/gcc/4.6.1/bin/../snos/bin/gfortran COLLECT_LTO_WRAPPER=/opt/gcc/4.6.1/snos/libexec/gcc/x86_64-suse-linux/4.6.1/lto-wrapper Target: x86_64-suse-linux Configured with: ../xt-gcc-4.6.1/configure --prefix=/opt/gcc/4.6.1/snos --disable-nls --libdir=/opt/gcc/4.6.1/snos/lib --enable-languages=c,c++,fortran --with-gxx-include-dir=/opt/gcc/4.6.1/snos/include/g++ --with-slibdir=/opt/gcc/4.6.1/snos/lib --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux --with-mpc=/opt/gcc/mpc/0.8.1 --with-mpfr=/opt/gcc/mpfr/2.4.2 --with-gmp=/opt/gcc/gmp/4.3.2 --with-sysroot= Thread model: posix gcc version 4.6.1 20110627 (Cray Inc.) (GCC) Cheers - Iain