public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: lucier@math.purdue.edu
To: gcc-gnats@gcc.gnu.org
Subject: target/5357: SPARC: illegal (?) combination of -mcpu=supersparc and -m64 causes ICE
Date: Thu, 10 Jan 2002 18:46:00 -0000	[thread overview]
Message-ID: <20020111024150.31256.qmail@sources.redhat.com> (raw)


>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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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:


             reply	other threads:[~2002-01-11  2:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-10 18:46 lucier [this message]
2002-01-16  7:35 paolo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020111024150.31256.qmail@sources.redhat.com \
    --to=lucier@math.purdue.edu \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).