optimization/4565: Internal compiler error in extract_insn, at recog.c:2218

datagrok@sourceware.cygnus.com datagrok@sourceware.cygnus.com
Sun Oct 14 03:46:00 GMT 2001


>Number:         4565
>Category:       optimization
>Synopsis:       Internal compiler error in extract_insn, at recog.c:2218
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 14 03:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Lamb
>Release:        3.0.1
>Organization:
>Environment:
AMD K6-2 400 running Mandrake Linux 8.1, upgrading to kernel 2.4.12
>Description:
Trying to compile kernel 2.4.12 with -O3 -march=k6 -mcpu=k6, I get errors that look like this. They all complain about "Internal compiler error in extract_insn, at recog.c:2218." There have been a few other bugs submitted about this issue, and I noticed that all of them (that I found on archives on the web) were using k6 optimizations.

tcp_timer.c:208: Unrecognizable insn:
(insn 440 325 441 (parallel[ 
            (set (reg:SI 2 ecx [71])
                (const_int 0 [0x0]))
            (clobber (reg:CC 17 flags))
        ] ) -1 (nil)
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (nil)))
tcp_timer.c:208: Internal compiler error in extract_insn, at recog.c:2218
>How-To-Repeat:
Compile kernel 2.4.12, targeting the AMD K6 cpu platform.
>Fix:
I modified my Makefile to, upon failure to compile a file, reduce the optimizations to '-O3 -march=i586 -mcpu=i586' and try again. This works as a workaround, though I don't yet know if my kernel will compile.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list