public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/5357: SPARC: illegal (?) combination of -mcpu=supersparc and -m64 causes ICE
@ 2002-01-16  7:35 paolo
  0 siblings, 0 replies; 2+ messages in thread
From: paolo @ 2002-01-16  7:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, lucier, nobody

Synopsis: SPARC: illegal (?) combination of -mcpu=supersparc and -m64 causes ICE

State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Wed Jan 16 07:35:36 2002
State-Changed-Why:
    Fixed in mainline by Jakub Jelinek.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5357


^ permalink raw reply	[flat|nested] 2+ messages in thread

* target/5357: SPARC: illegal (?) combination of -mcpu=supersparc and -m64 causes ICE
@ 2002-01-10 18:46 lucier
  0 siblings, 0 replies; 2+ messages in thread
From: lucier @ 2002-01-10 18:46 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-16 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-16  7:35 target/5357: SPARC: illegal (?) combination of -mcpu=supersparc and -m64 causes ICE paolo
  -- strict thread matches above, loose matches on Subject: below --
2002-01-10 18:46 lucier

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).