Markus Franke <[EMAIL PROTECTED]> writes:

> ---snip---
> ;;
> ;; calls that return int in r1
> ;;
> (define_insn "call_val_internal_return_r1"
> [(parallel [(set (reg:SI 1)
>                   (call (match_operand:QI 0 "sym_ref_mem_operand" "")
>                         (match_operand 1 "" "i")))
>             (clobber (reg:SI 31))])]
>   ""
>   "jal\\t%S0%("
>   [(set_attr "type" "jump")
>    (set_attr "mode" "none")])
> ---snap---
> 
> I think the warning is caused by the second parameter of the set
> instruction, right? But I don't know where to specify the source mode. I
> had already a look into the GCC Internals Manual without success.

The missing mode is here:
    (match_operand 1 "" "i")
That should most likely be
    (match_operand:SI 1 "" "i")

Ian

Reply via email to