Using gcc version 4.2.0 20051217 (experimental) to compile the attached
testcase like this

-------------------------------
gcc -O2 -fgcse-sm -c -o mjpeg.o mjpeg.c
-------------------------------

I get the following:

-------------------------------
mjpeg.c: In function ‘mjpeg_picture_trailer’:
mjpeg.c:566: error: unrecognizable insn:
(insn:HI 452 282 286 27 (set (reg:SI 186 [ bit_buf ])
        (ashift:SI (mem/s:SI (plus:SI (reg/v/f:SI 109 [ s ])
                    (const_int 84 [0x54])) [4 <variable>.pb.bit_buf+0 S4 A32])
            (subreg:QI (reg/v:SI 90 [ bit_left ]) 0))) -1 (nil)
    (expr_list:REG_DEAD (reg/v:SI 90 [ bit_left ])
        (nil)))
mjpeg.c:566: internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
-------------------------------

on both x86 and x86_64 architectures.


-- 
           Summary: Unrecognizable insn with -O2 -fgcse-sm
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: drab at kepler dot fjfi dot cvut dot cz


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25475

Reply via email to