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

            Bug ID: 58475
           Summary: SH4 insn swapb does not satisfy its constraints:
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chrbr at gcc dot gnu.org

Created attachment 30863
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30863&action=edit
test case

cc1 -Os -m4 swapb_ice.c -o 2.s -quiet
swapb_ice.c: In function 'kerninfo':
swapb_ice.c:15:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 35 8 10 2 (set (reg:SI 150 fpul)
        (ior:SI (and:SI (reg:SI 4 r4 [170])
                (const_int 4294901760 [0xffff0000]))
            (ior:SI (and:SI (ashift:SI (reg:SI 4 r4 [170])
                        (const_int 8 [0x8]))
                    (const_int 65280 [0xff00]))
                (and:SI (ashiftrt:SI (reg:SI 4 r4 [170])
                        (const_int 8 [0x8]))
                    (const_int 255 [0xff]))))) swapb_ice.c:14 209 {swapbsi2}
     (nil))
swapb_ice.c:15:1: internal compiler error: in copyprop_hardreg_forward_1, at
regcprop.c:774

Only fails for -m4 (-m2, ... are OK)

Reply via email to