From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26041 invoked by alias); 21 Nov 2011 00:55:56 -0000 Received: (qmail 25987 invoked by uid 22791); 21 Nov 2011 00:55:55 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Mon, 21 Nov 2011 00:55:36 +0000 From: "joel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/51251] SPARC _64 instructions in V7 executables Date: Mon, 21 Nov 2011 02:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joel at gcc dot gnu.org 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: In-Reply-To: References: 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-11/txt/msg02081.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51251 --- Comment #1 from Joel Sherrill 2011-11-21 00:55:32 UTC --- Command used to compile and link the test. /home2/joel/build/b-sparc-fortran/gcc/testsuite/gfortran/../../gfortran \ -L /users/joel/test-gcc/install-svn/sparc-rtems4.11/lib/ \ -B/home2/joel/build/b-sparc-fortran/gcc/testsuite/gfortran/../../ -B/home2/joel/build/b-sparc-fortran/sparc-rtems4.11/./libgfortran/ /users/joel/test-gcc/gcc-svn/gcc/testsuite/gfortran.dg/vect/vect-5.f90 gfortran_tg.o -O -O2 -ftree-vectorize -fno-vet-cost-model -ftree-vectorizer-verbose=4 -fdump-tree-vect-stats -mcpu=ultrasparc -mvis -B/users/joel/test-gcc/install-svn/sparc-rtems4.11/sis/lib/ -specs bsp_specs -qrtems -mcpu=cypress /home2/joel/build/b-sparc-fortran/rtems_gcc_main.o -B/home2/joel/build/b-sparc-fortran/sparc-rtems4.11/./libgfortran/.libs -L/home2/joel/build/b-sparc-fortran/sparc-rtems4.11/./libgfortran/.libs -Wl,-wrap,exit -Wl,-wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -lm -o ./vect-5.exe Hmmm... because of the way the test is compiled and the target flags are added, there is ... "-mcpu=ultrasparc -mvis" and then later on the command line "-mcpu=cypress". I wonder what that results in other than a mess. I added -mno-vis after the -mcpu=cypress and that let the test compile and run. Any ideas on how to deal with that? Should -mcpu=cypress turn off vis?