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

            Bug ID: 77953
           Summary: [MIPS] ice: insn does not satisfy its constraints -
                    __bswapsi2
           Product: gcc
           Version: 6.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: james410 at cowgill dot org.uk
  Target Milestone: ---

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

Compiling the attached source with:

mipsel-linux-gnu-gcc -c -mabi=64 -mno-abicalls -march=mips64 -mlong-calls -O2
-fno-strict-aliasing -fstack-protector-strong ice.c

Gives the following ICE:
ice.c:33:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 124 42 122 3 (parallel [
            (set (reg/f:DI 22 $22 [228])
                (symbol_ref:DI ("__bswapsi2") [flags 0x241]))
            (clobber (scratch:DI))
        ]) ice.c:28 287 {*lea64}
     (nil))
ice.c:33:1: internal compiler error: in extract_constrain_insn, at recog.c:2190

Tested on Debian's GCC 5.4.0, 6.1.1 and 6.2.0.
The bug does NOT occur on 4.9.2.

Reply via email to