From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30138 invoked by alias); 18 Oct 2011 09:52:54 -0000 Received: (qmail 30127 invoked by uid 22791); 18 Oct 2011 09:52:54 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_CX,TW_GX X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Oct 2011 09:52:40 +0000 From: "ibethune at epcc dot ed.ac.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50774] New: Internal Compiler Error when march=bdver1 Date: Tue, 18 Oct 2011 09:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ibethune at epcc dot ed.ac.uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-10/txt/msg01764.txt.bz2 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: unassigned@gcc.gnu.org ReportedBy: ibethune@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 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