This patch fixes the type attribute for jr. Backported to 4.7 and 4.8. * config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute for jr. (*sibcall_value): Ditto.
--- gcc/config/tilegx/tilegx.md (revision 197135) +++ gcc/config/tilegx/tilegx.md (working copy) @@ -2592,7 +2592,7 @@ "@ jr\t%r0 j\t%p0" - [(set_attr "type" "X1,X1")]) + [(set_attr "type" "Y1,X1")]) (define_expand "sibcall_value" [(parallel [(set (match_operand 0 "" "") @@ -2611,7 +2611,7 @@ "@ jr\t%r1 j\t%p1" - [(set_attr "type" "X1,X1")]) + [(set_attr "type" "Y1,X1")]) (define_insn "jump" [(set (pc) (label_ref (match_operand 0 "" "")))]