This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: optimization/8985: ICE in extract_insn, at recog.c:2148 with -fssa-ccp option


Old Synopsis: "Internal compiler error in extract_insn, at recog.c:2148" with -fssa-ccp option
New Synopsis: ICE in extract_insn, at recog.c:2148 with -fssa-ccp option

State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Wed Dec 18 05:10:46 2002
State-Changed-Why:
    Confirmed.
    
    The bug is present since gcc 3.1 when the option -fssa-ccp was introduced.
    It affects the 3.2 branch and gcc 3.3 as of 20021216.
    
    A shorter testcase is the following:
    
    -------------------------snip here-----------------------------
    int foo ()
    {
        int i=0;
        char *p="";
    
        if (p) i|=1;
    
        return i && p;
    }
    -------------------------snip here-----------------------------
    
    Compiling this with gcc 3.2.1 (gcc -O -fssa -fssa-ccp) I get:
    
    PR8985.cc: In function `int foo()':
    PR8985.cc:9: unrecognizable insn:
    (insn 27 55 28 (parallel[ 
                (set (reg:SI 64)
                    (const_int 1 [0x1]))
                (clobber (reg:CC 17 flags))
            ] ) -1 (nil)
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (insn_list:REG_WAS_0 11 (expr_list:REG_EQUAL (const_int 1 [0x1])
                    (nil)))))
    PR8985.cc:9: Internal compiler error in extract_insn, at recog.c:2148
    Please submit a full bug report, [etc.]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]