https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65990

            Bug ID: 65990
           Summary: ICE: in extract_insn, at recog.c:2341 (unrecognizable
                    insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32
                    -mtune=btver2
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---

Created attachment 35447
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35447&action=edit
reduced testcase

Compiler output:
$ gcc -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2 testcase.c
testcase.c: In function 'foo':
testcase.c:24:1: error: unrecognizable insn:
 }
 ^
(insn 8 7 9 2 (parallel [
            (set (reg:SI 89)
                (const_int 0 [0]))
            (set (reg/f:SI 87)
                (plus:SI (ashift:SI (reg:SI 89)
                        (const_int 3 [0x3]))
                    (reg/f:SI 87)))
            (set (reg/f:SI 88)
                (plus:SI (ashift:SI (reg:SI 89)
                        (const_int 3 [0x3]))
                    (reg/f:SI 88)))
            (set (mem/c:BLK (reg/f:SI 87) [0 u9+0 S32 A32])
                (mem/u/c:BLK (reg/f:SI 88) [0  S32 A32]))
            (use (reg:SI 89))
        ]) testcase.c:11 -1
     (nil))
testcase.c:24:1: internal compiler error: in extract_insn, at recog.c:2341
0xae3e58 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /mnt/svn/gcc-trunk/gcc/rtl-error.c:110
0xae3ee8 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /mnt/svn/gcc-trunk/gcc/rtl-error.c:118
0xa99fe8 extract_insn(rtx_insn*)
        /mnt/svn/gcc-trunk/gcc/recog.c:2341
0x866dde instantiate_virtual_regs_in_insn
        /mnt/svn/gcc-trunk/gcc/function.c:1646
0x866dde instantiate_virtual_regs
        /mnt/svn/gcc-trunk/gcc/function.c:1966
0x866dde execute
        /mnt/svn/gcc-trunk/gcc/function.c:2015
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r222716 - ICE
5 r222437 - ICE
4_9 r222436 - ICE

Reply via email to