public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/6813: Internal compiler error in extract_insn, at recog.c:2132
@ 2002-11-05  8:44 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-11-05  8:44 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, nottelm

Synopsis: Internal compiler error in extract_insn, at recog.c:2132

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Tue Nov  5 08:44:31 2002
State-Changed-Why:
    Works with 3.2.1 and 3.3CVS

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


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

* c/6813: Internal compiler error in extract_insn, at recog.c:2132
@ 2002-05-25 12:56 nottelm
  0 siblings, 0 replies; 2+ messages in thread
From: nottelm @ 2002-05-25 12:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6813
>Category:       c
>Synopsis:       Internal compiler error in extract_insn, at recog.c:2132
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sat May 25 12:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Nottelmann
>Release:        gcc-3.1
>Organization:
>Environment:
System: Linux pt2037 2.4.18 #1 SMP Tue Feb 26 15:56:57 MET 2002 i686 unknown
Architecture: i686

host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../configure --prefix=/usr --enable-shared --enable-threads=posix --with-system-zlib
>Description:
I discovered this bug when I was compiling kde-multimedia-3.0.1 (originally I thought it was a C++-bug).
One has to compile the testcase bug.c at least with
the following options: -O2 -funroll-loops -fforce-addr,
without one of them bug.c compiles. Ok let's see what happens:

#gcc -O2 -funroll-loops -fforce-addr -c bug.c
bug.c: In function `foo':
bug.c:17: unrecognizable insn:
(insn 189 168 191 (set (reg:SI 84)
        (ashift:SI (reg/v:SI 60)
            (const_int 3 [0x3]))) -1 (nil)
    (nil))
bug.c:17: Internal compiler error in extract_insn, at recog.c:2132
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

There seems to be an translation problem between abstract
and real instructions.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bug.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bug.c"

aW50IGEoKTsKaW50IGIoKTsKCnZvaWQgZm9vKGludCAqbGVmdCwgaW50ICpyaWdodCkgewogIGlu
dCBpID0gMDsKICBpbnQgbSA9IGEoKTsKICBpbnQgbiA9IGIoKTsKICAKICBpZiAobSA9PSAxKQog
ICAgd2hpbGUoaSA8IG4pIGkrKzsKICBlbHNlCiAgICB3aGlsZShpICogMiAqIHNpemVvZihpbnQp
IDwgbikKICAgICAgewoJbGVmdFtpXSA9IHJpZ2h0W2kqMl07CglpKys7CiAgICAgIH0KfQo=


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

end of thread, other threads:[~2002-11-05 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-05  8:44 c/6813: Internal compiler error in extract_insn, at recog.c:2132 bangerth
  -- strict thread matches above, loose matches on Subject: below --
2002-05-25 12:56 nottelm

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