From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1804 invoked by alias); 11 Jan 2002 02:46:07 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 1770 invoked by uid 71); 11 Jan 2002 02:46:03 -0000 Resent-Date: 11 Jan 2002 02:46:03 -0000 Resent-Message-ID: <20020111024603.1769.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, lucier@math.purdue.edu Received:(qmail 31257 invoked by uid 61); 11 Jan 2002 02:41:50 -0000 Message-Id:<20020111024150.31256.qmail@sources.redhat.com> Date: Thu, 10 Jan 2002 18:46:00 -0000 From: lucier@math.purdue.edu Reply-To: lucier@math.purdue.edu To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: target/5357: SPARC: illegal (?) combination of -mcpu=supersparc and -m64 causes ICE X-SW-Source: 2002-01/txt/msg00423.txt.bz2 List-Id: >Number: 5357 >Category: target >Synopsis: SPARC: illegal (?) combination of -mcpu=supersparc and -m64 causes ICE >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Jan 10 18:46:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: B. Lucier >Release: gcc version 3.1 20020102 (experimental) >Organization: >Environment: sparcv9-sun-solaris2.8 >Description: env LD_LIBRARY_PATH=/pkgs/gcc-3.1v9/lib /pkgs/gcc-3.1v9/bin/gcc -mcpu=supersparc -S setup.i -v Reading specs from /pkgs/gcc-3.1v9/lib/gcc-lib/sparcv9-sun-solaris2.8/3.1/specs Configured with: ../configure --prefix=/pkgs/gcc-3.1v9 sparcv9-sun-solaris2.8 Thread model: posix gcc version 3.1 20020102 (experimental) /pkgs/gcc-3.1v9/lib/gcc-lib/sparcv9-sun-solaris2.8/3.1/cc1 -fpreprocessed setup.i -quiet -dumpbase setup.i -mcpu=supersparc -version -o setup.s GNU CPP version 3.1 20020102 (experimental) (cpplib) (sparc ELF) GNU C version 3.1 20020102 (experimental) (sparcv9-sun-solaris2.8) compiled by GNU C version 3.1 20020102 (experimental). setup.c: In function `setup_module_phase1': setup.c:784: unrecognizable insn: (insn 743 741 745 (set (reg:DI 331) (mult:DI (sign_extend:DI (reg:SI 332)) (const_int 24 [0x18]))) -1 (nil) (expr_list:REG_DEAD (reg:SI 332) (nil))) setup.c:784: Internal compiler error in extract_insn, at recog.c:2129 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. setup.i.gz is at http://www.math.purdue.edu/~lucier/setup.i.gz I think the problem is because there is an implied -m64 for a compiler built with sparcv9-sun-solaris2.8, which is probably illegal with -mcpu=supersparc. Specifying in addition -m32 gets ride of the ICE. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: