Bug 74616 - gcc ICE on ppc at -O2
gcc ICE on ppc at -O2
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc (Show other bugs)
powerpc Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2002-09-27 13:10 EDT by Guy Streeter
Modified: 2016-02-09 20:32 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-03 05:32:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
source file that causes the ICE (352 bytes, text/plain)
2002-09-27 13:10 EDT, Guy Streeter
no flags Details

  None (edit)
Description Guy Streeter 2002-09-27 13:10:07 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

Description of problem:
I have a short test-case for an unrecognizable insn ICE at -O2 or higher.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.on ppc, gcc -O2 screen.c (source file will be attached)

Actual Results:  screen.c: In function `workspace_layout':
screen.c:17: unrecognizable insn:
(insn 117 48 118 (parallel[
            (set (reg/v:SI 10 r10 [118])
                (plus:SI (gt:SI (reg:SI 0 r0 [141])
                        (const_int 0 [0x0]))
                    (reg:SI 9 r9 [134])))
            (clobber (reg:SI 8 r8))
        ] ) -1 (nil)
screen.c:17: Internal compiler error in extract_insn, at recog.c:2148

Expected Results:  successful compile

Additional info:

does not fail at -O1 or lower. The test case is reduced from a source file in
Comment 1 Guy Streeter 2002-09-27 13:10:56 EDT
Created attachment 77506 [details]
source file that causes the ICE
Comment 2 Richard Henderson 2004-10-03 05:32:59 EDT
Works with gcc 3.3.

Note You need to log in before you can comment on or make changes to this bug.