public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/8528: Internal compiler error in extract_insn, at recog.c:2148
@ 2002-11-11  9:16 kisch
  0 siblings, 0 replies; only message in thread
From: kisch @ 2002-11-11  9:16 UTC (permalink / raw)
  To: gcc-gnats; +Cc: kisch


>Number:         8528
>Category:       target
>Synopsis:       Internal compiler error in extract_insn, at recog.c:2148
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 11 09:16:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Kischnick
>Release:        gcc-3.2 20020903
>Organization:
>Environment:
powerpc-yellowdog-linux, glibc 2.3.1, ppc 603e cpu.
>Description:
gcc emits "internal compiler error" on the attached code fragment, when -O is -O2 or higher.
No error and correct code with -O and -Os or without -O.
No error with the same code with i386 target.

The code is already stripped down to the minimum I've found necessary to trigger the bug (from 17000 lines preprocessed output to start with).

screen-E.c: In function `meta_screen_calc_workspace_layout':
screen-E.c:25: unrecognizable insn:
(insn 106 55 107 (parallel[
            (set (reg/v:SI 3 r3 [119])
                (plus:SI (gt:SI (reg:SI 0 r0 [140])
                        (const_int 0 [0x0]))
                    (reg:SI 9 r9 [133])))
            (clobber (reg:SI 11 r11))
        ] ) -1 (nil)
    (nil))
>How-To-Repeat:
gcc -O2 -c screen-E.c or gcc -O2 -S screen-E.c
>Fix:

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

c3RydWN0IF9NZXRhU2NyZWVuCnsKICBpbnQgcm93c19vZl93b3Jrc3BhY2VzOwogIGludCBjb2x1
bW5zX29mX3dvcmtzcGFjZXM7Cn07Cgp2b2lkCm1ldGFfc2NyZWVuX2NhbGNfd29ya3NwYWNlX2xh
eW91dCAoc3RydWN0IF9NZXRhU2NyZWVuICpzY3JlZW4sCiAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgaW50IG51bV93b3Jrc3BhY2VzLAogICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIGludCAqcikKewogIGludCBjb2xzLCByb3dzOwogIHJvd3MgPSBzY3JlZW4tPnJv
d3Nfb2Zfd29ya3NwYWNlczsKICBjb2xzID0gc2NyZWVuLT5jb2x1bW5zX29mX3dvcmtzcGFjZXM7
CiAgaWYgKHJvd3MgPD0gMCAmJiBjb2xzIDw9IDApCiAgICBjb2xzID0gbnVtX3dvcmtzcGFjZXM7
CgogIGlmIChyb3dzIDw9IDApCiAgICByb3dzID0gbnVtX3dvcmtzcGFjZXMgLyBjb2xzICsgKChu
dW1fd29ya3NwYWNlcyAlIGNvbHMpID4gMCA/IDEgOiAwKTsKCiAgaWYgKHJvd3MgPCAxKQogICAg
cm93cyA9IDE7CgogICpyID0gcm93czsKfQo=


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-11 17:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-11  9:16 target/8528: Internal compiler error in extract_insn, at recog.c:2148 kisch

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