qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tcg/arm: Fix tcg_out_vec_op function signature


From: Richard Henderson
Subject: Re: [PATCH] tcg/arm: Fix tcg_out_vec_op function signature
Date: Fri, 10 Sep 2021 14:26:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/8/21 8:53 PM, Jose R. Ziviani wrote:
Commit 5e8892db93 fixed several function signatures but tcg_out_vec_op
for arm is missing. It causes a build error on armv6 and armv7:

tcg-target.c.inc:2718:42: error: argument 5 of type 'const TCGArg *'
{aka 'const unsigned int *'} declared as a pointer [-Werror=array-parameter=]
    const TCGArg *args, const int *const_args)
   ~~~~~~~~~~~~~~^~~~
../tcg/tcg.c:120:41: note: previously declared as an array 'const TCGArg[16]'
{aka 'const unsigned int[16]'}
    const TCGArg args[TCG_MAX_OP_ARGS],
   ~~~~~~~~~~~~~~^~~~

Signed-off-by: Jose R. Ziviani<jziviani@suse.de>
---
  tcg/arm/tcg-target.c.inc | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

Queued, thanks.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]