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

             Bug #: 50104
           Summary: internal compiler error: in extract_insn
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: raj.k...@gmail.com
                CC: ber...@gcc.gnu.org
              Host: x86_64-linux
            Target: arm-eabi
             Build: x86_64-linux


Created attachment 25027
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25027
testcase

gcc 4.6 branch and trunk have this ICE happening on ARM when attached test case
is compiled with -march=armv7-a -O2. It works ok with gcc 4.5

here is error

vfprintf.c: In function ‘ust_safe_vfprintf’:
vfprintf.c:956:1: error: unrecognizable insn:
(insn 3644 3643 3645 145 (set (subreg:SI (reg/v:DI 160 [ _umax ]) 0)
        (sign_extend:SI (mem:QI (plus:SI (mult:SI (reg/v:SI 166 [ nextarg ])
                        (const_int 8 [0x8]))
                    (reg/f:SI 1405 [ argtable.7 ])) [4 *D.5277_569+0 S1 A32])))
vfprintf.c:555 -1
     (nil))
vfprintf.c:956:1: internal compiler error: in extract_insn, at recog.c:2127


I have traced it to a regression after the patch for bug 43137 was committed to
trunk.

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

Reply via email to