This is the mail archive of the gcc-bugs@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: c/8588: compile fails with t.c:15: Internal compiler error in extract_insn, at recog.c:2148


Synopsis: compile fails with t.c:15: Internal compiler error in extract_insn, at recog.c:2148

State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Fri Nov 15 04:42:54 2002
State-Changed-Why:
    Confirmed.
    
    The bug can be reproduced with the following code snippet:
    
    -------------------------snip here-----------------------
    void foo()
    {
        unsigned int i, j;
        j = (i >> 0xf0);
    }
    -------------------------snip here-----------------------
    
    Compiling this with gcc-3.2.1-prerelease (or mainline) on
    i686-pc-linux-gnu I get:
    
    PR8588.c: In function `foo':
    PR8588.c:4: warning: right shift count >= width of type
    PR8588.c:5: unrecognizable insn:
    (insn 10 20 12 (set (reg:QI 58)
            (const_int 240 [0xf0])) -1 (nil)
        (nil))
    PR8588.c:5: Internal compiler error in extract_insn, at recog.c:2148
    Please submit a full bug report, [etc.]
    
    The code compiled fine under gcc 3.0.x, therefore we have a regression.

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


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