gcc: arc: add patch to fix tst_movb pattern
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 24 May 2017 15:39:19 +0000 (18:39 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 25 May 2017 13:25:38 +0000 (15:25 +0200)
commita71fb422bae5141d8605650e5ce12b2b244ed8fb
tree23c83b89eabea1ae55068fdd7180c262527f6fe7
parent0ade154f235560e9cc14bbfe7508fc5601735a11
gcc: arc: add patch to fix tst_movb pattern

Fixes building of quagga [1]:

------------------------------>8---------------------------
839:1: error: unrecognizable insn:
 }
 ^
(insn 183 24 26 4 (set (reg:CC_ZN 61 cc)
        (and:SI (reg:SI 0 r0 [orig:192 _12->id.s_addr ] [192])
            (const_int -256 [0xffffffffffffff00]))) ospf_ri.c:790 -1
     (nil))
ospf_ri.c:839:1: internal compiler error: in extract_insn, at recog.c:2287
------------------------------>8---------------------------

[1] http://autobuild.buildroot.net/results/3c1/3c12c4609d4a77ab8ccd3ea94840884d70520efai

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/arc-2017.03/0001-ARC-Fix-tst_movb-pattern.patch [new file with mode: 0644]